Commit Graph

119 Commits

Author SHA1 Message Date
bol-van
f9e24fa0a0 tpws: ipset support 2024-10-14 14:58:31 +03:00
bol-van
d9bd668f6e tpws,nfqws: fix 100% cpu hang on gzipped hostlist with comments 2024-10-13 17:26:25 +03:00
SashaXser
e64a6bc9a4
Merge pull request #2 from SashaXser/alert-autofix-2
Fix code scanning alert no. 2: Incorrect return-value check for a 'scanf'-like function
2024-10-12 20:49:39 +04:00
SashaXser
81ae646c5a
Fix code scanning alert no. 2: Incorrect return-value check for a 'scanf'-like function
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-12 20:48:24 +04:00
SashaXser
2f46aec2be
Fix code scanning alert no. 1: Multiplication result converted to larger type
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-12 20:47:39 +04:00
bol-van
6c426c59f9 nfqws,tpws: do not accept extra characters in port filters 2024-09-19 21:15:17 +03:00
bol-van
d4a7eef17e tpws: multi-strategy 2024-09-19 21:06:58 +03:00
bol-van
12162f10e7 nfqws,tpws: seccomp riscv64 compat 2024-09-15 12:10:04 +03:00
bol-van
6cedc7301d nfqws,tpws: fix seccomp for ppc64 2024-09-15 09:25:16 +03:00
bol-van
d4ce24b3af tpws: fix resolver min stack size on some archs 2024-09-14 21:00:39 +03:00
bol-van
482ea8d4c0 nfqws,tpws: fix seccomp on mips64 2024-09-14 21:00:15 +03:00
bol-van
d8ed978566 tpws: emergency connection close on failed shutdown() 2024-08-28 11:07:33 +03:00
bol-van
7ca2d99655 tpws: tcp user timeout option 2024-08-27 18:31:32 +03:00
bol-van
e69fdac9ab tpws: rewrite connection closing 2024-08-26 15:15:40 +03:00
bol-van
2f11c330cd tpws: do not set debug level=1 in --debug if already raised to 2 2024-08-24 09:38:01 +03:00
bol-van
dee9c04d2a tpws: fix --debug-level text tab 2024-08-23 21:49:33 +03:00
bol-van
5e3cc263ab tpws: remove cygwin ifdef 2024-08-23 21:27:20 +03:00
bol-van
fe7a7f30a9 tpws: --debug to syslog and file 2024-08-23 21:15:27 +03:00
bol-van
700de59241 tpws: connect-bind-addr link local ifname delayed resolution 2024-08-23 16:57:44 +03:00
bol-van
e86fc2e7b5 tpws: connect-bind-addr support %iface for link locals 2024-08-23 16:42:56 +03:00
Vladimir Goncharov
c793ec8e1c bind address for connect 2024-08-22 16:09:38 +07:00
bol-van
881061c918 tpws: fix ipv6 macros on bsd 2024-08-21 10:03:34 +03:00
bol-van
93aa69ff7b tpws: is_localnet: convert network byte order 2024-08-21 09:18:57 +03:00
bol-van
ef7cbc1ec9 tpws: is_localnet: convert network byte order 2024-08-20 20:49:52 +03:00
[anp/hsw]
419745652b fix compiler warnings: -Wparentheses 2024-08-20 20:39:17 +03:00
[anp/hsw]
183ce40aa8 allow comments in hostlist
comments must start with "#", ";", "/" or newline at beginning of line
2024-08-20 20:36:47 +03:00
[anp/hsw]
4df4d193d2 fixing -Wstrict-aliasing (try 2) 2024-08-20 20:35:56 +03:00
[anp/hsw]
9af54b09dd fixing -Wstrict-aliasing (part 1) 2024-08-20 20:31:37 +03:00
[anp/hsw]
c5aa5d008f optimize brackets and macro 2024-08-20 20:28:35 +03:00
[anp/hsw]
5553a7da45 fix compiler warnings: -Wunused 2024-08-20 20:21:49 +03:00
[anp/hsw]
aaea80a97c fix compiler warnings: -Wunused (part2) 2024-08-20 20:21:36 +03:00
bol-van
8d066b2dcb nfqws,tpws: allow client hello with version SSL 3.0 from very old libraries 2024-08-20 15:15:48 +03:00
bol-van
177dda3760 some code fixes 2024-08-18 12:19:49 +03:00
bol-van
abcfa61168 tpws: is_localnet: deny ::0,::1 2024-08-15 20:20:58 +03: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