Messages in this thread | | | From | Paul Rusty Russell <> | Subject | Re: IP accounting | Date | Tue, 26 Jan 1999 16:56:16 +1130 |
| |
In message <Pine.LNX.4.04.9901262357200.32669-100000@spam.sch.bme.hu> you write : > Hello! > > Can you tell me how I can switch the ip accounting on in the newer > kernels? (2.2)?
Someone else asked this, so I'm posting to linux-kernel for all to see. Simply answer `Y' to CONFIG_IP_FIREWALL, then use the `ipchains' tool; create a rule which doesn't do anything to packets, eg:
ipchains -A input -s 192.168.1.1
And use `ipchains -L -v' to view the counters.
ipchains is part of Debian's slink, RedHat's RawHide, and usually available from www.rustcorp.com.
Rusty. PS. Until rustcorp.com's DNS is fixed use: ftp://ftp.starshadow.com/pub/rustcorp/ipchains -- .sig lost in the mail.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |