Re: tcpdump output - what is 0x0020?
- From: news8080@xxxxxxxxx
- Date: 29 Jan 2007 13:19:53 -0800
that -nn flag (redhat FC6) turns off service resolutions so you'll see
80 instead of http. Thanks for that info. I coocked up a signature but
it doen't work on my commercial IDS (works fine on snort).
On Jan 29, 3:10 pm, "Martin Blume" <mbl...@xxxxxxxxx> wrote:
<news8...@xxxxxxxxx> schrieb
I read the damn man page twice and still have no clue.
tcpdump-nn -i eth1 -X | grep "0000 4009 0700 0000" shows this,
0x0020: 5010 f923 aa07 0000 0000 4009 0700 0000
P..#......@.....
0x0020: 5010 f923 ee21 0000 0000 4009 0700 0000
P..#.!....@.....
0x0020: 5010 f923 ee21 0000 0000 4009 0700 0000
P..#.!....@.....
0x0020: 5010 fc00 9eba 0000 0000 4009 0700 0000
P.........@.....
0x0020: 5018 f94d f1dd 0000 0000 4009 0700 0000
P..M......@.....
1. what is 0x0020?- 0x0020 is the offset into the packet data displayed
2. it seems that pattern 0000 4009 0700 0000 seems to
corrospond to
"..@.....", what is the math b/h this?I have actually no idea, but I would guess that:
- the packet is displayed as you asked for (with -X) in
hex and ascii, so 80(hex)==P(ascii), 40(hex)==@(ascii),
stuff that is non-printable is shown with .
BTW: Mytcpdumpman page hasn't -nn.
HTH
Martin
.
- Prev by Date: Re: How to troubleshoot "Failed to get local socket name :"???
- Next by Date: simple multicast routing
- Previous by thread: Help needed on XFRM! Thanks in advance.
- Next by thread: simple multicast routing
- Index(es):
Relevant Pages
|