Commit Graph

174 Commits

Author SHA1 Message Date
[anp/hsw]
4a2adc8ca2 fix compiler warnings: -Wunused (part2) 2024-08-16 19:31:16 +07:00
[anp/hsw]
9bbdcaf0fa fix compiler warnings: -Wunused 2024-08-16 19:12:43 +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
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
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
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
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
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
bc1aaec754 nfqws: ipfrag do not disorder, fix DLOG 2024-06-25 17:19:06 +03:00
bol-van
ff0d59faf4 nfqws: seqovl 2024-06-24 16:52:07 +03:00
bol-van
6430636a55 nfqws: update desync-any-protocol help text 2024-06-23 19:39:06 +03:00
bol-van
0098926ca4 winws: minor 2024-06-22 21:40:02 +03:00
bol-van
103f65b155 winws: save some exe size 2024-06-22 21:38:28 +03:00
bol-van
f95be5c603 winws: do not close handle twice 2024-06-22 21:12:55 +03:00
bol-van
fb7fe79022 winws: prevent multiple instances with the same filter 2024-06-22 20:59:26 +03:00
bol-van
fc6bae8fcd winws: ssid-filter 2024-06-19 19:46:16 +03:00
bol-van
dcf6bf8cc7 nfqws: split-http-req,split-tls 2024-06-18 17:40:56 +03:00
bol-van
4febb74b0d winws: handle signals when busy, pass impostor and loopback 2024-05-11 16:48:51 +03:00
bol-van
d42a892828 winws: enable stdout flushing when piping 2024-05-11 09:50:45 +03:00
bol-van
f89ac5cca9 winws: remove wrong modding of windivert.h 2024-05-09 09:52:32 +03:00
bol-van
ecab5b913e dvtws: BSDmakefile do not delete .o 2024-05-07 16:02:52 +03:00
bol-van
60eadc9002 winws: FormatMessageA 2024-05-06 16:08:03 +03:00
bol-van
5c24fe8e21 winws: icon 2024-05-02 16:00:54 +03:00
bol-van
8a09df7097 winws: save win32 error in windivert send 2024-05-01 21:23:16 +03:00
bol-van
1e8e46c14f winws: return win32 error code on windivert recv failure 2024-05-01 20:05:31 +03:00
bol-van
a145fe73fe winws: fix error messages and error code in windivert init 2024-05-01 19:02:28 +03:00
bol-van
f39f25666a winws: fix windivert init race condition 2024-05-01 13:55:11 +03:00
bol-van
e432d46e15 fix winws: possible crash on service stop 2024-05-01 09:53:53 +03:00
bol-van
f5f210b30c winws: remove unnecesessary code 2024-04-30 21:40:01 +03:00
bol-van
c05e62586b winws: remove unnecesessary code 2024-04-30 21:36:09 +03:00
bol-van
742b3a6db0 nfqws: Makefile do not remove *.o on clean 2024-04-30 21:35:36 +03:00
bol-van
b7d34740f9 winws: requireAdministrator in manifest 2024-04-30 20:58:50 +03:00
bol-van
da5b856ab5 winws: cosmetic 2024-04-30 18:10:05 +03:00
bol-van
42e69e81f3 winws: beautify log, null ifout if inbound 2024-04-30 17:56:44 +03:00
bol-van
738766fde3 winws: remove unneeded code 2024-04-30 15:39:20 +03:00
bol-van
853c36ebbf rm bad file 2024-04-30 15:37:37 +03:00