All of lore.kernel.org
 help / color / mirror / Atom feed
* Accounting with iptables vs. snmp
@ 2005-04-26 11:45 Stefan-Michael. Guenther (in-put GbR)
  2005-04-26 14:15 ` Richard Hauswald
  2005-04-26 19:26 ` Steven M Campbell
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan-Michael. Guenther (in-put GbR) @ 2005-04-26 11:45 UTC (permalink / raw)
  To: netfilter

Hi,

using iptables I have setup a traffic accounting on one of our client's 
gateways:

iptables -A INPUT -i $WAN -j LOG --log-level debug
iptables -A OUTPUT -o $WAN -j LOG --log-level debug
iptables -A FORWARD -j LOG --log-level debug

syslogd collects the entries in a single file which is analysed daily.

The results corresponds to the amount of data I get with "iptables -L -v -n" .

The provider of our client uses snmp on his router to calculate the traffic.

Strange, but true: The numbers are never the same, sometimes iptables logs 
more traffic, sometimes snmp. The differences are between 1 and 25 %.

Obviously someone is doing something wrong. The provider is one of Germany's 
big player, so I guess I made the mistake. But where and why?

Thanks for any hint.

Stefan
-- 

*****************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
*****************************************


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-26 22:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <0MKsEO-1DQUpM3MdQ-00057r@mxeu13.kundenserver.de>
2005-04-26 19:17 ` Re: Accounting with iptables vs. snmp Stefan-Michael. Guenther (in-put GbR)
2005-04-26 22:32   ` Richard Hauswald
2005-04-26 11:45 Stefan-Michael. Guenther (in-put GbR)
2005-04-26 14:15 ` Richard Hauswald
2005-04-26 19:26 ` Steven M Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.