From cb46c894234c2e726f7ec5d2e72784084f4751a2 Mon Sep 17 00:00:00 2001 From: MayanKoyote <43220515+MayanKoyote@users.noreply.github.com> Date: Tue, 26 Nov 2024 00:15:10 +0500 Subject: [PATCH 1/2] README.md & args.c: minor correction of typos --- README.md | 4 ++-- args.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f2c00d..9b2dd8d 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ Available flags: - `--sni-domains=|all` List of domains you want to be handled by SNI. Use this string if you want to change default domain list. Defaults to `googlevideo.com,ggpht.com,ytimg.com,youtube.com,play.google.com,youtu.be,googleapis.com,googleusercontent.com,gstatic.com,l.google.com`. You can pass **all** if you want for every *ClientHello* to be handled. You can exclude some domains with `--exclude-domains` flag. -- `--exclude-domains=` List of domains to be excluded from targetting. +- `--exclude-domains=` List of domains to be excluded from targeting. - `--queue-num=` The number of netfilter queue **youtubeUnblock** will be linked to. Defaults to **537**. @@ -199,7 +199,7 @@ Available flags: - `--fake-custom-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. - `--faking-strategy={randseq|ttl|tcp_check|pastseq|md5sum}` This flag determines the strategy of fake packets invalidation. Defaults to `randseq` - - `randseq` specifies that random sequence/acknowledgemend random will be set. This option may be handled by provider which uses *conntrack* with drop on invalid *conntrack* state firewall rule enabled. + - `randseq` specifies that random sequence/acknowledgment random will be set. This option may be handled by provider which uses *conntrack* with drop on invalid *conntrack* state firewall rule enabled. - `ttl` specifies that packet will be invalidated after `--faking-ttl=n` hops. `ttl` is better but may cause issues if unconfigured. - `pastseq` is like `randseq` but sequence number is not random but references the packet sent in the past (before current). - `tcp_check` will invalidate faking packet with invalid checksum. May be handled and dropped by some providers/TSPUs. diff --git a/args.c b/args.c index 551a279..20cca71 100644 --- a/args.c +++ b/args.c @@ -558,7 +558,7 @@ void print_welcome() { } if (section->all_domains) { - printf("All Client Hello will be targetted by youtubeUnblock!\n"); + printf("All Client Hello will be targeted by youtubeUnblock!\n"); } else { printf("Target sni domains: %s\n", section->domains_str); } From bb8992578f5e46f24df4a4638f0bd450129f889c Mon Sep 17 00:00:00 2001 From: MayanKoyote <43220515+MayanKoyote@users.noreply.github.com> Date: Tue, 26 Nov 2024 00:25:35 +0500 Subject: [PATCH 2/2] args.c: minor correction of typos --- args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/args.c b/args.c index 20cca71..04559b6 100644 --- a/args.c +++ b/args.c @@ -482,7 +482,7 @@ void print_welcome() { } printf("Detected %d config sections\n", config.custom_configs_len + 1); - printf("The sections will be processed in ordred they goes in this output\n"); + printf("The sections will be processed in order they goes in this output\n"); ITER_CONFIG_SECTIONS(section) { int section_number = CONFIG_SECTION_NUMBER(section);