mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 14:26:11 +00:00
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:
parent
bc398cbd02
commit
33b0ca421b
@ -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
2
args.c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user