Commit Graph

294 Commits

Author SHA1 Message Date
Vadim Vetrov
e8bdd05839
Fix possible memory leak
sni_domains wasn't freeed after default initialization
2024-12-09 01:32:12 +03:00
Vadim Vetrov
f4e5cdb328
Update documentation for kernel module 2024-12-08 22:47:33 +03:00
Vadim Vetrov
8b602a9f44
Fix GCC warnings 2024-12-08 22:45:53 +03:00
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
9b5c8a729d
Allow to disable TLS processing for the section 2024-12-06 18:25:43 +03:00
Vadim Vetrov
b452ed2d55
quic_drop for kmod 2024-12-06 14:05:37 +03:00
Vadim Vetrov
f9a51944dd
Add args for UDP faking support. 2024-12-06 13:45:50 +03:00
Vadim Vetrov
7480cd31b8
Fix lgerror errno logging 2024-12-06 11:00:09 +03:00
Vadim Vetrov
b2ac2e0d03
UDP faking support 2024-12-05 01:24:51 +03:00
Vadim Vetrov
5ee77d517b
Bump release version to 5 2024-12-02 20:42:51 +03:00
Vadim Vetrov
f5a6c5718f
Do not duplicate default CFLAGS 2024-12-01 18:24:30 +03:00
Vadim Vetrov
aefabe7e0a
Fix SIGSEGV/stacksmash in UDP logger.
The bug was reported in #197. Caused by insufficient size of logging
buffer.
2024-12-01 18:19:09 +03:00
Vadim Vetrov
fd1ae1e574
Move entware builders from entware branch to openwrt 2024-11-30 14:15:14 +03:00
Vadim Vetrov
7303abdaf2
Merge pull request #174 from Waujito/daemonize
Daemonize youtubeUnblock with flags, without any overhead
2024-11-29 23:24:50 +03:00
Vadim Vetrov
cb138b902a
Improve UDP payload logging 2024-11-29 21:43:27 +03:00
Vadim Vetrov
3a5dbff8ac
Update kmod logging 2024-11-29 21:42:57 +03:00
Vadim Vetrov
62551a9f82
Replace incrementing defines with one enum 2024-11-29 11:22:55 +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
a4975dcdcd
Daemonize youtubeUnblock with flags, without any overhead 2024-11-29 11:22:54 +03:00
Vadim Vetrov
7ec29bd47b
Merge pull request #193 from Waujito/workflow_update
Move workflow binaries builds to docker instead of cache
2024-11-29 11:07:55 +03:00
Vadim Vetrov
20ce07821b
Move test builders from cache to docker 2024-11-29 10:56:01 +03:00
Vadim Vetrov
eb544c11ce
Entware binaries on docker instead of cache 2024-11-29 09:54:09 +03:00
Vadim Vetrov
3376860c0f
Kyber on firefox 2024-11-26 18:47:29 +03:00
Vadim Vetrov
438a3c17d8
Update workflows
musl-cross and openwrt sdk docker image implemented breaking updates.
2024-11-26 18:08:47 +03:00
Vadim Vetrov
046ecc4c97
Merge pull request #191 from MayanKoyote/main-dev
README.md & args.c: minor correction of typos
2024-11-25 23:56:34 +03:00
MayanKoyote
bb8992578f
args.c: minor correction of typos 2024-11-26 00:25:35 +05:00
MayanKoyote
cb46c89423
README.md & args.c: minor correction of typos 2024-11-26 00:15:10 +05:00
Vadim Vetrov
d87d3c9efb
Old openwrt (#168) 2024-11-02 10:56:44 +03:00
Vadim Vetrov
562f17e932
Merge branch 'dev' 2024-10-29 12:04:51 +03:00
Vadim Vetrov
56b6126f52
Mention --queue-balance in multithreading flag
Raw threading lead to confusion like in #177
2024-10-29 11:59:46 +03:00
Vadim Vetrov
235bf823db
Add issue templates 2024-10-29 11:11:29 +03:00
Vadim Vetrov
c9537bae95
Add versioning 2024-10-29 01:55:37 +03:00
Vadim Vetrov
0ee6d667e4
Fix starting logs 2024-10-29 00:12:27 +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
ae9592c71f
Userspace: handle --no-ipv6 for PF_INET6 UNBIND/BIND_PF 2024-10-27 00:09:45 +03:00
Vadim Vetrov
93972f8404
Update Padavan manual (#163) 2024-10-26 18:04:24 +03:00
Vadim Vetrov
7070ddfc74
Userspace: better support for ALLOC_MALLOC
An alternative memory allocation strategy for userspace
2024-10-26 14:50:21 +03:00
Vadim Vetrov
0e9b3ff018
Add notice about kmods in readme 2024-10-25 22:28:39 +03:00
Vadim Vetrov
f344e525d2
Add armv7sf 2024-10-25 22:11:21 +03:00
Vadim Vetrov
f1ab2ac1a9
Userspace youtubeUnblock: support kernel versions less than 3.8
The behaviour of nfnetlink_queue is changed since then but old kernels
require BIND/UNBIND_PF commands.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0360ae412d09bc6f4864c801effcb20bfd84520e

Co-Authored-by: renr4 <renr4@users.noreply.github.com>
2024-10-22 17:51:41 +03:00
renr
55d359d3e7 Padavan support 2024-10-19 22:46:42 +03:00
Vadim Vetrov
37a517eb8a
Fix #155 synfake option deleted but present in openwrt 2024-10-14 01:17:07 +03:00
Vadim Vetrov
ee56b67d20
Merge pull request #132 from Waujito/custom_fakes
Custom fakes
2024-10-14 00:25:45 +03:00
Vadim Vetrov
ed08feaf20
Mention #148 in README Troubleshooting 2024-10-14 00:22:50 +03:00
Vadim Vetrov
96cf0365ee
Fix possible errors on older compilers 2024-10-14 00:15:37 +03:00
Vadim Vetrov
4c7b63fa7f
Add multiple sections with config sets for various domains 2024-10-13 23:31:26 +03:00
Vadim Vetrov
58f4802f64
Update kernel module parameters 2024-10-12 19:08:49 +03:00
Vadim Vetrov
05cc0054d8
Fix getrandom on older versions 2024-10-12 16:55:27 +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