Commit Graph

1044 Commits

Author SHA1 Message Date
[anp/hsw]
9bbdcaf0fa fix compiler warnings: -Wunused 2024-08-16 19:12:43 +07:00
[anp/hsw]
b5837e844e optimize brackets and macro 2024-08-16 11:10:40 +07:00
[anp/hsw]
37266bcf87
Merge branch 'master' into master 2024-08-16 09:53:07 +07:00
[anp/hsw]
479ff56a6b fixing -Wstrict-aliasing (try 2) 2024-08-16 09:50:26 +07:00
bol-van
abcfa61168 tpws: is_localnet: deny ::0,::1 2024-08-15 20:20:58 +03:00
[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
bol-van
5354c973df
Merge pull request #274 from igrishaev/patch-1
fix typo in quick_start.txt
2024-08-14 11:38:09 +03:00
Ivan Grishaev
0da3501f54
fix typo in quick_start.txt 2024-08-14 10:40:04 +03:00
bol-van
94c848eab5 install_easy: use vim editor 2024-08-13 15:20:34 +03:00
bol-van
6e061c8fc9 update bins and upx ver 2024-08-13 15:13:55 +03: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
bol-van
c369f11638 windows readme: new info about windows 7 driver signing 2024-08-02 21:34:13 +03:00
bol-van
519ba550ed windows readme: new info about windows 7 driver signing 2024-08-02 20:46:12 +03:00
bol-van
f42bd2c0a4 windows readme: new info about windows 7 driver signing 2024-08-02 20:40:17 +03:00
bol-van
25f5d21876 windows readme: new info about windows 7 driver signing 2024-08-02 20:38:23 +03: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