commit | ab79ee8b117dbb2c2872747e8119492e70506392 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 30 17:23:50 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 30 19:00:49 2021 +0200 |
tree | f32b39aa77d060038a270166235388e425ab482a | |
parent | b48e7c001658b06d98b4f52f45badde6eb062869 [diff] |
BUG/MINOR: tcp: fix silent-drop workaround for IPv6 As reported in github issue #1203 the TTL-based workaround that is used when permissions are insufficient for the TCP_REPAIR trick does not work for IPv6 because we're using only SOL_IP with IP_TTL. In IPv6 we have to use SOL_IPV6 and IPV6_UNICAST_HOPS. Let's pick the right one based on the source address's family. This may be backported to all versions.