Hi Folks, a got a problem with accounting in shorewall 1.4. The counters _remain_ at zero after surfing some sites.
"shorewall show web":
Shorewall-1.4 Chain web at bering - Thu Nov 13 15:38:06 CET 2003 Counters reset Thu Nov 13 15:18:40 CET 2003 Chain web (2 references) pkts bytes target prot opt in out source destination 0 0 tcp -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 0 0 tcp -- eth1 eth0 0.0.0.0/0 0.0.0.0/0 tcp spt:80 0 0 RETURN ah -- * * 0.0.0.0/0 0.0.0.0/0
Currently I am using shorewall 1.3. So I grabbed the CVS-code and modified/updated some files from the 1.4-CVS-tree:
accounting shorewall shorewall.conf firewall functions
All other files are retained from Version 1.3. I pasted a example from www.shorewall.net/accounting.html into /etc/shorewall/accounting. So the rule seems to be OK.
At first I simply tried ./install.sh from CVS. But that script is missing a "install":
Installing Shorewall Version 1.4.8 install: not found ERROR: Failed to install -o root -g root -m 0544 shorewall /sbin/shorewall
Why a want accounting ? I would like to know which IP-Adress in my homebrewed net does generate how much internet-traffic. This can be done by specifying its IP Address instead of eth0 or eth1, I think. Actually I use simply eth[01] until I get it counting at least ;-).
Thanks for any help !
------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
