Commit Graph

74 Commits

Author SHA1 Message Date
Vadim Vetrov
84541e8eae Merge branch 'kern_mod' into zabbius-kern_mod 2024-08-07 13:52:40 +03:00
Vadim Vetrov
66906dbe0c Code cleanup 2024-08-07 13:32:01 +03:00
Vadim Vetrov
c9949a3605 Fix tcp4 frag error caused by enabled IP fragmentation
If the packet is fragmented here is no way to deal with it, but we don't
care about DF flag in real
2024-08-07 11:38:26 +03:00
zabbius
6eca2cb77c minor 2024-08-07 04:00:48 +03:00
zabbius
69955d5237 commandline options 2024-08-07 03:31:10 +03:00
zabbius
255371cbaa start-stop priority in rc script - now service can be enabled 2024-08-07 02:22:33 +03:00
Vadim Vetrov
1b8d3a0e66 Code cleanup 2024-08-07 00:22:52 +03:00
Vadim Vetrov
7ef3290f41 Merge branch 'main' into kern_mod 2024-08-06 23:56:17 +03:00
Vadim Vetrov
8a9348d97c Update README.md 2024-08-06 23:55:19 +03:00
Vadim Vetrov
0860d5c576 Update README.md 2024-08-06 23:54:52 +03:00
Vadim Vetrov
511efcc785 Fix service and README for iptables to use connbytes 2024-08-06 01:00:50 +03:00
Vadim Vetrov
458780d8a2 Add definitions guards 2024-08-05 23:37:45 +03:00
Vadim Vetrov
3f1e8d3f01 Suuport for fake sni elimination strategy - TTL 2024-08-05 23:13:35 +03:00
Vadim Vetrov
7829012aa3 Merge branch 'main' into kern_mod 2024-08-05 22:53:44 +03:00
Vadim Vetrov
6c9f9d0e96 Update README.md 2024-08-05 18:36:55 +03:00
Vadim Vetrov
cda9ea9b9c Update README.md 2024-08-05 16:57:04 +03:00
Vadim Vetrov
4078ff061b Update README.md 2024-08-05 16:44:49 +03:00
Vadim Vetrov
82d65b8f96 Support for openWRT SDK build system 2024-08-05 16:41:35 +03:00
Vadim Vetrov
1e36a55d9d Userspace compilation for openwrt
\#define _GNU_SOURCE specified explicitly
2024-08-05 00:07:34 +03:00
Vadim Vetrov
8bb2bb28d2 Module for kernel works now on local machine.
SEG2_DELAY is not implemented yet.
2024-08-04 16:06:13 +03:00
Vadim Vetrov
62a5627c50 Update userspace interactions 2024-08-04 12:57:16 +03:00
Vadim Vetrov
97ee3f1e72 Merge branch 'main' into kern_mod 2024-08-04 02:20:09 +03:00
Vadim Vetrov
66191b10f7 Implement packet send 2024-08-04 01:29:57 +03:00
Vadim Vetrov
be40bc91e7 Add distinct fragmentation strategies
Fix ip4_frag, implement no fragmentation strategy. Related to #24
2024-08-04 00:32:16 +03:00
Vadim Vetrov
4793f537de Update README.md v0.1 2024-08-03 10:26:10 +03:00
Vadim Vetrov
ba4dce1df1 Update performance settings for openwrt
Add iptables connbytes counter thanks to this comment https://github.com/Waujito/youtubeUnblock/issues/17#issuecomment-2266359878
2024-08-03 09:38:22 +03:00
Vadim Vetrov
1eb95f50f5 Kyber on Chromium 2024-08-03 01:55:19 +03:00
Vadim Vetrov
ac9f49f937 Be more verbose
I have tired to always enable DEBUG and I dont see the reason why
verbosity should be disabled by default
2024-08-03 01:33:20 +03:00
Vadim Vetrov
a333b9bfe6 Update README.md for OpenWRT, enhance OpenWRT build system. 2024-08-03 00:22:44 +03:00
Vadim Vetrov
7dd45e4314 Update README.md 2024-08-02 23:47:56 +03:00
Vadim Vetrov
571692b6bd Fix #17. Update troubleshooting documentation, update packet marks.
Update for marks may be related to #15. But is primarily used to avoid
random EPERMs.
2024-08-02 23:00:08 +03:00
Vadim Vetrov
709fc4c3be Fix #17 2024-08-02 15:48:23 +03:00
Vadim Vetrov
72a7c21b17 Update README.md 2024-08-02 13:43:59 +03:00
Vadim Vetrov
a42840e449 Merge pull request #8 from Waujito/6-openwrt-compilation-issue
Rename LD to CCLD
2024-08-02 00:32:04 -07:00
Vadim Vetrov
5cc7da2986 Merge branch 'main' into 6-openwrt-compilation-issue 2024-08-02 10:28:42 +03:00
Vadim Vetrov
a96d6213b1 Temporary fix #17
This commit will entirely disable Fake SNI if flag -DNO_FAKE_SNI is set
2024-08-02 10:19:04 +03:00
Vadim Vetrov
10006d464f Merge pull request #11 from Waujito/10-tspu-updated
TSPU is updated.
2024-08-01 11:25:06 -07:00
Vadim Vetrov
8808c49fbd Cleanup code, update readme, fix gen_fake_sni 2024-08-01 21:04:43 +03:00
Vadim Vetrov
57c5b1f6aa Implement fake SNI 2024-08-01 18:45:10 +03:00
Vadim Vetrov
4f78c490f4 Add option to specify 2nd packet delay 2024-08-01 12:35:03 +03:00
Vadim Vetrov
c290c90604 Default CCLD to CC, LD to ld 2024-08-01 09:58:34 +03:00
Vadim Vetrov
457911abfa Implement googlevideo packet handling
Mangling itself is in TODO state.
2024-08-01 02:40:58 +03:00
Vadim Vetrov
b14abda600 Add skeleton for module and userspace iptables management
Special thanks to https://github.com/drivenets/iptables_extensions
repository with detailed explanations of iptables userspace interaction
with the kernel module.
2024-07-31 22:13:06 +03:00
Vadim Vetrov
13e78bde6d (feature) Solves #7 2024-07-31 14:19:21 +03:00
Vadim Vetrov
625ac79825 Rename LD to CCLD
The program links with CCLD, not raw LD. Escape confusion.
2024-07-31 14:09:01 +03:00
Vadim Vetrov
0cb34be25f (feature) Solves #7 2024-07-31 13:58:28 +03:00
Vadim Vetrov
ce0efaeb7b Update README.md 2024-07-31 09:52:22 +03:00
Vadim Vetrov
79d592a0ca Makesystem for kernel module 2024-07-31 02:12:59 +03:00
Vadim Vetrov
7490658708 Carry split and detection functions to separate file
This needed to escape code duplication in further development of kernel
module. Also this cleanups the code.
2024-07-30 23:10:00 +03:00
Vadim Vetrov
460c727dea Support for multithreading. Cleanup code 2024-07-30 15:01:58 +03:00