tcpdump mailing list archives

One of these things is not like the others


From: Guy Harris <guy () alum mit edu>
Date: Tue, 23 May 2017 17:14:10 -0700

04:11:18.046715 IP (tos 0x0, ttl 64, id 35811, offset 0, flags [DF], proto TCP (6), length 48)
    192.168.119.11.41249 > 195.115.97.196.80: Flags [S], cksum 0xcc57 (correct), seq 358236700, win 24820, options 
[nop,nop,sackOK,mss 1460], length 0

06:45:19.021820 IP6 (hlim 64, next-header TCP (6) payload length: 196) 3ffe:507:0:1:200:86ff:fe05:80da.1022 > 
3ffe:501:410:0:2c0:dfff:fe47:33e.22: Flags [P.], cksum 0x7c00 (correct), seq 192:356, ack 316, win 8540, options 
[nop,nop,TS val 576089 ecr 92454], length 164

Is there some reason why, with -v, IPv4 packets are printed on two lines and IPv6 packets are printed on one line?

Note that macOS's tcpdump has a -g flag ("g" for "greppable", more greppable output being the purpose of the flag), 
which puts the IPv4 input back on one line:

04:11:18.046715 IP (tos 0x0, ttl 64, id 35811, offset 0, flags [DF], proto TCP (6), length 48) 192.168.119.11.41249 > 
195.115.97.196.80: Flags [S], cksum 0xcc57 (correct), seq 358236700, win 24820, options [nop,nop,sackOK,mss 1460], 
length 0
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: