csf.deny comma separated ports?
Posted: 17 Jul 2017, 02:03
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
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