Commit graph

266 commits

Author SHA1 Message Date
Σrebe - Romain GERARD
f4f60efd47
Bump version v9.2.3 2024-02-21 09:22:58 +01:00
Σrebe - Romain GERARD
6354d8dde1
fix host header name 2024-02-16 08:33:31 +01:00
Σrebe - Romain GERARD
3d23cf61e4
fix(http2): correctly extract host/authority from headers file
fix #230
2024-02-15 20:33:01 +01:00
Σrebe - Romain GERARD
92bea1379f
chore: change flag from http-headers-file-path to http-headers-file 2024-01-27 13:31:46 +01:00
Σrebe - Romain GERARD
f0cb4ab671
Add flag to read http headers from a file 2024-01-25 19:16:45 +01:00
Σrebe - Romain GERARD
f51981ff15
feat(http2): Add documentation for using http2 as transport protocol 2024-01-23 13:47:59 +01:00
Σrebe - Romain GERARD
3b4c86bce2
fix(socks5 udp): correctly reserve enough space for new packets 2024-01-23 13:32:31 +01:00
Σrebe - Romain GERARD
782fbbc04d
fix(http2): reduce memory usage 2024-01-21 15:08:18 +01:00
Σrebe - Romain GERARD
b7dbd864c4
fix(unix): correctly delete sock in not already exist 2024-01-21 10:59:42 +01:00
Σrebe - Romain GERARD
0943a7e7b5
Improve UDP server buffer allocation 2024-01-20 11:34:11 +01:00
Σrebe - Romain GERARD
c06e4e4945
Improvements http2 transport protocol 2024-01-20 11:17:31 +01:00
Σrebe - Romain GERARD
cab43376e8
Fix #216 packets get mangled when handling multiple connections 2024-01-20 11:11:32 +01:00
Σrebe - Romain GERARD
365ddd7875
Add default content type 2024-01-17 09:16:35 +01:00
Σrebe - Romain GERARD
27df033448
Add more logs 2024-01-17 00:20:54 +01:00
Σrebe - Romain GERARD
81fb524059
fix http2 request 2024-01-16 22:42:56 +01:00
Σrebe - Romain GERARD
459a0667b1
Add suport for http2 as transport for tunnel 2024-01-16 22:25:36 +01:00
Σrebe - Romain GERARD
ebd7591b34
cleanup transport addr and scheme 2024-01-13 23:31:54 +01:00
Σrebe - Romain GERARD
3eef03d8c4
Add custom trait for tunnel transport 2024-01-13 21:06:57 +01:00
Σrebe - Romain GERARD
6375e14185
Prep work for new transport 2024-01-13 18:42:15 +01:00
Σrebe - Romain GERARD
56543696b7
fix imports for non unix target 2024-01-12 18:03:11 +01:00
Σrebe - Romain GERARD
c7645a8d9c
Add doc in CLI for unix socket 2024-01-12 17:49:52 +01:00
Σrebe - Romain GERARD
10f15d1225
Add support for unix socket 2024-01-12 17:42:24 +01:00
Σrebe - Romain GERARD
dc4eadb8f9
Support proxy protocol for tcp connection 2024-01-11 09:19:32 +01:00
Σrebe - Romain GERARD
db6f3ea3ce
Add typealias socks5 udp 2024-01-09 21:04:46 +01:00
Σrebe - Romain GERARD
5226360942
Improve log for htt-proxy 2024-01-09 13:04:13 +01:00
Σrebe - Romain GERARD
7d88446453
fix udp association. Use peer & destination for stream map 2024-01-08 20:52:34 +01:00
Σrebe - Romain GERARD
2a6bda3c80
http-proxy: Allow specifying login/password separatly & add env variable support 2024-01-08 13:19:29 +00:00
Σrebe - Romain GERARD
41a88beb8d
chore(tls-reload): Improve tls reloading & remove deps on rust 1.75 2024-01-08 15:24:40 +01:00
Σrebe - Romain GERARD
f373293ede
Add short flag for passing --http-upgrade-path-prefix 2024-01-08 13:34:05 +01:00
Σrebe - Romain GERARD
57e03a1e4c
Update readme 2024-01-08 13:23:00 +01:00
Σrebe - Romain GERARD
ade9a19315
improve logs 2024-01-07 21:47:29 +01:00
Σrebe - Romain GERARD
b9bf0f005d
cleanup 2024-01-07 21:27:59 +01:00
Σrebe - Romain GERARD
ac76f52f6d
fix reverse socks5 proxy for udp association 2024-01-07 17:04:45 +01:00
Σrebe - Romain GERARD
f97bdc7c84
clippy 2024-01-07 16:54:02 +01:00
Σrebe - Romain GERARD
bdf88d0e89
Add Socks5 Udp Associate 2024-01-07 16:52:23 +01:00
Σrebe - Romain GERARD
23a38fced0
preparation work for udp association 2024-01-07 16:52:22 +01:00
Σrebe - Romain GERARD
0001afc6af
Update supported format for private key 2024-01-04 08:28:26 +01:00
Σrebe - Romain GERARD
360cd8b8e8
Update certificate/key format in CLI 2024-01-03 09:39:03 +01:00
Σrebe - Romain GERARD
16368f4f61
fix test 2024-01-02 19:42:13 +01:00
Σrebe - Romain GERARD
b705484d9f
Dont use libc dns resolver by default
+ By default libc dns resolution is blocking.
    Which force async runtime to spawn blocking thread for it
    which lead to heavy memory usage
