Link to home
Start Free TrialLog in
Avatar of LMikl
LMikl

asked on

See the pkts and bytes

Hi All.
How can I see the pakets and bytes in Linux specifically to one ip address. I try use the iptables commant, and I see all addresses. Whar kind of flag and options I must specify.
 Thanks
Avatar of manav_mathur
manav_mathur

tcpdump ??

Manav
tcpdump -l -n host one-ip-address
Avatar of LMikl

ASKER

This command listening, I speak about iptables command.
iptables command is used to set rules for your network packets. I dont see how you are planning to *study* packets thru it.

Manav
ASKER CERTIFIED SOLUTION
Avatar of marxy
marxy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
with iptables you can only see what iptables offers you with the LOG target
see man iptables (kernel logging)
You may want to consider iptraf as well.  This will monitor active connections in an ncurses table.

http://iptraf.seul.org/