No, unfortunately I don't, I always get what I need out of the man pages
(which comes with the install).

Here is a snippet of a relevant part of the man pages for ipchains:
       Accounting  rules are now simply integrated into the input
       and output chains; you can simulate the old behaviour like
       so:
        ipchains -N acctin
        ipchains -N acctout
        ipchains -N acctio
        ipchains -I input -j acctio
        ipchains -I input -j acctin
        ipchains -I output -j acctio
        ipchains -I output -j acctout
       This  creates  three  user-defined chains, acctin, acctout
       and acctio, which are  to  contain  any  accounting  rules
       (these  rules  should  be  specified without a -j flag, so
       that the packets simply pass through them unscathed).

This doc outlines local traffic accounting.  You would need to put the NIC
into permiscuous mode so it accepts all packets, and then do your rules:
if source = LAN and dest = LAN then
  ignore
else
  add packet to bandwidth counter
endif

ie
ipchains -N isptraffic
ipchains -N localtraffic
ipchains -I input -s 10.0.0.0/16 -d 10.0.0.0/16 -j localtraffic
ipchains -I input -s !10.0.0.0/16 -j isptraffic
ipchains -I input -d !10.0.0.0/16 -j isptraffic

In retrospect, if you are not familiar with linux tcp/ip routing principles,
this may be a lot of work just to do some network accounting.  Perhaps there
are prefab apps that run on windows, have you tried tucows?

Terry Fielder
Network Engineer
Great Gulf Homes / Ashton Woods Homes
[EMAIL PROTECTED]

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Joseph Salimbangon
> Sent: Friday, March 22, 2002 3:00 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [CFTALKTor] OT - Network traffic
>
>
> Hi Terry,
>
> do u have a link for linux router configuration?
>
> thanks..
>
> joe
>
>
> From: [EMAIL PROTECTED]
> Reply-To: [EMAIL PROTECTED]
> To: <[EMAIL PROTECTED]>
> Subject: RE: [CFTALKTor] OT - Network traffic
> Date: Fri, 22 Mar 2002 13:52:30 -0500
>
> If you any old PC you can throw linux onto, linux has built
> into the kernel
> (ipchains) the ability to monitor bandwidth in a couple of
> different ways.
> As long as it is on a broadcast LAN, it can be set count
> packets/bytes for
> frames destined for outside your LAN, or coming in from
> outside your LAN.
> This means you will need a spare port on your linksys, or
> piggyback your a
> hub onto your linksys.
>
>
> Terry Fielder
> Network Engineer
> Great Gulf Homes / Ashton Woods Homes
> [EMAIL PROTECTED]
>
>
>    -----Original Message-----
>    From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Mike
   Sent: Friday, March 22, 2002 1:42 PM
   To: [EMAIL PROTECTED]
   Subject: [CFTALKTor] OT - Network traffic


   Hi All,

   Sorry to post off topic, but I was wondering if anyone on the list know
of
any way of metering the amount of traffic we use from our ISP.  We are
shopping for a DSL connection but we haven't got a clue how much we have.
We are presently using a small linksys router to share our present
connection.

   If anyone has a suggestion I appreciate it.

   Please reply off list.

   Thanks

   Mickael




Joseph Salimbangon


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Joseph Salimbangon" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: [EMAIL PROTECTED]
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to