8521 tcpdump hex vs ascii ? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Miscellaneous > Off-Topic

Off-Topic Have some non-FreeBSD related questions, or want just to chit-chat about anything that is not related to FreeBSD? This is the forum for you.

Reply
 
Thread Tools Display Modes
  #1  
Old July 2nd, 2009, 23:32
WibbleWobble WibbleWobble is offline
Junior Member
 
Join Date: Jun 2009
Posts: 10
Thanks: 2
Thanked 0 Times in 0 Posts
Default tcpdump hex vs ascii ?

Hello,

I've been trying to learn about tcpdump and wondering if there is any advantage of reading the output as hex over ascii.

From what I've been reading is the ascii output is just the hex code but in a easier readable form.

Is there any info not shown in ascii.

Thanks.
Reply With Quote
  #2  
Old July 3rd, 2009, 10:45
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

The non-printable ascii codes are easier to see when using the hex output.

I usually use the -X option, this will show hex and ascii.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
WibbleWobble (July 3rd, 2009)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] ifconfig - display non-hex netmasks? shofixti Networking 9 June 4th, 2010 18:00
Display extended ASCII characters Ugluk911 System Hardware 5 March 25th, 2009 05:40
ping failed but tcpdump captured echo request/reply packets aldebran Networking 3 January 16th, 2009 17:24


All times are GMT +1. The time now is 22:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0