Commit graph

28 commits

Author SHA1 Message Date
Σ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
Σrebe - Romain GERARD
c265c219f0 Add http proxy support
Former-commit-id: 74f6da15e45f5ffbe6f37f9a25b27c46184252ba [formerly 65d0871b161bfc90497160a0c1525e11e6f4818d] [formerly b41ffebb30a1cca421b07c359c4943e5181ce7a7 [formerly 1c82b9fc05420e11b0cb68597e51cb3abdfec7aa]]
Former-commit-id: f15f736126be3b296a00366b9f6ecbebeee5c399 [formerly ca183f028e8cee92084aaa87bab0bd73962ab50d]
Former-commit-id: 31e45ab64416517af7d140020852e9bdaea8939d
Former-commit-id: 7bbedcca5773d9746a7d3c6b6ef36056d3f1868e
Former-commit-id: 4ae8aaf27b45c3e9ff0035b4cf6d2471c62c62b2
Former-commit-id: 67267b9ecc72ffb52e26aa6304e41f21ce0c7e52 [formerly 36adc769ecba20c66a6ec9d0243fe74a13352a47]
Former-commit-id: 56d37bd430a18e1f7f03ad2fc196aaeee4239745
2023-10-21 12:04:10 +02:00
Σrebe - Romain GERARD
ce9ced6307 Set default logger to default
Former-commit-id: a1edbb0c5344445375306c5a5d397056c5b562aa [formerly 20dfb041da5c6dc6fe7163f17b1db7a3dab715cb] [formerly b6e48d224808bf8f2205d704349c578e5794cd2e [formerly 20c4a7e8f4ea6b3243d2a11aeb7e1b92d28b7294]]
Former-commit-id: 261a192871c160827d986e021e6963b726924efd [formerly de4eb41cbc952f50bbe1cf805fb41bd82f496daf]
Former-commit-id: 31a47f1142d914390d9d5c24abdcb83d0ca2357c
Former-commit-id: edcfa652b503d422fed20886a41dae1b64b97c58
Former-commit-id: aa0aeb7e6496f55a968d9adab5772f2f324bb65b
Former-commit-id: b03049554fab28b5c3d149d0f71bc1dd822c3184 [formerly 8a7486bb63c652f9e18aab45b0f33db7e0f37a1e]
Former-commit-id: 0a6fcab24c989ecf0f448071c45be9d392f03a80
2023-10-20 20:20:47 +02:00
Σrebe - Romain GERARD
81a0e9bbda Add doc for stdio
Former-commit-id: a1b0618072d0bffa8db07831eab8381c89499a0e [formerly 02f9a5ac0fd2559a9eadadff120f103e628c040a] [formerly 4c11271a639aa4c0b7d811e9a94b045215322ae9 [formerly 634de8fa73f91c420e0f513c68620bcb79b1b394]]
Former-commit-id: 91714982df8c0cf4d17c23f9700aafb30bd6605a [formerly 956d013005cc45bef67680ee1cd8bc57c00e0083]
Former-commit-id: 6cd944916d563535c847c8ee88998b573f67ac4a
Former-commit-id: dd8f1ac9baa5f10cba3da3df9f452a53f5941bdb
Former-commit-id: 2feac3d165a223a870f082634c65893d9d150fe1
Former-commit-id: c750b645b3f06689b05aac51dcf7649981f4592e [formerly bc3ad147f1b66e8cde6ed0708aebb833b51d8274]
Former-commit-id: d9f164eaa9706219bde5cd4aa74dd3e20e67ea5f
2023-10-20 09:27:36 +02:00
Σrebe - Romain GERARD
fe58a4d38c bump
Former-commit-id: c957758c34df6318ebd851198bf5cc3d84d9b06d [formerly 293faa3e0f5c5c5431dad2f47f169c91c4c0d054] [formerly d8168008b84ee09a4d6ea3658fbfac14397eb8ff [formerly c3678e73b92679d5cd4311c95ad76d5749433c0d]]
Former-commit-id: 5d22513d464feb69d0bfa7f4b12c050ee589d988 [formerly 5d13dced421dcc2e0d5da1c938d7a0742a596d82]
Former-commit-id: 0c862754ab997fbd956f3c01faac13cd01693689
Former-commit-id: 62da13a937a32676cadbf428d79daeb7c7f08a19
Former-commit-id: defcdb90cf1cd4b4b35d2aed8dbb6baf0c1150e3
Former-commit-id: 232c3e6b623c0459407f37f014dc69eb65053e99 [formerly c8e2e95b88e2c0a27dd4d14f26d19a1f64f9c813]
Former-commit-id: 0d62b4fa25a2c55270360a342d1c0176cb5de3fb
2023-10-19 21:26:25 +02:00
Σrebe - Romain GERARD
c9137baacf bump
Former-commit-id: 04b9ce67843b750096a2798f272afa32f80d895c [formerly bb1d25502d6b854675c029a65a0cf5ece91bc60d] [formerly 51e0a2333b8cf8b24585a1b94e5a954d4e44fb4c [formerly cd8cc14df5794e89abb115fefa14edf94c40f26c]]
Former-commit-id: c512b0cabbb7b384ec1f3a251fc6666d11b10ba3 [formerly 47c1b7e1611e45a630f4f6d23db97ca0340b8735]
Former-commit-id: c45be868db0221614bc72248240a5ca0f65e5782
Former-commit-id: 54ff6e0953ab6796de8e2ad5978e84c83dc7751a
Former-commit-id: 53a302112d99337d5f1b57256e0be33ba3b2b466
Former-commit-id: bc262a9e913561f04477ee572330487b2d7584b3 [formerly 802a87088e21e014cc36e357765a727674f560eb]
Former-commit-id: 9682544a71d37a395df4c9cab953ab05709215d3
2023-10-19 21:18:36 +02:00
Σrebe - Romain GERARD
2f216f6554 bump
Former-commit-id: 28d29aa4afeb3cd63d80ac4e4cf3294732614d9c [formerly 53b4fe0af0f7c53252e1738d42bb83c45375daa2] [formerly 6676a81d4556200a6ab4549fa8e25e8f7e226b3f [formerly 16895d0a56fcb7a8a9ad06ef201d996c10dbf934]]
Former-commit-id: 4188a500a3e240c194045f9c8c064af1850bcefb [formerly 4d6fe6cdfdab0d8d6c11d2e68620d68b6bc971d2]
Former-commit-id: e56fc240360e9de94bc84ef8176e1029649bb286
Former-commit-id: 465ee46f7667f356f47188c3243ca76e83b32e9e
Former-commit-id: 47d2cf966bd45250d105bf97ad0eef5c3c5c8133
Former-commit-id: 8384c68a7896edf3b498fd7c2b6c70d912b2d638 [formerly a8cec922bd25d452cacf6313f52ddc163a20c8bf]
Former-commit-id: f9ea7d5c90ab7a9b134c8fe4e55e926e334b6ae5
2023-10-19 21:05:44 +02:00
Σrebe - Romain GERARD
b30bd381e1 Bump
Former-commit-id: c4282dccbec4fa9d64fb60334fe83caec963140f [formerly 12eeb52b4a8760d1ec7c13d6cc77c9213a6d3392] [formerly 90e4dda3b1a8e224de2820c387e1e4a07a4db372 [formerly 978616526843c8918e23384b2404ccbf241c4dbf]]
Former-commit-id: 5035c63e099ff2d0729a69c059c4d1ac1a288c8e [formerly 7225907b8ab627bd90b8542d3ba2884764f6a209]
Former-commit-id: 4a1fb1590711e763896b5d525091d35a85a1c70a
Former-commit-id: b343703f7ccfcbb40f1642cd150a9b98d1fcb05e
Former-commit-id: 1e7c5340f1f6bb43041a95f5e405c1e2ec0d7b29
Former-commit-id: dc0d08065cbef90e0b8e890af551ffe6f47a9b17 [formerly e90c7a4f23afd6cbea95ebc55dace2960f6aa003]
Former-commit-id: 4991d306af1ea50d3b0eeb46dc5f47a6a5b2f4b0
2023-10-18 09:50:47 +02:00
Σrebe - Romain GERARD
aca065fcab Bump
Former-commit-id: a5c765b81ecdd7a4a64ae9a29ac827f054dc0f6b [formerly 303f4a61e4c6b8146afa3035fd79c7ea9f4c3093] [formerly 514ae96091247299929d298c96fb0898b5c94bf2 [formerly 3496804edf70a12aa77173061c40f36d9301d58c]]
Former-commit-id: c344f3736face3ce16e7fda6e395f63adf864725 [formerly f82d31b14bf430666762dd5c4936d5a3107a0d17]
Former-commit-id: dc05fa123697b2011a8c8e77bd7c3cb94f6fa30f
Former-commit-id: 55513ef82602cc7eba5f9979282c3c0aa750ebba
Former-commit-id: 64bbd9b657056f122a10dd9d83fc3900f1f311a4
Former-commit-id: ef78d4ab69ea339f99878c8f3cc649c4f39a1f96 [formerly 252cf5bb9484db648812603dffb0cb686fed0aa3]
Former-commit-id: 583caf5e4d75622fb34badbec536acde3f2b4c58
2023-10-17 00:00:45 +02:00
Σrebe - Romain GERARD
a15e8a2548 progress
Former-commit-id: 2c8d8ac3845be86db0032025a127865f1f6d4ee7 [formerly 7550a9453455a95cb7583d582b5ac36d5a2c4e85] [formerly 39ce55e6191ae0f82e97708165be5fb27bffad51 [formerly e6c8f9d061578f0aad10fd974fb30bba6fb980d2]]
Former-commit-id: 29b3ac95435e35e66a93aada96692dde1d5d6213 [formerly afaaf09642072cec135a9fe451510be3ec2196e1]
Former-commit-id: 6ea160887038963bc34a6fb0b93baa318286f068
Former-commit-id: 40d8cad8790877c1d0712dfcd828939f4585dd38
Former-commit-id: a3de18cc4ac432e9aac64c30b05fc86f6fcf6b42
Former-commit-id: 7193a47d510ecd22b43a001b8b128b24643f6e42 [formerly 5a0575a31f03fe2754ed3a2c784f6181bc654456]
Former-commit-id: 9aef01bbe49921a4e0cc3eda2ecf929e476eacff
2023-10-16 19:26:32 +02:00
Σrebe - Romain GERARD
ef112495ae Disable stdio for non unix
Former-commit-id: 96afad71a8f9fa35fb3d9c5e66c1997bc807363f [formerly 75eb089125357ac5c54e8cb1e8249af13ba1ceaf] [formerly 53827390930ab1794a71f6a3080e62c836df8e45 [formerly cf75be1f0fc6425e300a32134ab53b71021d779e]]
Former-commit-id: dfd2da943781a191e9f99e027530ffb9e406655b [formerly ce8958e3821b869b9e8a27de35e63d9c0150b78b]
Former-commit-id: 6818ee061a09649169fce78ee769cd456588a412
Former-commit-id: 43352854d166a7059a4681c1997adcc0afcbd16c
Former-commit-id: c0ecf0ed363485181eae37d7f0fc6130f218f6b5
Former-commit-id: 8305f65a95302b0e7aceae2ded794272dc27e5fd [formerly 793cec8465da46bebafa53975bc4bbf753091db8]
Former-commit-id: 300e8aa99d90a98a8697052e7efa3042ce773d39
2023-10-15 21:14:07 +02:00
Σrebe - Romain GERARD
1ca69673f5 Disable stdio for non unix
Former-commit-id: 9517420cf008ad68394c6f165c2854fa953027f8 [formerly 2f040f62537bfc2c720fac154d01da5025653d2f] [formerly 092cf2ee3cc7802316f45fd5d365d4eea26f4a70 [formerly 95539ed457c1a4370d476ae65feaf8c886bda618]]
Former-commit-id: 0287c62a86569d98886dfab52f069bf23baee92b [formerly 36e646d84a645a2f57715c80ae5c481c31c721b4]
Former-commit-id: 13fe8829cbd6c6af7712af0a13d52e4f21f3446c
Former-commit-id: 0b9a49925044d3d5b74d1e661cd0f179db93d8b8
Former-commit-id: fe0919c17783cde0d5d9af3ca5f63c7eb24044c5
Former-commit-id: 0dcce5ab0bc07b76095d097149b8d434578ded15 [formerly 5ab64e56d05f73f5f79dab98c621cc3c34407840]
Former-commit-id: ca56d5ac22971711babeb12cc1aac0889a464b1d
2023-10-15 21:02:54 +02:00
Σrebe - Romain GERARD
8387557459 ground 1
Former-commit-id: d125471a7e73cbde30e1d8cb42a9e6d7aac10131 [formerly d14a90382da6197691d28f61151f1278dca23a53] [formerly 51e8380286fd2a4dc2ff577a507d0df2356b1e79 [formerly 0cd5c5c0eaa4a0538a566ba9e6bb5d925da77c1a]]
Former-commit-id: b4b5769ad601c8cce35047a3e16ff185e228ea41 [formerly 4c6f9e6bd777c187a240b0a6119c2a4eaa396da4]
Former-commit-id: 2aa31860ffe6a5a51f0148527598a7399f968801
Former-commit-id: a826342ca74b913ce45171f92bc6b9d19ac8db08
Former-commit-id: fc039d0217ff4d0c47048755da4f833d86568586
Former-commit-id: d742a7134f042fd67fb1b9399490473babef28d9 [formerly 7e2ea8487c5ce2a5fb39b015eb6d00d8a48654c6]
Former-commit-id: f4273cd0403ef19d4cf19c861fa4d730ab10b29d
2023-10-15 17:56:05 +02:00
Σrebe - Romain GERARD
8c611e9149 Make stdio server one shot. Exit when stdin close or cnx break
Former-commit-id: 88761398962764745bc495314aca962e728ca8bc [formerly ec5245e4e8582cac1acea8fce93960b10e1355ab] [formerly a646606c4757a7d95717e61a530268b53a55194e [formerly 90a8177d55b2e9cda3b8b9f2786a5acefa42967d]]
Former-commit-id: a4f3b053093aa350adbff3a77cfb5d5b2e3aed1c [formerly 0e601f35539a884b3de44b080e45113e4ca0c2ce]
Former-commit-id: dca46be4453bdd312262edb9ba34cc58eda7bfe7
Former-commit-id: 9da4d6d8f74375d25a98d967a7a78ec1e4287780
Former-commit-id: 69fcfe79afd0f2373753dfc854511ca8072cc77d
Former-commit-id: d6c7c44c03f3d633e14d7f6256db44d33201e95b [formerly dfd19ae45fce99c663acf1de25b4a4cf448d4e3a]
Former-commit-id: 7c0201b20d79c4819644d844910d6a60da772bba
2023-09-29 15:07:17 +02:00