Hello,
I am looking at TCP fastopen tests and had following questions
tcp option 34 tests have // Enable server Fast Open capability
// Test the server cookie is generated by aes64 encoding of remote and local
// IP addreses with a specific master key in net.ipv4.tcp_fastopen_key.
//
// Note: there are other nearly identical simpl*.pkt tests. The differences
// are the local or remote IP addresses
//
--local_ip=192.168.0.2
--remote_ip=10.248.0.3
// Enable server Fast Open capability
// Set master key to a0bf63f7-ed803d81-cd641d30-cebc4a90
`../../common/defaults.sh
../../common/set_sysctls.py \
/proc/sys/net/ipv4/tcp_fastopen=0x30403 \
/proc/sys/net/ipv4/tcp_fastopen_key=a0bf63f7-ed803d81-cd641d30-cebc4a90`
When I check the TCP man pages it shows only
tcp_fastopen (Bitmask; default: 0x1; since Linux 3.7)
Enables RFC 7413 Fast Open support. The flag is used as a
bitmap with the following values:
0x1 Enables client side Fast Open support
0x2 Enables server side Fast Open support
0x4 Allows client side to transmit data in SYN without
Fast Open option
0x200 Allows server side to accept SYN data without Fast
Open option
0x400 Enables Fast Open on all listeners without
TCP_FASTOPEN socket option
I get 0x403 what does net.ipv4.tcp_fastopen=0x30403 give?
RFC doesn't specify AES64 encoding/decoding so anything else needs to be set for these tests?
Tests are failing in 5.19 and 6.1 kernel.
Thanks,
Ravi