Commit Graph

41 Commits

Author SHA1 Message Date
Vadim Vetrov
d29177d783
Move args parsers to the separate file 2024-08-10 21:44:04 +03:00
Vadim Vetrov
0126e403fd
Do not force user to specify queue number explicitly 2024-08-10 21:38:25 +03:00
Vadim Vetrov
ff5bfc9037
Fix fragmentation strategy none
Related to #43
2024-08-10 02:55:06 +03:00
Vadim Vetrov
8e592d8957
Fix segfault on unrecognized option 2024-08-10 00:40:31 +03:00
Vadim Vetrov
6bbeae3876
Update version output 2024-08-10 00:35:36 +03:00
Vadim Vetrov
8d4fb1f7ad
Fix coding style of args parser 2024-08-09 16:03:45 +03:00
zabbius
4963258c0b const char* argv[] -> char* argv[] 2024-08-09 15:40:04 +03:00
zabbius
46e4231f7e minor 2024-08-09 15:31:04 +03:00
zabbius
916d575920 parsing args with getopt 2024-08-09 15:21:54 +03:00
Vadim Vetrov
8e3fa48510
Fix fake sni strategy ttl 2024-08-08 18:58:21 +03:00
Vadim Vetrov
d42ecb2b82
Fix #40 (finally) 2024-08-08 16:18:50 +03:00
Vadim Vetrov
fb47d80543
Fix #40 2024-08-08 15:29:04 +03:00
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
69955d5237 commandline options 2024-08-07 03:31:10 +03:00
Vadim Vetrov
1b8d3a0e66
Code cleanup 2024-08-07 00:22:52 +03:00
Vadim Vetrov
3f1e8d3f01
Suuport for fake sni elimination strategy - TTL 2024-08-05 23:13:35 +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
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
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
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
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
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
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
Vadim Vetrov
d846062b78
Merge pull request #2 from Waujito/1-forward-chain
Add support for routers
2024-07-23 15:26:49 -07:00
Vadim Vetrov
692add84c5
Add more error handlers 2024-07-23 22:24:43 +03:00
Vadim Vetrov
8b4b14bddf
Optimize memory usage 2024-07-23 21:18:47 +03:00
Vadim Vetrov
d2985e80bd
Use TCP Segmentation
This commit is proposed to be a fix of #1.
Some DPIs drops IP fragmented packets so we are going to higher level
and fragmenting TCPs. Fragmented TCPs are normally handled by DPIs but
if they are going in reversed order everything is ok. In further reviews
of this technique may be a delay for 2nd packet should be implemented.
2024-07-23 17:18:51 +03:00
Vadim Vetrov
55c14668f6
(Fix) Add _GNU_SOURCE definition by default 2024-07-23 02:06:02 +03:00
Vadim Vetrov
20b80b32dc
Change logs order 2024-07-22 09:57:51 +03:00
Vadim Vetrov
50d4b1c3d6
Add support for GSO. 2024-07-22 01:43:02 +03:00
Vadim Vetrov
5379c0c584
Implement raw socket mask handling on application layer. 2024-07-22 00:14:11 +03:00
Vadim Vetrov
3e44760a88
Initial commit.
The package works with firefox.
2024-07-21 17:46:58 +03:00