2024-01-02 19:38:16 +01:00
Σrebe - Romain GERARD
5ae552f713
Bump version v8.5.3 2024-01-02 13:44:20 +01:00
Σrebe - Romain GERARD
bffd2470e7
fix dns-resolver cmd line parsing 2024-01-02 13:15:04 +01:00
Σrebe - Romain GERARD
817571c907
Reduce memory footpring 2024-01-01 21:39:26 +01:00
Σrebe - Romain GERARD
ace649a8a1
TlsReloader cleanup 2023-12-30 23:38:05 +01:00
Σrebe - Romain GERARD
5c7bc03e5f
TlsReloader cleanup 2023-12-29 19:03:40 +01:00
Σrebe - Romain GERARD
7ad36709bc
cleanup tls reloader 2023-12-29 18:06:28 +01:00
Justin
0e05469fc7
main.rs: fix typo (#204)
Thank you :)
2023-12-29 13:50:28 +01:00
Σrebe - Romain GERARD
640102f82e
Support auto-reload of tls certificate 2023-12-29 09:56:47 +01:00
Σrebe - Romain GERARD
facdf2ad5a
Use less fingerprintable default upgrade path prefix 2023-12-26 21:41:21 +01:00
Σrebe - Romain GERARD
f31db8067f
Add command line for log level 2023-12-26 21:36:23 +01:00
Σrebe - Romain GERARD
259da14d4d
Pass tunnel info into sec-websocket-protocol header 2023-12-26 21:16:34 +01:00
Σrebe - Romain GERARD
f19efa37f1
cleanup code 2023-12-25 18:06:44 +01:00
Σrebe - Romain GERARD
89c8405396
Add cmd line options to control color output and nb of worker threads 2023-12-20 21:26:08 +01:00
Σrebe - Romain GERARD
27f16984e0
Allow loading http upgrade path prefix from env 2023-12-19 23:23:36 +01:00
Σrebe - Romain GERARD
001759afac
cleanup 2023-12-19 23:16:06 +01:00
Σrebe - Romain GERARD
d456c67f19
Add support for custom dns resolver on server 2023-12-19 22:52:03 +01:00
Σrebe - Romain GERARD
d1de41646f
Bump to hyper 1.x 2023-12-15 09:59:10 +01:00
Σrebe - Romain GERARD
1844ea3106
Add support for STDIO for windows 2023-12-15 08:42:11 +01:00
Σrebe - Romain GERARD
f6d3daa25d
Update README.md for wireguard 2023-12-06 20:24:02 +01:00
Σrebe - Romain GERARD
391b89ae22
Improve server startup message 2023-12-04 18:38:37 +01:00
Σrebe - Romain GERARD
b64b0bb70b
Allows to load EC and RSA encoded tls private key 2023-12-04 18:22:57 +01:00
Σrebe - Romain GERARD
8e9363d519
Add -r command line argument for restrict_http_upgrade_path_prefix 2023-12-04 08:56:53 +01:00
Σrebe - Romain GERARD
8495870bff
cleanup 2023-12-04 08:50:47 +01:00
Σrebe - Romain GERARD
32e7cdcb8e
cleanup 2023-12-04 08:35:29 +01:00
Σrebe - Romain GERARD
3eba7d8771
support multiple --restrict-http-upgrade-path-prefix 2023-12-03 22:32:05 +01:00
Σrebe - Romain GERARD
592fab9406
Add tproxy udp 2023-12-03 21:41:52 +01:00
Σrebe - Romain GERARD
91f9a84e89
Add reverse socks5 tunnel 2023-12-01 22:25:01 +01:00
Σrebe - Romain GERARD
4c736ccf57
Update cli help 2023-12-01 20:31:52 +01:00
Σrebe - Romain GERARD
372a051d4b
Update cli help 2023-12-01 20:28:40 +01:00
Σrebe - Romain GERARD
707bc69af4
Update cli help 2023-12-01 20:26:01 +01:00
Σrebe - Romain GERARD
33ca736a73
Add transparent tcp proxy on linux 2023-12-01 20:20:33 +01:00
Σrebe - Romain GERARD
6e0386c416
Correctly close reverse tunnel server 2023-11-27 20:24:45 +01:00
Σrebe - Romain GERARD
f48b156542
Add udp reverse tunneling 2023-11-26 18:23:23 +01:00
Σrebe - Romain GERARD
87cf422489
Add tcp reverse tunneling 2023-11-26 15:57:45 +01:00
Erèbe - Romain Gerard
30b160fe53
Avoid overflow of interval 2023-11-22 14:57:59 +01:00
Erèbe - Romain Gerard
9e0fd6b11a
Update main.rs
Add port to host header when not default
2023-11-16 12:56:40 +01:00
Σrebe - Romain GERARD
71a937e926
Bump version v7.9.2 2023-11-09 17:28:48 +01:00
Σrebe - Romain GERARD
91d1215d5b
fix(proxy): url decode password of http proxy 2023-11-09 17:18:43 +01:00
Σrebe - Romain GERARD
b55ddd5947
chore(udp): Use SocketRef 2023-11-09 17:09:50 +01:00
Σrebe - Romain GERARD
297176293c
cleanup 2023-11-03 09:17:56 +01:00
Σrebe - Romain GERARD
0a9cb00342
Bump version v7.9.1 2023-11-02 13:06:51 +01:00
Σrebe - Romain GERARD
d8747443d6
feat(udp): Increase recv buffer length to avoid packet loss 2023-11-02 09:21:29 +01:00
Σrebe - Romain GERARD
9883b8b32b
feat(udp): Use activity based timeout instead of hard deadline 2023-11-01 15:36:53 +01:00
Σrebe - Romain GERARD
f9701a7879
fix(udp): correctly multiplex udp incoming stream 2023-10-31 22:51:49 +01:00
Σrebe - Romain GERARD
8a5d89885a
fmt 2023-10-31 08:43:24 +01:00
Σrebe - Romain GERARD
48b18293a5
chore(udp): Make udp connection on server side more flexible 2023-10-31 08:33:56 +01:00
Σrebe - Romain GERARD
466cb425bc
Cleanup 2023-10-30 08:50:35 +01:00
Σrebe - Romain GERARD
9af089d0b3
feat(udp): Unleash max performance for udp server 2023-10-29 18:51:57 +01:00
Σrebe - Romain GERARD
a832004783
feat(udp): Unleash max performance for udp server 2023-10-29 13:52:37 +01:00
Σrebe - Romain GERARD
c342d634fe
fix(udp): ensure we have enough bytes to receive packets 2023-10-29 02:24:26 +01:00
Σrebe - Romain GERARD
bab2c36f8a
cleanup 2023-10-29 01:33:22 +02:00
Σrebe - Romain GERARD
ce297f219c
fix(cli): Correctly parse http headers from cmd line 2023-10-28 23:09:37 +02:00
Σrebe - Romain GERARD
df1514c790
Use parking lot 2023-10-28 20:48:22 +02:00
Σrebe - Romain GERARD
02dcab74ec
Respect UDP framing for wireguard 2023-10-28 19:58:25 +02:00
Σrebe - Romain GERARD
a9d3cf0ab5
Bump versions 2023-10-28 18:21:32 +02:00
Σrebe - Romain GERARD
13a5a585a5
chore: Cleanup 2023-10-28 17:00:18 +02:00
Σrebe - Romain GERARD
2499d993e2
chore(client): Cleanup implementation 2023-10-28 15:55:14 +02:00
Σrebe - Romain GERARD
7fe768a078
chore(udp): Add test to check for close on timeout 2023-10-27 21:24:00 +02:00
Σrebe - Romain GERARD
f136adb65a
chore(socks5): Hide internal method 2023-10-27 21:11:24 +02:00
Σrebe - Romain GERARD
98ee91d174
chore(tcp): Add tests tcp proxy 2023-10-27 21:03:27 +02:00