csf.deny comma separated ports?

Post Reply
logout
Junior Member
Posts: 14
Joined: 17 Jul 2017, 01:51

csf.deny comma separated ports?

Post by logout »

Can I include command separated port numbers in the csf.deny file?

For example I have the following:

tcp|in|d=80|s=89.248.160.0/21 scannerbots googlemapsexploit QUASINETWORKS SEYCHELLES - do not delete - Tue Apr 11 14:49:02 2017

And I want to block port 443 too

tcp|in|d=80,443|s=89.248.160.0/21 scannerbots googlemapsexploit QUASINETWORKS SEYCHELLES - do not delete - Tue Apr 11 14:49:02 2017

Is that acceptable?

The documentation says you can use an underscore for a port range, but doesn't mention commas for a list of ports.

Thank you
logout
Junior Member
Posts: 14
Joined: 17 Jul 2017, 01:51

Re: csf.deny comma separated ports?

Post by logout »

I've determined this isn't possible, so I've put it as a feature request here:

viewtopic.php?f=5&t=10440

Hopefully it can be implemented.
Post Reply