]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Propagate this change:
authorguy <guy>
Tue, 16 Oct 2007 01:16:33 +0000 (01:16 +0000)
committerguy <guy>
Tue, 16 Oct 2007 01:16:33 +0000 (01:16 +0000)
revision 1.5
date: 2007-08-29 12:04:17 +0000;  author: mcr;  state: Exp;  lines: +10 -10
test cases and output for IKEv2 and -X options.

from print-XX.out, prior to removal of print-XX.out (having both
print-xx.out and print-XX.out doesn't work on OSes with case-insensitive
file systems, such as most file systems on Windows and several file
systems on OS X).

tests/print-capXX.out

index 6921a017a04a3cb1927d699d835d1b2bef2d1253..eb1ac4fc670694a5e0e6640ea6c12419cbe20154 100644 (file)
@@ -1,22 +1,22 @@
-23:57:35.938066 IP 127.0.0.1.55920 > 127.0.0.1.80: S 928549246:928549246(0) win 32767 <mss 16396,sackOK,timestamp 1306300950 0,nop,wscale 2>
+23:57:35.938066 IP 127.0.0.1.55920 > 127.0.0.1.80: Flags [S], seq 928549246, win 32767, options [mss 16396,sackOK,TS val 1306300950 ecr 0,nop,wscale 2], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  003c 1b68 4000 4006 2152 7f00 0001 7f00  .<.h@.@.!R......
        0x0020:  0001 da70 0050 3758 897e 0000 0000 a002  ...p.P7X.~......
        0x0030:  7fff 1421 0000 0204 400c 0402 080a 4ddc  [email protected].
        0x0040:  9216 0000 0000 0103 0302                 ..........
-23:57:35.938122 IP 127.0.0.1.80 > 127.0.0.1.55920: S 930778609:930778609(0) ack 928549247 win 32767 <mss 16396,sackOK,timestamp 1306300950 1306300950,nop,wscale 2>
+23:57:35.938122 IP 127.0.0.1.80 > 127.0.0.1.55920: Flags [S.], seq 930778609, ack 928549247, win 32767, options [mss 16396,sackOK,TS val 1306300950 ecr 1306300950,nop,wscale 2], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  003c 0000 4000 4006 3cba 7f00 0001 7f00  .<..@.@.<.......
        0x0020:  0001 0050 da70 377a 8df1 3758 897f a012  ...P.p7z..7X....
        0x0030:  7fff 6eb1 0000 0204 400c 0402 080a 4ddc  [email protected].
        0x0040:  9216 4ddc 9216 0103 0302                 ..M.......
-23:57:35.938167 IP 127.0.0.1.55920 > 127.0.0.1.80: . ack 1 win 8192 <nop,nop,timestamp 1306300950 1306300950>
+23:57:35.938167 IP 127.0.0.1.55920 > 127.0.0.1.80: Flags [.], ack 1, win 8192, options [nop,nop,TS val 1306300950 ecr 1306300950], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  0034 1b6a 4000 4006 2158 7f00 0001 7f00  .4.j@.@.!X......
        0x0020:  0001 da70 0050 3758 897f 377a 8df2 8010  ...p.P7X..7z....
        0x0030:  2000 37d0 0000 0101 080a 4ddc 9216 4ddc  ..7.......M...M.
        0x0040:  9216                                     ..
-23:57:35.939423 IP 127.0.0.1.55920 > 127.0.0.1.80: P 1:203(202) ack 1 win 8192 <nop,nop,timestamp 1306300951 1306300950>
+23:57:35.939423 IP 127.0.0.1.55920 > 127.0.0.1.80: Flags [P.], ack 1, win 8192, options [nop,nop,TS val 1306300951 ecr 1306300950], length 202
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  00fe 1b6c 4000 4006 208c 7f00 0001 7f00  ...l@.@.........
        0x0020:  0001 da70 0050 3758 897f 377a 8df2 8018  ...p.P7X..7z....
        0x00e0:  6570 742d 4c61 6e67 7561 6765 3a20 656e  ept-Language:.en
        0x00f0:  0d0a 436f 6e6e 6563 7469 6f6e 3a20 4b65  ..Connection:.Ke
        0x0100:  6570 2d41 6c69 7665 0d0a 0d0a            ep-Alive....
