diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-01 18:11:36 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-10-01 18:11:36 +0100 |
commit | 1ccd5f670a432f98e94b384dd169a1a760dced9a (patch) | |
tree | 3fa341950c38d903920124677b4688a284a445db /test | |
parent | e924c08b7d031b712013a7a897e2d430b302fe6c (diff) |
TFO: better detection of client fast-open connections (again)
Diffstat (limited to 'test')
-rw-r--r-- | test/scripts/1990-TCP-Fast-Open/1990 | 9 |
1 files changed, 9 insertions, 0 deletions
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 |