Evgeniy Khramtsov 11a68e521e nfq/darkmagic: unbreak IPv6 on FreeBSD 14
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.
2023-07-16 19:01:16 +00:00
..
2022-01-01 20:22:04 +03:00
2022-01-01 20:22:04 +03:00
2022-01-01 20:22:04 +03:00
2022-01-01 20:22:04 +03:00
2022-07-27 12:00:36 +03:00
2022-05-15 15:54:35 +03:00
2021-03-04 14:30:38 +03:00
2021-03-04 14:30:38 +03:00
2022-05-03 12:32:14 +03:00
2022-01-03 12:38:18 +03:00
2022-07-27 12:00:36 +03:00
2022-12-07 21:00:22 +03:00
2022-11-22 17:49:53 +03:00
2022-07-27 12:00:36 +03:00
2021-03-12 15:07:31 +03:00