Commit Graph

95 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]
b5837e844e optimize brackets and macro 2024-08-16 11:10:40 +07:00
[anp/hsw]
479ff56a6b fixing -Wstrict-aliasing (try 2) 2024-08-16 09:50:26 +07: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
[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]
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
9fcd8f830e tpws: autohostlist reset fail counter on success 2024-07-16 14:50:15 +03:00
bol-van
e53b0baefc remove bad file 2024-07-05 08:49:24 +03:00
bol-van
d43d88b9d0 tpws: unify http and tls position finders 2024-06-18 17:38:13 +03:00
bol-van
222fb283c8 tpws: fix clang warning 2024-06-13 15:35:40 +03:00
bol-van
029e4cadd7 tpws: tlsrec,split-tls use byte position if no SNI 2024-06-13 13:23:12 +03:00
bol-van
b43f0b0f89 tpws: --tlsrec-pos use pos without tls record header len 2024-06-13 12:23:13 +03:00
bol-van
4de1748c6f tpws: --split-tls option. sniext mode for --tlsrec 2024-06-13 12:17:03 +03:00
bol-van
147af10b61 tpws: move portfilter code 2024-04-26 17:23:03 +03:00
bol-van
f94703a866 tpws: fix cleanup in resolver_init 2024-04-05 13:52:54 +03:00
bol-van
d13e9cb092 tpws: fix cleanup in resolver_init 2024-04-05 12:21:40 +03:00
bol-van
a760745452 tpws: decrease process VSZ by limiting thread stack size 2024-04-05 12:17:41 +03:00
bol-van
72762694df tpws: use SPLICE_PRESENT define for nosplice 2024-04-04 11:40:42 +03:00
bol-van
a570845453 tpws: nosplice 2024-04-03 22:21:17 +03:00
bol-van
747f9676a6 tpws: resolver_deinit clear list 2024-04-03 12:39:29 +03:00
bol-van
103419302f tpws: fix seccomp tgkill, do not interrupt write pipe 2024-04-03 10:34:03 +03:00
bol-van
5805b04bba tpws: special warning on unsolicited message in S_WAIT_RESOLVE state 2024-04-02 18:50:50 +03:00
bol-van
1b01b62b34 tpws: multi thread resolver 2024-04-02 18:14:03 +03:00
bol-van
9aa8ec0d45 tpws: fix rcv and snd buf sizes on BSDs 2024-03-27 22:35:09 +03:00
bol-van
61a47fd81c tpws: do not use split if split pos at the end of the buffer 2024-03-27 19:55:00 +03:00
bol-van
421f0505b9 tpws: do not use split if split pos at the end of the buffer 2024-03-27 19:49:07 +03:00
bol-van
a905e46b11 tpws: optimize split code 2024-03-27 19:26:12 +03:00
bol-van
e0250e44af tpws: --mss 2024-03-27 17:48:37 +03:00
bol-van
4f09a08260 tpws: oob and disorder protocol filters 2024-03-26 11:38:31 +03:00
bol-van
14428cd545 tpws,nfqws: autohostlist reread on modify 2024-03-23 22:57:05 +03:00
bol-van
b6ec750879 tpws: do not kill remote orphan immediately if it has data to send 2024-03-23 13:52:50 +03:00
bol-van
d0cf7fdbb8 tpws: fix crash when tampering is applied without remote end 2024-03-23 11:30:46 +03:00
bol-van
77520d7f8b tpws: fix crash when tampering is applied without remote end 2024-03-23 11:19:52 +03:00
bol-van
d82c298114 tpws: fix crash when tampering is applied without remote end 2024-03-23 10:54:53 +03:00
bol-van
f4180847f4 tpws: improve debug printing 2024-03-10 09:43:28 +03:00
bol-van
cffcfe71da tpws: support 'n' prefix in tamper-start and tamper-cutoff 2024-03-09 14:26:07 +03:00
bol-van
663a2bb2a4 tpws: specify oob byte . tamper pos range limiter 2024-03-05 14:59:44 +03:00
bol-van
8a161f1f49 autottl, datanoack, oob, postnat 2024-03-02 17:53:37 +03:00
bol-van
3f80ae2dd7 remove old files 2023-12-19 13:43:31 +03:00
bol-van
a33848b212 tls: respect tls record length 2023-12-19 13:40:28 +03:00
bol-van
f81900ce38 tpws: fix crash on getaddrinfo with glibc 2023-11-17 20:08:01 +03:00
bol-van
3559e1f2b8 autohostlist debug 2023-11-09 12:08:09 +03:00
bol-van
438baf508a tpws: remove redundant partner alive check 2023-10-27 10:54:27 +03:00
bol-van
47cabddbd4 tpws: fix splice 2023-10-27 10:04:08 +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