Commit graph

39 commits

Author SHA1 Message Date
ruti
4012b14bda Ignore events until the remote connection is established 2024-11-13 17:44:46 +03:00
ruti
890a66ee2f Add IPv4 to proto list 2024-11-10 02:39:21 +03:00
ruti
276073ddea More pedantic code 2024-11-09 18:07:27 +03:00
ruti
38f4fe169e More details in logs 2024-11-09 16:20:13 +03:00
ruti
bbe9522242 Call the post desync func only once
#212
2024-10-22 11:45:54 +03:00
ruti
9318e90e4e Remove false assert
#212
2024-10-22 10:03:56 +03:00
hufrea
3cfdf4f7e0
--round (#201) 2024-10-20 18:50:08 +03:00
ruti
93587ce8c1 Set TTL for both IP versions
#146 #17
2024-10-15 21:52:18 +03:00
ruti
dcc492b8fd sizeof(struct sockaddr_ina) as the max key size 2024-09-24 21:04:30 +03:00
ruti
7dde94e3d2 compile without sa_family_t 2024-09-24 17:51:40 +03:00
ruti
e406476610 rst if exist only one group 2024-09-24 17:51:39 +03:00
Kirill
f11f5b0d67
Use serialization for key_struct (#138)
* extend.c: use serialization for key_struct

* serialize directly from address

* fix serialize_addr return

* return error, style

---------

Co-authored-by: ruti <>
2024-09-20 15:03:00 +03:00
ruti
889391b7b1 memset struct padding 2024-09-18 15:29:53 +03:00
Lurker00
515129cccc
Bug fix: uninitialized padding eliminated (#137) 2024-09-17 22:29:47 +03:00
ruti
e02ce91363 auto-mode option (#127)
* trigger auto if connetion closes/resets after several packets

* send RST if remote connection is reset

* change cache value struct
2024-09-14 15:47:57 +03:00
ruti
9b685ecbb9 restore events after reconnect
dc6966e broke auto
2024-09-13 09:13:58 +03:00
Lurker00
02a9e046fd
Transparent proxy mode (#114)
* Transparent proxy

* Typo errors

* long long -> intmax_t for printing time_t

---------

Co-authored-by: vel21ripn <>
Co-authored-by: Konstantin Saliy <ksaliy@s-terra.ru>
2024-09-10 21:10:11 +03:00
ruti
bd2eb4e4e1 Handle empty response 2024-08-22 17:47:29 +03:00
ruti
550f2d2f5f drop-sack 2024-08-22 17:47:28 +03:00
ruti
ff17dc424b auto: remove cl_err alert, add ssl_err 2024-08-22 17:47:27 +03:00
ruti
e203aacc2c Set TTL before connect 2024-08-14 15:20:35 +03:00
ruti
d61756dd95 fix headers, sa_size macros, replace getopt_long_only 2024-08-12 23:40:36 +03:00
dartvader316
632e6b038b fix headers 2024-08-07 14:25:26 +03:00
dartvader316
3fee8d5aed fix compile without -O2 2024-08-05 20:19:10 +03:00
ruti
380f91058c Port filter 2024-07-29 16:08:35 +03:00
ruti
83128935b8 UDP desync support 2024-07-29 12:26:42 +03:00
ruti
4d965ebff3 Subdomain, logs 2024-07-18 23:59:44 +03:00
ruti
05a248de6f Remove --dst, fix auto, ignore tls minor version in alert 2024-06-08 17:51:51 +03:00
ruti
13d0a9e4ed fix: overwrite request if split 2024-05-11 20:56:32 +03:00
ruti
6555d60d6b handle split request 2024-05-11 17:23:34 +03:00
ruti
47aad58e7c add asserts 2024-05-08 20:15:57 +03:00
ruti
6651427f3a remove arg from mod_etype, fix auto if TFO enabled 2024-05-04 22:18:43 +03:00
ruti
d2da43aa82 fix: invalid index 2024-05-02 21:23:14 +03:00
lufog
7fb9164fc7 Fix build with LLVM-MinGW 2024-05-02 19:36:29 +03:00
ruti
11596789e9 fix host checking 2024-04-29 23:35:40 +03:00
ruti
e3cfd9e9d3 protect_path, free mapped file 2024-04-28 02:50:46 +03:00
ruti
4be8bd33f0 two sockets for UDP, ignore dst and proto 2024-04-26 01:15:02 +03:00
ruti
bd290b1b5f check sid only in TLSv1.3 2024-04-23 22:45:42 +03:00
ruti
a48a2e87a3 UDP, --proto, dst custom port 2024-04-23 08:47:27 +03:00