/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


 >    i'm running a RH 6.2 gateway computer with ip-maquerading & ip-chains
 >firewall. I've been told by my boss that he want's to know who is going where
 >& when. Essentially i need to log where computers on the lan are going on the
 >internet & when. I'm not sure what i would use to do this. Could any one give
 >me any help to point me in the right direction.

This all depends on what kind of detail you need.

ipchains -L -M

This will give you a list of every MASQed connection but no traffic
counts.

ipchains -L forward

This will give you the byte counts for ALL MASQed connections
but not the individual ones.

Beyond that, you might want to either setup a sniffer on the
MASQ box (can be intrusive either legally or performance)
or you might want to look into the "BSD Process accounting"
feature of Linux.  Though I can't help you with this,
do a "man sa" for some ideas or search the web.

Anyone else have any tips?

--David
.----------------------------------------------------------------------------.
|  David A. Ranch - Linux/Networking/PC hardware         [EMAIL PROTECTED]  |
!----                                                                    ----!
`----- For more detailed info, see http://www.ecst.csuchico.edu/~dranch -----'

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to