What's Changed
Full Changelog: v1.0.0-rc1...v1.0.0-rc2
Commits
- 82c4911: Add more custom fake message, random fake message (Vadim Vetrov) #132
- 3ee979f: Enhance middle sni split (Vadim Vetrov) #132
- 98a3fd5: Add workflow for test build (Vadim Vetrov) #132
- 6b21e9b: Add checker for kernel module (Vadim Vetrov) #132
- 263a04b: Kernel module code cleanup (Vadim Vetrov) #132
- 666b357: Fix kmod fake, update kmod verbosity settings (Vadim Vetrov) #132
- 9dc40bb: Fix split on preset domain list (Vadim Vetrov) #132
- 30bc3a8: Update workflow for separate luci-app-youtubeUnblock (Vadim Vetrov) #132
- e9b033c: Update faking strategies (Vadim Vetrov) #132
- 05cc005: Fix getrandom on older versions (Vadim Vetrov) #132
- 58f4802: Update kernel module parameters (Vadim Vetrov) #132
- 4c7b63f: Add multiple sections with config sets for various domains (Vadim Vetrov) #132
- 96cf036: Fix possible errors on older compilers (Vadim Vetrov) #132
- ed08fea: Mention #148 in README Troubleshooting (Vadim Vetrov) #132
README difference
OpenWRT section
For LuCI aka GUI aka web-interface of router you should install luci-app-youtubeUnblock package like you did it with the normal youtubeUnblock package. Note, that lists of official opkg feeds should be loaded (Do it with Update lists option).
LuCI configuration lives in Services->youtubeUnblock section. It is self descriptive, with description for each flag. Note, that after you push Save & Apply
button, the configuration is applied automatically and the service is restarted.
Flags section
--fake-sni-type={default|custom|random}
This flag specifies which faking message type should be used for fake packets. For random
, the message of random length and with random payload will be sent. For default
the default payload (sni=www.google.com) is used. And for the custom
option, the payload from --fake-custom-payload
section utilized. Defaults to default
.
--fake-custom-payload=<payload>
Useful with --fake-sni-type=custom
. You should specify the payload for fake message manually. Use hex format: --fake-custom-payload=0001020304
mean that 5 bytes sequence: 0x00
, 0x01
, 0x02
, 0x03
, 0x04
used as fake.
--fbegin
and --fend
flags: youtubeUnblock supports multiple sets of strategies for specific filters. You may want to initiate a new set after the default one, like: --sni-domains=googlevideo.com --faking-strategy=md5sum --fbegin --sni-domains=youtube.com --faking-strategy=tcp_check --fend --fbegin --sni-domains=l.google.com --faking-strategy=pastseq --fend
. Note, that the priority of these sets goes backwards: last is first, default (one that does not start with --fbegin) is last. If you start the new section, the default settings are implemented just like youtubeUnblock without any parameters. Note that the config above is just an example and won't work for you.
Troubleshooting section
Check up this issue for useful configs.
Kernel module section
Note that the flags names are different from ones used for the regular youtubeUnblock(right like in UCI configuration for OpenWRT): replace -
with _
and no leading --
. Also to configure togglers you should set them to 1
(quic_drop=1
)
Also a good thig to mention is verbosity. The kernel module combines --trace and --silent option to the one parameter verbosity
. This parameter accepts 3 arguments: trace
, debug
and silent
. I highly don't recommend to enable trace
mod on router because it may cause huge problems with performance and even freeze your device.