Update default value of frag-sni-pos

Related to #43 and probably other issues with some ISPs. Some providers
throws RST on 2 bytes tcp, but no RST on 1 byte
This commit is contained in:
Vadim Vetrov 2024-08-29 12:21:34 +03:00
parent bc398cbd02
commit 33b0ca421b
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ Available flags:
- `--frag-middle-sni={0|1}` With this options **youtubeUnblock** will split the packet in the middle of SNI data. Defaults to 1. - `--frag-middle-sni={0|1}` With this options **youtubeUnblock** will split the packet in the middle of SNI data. Defaults to 1.
- `--frag-sni-pos=<pos>` With this option **youtubeUnblock** will split the packet at the position pos. Defaults to 2. - `--frag-sni-pos=<pos>` With this option **youtubeUnblock** will split the packet at the position pos. Defaults to 1.
- `--quic-drop` Drop all QUIC packets which goes to youtubeUnblock. Won't affect any other UDP packets. Suitable for some TVs. Note, that for this option to work you should also add proxy udp to youtubeUnblock in firewall. `connbytes` may also be used with udp. - `--quic-drop` Drop all QUIC packets which goes to youtubeUnblock. Won't affect any other UDP packets. Suitable for some TVs. Note, that for this option to work you should also add proxy udp to youtubeUnblock in firewall. `connbytes` may also be used with udp.

2
args.c
View File

@ -19,7 +19,7 @@ struct config_t config = {
.fake_sni = 1, .fake_sni = 1,
.fake_sni_seq_len = 1, .fake_sni_seq_len = 1,
.frag_middle_sni = 1, .frag_middle_sni = 1,
.frag_sni_pos = 2, .frag_sni_pos = 1,
.use_ipv6 = 1, .use_ipv6 = 1,
.fakeseq_offset = 10000, .fakeseq_offset = 10000,
.mark = DEFAULT_RAWSOCKET_MARK, .mark = DEFAULT_RAWSOCKET_MARK,