lkml.org 
[lkml]   [1999]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: IP accounting
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.031 / U:1.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site