Snort - the de facto standard for intrusion detection/prevention
next up previous
Next: 4.29 How do I Up: 4 Rules and Alerts Previous: 4.27 How can I

4.28 How can I protect web servers running on ports other than 80?

It is possible... It's a kludge, but it can work. Since the newer rules use the $HTTP_PORTS variable, you simply reset it and re-run the rules for the other ports.

For example:

    var HTTP_PORTS 80
    include web.rules
    var HTTP_PORTS 8080
    include web.rules