Vadim Vetrov
42e6d574a0
Add connbytes to kernel module
2024-12-08 22:19:20 +03:00
Vadim Vetrov
457a7a7f04
Massive update of argparse system
...
This is required for furhter maintance of kernel module. Aims to provide
common interface for both
2024-12-08 16:06:50 +03:00
Vadim Vetrov
3a5dbff8ac
Update kmod logging
2024-11-29 21:42:57 +03:00
Vadim Vetrov
ef120ca100
Update logging
...
Add syslog for daemonize. This allows to log not only to the standard
output but also in system log
2024-11-29 11:22:55 +03:00
Vadim Vetrov
c9537bae95
Add versioning
2024-10-29 01:55:37 +03:00
Vadim Vetrov
aa96769559
Fix youtubeUnblock freeze when more than queue_size packets being sent
...
as fake_sni_seq_len
The problem affects both the userspace version and kernel space one. The
problem was reported in #166 and hopefully #167 also relates to it. The
problem occures because each packet sent by rawsocket is being enqueued
in the nf_queue, but each rawsocket waits for the packet to be
processed by linux kernel network stack. This leads to the infinitily
waiting rawsocket when the queue fullfills.
2024-10-27 02:42:06 +03:00
Vadim Vetrov
4c7b63fa7f
Add multiple sections with config sets for various domains
2024-10-13 23:31:26 +03:00
Vadim Vetrov
e9b033ccca
Update faking strategies
...
Use random ip4 id for frags, use sequential ip4 id for fakes
2024-10-12 12:23:06 +03:00
Vadim Vetrov
263a04bb95
Kernel module code cleanup
2024-09-28 22:17:11 +03:00
Vadim Vetrov
c786a44dd5
Fix warnings
2024-09-20 23:06:59 +03:00
Vadim Vetrov
5415bc37ec
Compatibility for kernel version 3
2024-09-19 21:55:15 +03:00
Vadim Vetrov
b3668f07ba
Add flags for kernel module
2024-09-07 15:51:25 +03:00
Vadim Vetrov
1e6a9496f6
Fix compilationg errors for some kernels
2024-09-02 13:41:25 +03:00
Vadim Vetrov
5870df44df
Linearize instead of kmalloc
2024-09-02 00:11:58 +03:00
Vadim Vetrov
5eeff9bc0d
Use netfilter hook instead of iptables target
...
KISS principle is in action. No need to specify rules, just insmod
youtubeUnblock and it works!
2024-09-01 20:58:50 +03:00