35000
95134
Type | Hex | Length | Description |
---|---|---|---|
1 | 0x1 | 1 | Info TLV |
10 | 0xA | Variable | Connect TLV |
20 | 0x14 | Variable | Extended TCP Header TLV |
21 | 0x15 | Variable | Supported TCP Extensions TLV |
22 | 0x16 | Variable | Cookie TLV |
30 | 0x1E | Variable | Error TLV |
Error | Hex | Description |
---|---|---|
0 | 0x00 | Unsupported Version |
1 | 0x01 | Malformed Message |
2 | 0x02 | Unsupported Message |
3 | 0x03 | Missing Cookie |
32 | 0x20 | Not Authorized |
33 | 0x21 | Unsupported TCP Option |
64 | 0x40 | Resource Exceeded |
65 | 0x41 | Network Failure |
96 | 0x60 | Connection Reset |
97 | 0x61 | Destination Unreachable |
Version | Description | Reference |
---|---|---|
0 | Reserved | RFC 8803 |
1 | Assigned | RFC 8803 |
Code | Name | Reference |
---|---|---|
0 | Reserved | RFC 8803 |
1 | Info TLV | RFC 8803 |
10 | Connect TLV | RFC 8803 |
20 | Extended TCP Header TLV | RFC 8803 |
21 | Supported TCP Extension TLV | RFC 8803 |
22 | Cookie TLV | RFC 8803 |
30 | Error TLV | RFC 8803 |
Error | Description | Reference |
---|---|---|
0 | Unsupported Version | RFC 8803 |
1 | Malformed Message | RFC 8803 |
2 | Unsupported Message | RFC 8803 |
3 | Missing Cookie | RFC 8803 |
32 | Not Authorized | RFC 8803 |
33 | Unsupported TCP Option | RFC 8803 |
64 | Resource Exceeded | RFC 8803 |
65 | Network Failure | RFC 8803 |
96 | Connection Reset | RFC 8803 |
97 | Destination Unreachable | RFC 8803 |
Traditionally, accept() returns only after a socket is connected. But, for a Fast Open connection, accept() returns upon receiving a SYN with a valid Fast Open cookie and data, and the data is available to be read through, e.g., recvmsg(), read().
Traditionally, accept() returns only after a socket is connected. But, for a Fast Open connection, accept() returns upon receiving a SYN with data, and the data is available to be read through, e.g., recvmsg(), read(). The application that receives such SYNs with data must be able to validate the reachability of the source of the SYN and also deal with replayed SYNs.