Thursday, 21 April 2011

Using tcpdump and iptrace on AIX

tcpdump -s 0 -i en1 -n tcp port 8766 and ip proto \\tcp and ip host nodename1 and nodename2 > 8766-2.tcpdump

iptrace -a -i en2 -b -d nodename1 -p 22 /tmp/22iptrace.out

For iptrace, you have to kill -15 to end the trace. iptrace output is usable in wireshark/ethereal.

No comments:

Post a Comment