Networking Forums

Networking Forums > Computer Networking > Linux Networking > count traffic of web services

Reply
Thread Tools Display Modes

count traffic of web services

 
 
Fabian Lienert
Guest
Posts: n/a

 
      08-18-2003, 07:30 AM
Dear Network Gurus,

I am doing several web hosting on debian with ssl, so each customer has
its own ip address.

I am asking myself if it is sufficient having an iptables incoming accept rule
on each ip on port 80 and 443 for counting all the traffic that went
throught each ip addresses.
With iptables -L -v I can count the traffic:
1706 102K ACCEPT tcp -- any any anywhere <ip-address>
tcp dpt:www state NEW,RELATED,ESTABLISHED
47 2820 ACCEPT tcp -- any any anywhere <ip-address>
tcp dpt:https state NEW,RELATED,ESTABLISHED

Do I do not need any outgoing rule? I think as long as I am connected to a webserver,
the connection on the server is at port 80 or 443 and the data flows back to me throught
the connection, I started.

What about counting traffic of qmail on <ip-address>? Incoming would be the same as above
on port 25, but what if qmail is sending mails? In this case I have to think about
outgoing traffic, right?

Thanks for help in advance!
Fabian Lienert

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
count traffic on lan interface D.-Oliver Krusch Windows Networking 1 09-16-2007 10:18 PM
How to setup a router forwarding ALL traffic and providing NAT services David Linux Networking 2 04-03-2004 03:46 PM
Router forwarding ALL traffic and providing NAT services David Linux Networking 0 04-02-2004 07:57 PM
count ethernet traffic Peter Tselios Linux Networking 2 11-18-2003 07:00 AM
[UK-Bug] Down and out for the count :o( Andy Jenkins Broadband 1 10-21-2003 06:01 PM



1 2 3 4 5 6 7 8 9 10 11