Repository navigation
|
Nodir, I wanted to ask if the firewall has a command-line function that would allow me to block a specific IP address, for example: Or if I can add these conditions in the rules panel. I'm conducting tests in a lab to mitigate Slowloris attacks on a local web server. Something like this would be very useful. |
Replies: 2 comments 1 reply
|
Implemented by 9dc3559. Added in the next version: the rule control command. Create a global blocking rule in Rules once (e.g. "Block Slowloris"), then your script keeps its text in a file and applies it: The text is checked like in the rule dialog; on an error the rule isn't changed. For a temporary block just remove the IP from the file later and run set-text again (or With the current version you can do the same with a Zone: File source with one IP per line, select the Zone in the rule, and run |
Implemented by 9dc3559.
Added in the next version: the rule control command.
Create a global blocking rule in Rules once (e.g. "Block Slowloris"), then your script keeps its text in a file and applies it:
The text is checked like in the rule dialog; on an error the rule isn't changed. For a temporary block just remove the IP from the file later and run set-text again (or
-c rule off "Block S…