measuring traffic with iptables


 
Thread Tools Search this Thread
Special Forums IP Networking measuring traffic with iptables
# 1  
Old 02-11-2004
measuring traffic with iptables

i have a wireless network that is connected to internet over nat.there is ap that is connected to another ap in bridge mode, on ap is used for clients, and the other is connected to the machine that is doing masquerading. so i want to measure traffic of my clients and i thought about doing it with snmp, but ap`s that my clients are using doesn`t have snmp. how can i measure it using iptables?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Debian

Linux outbound traffic filtering with: cgroups + tc + iptables

I spent a lot of time trying to implement outbound traffic filtering with: cgroups + tc + iptables on Debian Jessie. Unfortunately there is still something wrong. The biggest issue is: - cgroups install + config - net_cls subsystem implementation - packets marking with net_cls - appropriate... (0 Replies)
Discussion started by: Novi
0 Replies

2. IP Networking

Dividing traffic with u32 iptables filter

I would like to divide traffic between two squid servers. I have been thinking about using iptables u32 filter, to check last bit of ip address which is comming to gateway. Then I would like to direct even IP adresses to one squid host, and odd to the other. Is it reasonable ? Thank you for... (2 Replies)
Discussion started by: new_item
2 Replies

3. Ubuntu

Iptables forward traffic to forward chain!!!

Hi, I am new to linux stuff. I want to use linux iptables to configure rule so that all my incoming traffic with protocol "tcp" is forwarded to the "FORWARD CHAIN". The traffic i am dealing with has destination addresss of my machine but i want to block it from coming to input chain and somehow... (0 Replies)
Discussion started by: arsipk
0 Replies

4. IP Networking

Traffic shaping with iptables

hello, I have a postfix & a local dns running on a single server. this server is connected to internet via a low bandwidth line(with fixed ip). we also have another high speed adsl (dynamic ip). i want to divert all dns request from the local dns & postfix from the server to the adsl... (0 Replies)
Discussion started by: coolatt
0 Replies

5. Shell Programming and Scripting

Block incoming traffic FTP from internet using iptables

Hi everybody. I have the next scenary: eth0: WAN eth1: DMZ eth2: LAN I need to block all incoming trafic from the internet through my network LAN using iptables. I have squid but i need to do this using ipatbles. I have been listening about iptables -A FORDAWARD but I am stuck right... (0 Replies)
Discussion started by: edeamat
0 Replies

6. Programming

Measuring memory used by a program?

I have a Java program. I want to measure the total memory used by the program, especially the peak memory. Is there a way to do it? I have tried utilities like time (which returns 0) and top (which is not very useful) as the program does not run for long. Can anyone suggest a way to do this?... (5 Replies)
Discussion started by: spathical
5 Replies

7. IP Networking

Iptables/TC: how to make masqueraded traffic go through an openVPN tun0?

Hi all! We have a setup of three computers; Machine A (eth0) -> Machine B (eth0, hso0, tun0) -> Machine C (eth0, tun0) hso0 is the packet interface of a 3G modem, it behaves like a normal network interface. Machine B and C are connected in a VPN using openVPN (TCP). Machine A is a... (2 Replies)
Discussion started by: theVOID
2 Replies

8. Programming

Measuring System Call Time

Can anyone please help me in measuring the system call timings! How do I do it if I have to measure the timing of an operation, say getpid system call. What different functions can I use for that and what would be the difference using each of them? Thanx! (3 Replies)
Discussion started by: chacha
3 Replies
Login or Register to Ask a Question
WIRELESS(7)						     Linux Programmer's Manual						       WIRELESS(7)

NAME
wireless - Wireless Tools and Wireless Extensions SYNOPSIS
iwconfig iwpriv -a DESCRIPTION
The Wireless Extensions is an API allowing you manipulate Wireless LAN networking interfaces. It is composed of a variety of tools and configuration files. It is documented in more detail in the Linux Wireless LAN Howto. The Wireless Tools are used to change the configuration of wireless LAN networking interfaces on the fly, to get their current configura- tion, to get statistics and diagnose them. They are described in their own man page, see below for references. Wireless configuration is specific to each Linux distribution. This man page will contain in the future the configuration procedure for a few common distributions. For the time being, check the file DISTRIBUTIONS.txt included with the Wireless Tools package. DEBIAN 3.0 In Debian 3.0 (and later) you can configure wireless LAN networking devices using the network configuration tool ifupdown(8). File : /etc/network/interfaces Form : wireless-<function> <value> wireless-essid Home wireless-mode Ad-Hoc See also : /etc/network/if-pre-up.d/wireless-tools /usr/share/doc/wireless-tools/README.Debian SuSE 8.0 SuSE 8.0 (and later) has integrated wireless configuration in their network scripts. Tool : Yast2 File : /etc/sysconfig/network/wireless /etc/sysconfig/network/ifcfg-* Form : WIRELESS_<function>=<value> WIRELESS_ESSID="Home" WIRELESS_MODE=Ad-Hoc See also : man ifup info scpm ORIGINAL PCMCIA SCRIPTS
If you are using the original configuration scripts from the Pcmcia package, you can use this method. File : /etc/pcmcia/wireless.opts Form : *,*,*,*) ESSID="Home" MODE="Ad-Hoc" ;; See also : /etc/pcmcia/wireless File PCMCIA.txt part of Wireless Tools package AUTHOR
Jean Tourrilhes - jt@hpl.hp.com http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ SEE ALSO
iwconfig(8), iwlist(8), iwspy(8), iwpriv(8), iwevent(8). wireless-tools 4 March 2004 WIRELESS(7)