[j-nsp] filter to count http requests

tchoel . tchoel@hotmail.com
Mon, 18 Nov 2002 15:57:08 +0000


Hi,

I'm trying to count HTTP requests forwarded to my uplink.I've written a 
filter given below and applied this to the uplink interface as output 
filter. Is this is a safe method to mesure http requests ?

Regards,
Tchoel

firewall filter httpRequests {
    term countHttp{
         from {
             protocol tcp;
             port 80;
             tcp-initial;
         }
         then{
             count httpRequests;
             accept;
     }
     term others{
         then{
              accept;
     }
}









_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus