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
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
tcpdump -l -n host one-ip-address
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
Manav
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
with iptables you can only see what iptables offers you with the LOG target
see man iptables (kernel logging)
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/
http://iptraf.seul.org/
Manav