hi there,
i am new to pf and i ran into a weird problem. when snort adds a new ip into pf table that is blocked, pf does not kill the state of the offending ip address (which means that the existing connection is not blocked by pf, only new connections will be blocked)
i tried the following rule for that, but i am not sure if it is ok....
The flush option should kill the state for all existing connections, but i am not sure...
Anyone has any ideas ?
thanks.
i am new to pf and i ran into a weird problem. when snort adds a new ip into pf table that is blocked, pf does not kill the state of the offending ip address (which means that the existing connection is not blocked by pf, only new connections will be blocked)
i tried the following rule for that, but i am not sure if it is ok....
Code:
block quick from <snort2c> to any label "Block snort2c hosts"
(max-src-conn 100, max-src-conn-rate 15/5, flush)
The flush option should kill the state for all existing connections, but i am not sure...
Anyone has any ideas ?
thanks.