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: | Sarah |
|---|---|
| Location: | Portland, Oregon |
| Users: | 170 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 232:14:28 |
| Calls: | 1,204 |
| Calls today: | 1,204 |
| Files: | 85,018 |
| U/L today: |
554 files (10,683M bytes) |
| D/L today: |
3,990 files (9,159M bytes) |
| Messages: | 66,302 |
| Posted today: | 55 |