At 03:46 PM 8/13/2004 -0400, chuck gelm wrote:
Hi, Everyone:

 I am having difficulty displaying the pattern data
inside a 'ping' packet using 'tcpdump'.

 I am sending a periodic 'broadcast' padded with 'data':
ping -f -i 3600 -p 204445204E43385120   #" DE NC8Q "

 I want to display this data on a console.  I am using
'tcpdump -i eth1 -v -X'
but this shows too much data/activity.

'tcpdump -i eth1 -v -X port 7'  displays nothing.

Perhaps something other than 'tcpdump' would be more suitable?

1. How can I display only the 'echo request' packets?

tcpdump icmp[icmptype]=icmp-echo -v -X

2. How can I display only the 'echo reply' packets?

tcpdump icmp[icmptype]=icmp-echoreply -v -X




- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to