Commit graph

212 commits

Author SHA1 Message Date
ruti
ccbbf55fe9 serialize directly from address 2024-09-19 14:21:33 +03:00
dartvader316
11a43db9f7 extend.c: use serialization for key_struct 2024-09-19 03:06:51 +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
dartvader316
b49d0edbba remove mpool.h from extend.h 2024-08-11 22:57:56 +03:00
dartvader316
a7a219c4f8 better include guards for error.h 2024-08-07 16:05:14 +03:00
dartvader316
64639d6661 fix dereferencing type-punned pointer warning 2024-08-07 15:52:56 +03:00
dartvader316
ff4f811692 fix ssize_t print format 2024-08-07 14:44:12 +03:00
dartvader316
632e6b038b fix headers 2024-08-07 14:25:26 +03:00
hufrea
084921e523
Create LICENSE 2024-08-07 13:03:35 +03:00
hufrea
d008eb14b1
Merge pull request #46 from dartvader316/improve-makefile
Improve Makefile
2024-08-07 01:25:41 +03:00
dartvader316
7f3e878ca5 Improve Makefile 2024-08-07 00:03:15 +03:00
ruti
00219bd6ac fix double free if hostslist is empty
#44
2024-08-06 20:23:39 +03:00
hufrea
30a3b64a4d
Merge pull request #38 from dartvader316/editorconfig
Create editorconfig
2024-08-06 19:57:52 +03:00
ruti
0e155f6de7 fix shtona macros 2024-08-06 13:54:07 +03:00