Commit graph

63 commits

Author SHA1 Message Date
Σ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
5226360942
Improve log for htt-proxy 2024-01-09 13:04:13 +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
f373293ede
Add short flag for passing --http-upgrade-path-prefix 2024-01-08 13:34:05 +01:00
Σrebe - Romain GERARD
b9bf0f005d
cleanup 2024-01-07 21:27:59 +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
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
bffd2470e7
fix dns-resolver cmd line parsing 2024-01-02 13:15:04 +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
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
d456c67f19
Add support for custom dns resolver on server 2023-12-19 22:52:03 +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
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
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
9e0fd6b11a
Update main.rs
Add port to host header when not default
2023-11-16 12:56:40 +01:00
Σrebe - Romain GERARD
466cb425bc
Cleanup 2023-10-30 08:50:35 +01: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
2499d993e2
chore(client): Cleanup implementation 2023-10-28 15:55:14 +02:00
Σrebe - Romain GERARD
b70d547370
use BytesMut instead of vec 2023-10-27 19:12:43 +02:00
Σrebe - Romain GERARD
f813d925d6
Prepare host header ahead of time 2023-10-26 22:06:45 +02:00
Σrebe - Romain GERARD
6570c857ad
feat: Add connection pool to speed up creation of tunnel 2023-10-23 19:11:12 +02:00
Σrebe - Romain GERARD
68057a2dde Improve server logging
Former-commit-id: 789bb078e47024ba3f996e304a44e603d8c24d2d [formerly 6800408dd9e2b91f1968e16104bbf72a2422f7c8] [formerly cb4ae5b7c76f5652f330c30a1a109237aa75dc02 [formerly c3bef74ec26bc6499eb241b542317ff3062cceec]]
Former-commit-id: 1c4ba622fd7e27d40000b894c413ba1408384c91 [formerly 321bfa4b214aa0cfc91b4047b713a83a6d6ee0e9]
Former-commit-id: bb175114c235de972faebfa7339ff8e5cb218c68
Former-commit-id: 580f89caaac8274d3bad43a1a10dea08c385a62b
Former-commit-id: 8f655bf060bd1830666157c065bf5c18612c0467
Former-commit-id: dcef054f2d09c98cbc98c3be5f1bcc89d4dd0a52 [formerly a063f023d4ecc9993082d57369b5eff14a992235]
Former-commit-id: c8811304e7320bbe2711c7bfadc4f5687ab6d3fc
2023-10-21 17:30:40 +02:00
Σrebe - Romain GERARD
b37b00ca41 Add dockerfile
Former-commit-id: 60c54d79124631c50746da75a423ee9388f8d985 [formerly a2710f80a818c2210caba8c49c9c1269989b1c2b] [formerly 4ca6cef8b2c71a460f97d233a38ba8a2ddf5f15f [formerly dc7215f367d151e637fe484d33e1e17b4ff743c3]]
Former-commit-id: 526b7c11e56b823e81cca101c0445df4f8bb631e [formerly 4acd501be9a53cde0b71f92ea050c91cf4cd9fb2]
Former-commit-id: aab8a87343f586f63e50bcb6da5e45ab641da6c5
Former-commit-id: 04c30b381d1cdd3acd33c7ca4c8c127b1382a67c
Former-commit-id: 545d3c452a2ff578d6b735438979114e340d54c2
Former-commit-id: 3f914bde058d210a22958ef0a9e9208a19e97d9d [formerly 41028124b438740222c1dd4022cb283fe67d4251]
Former-commit-id: 01b376228fd7620db2ca5c9472e19c829f99020b
2023-10-21 16:49:24 +02:00
Σrebe - Romain GERARD
f3fd006978 Fix command line parsing
Former-commit-id: b36693f619525c3c6196bcefbb77d566f7618364 [formerly 10726be9d050b3891b797ecebba9dcc8a45dfb7e] [formerly b8295a04bd8f5d591c677e1bded1e4a5bb1e5af6 [formerly 28d443681b6d9b94a719203e746f9a3d542fac46]]
Former-commit-id: 8f77fc39adff92421852e6ed5e296e46e446f605 [formerly 9a8ef64aa90ff4880d4a90c9bfd57509ee705e6c]
Former-commit-id: 743d161581e3752f138426cd854b2dcfde055dfe
Former-commit-id: b8d50c1746aa5295980a02fb5b1be0a55d682cbc
Former-commit-id: 981c8d7404e0bbf3b2884c4c72df27c0a49b4df1
Former-commit-id: ae68f651b57fcad5316c9d38f76a1a911bf2797e [formerly 1d4b878c54c39c4baece82f3811c6cdb8f2022ce]
Former-commit-id: 2859f6d56f92d30a8becdb052ef72399a8824c54
2023-10-21 15:23:25 +02:00
Σrebe - Romain GERARD
6de44d2d61 lint
Former-commit-id: c5fc7e21a9c1f3815785c61d7b317728da4204c6 [formerly 5e046d3f7bbdf696a56be1b97685d55a8ed11b44] [formerly 9ae6ca6b75543dafc48c8e980c2084ecfba4e092 [formerly 1c7c67e924e745929b2be90c93809e4dd02027ee]]
Former-commit-id: a6fef92e596e9538e0b3a3e61320943e2fcdba97 [formerly 49fa7c06032b4c347a37b7d33fee76a7e98de00c]
Former-commit-id: 3cb1a83fb261e29a4fbf99a9b639f231e5845833
Former-commit-id: 73fb08ed668ac94534364998f86a64757552b615
Former-commit-id: fb4dff1ef060a36be357012eba8d53167aa34498
Former-commit-id: 29f668d9cfb50d2eb6374e1cfbc739262928696a [formerly 367a6ae7b50cf64b96a790034119823334faf01a]
Former-commit-id: 862dbb844af266510103a2581a6d12f4ab836c90
2023-10-21 14:15:27 +02:00
Σrebe - Romain GERARD
e11a04eda8 Add server restriction for http path prefix
Former-commit-id: cd23bc1dc834eb5bcae7c1903186b18920d0c77c [formerly c4cf29aaf8715fe6110a8047a8481c00d8b89406] [formerly b57721363e7e6848d96a17332c7737f734fff58f [formerly a32bcb0bf854ea21500fbd7e6556c77c3bb12d86]]
Former-commit-id: 236a241138b6f8f014c60d39ab61a3a59e4311aa [formerly 6a6fe77a9e88309c50af8d79cf659f79122e8dd6]
Former-commit-id: a1763d2ee5f0be5ab6c03548b07b0660f85d54c5
Former-commit-id: 177d318424a2d2cfa6c81e08a9960bd065010280
Former-commit-id: 4cc14b5a2b13cc9872aeedcd9dd89fbecd7b8fa3
Former-commit-id: 4657ba8c01362551f269a78c52372dbf9af164da [formerly 87b44b99887048179f349e6142a4d17d9127c872]
Former-commit-id: cf32d458d507adeecf98911cfef7211f7528f614
2023-10-21 14:14:22 +02:00
Σrebe - Romain GERARD
4e524fe550 Command line
Former-commit-id: 7549e15e19c6483ad8ae9989c02da603455fade6 [formerly a31d14364b42fb2955e4e050c0427d0f969b5199] [formerly a5ecaba0cc7798fa1257b33ff23a44b5993dd461 [formerly d18e5e05e8a1a8ad779982f799307efab933b8b8]]
Former-commit-id: 92aa14ebec1fae2e4e116253230f3b19594b7430 [formerly e72ac4eff846a3c00e2704edf2221edec3a69348]
Former-commit-id: 3fb70a4a682d36ea1fcab1bb1addfdfc52b26331
Former-commit-id: 2c27c25ce3bf745e622be4f0da562c43d3051d1e
Former-commit-id: 091d6ab1b2d7d9a2c95402afdeb6f843c4feb92e
Former-commit-id: e33b88b7050529e013af25c862e87665ef38f93c [formerly acfaab90670fb9e3af09fe0725abb178c82cdb1a]
Former-commit-id: fe87180a6d4f2de117a6b4d67498215dfc9159b6
2023-10-21 12:26:11 +02:00