Commit Graph

114 Commits

Author SHA1 Message Date
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
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