I'm just looking for a simple rule to block traffic from a specific ip to mine from any port to port 23 all the time. I tried:
alert tcp 123.192.96.98 any -> 192.168.0.1/24 23 (msg:"Blocked IP"; action: drop;)
But action is an unknown rule command... I found that with "alert ip", but I couldn't get that to work either. This should be really
simple... I'm not trying to create a complex rule. This rule of
course is all on one line.
I'm just looking for a simple rule to block traffic from a specificip to
mine from any port to port 23 all the time. I tried:
alert tcp 123.192.96.98 any -> 192.168.0.1/24 23 (msg:"Blocked IP"; action: drop;)
But action is an unknown rule command... I found that with "alertip",
but I couldn't get that to work either. This should be really simple... I'm not trying to create a complex rule. This rule of course is all on one line.
Ok, I found block instead of alert and no parenthesis if that'll work.
Sysop: | Nitro |
---|---|
Location: | Portland, OR |
Users: | 7 |
Nodes: | 10 (0 / 10) |
Uptime: | 14:08:58 |
Calls: | 144 |
Files: | 752 |
Messages: | 88,218 |