-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcp_segment: Decode standard options and rename maxseg to mss
- Loading branch information
Showing
8 changed files
with
222 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
$ fq -d tcp_segment dv tcp_segment_sack | ||
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: tcp_segment_sack (tcp_segment) 0x0-0x2b.7 (44) | ||
0x00|e5 c0 |.. | source_port: 58816 0x0-0x1.7 (2) | ||
0x00| 00 50 | .P | destination_port: "http" (80) (World Wide Web HTTP) 0x2-0x3.7 (2) | ||
0x00| e5 94 3f 77 | ..?w | sequence_number: 3851698039 0x4-0x7.7 (4) | ||
0x00| a3 c4 c4 80 | .... | acknowledgment_number: 2747581568 0x8-0xb.7 (4) | ||
0x00| b0 | . | data_offset: 11 0xc-0xc.3 (0.4) | ||
0x00| b0 | . | reserved: 0 0xc.4-0xc.6 (0.3) | ||
0x00| b0 | . | ns: false 0xc.7-0xc.7 (0.1) | ||
0x00| 10 | . | cwr: false 0xd-0xd (0.1) | ||
0x00| 10 | . | ece: false 0xd.1-0xd.1 (0.1) | ||
0x00| 10 | . | urg: false 0xd.2-0xd.2 (0.1) | ||
0x00| 10 | . | ack: true 0xd.3-0xd.3 (0.1) | ||
0x00| 10 | . | psh: false 0xd.4-0xd.4 (0.1) | ||
0x00| 10 | . | rst: false 0xd.5-0xd.5 (0.1) | ||
0x00| 10 | . | syn: false 0xd.6-0xd.6 (0.1) | ||
0x00| 10 | . | fin: false 0xd.7-0xd.7 (0.1) | ||
0x00| 01 3e| .>| window_size: 318 0xe-0xf.7 (2) | ||
0x10|34 b6 |4. | checksum: 0x34b6 0x10-0x11.7 (2) | ||
0x10| 00 00 | .. | urgent_pointer: 0 0x12-0x13.7 (2) | ||
| | | options[0:6]: 0x14-0x2b.7 (24) | ||
| | | [0]{}: option 0x14-0x14.7 (1) | ||
0x10| 01 | . | kind: "nop" (1) (No operation) 0x14-0x14.7 (1) | ||
| | | [1]{}: option 0x15-0x15.7 (1) | ||
0x10| 01 | . | kind: "nop" (1) (No operation) 0x15-0x15.7 (1) | ||
| | | [2]{}: option 0x16-0x1f.7 (10) | ||
0x10| 08 | . | kind: "timestamp" (8) (Timestamp and echo of previous timestamp) 0x16-0x16.7 (1) | ||
0x10| 0a | . | length: 10 0x17-0x17.7 (1) | ||
0x10| 00 17 95 6f | ...o | value: 1545583 0x18-0x1b.7 (4) | ||
0x10| 8d 9d 9e 27| ...'| echo_reply: 2375917095 0x1c-0x1f.7 (4) | ||
| | | [3]{}: option 0x20-0x20.7 (1) | ||
0x20|01 |. | kind: "nop" (1) (No operation) 0x20-0x20.7 (1) | ||
| | | [4]{}: option 0x21-0x21.7 (1) | ||
0x20| 01 | . | kind: "nop" (1) (No operation) 0x21-0x21.7 (1) | ||
| | | [5]{}: option 0x22-0x2b.7 (10) | ||
0x20| 05 | . | kind: "sack" (5) (Selective Acknowledgement) 0x22-0x22.7 (1) | ||
0x20| 0a | . | length: 10 0x23-0x23.7 (1) | ||
| | | blocks[0:1]: 0x24-0x2b.7 (8) | ||
| | | [0]{}: block 0x24-0x2b.7 (8) | ||
0x20| a3 c4 ca 28 | ...( | left_edge: 2747583016 0x24-0x27.7 (4) | ||
0x20| a3 c4 cf d0| | ....| | right_edge: 2747584464 0x28-0x2b.7 (4) | ||
| | | payload: raw bits 0x2c-NA (0) |
Oops, something went wrong.