-23:57:35.940474 IP 127.0.0.1.80 > 127.0.0.1.55920: . ack 203 win 8192 <nop,nop,timestamp 1306300952 1306300951>
+23:57:35.940474 IP 127.0.0.1.80 > 127.0.0.1.55920: Flags [.], ack 203, win 8192, options [nop,nop,TS val 1306300952 ecr 1306300951], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  0034 1fe4 4000 4006 1cde 7f00 0001 7f00  .4..@.@.........
        0x0020:  0001 0050 da70 377a 8df2 3758 8a49 8010  ...P.p7z..7X.I..
        0x0030:  2000 3703 0000 0101 080a 4ddc 9218 4ddc  ..7.......M...M.
        0x0040:  9217                                     ..
-23:57:35.941232 IP 127.0.0.1.80 > 127.0.0.1.55920: P 1:5560(5559) ack 203 win 8192 <nop,nop,timestamp 1306300953 1306300951>
+23:57:35.941232 IP 127.0.0.1.80 > 127.0.0.1.55920: Flags [P.], ack 203, win 8192, options [nop,nop,TS val 1306300953 ecr 1306300951], length 5559
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  15eb 1fe6 4000 4006 0725 7f00 0001 7f00  ....@.@..%......
        0x0020:  0001 0050 da70 377a 8df2 3758 8a49 8018  ...P.p7z..7X.I..
        0x15d0:  3036 2f32 3020 3135 3a33 333a 3537 2024  06/20.15:33:57.$
        0x15e0:  2e0a 2020 2d2d 3e0a 0a3c 2f42 4f44 593e  ....-->..</BODY>
        0x15f0:  0a3c 2f48 544d 4c3e 0a                   .</HTML>.
-23:57:35.941260 IP 127.0.0.1.55920 > 127.0.0.1.80: . ack 5560 win 12383 <nop,nop,timestamp 1306300953 1306300953>
+23:57:35.941260 IP 127.0.0.1.55920 > 127.0.0.1.80: Flags [.], ack 5560, win 12383, options [nop,nop,TS val 1306300953 ecr 1306300953], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  0034 1b6e 4000 4006 2154 7f00 0001 7f00  .4.n@.@.!T......
        0x0020:  0001 da70 0050 3758 8a49 377a a3a9 8010  ...p.P7X.I7z....
        0x0030:  305f 10ea 0000 0101 080a 4ddc 9219 4ddc  0_........M...M.
        0x0040:  9219                                     ..
-23:57:37.229575 IP 127.0.0.1.55920 > 127.0.0.1.80: F 203:203(0) ack 5560 win 12383 <nop,nop,timestamp 1306302241 1306300953>
+23:57:37.229575 IP 127.0.0.1.55920 > 127.0.0.1.80: Flags [F.], seq 203, ack 5560, win 12383, options [nop,nop,TS val 1306302241 ecr 1306300953], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  0034 1b70 4000 4006 2152 7f00 0001 7f00  .4.p@.@.!R......
        0x0020:  0001 da70 0050 3758 8a49 377a a3a9 8011  ...p.P7X.I7z....
        0x0030:  305f 0be1 0000 0101 080a 4ddc 9721 4ddc  0_........M..!M.
        0x0040:  9219                                     ..
-23:57:37.230839 IP 127.0.0.1.80 > 127.0.0.1.55920: F 5560:5560(0) ack 204 win 8192 <nop,nop,timestamp 1306302243 1306302241>
+23:57:37.230839 IP 127.0.0.1.80 > 127.0.0.1.55920: Flags [F.], seq 5560, ack 204, win 8192, options [nop,nop,TS val 1306302243 ecr 1306302241], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  0034 1fe8 4000 4006 1cda 7f00 0001 7f00  .4..@.@.........
        0x0020:  0001 0050 da70 377a a3a9 3758 8a4a 8011  ...P.p7z..7X.J..
        0x0030:  2000 1735 0000 0101 080a 4ddc 9723 4ddc  ...5......M..#M.
        0x0040:  9721                                     .!
-23:57:37.230900 IP 127.0.0.1.55920 > 127.0.0.1.80: . ack 5561 win 12383 <nop,nop,timestamp 1306302243 1306302243>
+23:57:37.230900 IP 127.0.0.1.55920 > 127.0.0.1.80: Flags [.], ack 5561, win 12383, options [nop,nop,TS val 1306302243 ecr 1306302243], length 0
        0x0000:  0000 0000 0000 0000 0000 0000 0800 4500  ..............E.
        0x0010:  0034 1b72 4000 4006 2150 7f00 0001 7f00  .4.r@.@.!P......
        0x0020:  0001 da70 0050 3758 8a4a 377a a3aa 8010  ...p.P7X.J7z....