Networking Forums

Networking Forums > Computer Networking > Linux Networking > Amount of forwarded traffic

Reply
Thread Tools Display Modes

Amount of forwarded traffic

 
 
Ni@m
Guest
Posts: n/a

 
      01-01-2006, 12:55 PM
Hi!! Before all - Happy new Year to all googlers!!

I have a kind of problem - i don't know how to count input forwarded
taffit with iptables!!

I have router(harware, Planet) wich has NAT and WAN(int's LAN address
is 192.168.0.231). All users are going through linux router(gentoo
2005.1), it's LAN is 192.168.0.230. On 192.168.0.230 I let iptables to
forward some traffic to 192.168.0.231, and it's seems that all is OK!
BuT! I can't count incoming traffic per user =(. Outgoing traffic I
count through table NAT and PREROUTING.

Any suggestions?

Shanks for any ideas!

 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      01-01-2006, 02:39 PM
In comp.os.linux.networking Ni@m <(E-Mail Removed)>:
> Hi!! Before all - Happy new Year to all googlers!!


Thx, you are aware that this is usenet, google just mirrors and
gives you an interface to read/post. This group has nothing to do
with google, it isn't theirs, but a public newsgroup.

For more info:

http://groups.google.com/advanced_group_search

Put into "Message ID" searchbox "(E-Mail Removed)",
without quotes, hit "Lookup Message". Be my guest and read on.

> I have a kind of problem - i don't know how to count input forwarded
> taffit with iptables!!


> I have router(harware, Planet) wich has NAT and WAN(int's LAN address
> is 192.168.0.231). All users are going through linux router(gentoo
> 2005.1), it's LAN is 192.168.0.230. On 192.168.0.230 I let iptables to
> forward some traffic to 192.168.0.231, and it's seems that all is OK!
> BuT! I can't count incoming traffic per user =(. Outgoing traffic I
> count through table NAT and PREROUTING.


You mean per IP? Installing ntop (www.ntop.org) and running in
webmod should be the easiest while looking darn good!

BTW
Please read this before posting anything else:

http://cfaj.freeshell.org/google

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 15: temporary routing anomaly
 
Reply With Quote
 
Scott R. Haven
Guest
Posts: n/a

 
      01-02-2006, 12:50 PM
Michael Heiming wrote:
> In comp.os.linux.networking Ni@m <(E-Mail Removed)>:
>
>>Hi!! Before all - Happy new Year to all googlers!!

>
>
> Thx, you are aware that this is usenet, google just mirrors and
> gives you an interface to read/post. This group has nothing to do
> with google, it isn't theirs, but a public newsgroup.
>
> For more info:
>
> http://groups.google.com/advanced_group_search
>
> Put into "Message ID" searchbox "(E-Mail Removed)",
> without quotes, hit "Lookup Message". Be my guest and read on.
>
>
>>I have a kind of problem - i don't know how to count input forwarded
>>taffit with iptables!!

>
>
>>I have router(harware, Planet) wich has NAT and WAN(int's LAN address
>>is 192.168.0.231). All users are going through linux router(gentoo
>>2005.1), it's LAN is 192.168.0.230. On 192.168.0.230 I let iptables to
>>forward some traffic to 192.168.0.231, and it's seems that all is OK!
>>BuT! I can't count incoming traffic per user =(. Outgoing traffic I
>>count through table NAT and PREROUTING.

>
>
> You mean per IP? Installing ntop (www.ntop.org) and running in
> webmod should be the easiest while looking darn good!
>
> BTW
> Please read this before posting anything else:
>
> http://cfaj.freeshell.org/google
>



How about this:

iptables -vx -L FORWARD

You can replace "FORWARD" with the name of another chain such as INPUT
or OUTPUT if you like.


Scott R. Haven
Paisley Systems Inc.
www.paisleysystems.com
 
Reply With Quote
 
Ni@m
Guest
Posts: n/a

 
      01-03-2006, 10:54 AM
>iptables -vx -L FORWARD
Thanks, but I'm not so stupid =). I solved problem in other way.
In FORWARD I could't catch incomming traffic and that was a probem.
Now I set up NAT on linux server. So some problems solved.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables Forwarded traffic test Linux Networking 6 10-18-2007 01:36 PM
How to Monitor SSH port forwarded traffic A Linux Networking 3 10-18-2006 12:57 PM
How to Monitor SSH port forwarded traffic A Linux Networking 0 10-18-2006 12:57 AM
How to Monitor SSH port forwarded traffic A Linux Networking 0 10-18-2006 12:42 AM
traffic shaping a forwarded host nsa.usa@gmail.com Linux Networking 3 03-02-2005 05:02 AM



1 2 3 4 5 6 7 8 9 10 11