From 1ccd5f670a432f98e94b384dd169a1a760dced9a Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 1 Oct 2017 18:11:36 +0100 Subject: TFO: better detection of client fast-open connections (again) --- test/scripts/1990-TCP-Fast-Open/1990 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/scripts/1990-TCP-Fast-Open/1990 b/test/scripts/1990-TCP-Fast-Open/1990 index cbedd3622..4f5758f5a 100644 --- a/test/scripts/1990-TCP-Fast-Open/1990 +++ b/test/scripts/1990-TCP-Fast-Open/1990 @@ -8,6 +8,9 @@ # option on the SYN, but the fast-output SMTP banner will not # be seen unless you also deliberately emulate a long path: # 'sudo tc qdisc add dev lo root netem delay 100ms' +# You'll need kernel-modules-extra installed, or you get +# an unhelpful error from RTNETLINK. +# To tidy up: 'sudo tc qdisc delete dev lo root' # # First time runs will see a TFO request option only; subsequent # ones should see the TFO cookie and fast-output SMTP banner @@ -21,6 +24,12 @@ # this will only be obtained when the above delay is inserted into the # loopback net path. # +# this attempt to tidy up does not work +#sudo perl +#open (my $fh, "/proc/sys/net/ipv4/tcp_fastopen_key"); +#print $fh "00000000-00000000-00000000-00000000"; +#close $fh; +#**** # # # FreeBSD: it looks like you have to compile a custom kernel, with -- cgit v1.2.3