From mboxrd@z Thu Jan 1 00:00:00 1970 From: chuck gelm Subject: Displaying 'ping' data with 'tcpdump' ? Date: Fri, 13 Aug 2004 15:46:53 -0400 Sender: linux-newbie-owner@vger.kernel.org Message-ID: <411D1AAD.8020700@gelm.net> References: <5.1.0.14.1.20040813093835.01fe0dc0@celine> Reply-To: chuck@gelm.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5.1.0.14.1.20040813093835.01fe0dc0@celine> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-newbie@vger.kernel.org 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? 2. How can I display only the 'echo reply' packets? Regards, Chuck - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs