Commit graph

77 commits

Author SHA1 Message Date
ruti
7700791053 Style 2024-08-22 17:53:17 +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
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
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
dartvader316
f884b549d2 fix usage of some misaligned pointers 2024-08-05 19:49:51 +03:00
ruti
dcf5ed727c Minor 2024-07-29 22:14:57 +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
f4c55af73a UDP one dst 2024-07-23 14:50:17 +03:00
ruti
c023a8d8a8 Bump version, minor 2024-07-19 01:53:25 +03:00
ruti
4d965ebff3 Subdomain, logs 2024-07-18 23:59:44 +03:00
ruti
4b13c2127a Handle POLLOUT if connection is closed 2024-05-17 14:06:29 +03:00
ruti
1052a85d2c Fix tunneling after many EAGAIN, remove ip-opt on Windows 2024-05-14 05:07:01 +03:00
ruti
6555d60d6b handle split request 2024-05-11 17:23:34 +03:00
ruti
e3be71ea46 set POLLRDHUP flag 2024-05-10 02:30:17 +03:00
ruti
9429008264 UDP: remove events from TCP socket 2024-05-04 22:57:38 +03:00
ruti
6651427f3a remove arg from mod_etype, fix auto if TFO enabled 2024-05-04 22:18:43 +03:00
ruti
0f67d56be4 fix: conev add/del race 2024-05-04 19:42:19 +03:00
ruti
1a1bc7d96f fix: conev add/del race 2024-05-04 18:58:23 +03:00
ruti
e1b952cef6 fix: ignore closed connection, don't use mmap in ftob 2024-05-04 16:31:47 +03:00
lufog
7fb9164fc7 Fix build with LLVM-MinGW 2024-05-02 19:36:29 +03:00
ruti
8e8bd2d527 missed fd closing 2024-04-28 17:57: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
a48a2e87a3 UDP, --proto, dst custom port 2024-04-23 08:47:27 +03:00
ruti
3b65b275b1 avl, --hosts, --dst 2024-04-16 20:55:41 +03:00
ruti
87d1a28893 save IP along with port 2024-04-09 14:06:34 +03:00
ruti
f4599b0e15 move detect to auto 2024-04-04 04:19:40 +03:00
ruti
50c350c6ae replace --tr with --detect 2024-04-03 22:51:02 +03:00
ruti
6f82bb1eff remove --mss 2024-04-01 07:28:46 +03:00
ruti
6f8176a053 get addr for md5sig with getpeername 2024-03-28 23:28:09 +03:00
ruti
a909f44b35 --mss, fix cache 2024-03-28 20:42:43 +03:00
ruti
dbbdb005a1 --tr to group 2024-03-28 01:52:52 +03:00
ruti
e031e7d235 --md5sig, --ip-opt for IPv4 only 2024-03-26 17:15:34 +03:00
ruti
56a9043dd6 Check not sent bytes, --ip-opt 2024-03-21 01:01:36 +03:00
ruti
ca03b1d311 Support TFO 2024-03-20 02:23:56 +03:00
ruti
3da60eb357 --fake on Windows 2024-03-18 02:23:10 +03:00
ruti
6b39efdd7a Add --tr 2024-03-17 00:19:14 +03:00
ruti
0c6f95070c Add timeout 2024-03-13 22:18:16 +03:00
ruti
191f141a08 Remove --redirect, fix mem_delete 2024-03-12 02:53:57 +03:00
ruti
015095d2ef --redirect 2024-03-11 18:38:39 +03:00
ruti
69286c71db Cache ttl, handle client rst 2024-03-08 21:33:25 +03:00
ruti
0b4d6d72cc Handle only conn reset 2024-03-08 04:48:35 +03:00
ruti
fc4e6b22bb Minor fix 2024-03-08 04:00:44 +03:00
ruti
19171cfeca Auto mode 2024-03-08 03:37:02 +03:00
dovecoteescapee
d8334865b4 Replace perror calls with uniperror 2024-03-02 14:14:02 +03:00