Description
TCP_FASTOPEN fails to be enabled on supported kernels such as 6.1 and 6.6.
Steps to Reproduce
-
Check your current kernel
a) Use a real kernel such as 6.1 or 6.6
b) Or fake the installed kernel version in your system:
- Backup your /bin/uname (revert it at the end):
mv /bin/uname /bin/uname.bak
- Create a fake /bin/uname binary with the following content:
#!/bin/bash
case "$1" in
-m) echo "x86_64";;
-r) echo "6.1.0-amd64";;
-s) echo "Linux";;
-v) echo "#1 SMP PREEMPT_DYNAMIC";;
*) echo "Linux";;
esac
- Make sure the new /bin/uname has execution permissions:
chmod +x /bin/uname
-
Follow the building steps in the README.md to configure the project:
./bootstrap
mkdir build
cd build
../configure
Expected behavior:
TCP_FASTOPEN to yes
Actual behavior:
TCP_FASTOPEN to no
configure: Configuration Summary:
Operating System: linux-gnu
Target directory: /usr/local
License : LGPL only
Debug : no
TLS Enabled : yes
TCP_FASTOPEN : no
Static : yes
Build examples : yes
Reproduces how often: Always
Versions
Additional Information
None
Description
TCP_FASTOPEN fails to be enabled on supported kernels such as 6.1 and 6.6.
Steps to Reproduce
Check your current kernel
a) Use a real kernel such as 6.1 or 6.6
b) Or fake the installed kernel version in your system:
mv /bin/uname /bin/uname.bakchmod +x /bin/unameFollow the building steps in the README.md to configure the project:
Expected behavior:
TCP_FASTOPEN to yes
Actual behavior:
TCP_FASTOPEN to no
Reproduces how often: Always
Versions
Linux pc 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/LinuxAdditional Information
None