Commit Graph

1031 Commits

Author SHA1 Message Date
[anp/hsw]
1224206f40 fixing -Wstrict-aliasing (part 1) 2024-08-16 00:07:38 +07:00
[anp/hsw]
ff00a2cd0d fixing -Wstrict-aliasing (part 1) 2024-08-15 23:23:18 +07:00
[anp/hsw]
20839d2fe3 allow comments in hostlist
comments must start with "#", ";", "/" or newline at beginning of line
2024-08-10 10:04:16 +07:00
[anp/hsw]
9574539292 cppcheck: fix possible null pointer dereference
[nfq/desync.c:1242] -> [nfq/desync.c:1243]: (warning) Either the condition 'if(ip6hdr)' is redundant or there is possible null pointer dereference: ip6hdr.
[nfq/protocol.c:280] -> [nfq/protocol.c:284]: (warning) Either the condition 'if(ext&&len_host)' is redundant or there is possible null pointer dereference: ext.
[tpws/protocol.c:270] -> [tpws/protocol.c:274]: (warning) Either the condition 'if(ext&&len_host)' is redundant or there is possible null pointer dereference: ext.
2024-08-03 20:51:53 +07:00
[anp/hsw]
6fca1223b3 valgrind: fix passing unitialized bytes to sendto()
==3801== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==3801==    at 0x49622E2: sendto (in /tmp/debug/lib/libc-2.22.so)
==3801==    by 0x11093D: rawsend (darkmagic.c:1778)
==3801==    by 0x114F47: dpi_desync_tcp_packet_play (desync.c:1021)
==3801==    by 0x117879: dpi_desync_packet_play (desync.c:1645)
==3801==    by 0x117A35: replay_queue (desync.c:1676)
==3801==    by 0x113F44: dpi_desync_tcp_packet_play (desync.c:781)
==3801==    by 0x117879: dpi_desync_packet_play (desync.c:1645)
==3801==    by 0x11797B: dpi_desync_packet (desync.c:1662)
==3801==    by 0x11A045: processPacketData (nfqws.c:106)
==3801==    by 0x11A1C3: nfq_cb (nfqws.c:140)
==3801==    by 0x4846B20: ??? (in /usr/lib/libnetfilter_queue.so.1.3.0)
==3801==    by 0x4851ABD: nfnl_handle_packet (in /usr/lib/libnfnetlink.so.0.2.0)
==3801==  Address 0xbecb2f81 is on thread 1's stack
==3801==  in frame #2, created by dpi_desync_tcp_packet_play (desync.c:478)
==3801==  Uninitialised value was created by a stack allocation
==3801==    at 0x112C35: dpi_desync_tcp_packet_play (desync.c:478)
2024-08-03 20:24:30 +07:00
[anp/hsw]
da15c82273 fix compiler warnings: -Wtype-limits (comparsion always false) 2024-08-03 10:32:53 +07:00
[anp/hsw]
1db0c81930 fix compiler warnings: -Wpointer-sign 2024-08-03 09:32:40 +07:00
[anp/hsw]
44ecef01c9 fix compiler warnings: -Wswitch 2024-08-02 23:23:26 +07:00
[anp/hsw]
81dbfca4a4 fix compiler warnings: -Wparentheses 2024-08-02 23:16:30 +07:00
[anp/hsw]
b65d0f2d73 fix compiler warnings: -Wmaybe-uninitialized 2024-08-02 21:18:51 +07:00
bol-van
ddc3fe7481 ip2net: use restrict pointers in ip6_and 2024-08-02 15:27:24 +03:00
bol-van
9cf72b7c68
Merge pull request #193 from Lui22/patch-1
fix typo
2024-08-01 11:13:56 +03:00
bol-van
addce6782f uninstall_easy, install_prereq: fix config/config.default logic 2024-07-31 09:48:50 +03:00
bol-van
9ef4d530e9 install_easy: populate default files in /opt/zapret 2024-07-31 09:43:21 +03:00
bol-van
745a8ec928 winws: fix unicode lengths 2024-07-30 20:04:39 +03:00
bol-van
fdb97e4654 winws: minor code fix 2024-07-30 19:52:58 +03:00
bol-van
11f6e07fa7 winws: --nlm-list fix national characters in adapter name 2024-07-30 19:51:18 +03:00
bol-van
6ac84b85fb blockcheck: tolerate absense of config and config.default 2024-07-30 17:41:50 +03:00
bol-van
68061b61ae blockcheck: tolerate absense of config and config.default 2024-07-30 17:37:28 +03:00
bol-van
22a772e96b remove changeable files from ipset 2024-07-30 17:25:15 +03:00
bol-van
cf1d6f537b remove changable files from git 2024-07-30 16:58:24 +03:00
bol-van
0117374d89 blockcheck: catch HUP to safely handle terminal disconnect 2024-07-29 21:42:12 +03:00
Lui22
bcdcc2858a
fix typo 2024-07-23 17:45:52 +05:00
bol-van
9fcd8f830e tpws: autohostlist reset fail counter on success 2024-07-16 14:50:15 +03:00
bol-van
72d2450081 readme: autohostlist fail counter reset 2024-07-16 14:18:44 +03:00
bol-van
2ae426c7ab nfqws: autohostlist fail counter reset on non-RST 2024-07-16 14:12:11 +03:00
bol-van
b44c697171 fix minor regression 2024-07-16 13:41:28 +03:00
bol-van
0d3b7b6542 remove bad file 2024-07-16 13:40:19 +03:00
bol-van
a01505ca37 nfqws: autohostlist reset fail counter if website accessible 2024-07-16 13:38:43 +03:00
bol-van
0d0fe6060e winws: minor 2024-07-14 15:36:20 +03:00
bol-van
1dca574cbb winws: show adapter names in --nlm-list 2024-07-14 14:45:31 +03:00
bol-van
f653c39290 winws: show adapter names in --nlm-list 2024-07-14 14:44:29 +03:00
bol-van
3e1f705932 winws: show adapter names in --nlm-list 2024-07-14 14:35:57 +03:00
bol-van
d165c410ec windows.txt: more nlm info 2024-07-14 10:38:25 +03:00
bol-van
5ff3172991 winws: optimize network list search 2024-07-13 19:06:16 +03:00
bol-van
1b65220878 winws: optimize network list search 2024-07-13 19:04:10 +03:00
bol-van
7e2ed880dc winws: NLM filter 2024-07-12 15:13:18 +03:00
bol-van
5a6dcb658b blockcheck: SKIP_DNSCHECK 2024-07-11 20:44:52 +03:00
bol-van
db28419094 readme: remove obsolete quic reasm notice 2024-07-09 16:13:00 +03:00
bol-van
e53b0baefc remove bad file 2024-07-05 08:49:24 +03:00
bol-van
9c1206e59c remove unneeded file 2024-06-27 08:16:42 +03:00
bol-van
3c943bb60f readme: minor fix 2024-06-26 18:28:51 +03:00
bol-van
002b246a91 readme: reassemble delay packets update info 2024-06-26 18:27:01 +03:00
bol-van
f5ba30b47b readme: seqovl windows more info 2024-06-25 19:09:00 +03:00
bol-van
bc1aaec754 nfqws: ipfrag do not disorder, fix DLOG 2024-06-25 17:19:06 +03:00
bol-van
01bf4a62fc blockcheck: BoringSSL supports tlsmax 2024-06-25 10:14:01 +03:00
bol-van
40c28ba6f3 blockcheck: fix tls1.2 quictls, iana.org clienthello splitovl 2024-06-25 09:49:35 +03:00
bol-van
09b8fa875d blockcheck: remote fake from seqovl tests 2024-06-24 19:46:41 +03:00
bol-van
60b7091137 blockcheck: do seqovl tests before autottl 2024-06-24 19:34:59 +03:00
bol-van
97f3c5592a blockcheck: remove syndata double checks 2024-06-24 18:31:10 +03:00