Commit Graph

64 Commits

Author SHA1 Message Date
[anp/hsw]
9698c6b782 rewrite fix for ip6hdr dereference 2024-08-17 21:33:34 +07:00
[anp/hsw]
8a603f0b25 revert initialization for timestamps, ttl_orig, ttl_fake, flags_orig, scale_factor 2024-08-17 21:20:58 +07:00
[anp/hsw]
4a2adc8ca2 fix compiler warnings: -Wunused (part2) 2024-08-16 19:31: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]
44ecef01c9 fix compiler warnings: -Wswitch 2024-08-02 23:23:26 +07:00
[anp/hsw]
b65d0f2d73 fix compiler warnings: -Wmaybe-uninitialized 2024-08-02 21:18:51 +07:00
bol-van
2ae426c7ab nfqws: autohostlist fail counter reset on non-RST 2024-07-16 14:12:11 +03:00
bol-van
a01505ca37 nfqws: autohostlist reset fail counter if website accessible 2024-07-16 13:38:43 +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
dcf6bf8cc7 nfqws: split-http-req,split-tls 2024-06-18 17:40:56 +03:00
bol-van
9df7574b2b winws: windows service support 2024-04-30 15:35:20 +03:00
bol-van
21ce641ebf nfqws: optimize autohostlist handling 2024-04-24 17:03:18 +03:00
bol-van
7d789f79d0 nfqws: fix reasm seq handling 2024-04-22 14:30:05 +03:00
bol-van
0f14f2e71b nfqws: quic fix retrans counter, optimize reasm 2024-04-22 10:28:07 +03:00
bol-van
e8f6b89efd nfqws: increase quic defrag buf 2024-04-20 21:40:52 +03:00
bol-van
51c0d1ce3c nfqws: packet delay support 2024-04-20 20:59:45 +03:00
bol-van
9088d40940 nfqws: --dpi-desync-start 2024-04-13 11:13:11 +03:00
bol-van
b4a5aa4d90 nfqws: change default fake TLS sni 2024-04-11 14:11:08 +03:00
bol-van
d1389f2527 nfqws: improve postnat workaround 2024-04-08 19:34:01 +03:00
bol-van
99c6014adb nfqws: fix posnat initial packet handling 2024-04-07 18:23:48 +03:00
bol-van
14428cd545 tpws,nfqws: autohostlist reread on modify 2024-03-23 22:57:05 +03:00
bol-van
f8e6302844 nfqws: do not perform syndata desync if TCP fast open 2024-03-19 21:58:53 +03:00
bol-van
684869e54f syndata desync mode 2024-03-19 13:50:20 +03:00
bol-van
8a161f1f49 autottl, datanoack, oob, postnat 2024-03-02 17:53:37 +03:00
bol-van
8d56d02d1d nfqws: change default fake from w3.org to iana.org (NOT cloudflare) 2024-02-27 13:58:36 +03:00
bol-van
a9a4cd5cb4 nfqws: tls client hello reassemble 2023-11-15 19:36:34 +03:00
bol-van
3559e1f2b8 autohostlist debug 2023-11-09 12:08:09 +03:00
bol-van
7ef7cbe554 recheck domain before adding to autohostlist 2023-10-26 16:27:52 +03:00
bol-van
ac574ce2ce autohostlist mode 2023-10-26 15:12:32 +03:00
bol-van
3e8d7676fc function without args () -> (void) 2023-10-13 20:10:46 +03:00
bol-van
394c590a25 nfqws: tamper dht lex order 00 instead of aa 2023-09-07 21:02:29 +03:00
bol-van
15a31d53ed nfqws: tamper dht lex order aa instead of zz 2023-09-07 20:50:03 +03:00
bol-van
c91542d516 nfqws: DHT and tamper 2023-09-07 19:03:37 +03:00
bol-van
91ac09a8bd nfqws: udplen-pattern, hex string support 2023-09-07 13:41:25 +03:00
bol-van
bc6b683009 nfqws: wireguard protocol recognition 2023-08-12 09:56:19 +03:00
bol-van
895af0f629 nfqws: allow to decrease udp length 2022-07-27 12:00:36 +03:00
bol-van
403dc1a204 nfqws,tpws: multiple hostlist support, exclude hostlist support 2022-07-26 19:15:28 +03:00
bol-van
877adbd6f6 nfqws: preserve fwmark. bind-fix 2022-05-15 15:54:35 +03:00
bol-van
ffda684a43 nfqws: fakeknown, udplen desync modes 2022-04-12 15:52:06 +03:00
bol-van
f7c0c35670 nfqws: handle QUIC decrypt failed case during desync 2022-03-25 22:34:37 +03:00
bol-van
dce5b4c6f0 nfqws: QUIC initial dissection support 2022-03-25 16:59:58 +03:00
bol-van
0a5ffc1a54 nfqws: QUIC protocol recognition 2022-03-20 20:46:39 +03:00
bol-van
4aef7a96a4 nfqws: ipfrag1 desync mode 2022-02-05 15:41:46 +03:00
bol-van
6151afe727 nfqws: destopt desync mode 2022-02-05 13:36:32 +03:00
bol-van
707e86bd90 nfqws: allow hopbyhop with 2nd phase desync 2022-02-02 15:18:35 +03:00
bol-van
a66aa7777a nfqws: do not drop packet in case of hopbyhop desync and ipv4 2022-02-02 09:39:48 +03:00
bol-van
427f16776c nfqws: hop-by-hop ipv6 fooling and desync 2022-02-01 20:35:52 +03:00