Commit graph

223 commits

Author SHA1 Message Date
ruti
13b0048514 Split range 2024-10-17 08:45:50 +03:00
ruti
93587ce8c1 Set TTL for both IP versions
#146 #17
2024-10-15 21:52:18 +03:00
ruti
8116b0de61 Fix tlsrec on negative position 2024-10-15 20:07:55 +03:00
ruti
b95926d9d2 Add more offset flags 2024-10-15 04:33:20 +03:00
ruti
dbc85417af Check IPv6 support
Change family for default address only
2024-10-06 19:08:45 +03:00
ruti
c71a096168 Check IPv6 support
#175 #169
2024-10-06 19:01:40 +03:00
Kirill
322f9261cc
Fix send_fake implementation conditional (#163) 2024-09-30 13:39:10 +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
Aleksey Smirnov
dca3b5693a
Separate options from service, add system service (#152) 2024-09-24 14:05:52 +03:00
ruti
77ac202f5c create empty group if a trigger is spec
#144
2024-09-23 14:56:03 +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
ruti
a9ecc83932 Transparent IPV6 2024-09-17 22:51:39 +03:00
ruti
5e5dec60f2 params.h: char -> bool 2024-09-17 22:31:46 +03:00
Lurker00
515129cccc
Bug fix: uninitialized padding eliminated (#137) 2024-09-17 22:29:47 +03:00
ruti
0a20d69537 Bump version, update README.md 2024-09-14 22:26:59 +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
Lurker00
193737173b
Delete broken event, log "pull is full" error (#132)
* Delete event with closed socket

* Log "pull is full" error

* Error logging inside add_event and init_pool
2024-09-13 22:23:04 +03:00
ruti
9b685ecbb9 restore events after reconnect
dc6966e broke auto
2024-09-13 09:13:58 +03:00
Trevor Arjeski
ef12f43c60
linux service instructions (#128) 2024-09-11 15:53:41 +03:00
ruti
dc6966ec1c ignore events until connection is established 2024-09-10 22:52:15 +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
Lurker00
1d6c0a132e Handle SIGTERM 2024-09-10 16:57:19 +03:00
hufrea
950e85df2c
vmsplice instead of sendfile 2024-09-08 20:21:26 +03:00
ruti
fdcab96c5b fix integer overflow 2024-09-08 17:37:38 +03:00
ruti
663cbf8177 fix integer overflow and unhandled error 2024-09-08 16:50:21 +03:00
ruti
4f22ff6184 fix ANTOHS macros
#117
2024-09-08 00:58:12 +03:00
ruti
2e244fd1b8 Fix --fake on Windows 2024-08-25 11:28:24 +03:00
ruti
9fb5cfbd63 Change default options in .bat 2024-08-23 00:22:54 +03:00
ruti
078842b084 Change default options in .bat 2024-08-22 22:06:00 +03:00
ruti
9c6c86efae Bump version, update README.md 2024-08-22 18:15:14 +03:00
ruti
7700791053 Style 2024-08-22 17:53:17 +03:00
ruti
bd2eb4e4e1 Handle empty response 2024-08-22 17:47:29 +03:00
ruti
efee93cfd9 Update README.md 2024-08-22 17:47:29 +03:00
ruti
db47c7841d oob2 -> disoob, send only one OOB byte 2024-08-22 17:47:28 +03:00
ruti
550f2d2f5f drop-sack 2024-08-22 17:47:28 +03:00
ruti
2f98038991 fake-offset, oob2 2024-08-22 17:47:27 +03:00
ruti
ff17dc424b auto: remove cl_err alert, add ssl_err 2024-08-22 17:47:27 +03:00
ruti
8ad4c22b30 Save hosts in lowercase and validate
#100
2024-08-22 17:09:00 +03:00
ruti
a6c5173d9c Fix logging with IPv6 address 2024-08-20 18:22:59 +03:00
ruti
6d21aae7b5 Reapply "Use original tcp_info struct"
This reverts commit e96aeff679.
2024-08-19 15:56:18 +03:00
Kirill
ff65b9f780
NetBSD Support / Portability fixes (#75)
* Use socket to detect family on NetBSD

* Switch to _DEFAULT_SOURCE for CPPFLAGS

* fix using signed char for detecting its type
2024-08-19 15:35:13 +03:00
ruti
9a9fc8a9aa Set TTL before connect (UDP) 2024-08-16 19:10:09 +03:00
ruti
e02921db22 Remove flag from memfd_create, remove replacement with tmpfile 2024-08-14 18:48:15 +03:00
ruti
e203aacc2c Set TTL before connect 2024-08-14 15:20:35 +03:00
vladiscripts
00ae8524f1
Update and rename readme.txt to README.md (#84)
Update and rename readme.txt to README.md
2024-08-14 11:09:56 +03:00
ruti
d61756dd95 fix headers, sa_size macros, replace getopt_long_only 2024-08-12 23:40:36 +03:00
hufrea
99e2d9b648
Merge pull request #47 from dartvader316/fix-headers
Fix headers and format
2024-08-11 23:11:50 +03:00