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: | 171 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 115:31:40 |
| Calls: | 1,215 |
| Calls today: | 1,215 |
| Files: | 85,026 |
| U/L today: |
554 files (10,683M bytes) |
| D/L today: |
4,090 files (9,189M bytes) |
| Messages: | 69,569 |
| Posted today: | 55 |