Re: Checking amount of connections in New state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.
If you use the iptables, you can use the conntrack match (match by
state NEW) + hashlimit or recent matches (to limit the rate).

On Sat, 19 Jan 2019 at 17:08, Jurek Golonko <jgolonko@xxxxxxxxxx> wrote:
>
> Hi,
>
> I'd like to check how many connections are
> in 'New' state per source address at the moment
> and take action if some limit is exceeded.
>
> Any idea how to achieve this?
>
> BR,
> JG
>
>
>
>
>
>
>


-- 
Anton.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux