mirror of https://github.com/bol-van/zapret/
Browse Source
https://github.com/freebsd/freebsd-src/blob/4da7282a1882/sys/netinet/ip_divert.c#L321 allows only AF_INET in sa, causing runtime issue with IPv6: [...] rawsend: sendto_divert: Address family not supported by protocol family [...] After hardcoding AF_INET in sa, sin_len check returns EINVAL: [...] rawsend: sendto_divert: Invalid argument [...] FreeBSD's div_output_outbound() past check still handles AF_INET6, and --dpi-desync=fake,split works after hardcoding sa AF and len to get past the check.pull/148/head
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue