in reply to Perl and advanced networking question...

nice try in perl, get yourself a firewall to guard webserver
  • Comment on Re: Perl and advanced networking question...

Replies are listed 'Best First'.
Re^2: Perl and advanced networking question...
by perlpreben (Beadle) on Jan 29, 2009 at 13:23 UTC
    A firewall will only protect against attacks aimed towards the web server it self, and not the actual web application on it. Some firewalls have basic protection agains the most common attacks towards applications like SQL injection and XSS ... but if you want protection for attacks like the once im referring to, you need a full Web Application Firewall, .. and normal one just wount cut it....
      Make your sniffer push rules on the firewall as needed... or use a firewall like Netfilter that can be controlled from user space using some library (libnetfilter_conntrack) or tool (conntrack-tools).

      In any case, using a reverse proxy in front of your web server would be far easier.

      Great, you already know what to get :)