Commit graph

214 commits

Author SHA1 Message Date
Σrebe - Romain GERARD
f813d925d6
Prepare host header ahead of time 2023-10-26 22:06:45 +02:00
Σrebe - Romain GERARD
995167c57c
Improve udp server forwarding 2023-10-26 21:46:27 +02:00
Σrebe - Romain GERARD
5ec9bbaf38
remove unused code 2023-10-26 21:46:26 +02:00
Σrebe - Romain GERARD
ac0e946b23
fix: Dont send twice Host header when user provides it 2023-10-26 18:23:54 +02:00
Σrebe - Romain GERARD
6e72929999
feat: improve udp max throughput 2023-10-26 09:01:50 +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
35a7a1e435 fix(http-proxy): Use proxy_host instead of host
Former-commit-id: 57536fa6a4a1225e1103da57f6c7c64a4f2244b0 [formerly 1cb907e15bee97aa773633dade8f93a2530fecb9] [formerly 66c9712c553b56f90a9c9888581882fe61fe8efc [formerly 3985f92f7f8e5acc3682bafe08496f5488fc4ac1]]
Former-commit-id: d28d72a354c417afd1662e0a83fcd210437433c9 [formerly 952d489a947a2b8609cea11b5c6d6d36c118a596]
Former-commit-id: bdf23759bbf05f3ab82781709a8c5fc624fc82db
Former-commit-id: 7700cd740ccd92665e64b3392fdc26e0bd0a0f75
Former-commit-id: f9fee9d9cd814fd02b7b336a14a7383414ccae18
Former-commit-id: 6a2ca8e4ca2763e863dfae6240c547f3e1fef7e2 [formerly 356c74022b8fcaa5a1f2c017915a5b5ab03ba651]
Former-commit-id: d6ca2bd1b76910c0f88c2a2988703b8e76554011
2023-10-21 18:16: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
11e12d1cc0 Remove useless timeout
Former-commit-id: 191840bb8848691830762fdd1eeb67e0a3b036ab [formerly 8945a115947915b46a98028b4da732408ae87ea2] [formerly c55ece9b56df88c695b3cd9c7eca4c76462e779c [formerly 59db895e9138736928e346a12b2802dd36173a3c]]
Former-commit-id: 62404ae9125e40bdb8d7c753283f913e8c527c2e [formerly 2d87ea4729096dff990afb94f91b62e805669608]
Former-commit-id: 0b618ec5c5546780096d0a4418e96a45d47b9e63
Former-commit-id: 3ee30f721128eec0d10c8297bd0b13a1c4a8e36e
Former-commit-id: a6866378f3dce77943b5c8901a73e3b9a82ff37f
Former-commit-id: 7d267f5ccd2769061c7883c8b3087e523c719445 [formerly b9b9e2ebe518e1d20e4b9b15e40518d35952e802]
Former-commit-id: b2cbd84fce1fe7e52ae2b3ec4bf195913bcfc7a8
2023-10-21 12:21:26 +02:00
Σrebe - Romain GERARD
a7263ba3dd Send close websocket frame
Former-commit-id: 31192d817a395def5f1d68e9484aadfad421ec12 [formerly 3f4edf0862c2dc91b689f882896503f64f8476a5] [formerly db9bb14e485302d9561a4bedc9bd62b1920662af [formerly 97c0fb0c421c479e4924b68099297c4463cb0a43]]
Former-commit-id: 3226979c73411509b99d0aab261952d0edcfab98 [formerly 6b60dce92011b3df0fa019b8492fd89116f0c005]
Former-commit-id: 36df49893ba7d36ee661454faff6addf3527fd56
Former-commit-id: 577dbe725d3757a66703c499ab38499473c24079
Former-commit-id: 9d73eba987833c88d3138e1d8b9a524fa9cc8cd0
Former-commit-id: 260b313ef97e76f3b8e3a63846b67577a6be8c68 [formerly cbfc7f9ba8b9f8f6d6fa2003cafcd0d036e931d4]
Former-commit-id: 5e9bbc999d083d0b87282c4c480d619235c9aae6
2023-10-21 12:11:22 +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
8db96730eb SoMark only for linux
Former-commit-id: 5d96d3aae6886a33795b15c2c248c0e051ca7ae2 [formerly fada6ed39aca9f0c3d5192fb2c8ef33a9630b4d3] [formerly 602999886b9bf9a50de1afdf127e9641afd7c5fa [formerly 2ee8fed454fe01d73ccd6fad4cb39e4527c3f703]]
Former-commit-id: 4146e5918de2e3ab1fbdaa4fd6d5bd663a87ca6b [formerly f61ee6635d76da6f16f6d3613b278f92cbf540f8]
Former-commit-id: dc89243b08551499570de59d9639e56cd9bf0820
Former-commit-id: 5c6c004ceede9fbd6ea94f3dde62275a588657d8
Former-commit-id: 228a9d6c9e12dfbde5c1477bc40ad47b2aa2d8ae
Former-commit-id: dcc0318d81ea64e2ac5b4c8a4dc7f68d1bc63cc1 [formerly d43e7d816a83b5e73929fabfa2ca59da4b61b09f]
Former-commit-id: f4ee4c9dd9e9a719e9a30eee5ea7498a7d6632b6
2023-10-15 20:27:23 +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
Σrebe - Romain GERARD
51752ed191 Add timeout to tcp cnx
Former-commit-id: 5adb049b14d9380e46c4f80c10a1d8062fe83904 [formerly b10cc7b46bda496234557f7b61ad7aa3ca988527] [formerly 557a8511fa2d9470bbd1a544d8b7e509103314d5 [formerly e1d1f02a69b56adf64d3aa0fef35f5e47e08039f [formerly e1d1f02a69b56adf64d3aa0fef35f5e47e08039f [formerly e1d1f02a69b56adf64d3aa0fef35f5e47e08039f [formerly 0fc191817c92b9b62300bec0acd8fb64c148cbc7]]]]]
Former-commit-id: da13228c115750898b6cfbd4c4c91ce63b08b509 [formerly 4feac2317e1efbf60134e585c96cdaa6ee3b18ff]
Former-commit-id: 5bf83c3e60bcdffc02c05f5fc826659b607188dc
Former-commit-id: b38569743f40ab3dc1c7a8792fafaa143b5d39b8
Former-commit-id: de5fd5b6a52f8c5d8fdc224dcfde2f7b35cf9c4f
Former-commit-id: a14726dacbedeab41fdde692399a282d1f784dfe [formerly 2ac7520615a3a508c4c1905433d7e2b5887c1a59]
Former-commit-id: 7996f71d276326ea9e698d5ae63f465070e73b50
2023-07-29 12:28:59 +02:00
Σrebe - Romain GERARD
d0868f6630 fix linter warnings
Former-commit-id: ceecd6cd0b6e75f81d85901bd7ad1890e838e8eb [formerly e274544a535fa2e171063a043b2189dc4cb15268] [formerly b0649ee32ec63fa8c766878ca498d985ea04251c [formerly bd3f6d274fe0be3a8e54ad3f162dcde17e5691a4 [formerly bd3f6d274fe0be3a8e54ad3f162dcde17e5691a4 [formerly bd3f6d274fe0be3a8e54ad3f162dcde17e5691a4 [formerly 41664826ae67c0a742c71613a10af7014176cac1]]]]]
Former-commit-id: fc0f22afe3e2a3ce4caab6e509c0f6167ab1bd68 [formerly 0ef98eae2265b9afad17f19fb7e2bf8411050934]
Former-commit-id: 74eccd0fac7d327fdd391f0a2b7dc7c8ee4c71e0
Former-commit-id: 768b8e64c5cc5df505195ab0b43452073a0be2ec
Former-commit-id: 17e03e49916bcf718585aba21c58b1ee1aa2d054
Former-commit-id: d7f69f46257675857526004dca3f525189612ba0 [formerly f7c06993bd3718de1e080d73116f3dfc78ba05fd]
Former-commit-id: eaec27d94ca6e9c005298207930d6c0a16a1fb76
2023-07-29 12:28:41 +02:00
Σrebe - Romain GERARD
23051c7982 Add support for socks5 ipv4
Former-commit-id: 93f444c7554b05a247beb3cef3f9e9e67dbdf04e
Former-commit-id: 9f48bc09d61b4b0723553ad7635382570dd8568a [formerly 726f62c02f451aa3d3bce2d43f82fb89ac57df6f] [formerly ecc452136b37f5387b8328f0a067ef14d3ae20ea [formerly a198098e9a56b46b7e699f43287c479bc80c7dc1 [formerly a198098e9a56b46b7e699f43287c479bc80c7dc1 [formerly a198098e9a56b46b7e699f43287c479bc80c7dc1 [formerly c42827e3842267f52c65419a91c91672294d8e60]]]]]
Former-commit-id: 7302ac40185825650c63dbbbb7746fa628ec7aea [formerly 2f2dbaf7687a712ecf7efe02c937c667bccce360]
Former-commit-id: dca93f1ee79fbf5a7243fc664c3e71b9ffeedfdd
Former-commit-id: 01939d01a83faea0e336403371fdcfbcf668694c
Former-commit-id: d3f7507bdee393f93c79fba6aac49fa68d6788cc
Former-commit-id: 7715e5d09783415843b188584ff4f339171bb266 [formerly c2fe751fae043fca4df6a3bbe0fcf790feaa3115]
Former-commit-id: 57ea26c8efe39e0f025b806af4607edd1bc928f4
2023-01-18 20:34:54 +01:00
Σrebe - Romain GERARD
395411a4b7 fix tests
Former-commit-id: 3c1a21d65244abf3246e613894e87b8003cf0b0d
Former-commit-id: 7bc826fe1639e801bed796b98b335a17a895534a [formerly d60d7601d0bc507981a324ab9409c714da95704d] [formerly 867e778fb88d3613ca9f15664a220dcef968b916 [formerly ebdd8bd6976374edc4b90380c6ab0170767365e4 [formerly ebdd8bd6976374edc4b90380c6ab0170767365e4 [formerly 8857bded398e0483a2c05a7151ee10bc6a924090]] [formerly ebdd8bd6976374edc4b90380c6ab0170767365e4 [formerly 8857bded398e0483a2c05a7151ee10bc6a924090] [formerly 8857bded398e0483a2c05a7151ee10bc6a924090 [formerly e10ed5b7830b0d92e6a02fc2b014911391c069a8]]]]]
Former-commit-id: 8ce3d6efb0bd0a736ab8b26863500c97ae74b326 [formerly ffb58efa8e318ec077393824e3b78fa584122323]
Former-commit-id: f35c65a8dc1a03257ac808f9db49ec637256432b
Former-commit-id: c6b92d91ee088509fe4c04bfd8b3cb120fbdee7d
Former-commit-id: a320429f1e660d218c87a570202337c1648f2645
Former-commit-id: c69b9ac920eb12fc7545017c085c0f15994448ca [formerly 6a5abade9fd1f7250558a9bc653e2e9a151ab173]
Former-commit-id: 080d2f5fa42ded6e2fa74ae5325ee62025773c64
2023-01-07 21:55:51 +01:00
Σrebe - Romain GERARD
f167bde3e5 Allow client to verify tls certificate
Former-commit-id: 07cac1ac8e036db01c2720f0375e27b1cd0ee348
Former-commit-id: 3313f353f6258cab1bab53dcee45af60c3599cef [formerly 924008fed88d0dddb5f055b0dbbff45716b5b0ae] [formerly 4f50a2e36ebcd84816b16a3665da3de5670b6208 [formerly 9eb26df3a16aeef5b0484746a3c08f2db206a3b1 [formerly e0b115016d188d04fc3f99dfbba99b7436c76f46] [formerly 9eb26df3a16aeef5b0484746a3c08f2db206a3b1 [formerly e0b115016d188d04fc3f99dfbba99b7436c76f46] [formerly e0b115016d188d04fc3f99dfbba99b7436c76f46 [formerly 32bc3ac2a2dd3258b519f8f78dee4de9b5025dea]]]]]
Former-commit-id: bd34fc8322034b6d14f179df9e930dfc71bcc5ea [formerly e118e42a69a6504c4153178b77dcafa57e6c9bd0]
Former-commit-id: 83691e7ee47e683e806e0b4618d276128a51a5c8
Former-commit-id: 3632eac7a04d88058295368eea92a6a817a68e40
Former-commit-id: 02aa1f25917ac7199ca78d9a7ff9589b0d2e060c
Former-commit-id: 180b1ea3defe38efb579179562cd314e88ed357e [formerly f3ebd259e67a54914ca45d15a8cfb04bdfadbec3]
Former-commit-id: 932c6cbcf42afb782c5139e04c51df18f4da6b69
2022-12-15 21:27:50 +01:00
Romain GERARD
ee6c97be08 lint
Former-commit-id: 464406e4984df2db0d75b13a35e2917f09e9eddd
Former-commit-id: 95940dcc1aec7cea8f0c3cc5a035f8f03fc9358c [formerly 1b65e1d231d48b4c6ff46b66e1966a8cfe245a8c] [formerly de1e18e1829415b3e5586e68573470b2c85d9f47 [formerly 5af919f5dcfaa3c4bb056c12ed7e7eb66ce59701 [formerly 5af919f5dcfaa3c4bb056c12ed7e7eb66ce59701 [formerly 5af919f5dcfaa3c4bb056c12ed7e7eb66ce59701 [formerly 26728bafee862101c43345930b24a144c6c476fb]]]]]
Former-commit-id: 1a78ee08d8f06190c43868a4e822fb921a26df0f [formerly 83bc0019b5a2d4d25ac3917de9b83b57565a326d]
Former-commit-id: 61beb873d6371cba2e35e942f1786eae72e984c0
Former-commit-id: 563a2865fdd20229adb88d87d400b9e75c2186b9
Former-commit-id: db6b16da06cdade969ef99795d3ebbe7a81a0651
Former-commit-id: 20132a50522b9e7c947205c3ac50f8ddb9b93c93 [formerly 252122bfdd9dde2f6a276518d97f2c17ec21c63e]
Former-commit-id: 9279908c50d63a4f01ca41f6cbdbd985d73c4ead
2022-12-11 21:09:45 +01:00
Romain GERARD
c46f93775f fix udp server dying due to BlockedIndefinitelyOnMVar
Former-commit-id: 3b196ad1dd251da10a16ba92c6b406dd82bc14a2
Former-commit-id: 22ff60708b7918aecd12d6e6d38356c63bb5a567 [formerly c4e7cd099079d7728cf28c2d08e068a5995850c9] [formerly f6cf0c8536ef624a6252bfabd870740614a9677a [formerly 261f59a6a33f78d86b7d555905cf9a55ec2eedeb [formerly e6f63f7fc005ad2dab36b304114d2568c2d63cd4] [formerly e6f63f7fc005ad2dab36b304114d2568c2d63cd4 [formerly e6f63f7fc005ad2dab36b304114d2568c2d63cd4 [formerly 4202be87d212a1939cb57502630a4d0eb7ec0c26]]]]]
Former-commit-id: aaa73da1686f57961be57ad6aa8476b3895ecac5 [formerly 704971dfb9ef961f0b43376f221d21d22dd2fffa]
Former-commit-id: b21cd9564e59374361b81e7557c324eae4eb6661
Former-commit-id: f3a7e81c15358d470608639714ec87a65d5bbbf6
Former-commit-id: 52494e1883d95d60395e5d062846a3dcc2e39e7b
Former-commit-id: 845cb1c441d4301fa56dd9ebd71c6a7be158a7bc [formerly 734bf85e5391d55a2243b5857870824b264c36e0]
Former-commit-id: 4b82bfe4dabde5f2101f71f055e0949800d7807b
2022-12-11 21:08:18 +01:00
Σrebe - Romain GERARD
26035a834a Allow specify certificate for server
Former-commit-id: acb355bc9b816c3f87c1db08e8a8792acf780c69
Former-commit-id: a5addaff33401413838d6d3b5e3f3f2e028d6c0c [formerly 8f162adacdff0d8369929d31d00e5d1a1b13836d] [formerly 57cdd78a0bb4a2c0ddc80fcf7067b25042765a33 [formerly bb22f8601c8878cf6db4d446e25bd52a0a9cdbe8 [formerly bb22f8601c8878cf6db4d446e25bd52a0a9cdbe8 [formerly bb22f8601c8878cf6db4d446e25bd52a0a9cdbe8 [formerly cdc4bb912f844cf4d0f5f2820f8a1ff9154d1675]]]]]
Former-commit-id: cba91d0daf45ee323069dca4a64eea1dd997d673 [formerly 6d5407d23091f292996d5e582b2f1a31b1b95593]
Former-commit-id: 634a6c97eaac7b581d04625bb320b88d8d1a86f0
Former-commit-id: 20ca95eb92c0e12cd44bc42bee295344753e65bf
Former-commit-id: 5acdd9113addf04d9a9a44db14fbc4b075ec3d52
Former-commit-id: 477fad0a3ef6add5882a279f60fe9c77ea7e0400 [formerly 88bf0b8e9300bdd5a14005cbf097df07989ce872]
Former-commit-id: 9f5ef6cb1d63fc987e9fc0bd7bae480721e8b3ab
2022-11-06 22:15:42 +01:00
Σrebe - Romain GERARD
001619f7b1 lint
Former-commit-id: c28e4cf38fd7e8b55d6453cc7ada8eef3cb722a8
Former-commit-id: 0e8573342851be0e0812a9d92548d65e1d234fdf [formerly 0ec3417203a97ffba77fad8074234e0009bbd578] [formerly 354294f60f429b260e49e3cd647d36b0aa360cf2 [formerly 01a7d505fdc8d95fe4f2bd591f91863a2d94f82d [formerly 01a7d505fdc8d95fe4f2bd591f91863a2d94f82d [formerly 01a7d505fdc8d95fe4f2bd591f91863a2d94f82d [formerly 2b55b3e5cefc3c9c908a54600772774d92aea898]]]]]
Former-commit-id: 2fd3f1de8cdd14032219415083519e8f5b49283f [formerly 85e94bf33bd4caa21f9db9bf0d4013f1218b94c3]
Former-commit-id: 86e9b904cd8018f72094e3da79d05d072cee9d9a
Former-commit-id: 4601d50c8322c295bc91572481a13d15c4d3d4f7
Former-commit-id: eea6001db6f78629d3b22b094c02f1aad0f7e754
Former-commit-id: 68980f8021f05d20bcb61de43d008e9fae3ad611 [formerly 77587a0a95a23f76bd395ddd6078f85114e1c606]
Former-commit-id: f80fc49e44f9cfe329f76d4f02e7742e8fa41f9b
2022-11-06 22:15:42 +01:00
Romain GERARD
f5dbfd7cfa Use directly socket for server stream
Former-commit-id: 9f42c43688c66c30c4eaa488cf1ec3063b3ea9bb
Former-commit-id: 55dc272863336122c30304d8a974d41ef4b6d534 [formerly 5df12e9085b5aea55438fef7f978ee0dc541d7fe] [formerly e8fe8059bd0a909fcd2a939da122e3da3a23033e [formerly ec1b9baeb2a48ddac13711abf5916c6d514ed6ba [formerly ec1b9baeb2a48ddac13711abf5916c6d514ed6ba [formerly ec1b9baeb2a48ddac13711abf5916c6d514ed6ba [formerly c041b4158cb292d0b6906727131ca7b518cd2410]]]]]
Former-commit-id: 02d95624caa0c41a18f176f39c5dae08042f2185 [formerly 5ea32e9ce13de58f524e4353cc3f958e8625c55f]
Former-commit-id: 10cf6e796e862bddd3ad98dfd049540689272999
Former-commit-id: b1547ba96f437ab048d12ad7c1a90368c973fadc
Former-commit-id: c5a28603e3efad594d7cb3369a4ec3a7a3b721df
Former-commit-id: 28e143cd4e09423ad924e73555018df20280c9de [formerly be7d5b4c8c4d060dd2ba5a6329bf8875d53f48ea]
Former-commit-id: 65e1ae28fab86cc8d31b5373fef2becad7df9973
2022-11-05 22:26:18 +01:00
Romain GERARD
c305a77813 Use directly socket for ws server stream
Former-commit-id: daa234438e35601f69c10115d502f3bb122900f6
Former-commit-id: b9c4a4820fed7c7fa9261fa3bc6097440e40b2e6 [formerly 0e80c23298933e37c2fc83f9690e2721de07dc1a] [formerly cc233a88979073852c3a3a09993f84038f632317 [formerly b78e81998262bdcf5ec2942e0c87e5f6e28e7865 [formerly b78e81998262bdcf5ec2942e0c87e5f6e28e7865 [formerly b78e81998262bdcf5ec2942e0c87e5f6e28e7865 [formerly d669991b6a4c285b1cfcd3966fd909d323eb0d2e]]]]]
Former-commit-id: eb6e0472a22f4c1eb9cf69e6533480b5fef5823a [formerly fb50ebbd510221c67dd18d4311eb995a3d392a07]
Former-commit-id: f6b4b9ff598de2a623d881018e949bf7e1f042fc
Former-commit-id: 0f42326884818628d0d79539c5559187d8d995e3
Former-commit-id: 3de35bb7f07cd76eab4e107034f08a963cfa9272
Former-commit-id: 532d3531daf0365ae6e59167b5997b4cd252737e [formerly c973fbc73d36e7a09fd3a4e37483ac4fa327b299]
Former-commit-id: ad6171066b614d131cbb450e35d75f1f630a5fbd
2022-11-05 19:38:26 +01:00
Gabriel Ebner
748b329514 Support network >= 3.1.2 (#107)
* Bump to stackage LTS 19.2 for network >= 3.1.2

* Support network >= 3.1.2

* Disable docker login on forked repositories.

* Update dockerfile.

Former-commit-id: 34645524c3221a596fb59e8dbad4381f10f93933
Former-commit-id: bcc40487b5cc36af72bcccfabb77fc2fe3933377 [formerly 36e5a23cc5f50719fbc334741e41101527e44a32] [formerly 35b7f5ad0096ba3e1ba2b3946e9eb46d17b477c5 [formerly c1e83ef29175f48c1bc199405670ac70a85d7bfa [formerly c3d180e0a066c83db261f296055e0fc6485f85cd] [formerly 29ca68bf69f44df5770d665f1997fce6afe8c6a9] [formerly 29ca68bf69f44df5770d665f1997fce6afe8c6a9 [formerly 29ca68bf69f44df5770d665f1997fce6afe8c6a9 [formerly dd31ffea070f0cccf6fb8064ea6f445a2d8b3d7c]]]]]
Former-commit-id: d9e2f84d44728723b9ddcbad5ae1d088fdf574b2 [formerly ccdba4b1ec6a29b032c7696f8d6893940f44c25c]
Former-commit-id: 10137d6047496f188dc4d29f31ab21452aedb7ad
Former-commit-id: 0549973a0980949a8743f6cac6ea5f265ccdd583
Former-commit-id: 061811becd00ed2022ed1c6c35c7aee484dccdf6
Former-commit-id: 20ac5d98e082c67e650a6bcf63d380ba08973ade [formerly 2ce99e6abc267a2f1db82ee0ed3f5ce762ecabb2]
Former-commit-id: b1be9c6813f3c3f1a9ffa8cd3915954cbc902723
2022-04-16 11:23:52 +02:00
Romain GERARD
8bd805b0d3 Add customHeaders flag
Former-commit-id: fec205291e26e8d64fca5ff753580b1a64592601
Former-commit-id: 6050a5408343c2d07a02cbcbf778ba3148a42126 [formerly 902076332615bb34f38b9c2ed51bcb165aa08fcd] [formerly 3c3c90b0bf53a73818cecf5a8ab8e2d649dad35e [formerly 0bdea96822211a4eb95a90435c66049965e7aff5 [formerly 0bdea96822211a4eb95a90435c66049965e7aff5 [formerly 0bdea96822211a4eb95a90435c66049965e7aff5 [formerly 9ce5c1a09c9945223df26609b9e725b3f93f014e]]]]]
Former-commit-id: 1c79ed2bd07cbf476f69b06ed9a134a63dd285cb [formerly 2cc27e84320fdc7245b64515b082f29bd24cf299]
Former-commit-id: c213a08c5adfe7857635db8d2b1c0d836a6e1207
Former-commit-id: 86624be4dfa00559808a1ee3d3568a455f99e5e2
Former-commit-id: 8f7937f2320beb2356c8cf8af7241d452cacd3cf
Former-commit-id: 4b30c019bfd2c847698cec7c2980e7139e813f24 [formerly ed0aa0b199a4e417c3edfb2764ae8b0a90f908ad]
Former-commit-id: 5473698ef4f0b331d8622af6a9131cf6a2674c59
2022-01-30 16:45:16 +01:00
contrun
f851d9e361 fix a small typo (#91)
Former-commit-id: 11a42145603fbce595bb1ee1c08f806367f5ec8c
Former-commit-id: d907ff5c00914540f965e9f697ea8161d6896f18 [formerly de80be12e69200139e93f171cc0beb15b4439ae4] [formerly 7445e31ec214419b4eb918952887e83ec319c420 [formerly 17e6bf2d552e209c071f125ebca704950137fc85 [formerly 17e6bf2d552e209c071f125ebca704950137fc85 [formerly 17e6bf2d552e209c071f125ebca704950137fc85 [formerly 993a8f89fb1ff18b7af34c7ed1f1c3c2bd638c77]]]]]
Former-commit-id: 2e072ab77dcf7471c4e328c776be61b6a67f3786 [formerly 0a6c4b3605414e3b6ee8315e9bbbba41183ed67c]
Former-commit-id: 71e37753c83b7415e79b48075db293bb37243a08
Former-commit-id: 946780edd968de960827ce7be59fc0d408f9b1a7
Former-commit-id: 0a740dbf2d4c83c007261e6fde3244e559c19d4a
Former-commit-id: af63522c61af428f45694d5da408ba2ea73f77ef [formerly 13d29099094a9e1c6fde51a746d8df81bd34993a]
Former-commit-id: c1102fec17882dcdd7de2936e9137eaef560d300
2021-09-17 12:00:41 +02:00
Romain GERARD
025f7e4d21 Fix #80: TCP Window scaling not correctly updated
Setting SO_SNDBUF on the socket disable tcp dynamic window autoscaling
  :x


Former-commit-id: 3b71fa85467653bddb9fb8fbb6669d00d71a7c3b
Former-commit-id: 1324444b38e72abedd38ccc8530b5451855dab20 [formerly dd16d8fe7c0a41eeafdd960b8fd8f9315ace6cce] [formerly c6b8fa013ef71e046498a94d30c710c1b6979b08 [formerly 7bc9bba32dd0dc864144ec5b665bb10d8a362c2b [formerly 7bc9bba32dd0dc864144ec5b665bb10d8a362c2b [formerly 7bc9bba32dd0dc864144ec5b665bb10d8a362c2b [formerly 19da7a13989b79f5e56f4635bfc09c0118098eb5]]]]]
Former-commit-id: 8b17a027fa82de4f91771f2d30ce5df9da4b1789 [formerly 8bfb3fac6108497d8de72479e2537a47552ae327]
Former-commit-id: b690397effb9983ece695fcda5876e3f5bd5ff2b
Former-commit-id: 280f123aa99adacc1be2dfb35ae689f07444df3b
Former-commit-id: f3b381959d2e39cc91c856f9d3f0832777f97c5c
Former-commit-id: c7e1fa6e3e1fcc582344fcc3e8af70bceabe83e0 [formerly dd7c8f27f5b1ac6f63c47cfd5998baee0f989dcd]
Former-commit-id: 38dd6ff81fb91fa013879ca735616ece2f4d7ffb
2021-06-06 12:39:36 +02:00
Romain GERARD
38f40ef1b9 fix hostHeader
Former-commit-id: 819d2d7e5586db29ae3b17f508a1628279e4ad1f
Former-commit-id: c5ad3d9ec159cb74f3fd83dca475b5f5eec07795 [formerly 5287d88508ea3d26fa4a4ba865dbe685d239b387] [formerly b71451958c105f18759131bd3bae1acce0dfc7a6 [formerly cfd2af034bf7f1bdc8af0d57c7de1d550d933305 [formerly cfd2af034bf7f1bdc8af0d57c7de1d550d933305 [formerly cfd2af034bf7f1bdc8af0d57c7de1d550d933305 [formerly 28988dfd073570a24584c4085473c5d6d16c4546]]]]]
Former-commit-id: abbd350223f9031fc1f4462353ac5941e3924ca9 [formerly ca37ef24e864db46d9b1e17cced8b6c02057e789]
Former-commit-id: a199b4c4f570bf1ae74d6d4bc59b6d80a574ebda
Former-commit-id: d868bd1bdff3879acf70fdf0f081072bf7f0a761
Former-commit-id: 2b432e300f46149215057f8800a7cb9265b79c42
Former-commit-id: 50268e403572054fa0f7b6cfbef11fe2142ca9bf [formerly 6b51574ee7d27da59e50a59f1b09d5a3879300a5]
Former-commit-id: 661aff13225694c15480b6aeb61b8e222c7da19e
2020-12-07 13:21:42 +01:00
Romain GERARD
5d62604582 #57 Allow to specify websocket ping frequency
Former-commit-id: 31c30bf3ff09e54b8fb8e7610aabae0b1247502f
Former-commit-id: 3149f827351c421bc99edad7381643bbac567d56 [formerly 084fb35038a11bf8f4016f1eca51295199534d68] [formerly d6284387041bc84ebc3859d2a357cb7e9b678e9e [formerly 8413b4a3244698b20e3356cb5f9d76b24122d93c [formerly 8413b4a3244698b20e3356cb5f9d76b24122d93c [formerly 8413b4a3244698b20e3356cb5f9d76b24122d93c [formerly fddae990cae36aba019f83124e522d2545b93ecf]]]]]
Former-commit-id: 186beb54d83f454ae545c45194e1ba3e9eab1495 [formerly a7d06a8c6e0064c48eee331b9fa6f87496ba0f37]
Former-commit-id: 5f88e7d16eb372828bbfeaba017699f62db92c6c
Former-commit-id: a7fb9dc52d52d177d26ebdd78ab69dadddd17939
Former-commit-id: b1a292297fb943c3f555ff639802fcdf81005240
Former-commit-id: ea8f23d6c60e0b316358255156bbd644330a90e9 [formerly 961596cfff926e301cf39cf0b2114d58a62b7e9a]
Former-commit-id: 1b85c73b4c55a63dc96af4c7af6e1a5edc3d9616
2020-12-07 10:59:13 +01:00
Romain GERARD
e8f3fc0259 \#65 Add host Header and TLS SNI override
Former-commit-id: 5ddf5c5b7a8d1bd483ac063e5c09f058c80b820e
Former-commit-id: d97bd60ef93720e94274be0d1cd50f1d742949dd [formerly df42280ad7675379c9b283f658e5e75c8c28f1a4] [formerly 95700181615ef2eaf461fdb3e0c67af4b8aa54e8 [formerly da23f33f04294a146a691f6d635884942ca00967 [formerly da23f33f04294a146a691f6d635884942ca00967 [formerly da23f33f04294a146a691f6d635884942ca00967 [formerly f40c007627bc5a26208c64cd3e5479a43a7a1c20]]]]]
Former-commit-id: 3b061c8e6950a03ceb4f2e44651609f4d8899248 [formerly ee6563bdd95ec09d33aa6610d201a8f581137626]
Former-commit-id: 3070702567889c7a53477714d65e4476e6056646
Former-commit-id: 1485f4efa64ed475d15780d316306feffb7b53e0
Former-commit-id: df44169b35e25e59ec9a3a818b38d0986ac68e02
Former-commit-id: 49e8fdce68b6b06f23c8b681163ac7e48b6e7075 [formerly 7277e9db3e5301faac5ef4dc7641f61d367353b0]
Former-commit-id: b99e5bdd73ac1ee14db7a6509ea9ae4489873532
2020-12-07 10:33:27 +01:00
Dmytro Meleshko
ce3a225dfc Add upgrade authorization (#55)
Former-commit-id: fc0fd8c3e86b05bf70b375fcd9003bfb3c3cef2f
Former-commit-id: 5e9886504a259694b3f701facb3a157c58c51c08 [formerly 91dcf07282fdb8eb4509ece65e4319afc2e0e63a] [formerly 0e4ab369f6dccd4345abcb231dede9792c6da1b6 [formerly 08dd7bbfe8f0e83f4da3a5cd075829879ed7708e [formerly 08dd7bbfe8f0e83f4da3a5cd075829879ed7708e [formerly 08dd7bbfe8f0e83f4da3a5cd075829879ed7708e [formerly 110b575813ba5bc29f6781c186bc717b902b19e8]]]]]
Former-commit-id: 246c512eb0079381e71025289263128d3276b033 [formerly 646016a7440f79a4cd780592673886d9fb56e666]
Former-commit-id: 3566d8c6182750caecb4d12efa1b99f2907cefd0
Former-commit-id: ab0c88e833bdf4880ceb54e97631437365989730
Former-commit-id: 2a034de4c8ae116dbb9417959983e6efb219a4a3
Former-commit-id: 3b0808aae98269da1ee78f37c1843dcd2b1a7434 [formerly 2ee9122afbd141868e78bb428c41cd05f65ac134]
Former-commit-id: 7272db885b47475f33ca39d9bdbe2191159664ff
2020-10-27 13:53:46 +01:00
Romain GERARD
c30796dde0 Add Support for TLS 1.3
Former-commit-id: a137a97a2eee198af224f649d9a583965d19d7d4
Former-commit-id: 9959e6c092824cb6cda2e1a34d998a051921f54d [formerly 21db0555fa62a1417c32e2643b3930fbfbf782b0] [formerly 2b3c3465fb9d6de01f47ff1452a28d177f89f69c [formerly b5a72adeed14fa5186f7ec79c99234823eb53f06 [formerly b5a72adeed14fa5186f7ec79c99234823eb53f06 [formerly b5a72adeed14fa5186f7ec79c99234823eb53f06 [formerly 237d793fffe4ce05b8a0dd2490a6132b3fcf132e]]]]]
Former-commit-id: a6b5c1678673619a1f3a9cfcc226426e153b6596 [formerly 25a9a41fba724314423baa06e69eddec385bd29b]
Former-commit-id: c4fa74f3f3ac613787b0379d7c85c8341666f9e6
Former-commit-id: 4d0ecb4badf6ade0f8db7f09c6a005ece7818f83
Former-commit-id: 361f8af56bef5f164ab0b5391097d891fb15c99c
Former-commit-id: 19e1adbbec30af852428168ac7c1f6bce569e8ec [formerly bd6215392e7e581fe2c9efc8bfd4ed24c69368d7]
Former-commit-id: 7d968b29d1e39c0d2b0a7ff4651bf2b6e87592a2
2020-07-12 12:40:03 +02:00
Romain GERARD
abefd9cb44 #41 Add logging info when new ip connect to the server
+ Some linting fix


Former-commit-id: 78e8ad13287c3916dc363da0c20276937cd083bd
Former-commit-id: ef5e19d8f30f5038f96dadd7cfe344fbb4cbe842 [formerly 4fced1a153baaec01acdb9089be7347a4fdf7cd8] [formerly 43b403240f46e616637d11243b96793c0eca9ed7 [formerly 35aeae9b41abbedfd81b5b2f7de6609408536443 [formerly 35aeae9b41abbedfd81b5b2f7de6609408536443 [formerly 35aeae9b41abbedfd81b5b2f7de6609408536443 [formerly 5e7680c129ca27d9cf0aea32c56f5262aa187103]]]]]
Former-commit-id: 29c1b6ff7b1edc6ad066c5bf49c5e5d3f1dae524 [formerly 703efc9ce2bd6177b724ec5316d499f5a003e46a]
Former-commit-id: e4421ee34439ef05d1b1d4d6ca8daef8a256ed40
Former-commit-id: 69affb2d201ad218877e4226bf7f73bae04b25c3
Former-commit-id: a98a68f3939a0fe69b86c5a5704619e6eb84a3c8
Former-commit-id: 32ef81a31fb98402f19bdf10100b64bdc6a26f45 [formerly 7efac6c472c9ff67bbdab69e746e25027ab355f6]
Former-commit-id: 00fb5058bc3b013464ca82a19cae3e4dc29b89c3
2020-04-26 14:56:14 +02:00
Romain GÉRARD
0e51c51cfb Fix decoding error in socks5 proxy
Former-commit-id: 9251838d41ccb1e4806bc1450449ff2f4aeb0ad6
Former-commit-id: 7ee0bce8c007f91e0e313bf654217afe69702b70 [formerly d3f0883653a31df2eb6bc175c496251d0b2edea7] [formerly 5054071b3247e7ba1f04047d042ccff1dcfe5c70 [formerly 4016899bb03a38fc0b7c5888d8cd2ff30235e79d [formerly 4016899bb03a38fc0b7c5888d8cd2ff30235e79d [formerly 4016899bb03a38fc0b7c5888d8cd2ff30235e79d [formerly 4a5393b3b78ba039647a8bb9c920b4b1dec9c069]]]]]
Former-commit-id: 5a9ba40b828143d78d72992c0a5c7af4967eaffa [formerly 47aafb56d26a6d879d9d6cecf6fd7696809cca70]
Former-commit-id: 33174940425cb1a5bcefa5cc0b89ac795dbd29ce
Former-commit-id: b0e7b47cbca9ddc0e9b1e0502ecce96f719792fb
Former-commit-id: 04a32b4fec4bce8f6dc6e86ee1548c9798eb6b71
Former-commit-id: 3632695f26111d824378fb54dc63746e27f7d087 [formerly a2acc19e7c559a2a694ef9246dba5040d064ca60]
Former-commit-id: 1e692f7bee881d1981d9fa4153e697db0f0521c9
2020-02-24 21:17:35 +01:00
Romain GÉRARD
cce0c73296 Add tests
Former-commit-id: 784e7ccb82c0d876e4b7221799d76b7323fed37d
Former-commit-id: 2147af8d557978e41ac2b6cc8070e263b812f5af [formerly 409f5e7f3f1efaa572b5204734f7b98ba45691f8] [formerly 8ec0c0a6f589c7b550f84ca5f8413659dae0cec6 [formerly 75b709eacf85d0ec4510f1e92718613921d4f71e [formerly 75b709eacf85d0ec4510f1e92718613921d4f71e [formerly 75b709eacf85d0ec4510f1e92718613921d4f71e [formerly f30b98f39fbf0b640df77a3014419ffd2330a166]]]]]
Former-commit-id: d5a419daa10be6c65d58dcbd848e89eef5185c57 [formerly 2dfce717ba105274f52114e53fcb9e115782e8ea]
Former-commit-id: 0ee61f2da6b6fb2e67ca83e10110d8fc7471570f
Former-commit-id: 3ed9511801de3f101c54d40dafab73e3178f3bdb
Former-commit-id: a8cf76cf8663e8e052cae6e4302da48342cd394d
Former-commit-id: 0730d51e0fe05af0f7e21d66ab0029879afbfbe9 [formerly 1f4ce8c620ba9909e24757d90eebd189958a6299]
Former-commit-id: a8a721fe1165d376eeebe8f12ab62f5c0029a981
2020-02-24 20:57:42 +01:00
Romain GERARD
0a788ca3f7 Fix High CPU utilization #38
+ Properly notify that the stream is closed when there is no more data
  to read from the socket


Former-commit-id: 040b6f949d9f6751cdb626d080094ea359926d56
Former-commit-id: a13469bd6a307b44d8fb33085406a29755d98f61 [formerly adee22fb776a28d4746cd99fe5bd33699b2f46ce] [formerly a01daff330828687249cd040a74eb1bd66143c4d [formerly f79391c53820f0df1a4609ed01fdb5de68222f0b [formerly c358f0ababd30764b97017f12f4b508b04caf1de] [formerly be3e3e6f4b78ffd53b6a3ea67d3aa09bfab91f2b] [formerly be3e3e6f4b78ffd53b6a3ea67d3aa09bfab91f2b [formerly be3e3e6f4b78ffd53b6a3ea67d3aa09bfab91f2b [formerly b008128bf854a39bbc5c6abdc5fd87cc8e38fffe]]]]]
Former-commit-id: cf525aa4cde74e9d22826fc2fd46fc6f08ca478b [formerly 6751159b82b46bedef7fde04c0444c76d391bd99]
Former-commit-id: 9669125c02d8fdb2339cd927d28db7cdc0a60a58
Former-commit-id: e711b3a557f7b037794667c0b4249a21c44abc3f
Former-commit-id: eccc9eaf7007ec09119c4307389991d4d199f4b6
Former-commit-id: a6d5dd21c88508a5c8f2afd031852955cb45998d [formerly 3e1eca9a176bb75971f232a2dc0dc887e2dd1d31]
Former-commit-id: 053a1b7025f8cb4d6c67a648c15b66be18f1e9f0
2020-02-24 18:37:41 +01:00
Romain GÉRARD
b47a05449e Do not try to set SO_MARK when not specified #37
+ When SO_MARK is specified wstunnel need to be run as root or with
network capabilities in order to be able to use this socket option.
Sadly Haskell network setsocketoption does not return an error, not an
exception when we are not permitted to use it, it just crash the current
thread without any warning ...


Former-commit-id: 5e1b790af4f08c95716420873dc858afeb4f00aa
Former-commit-id: 39ab9a3fef5159e0db1568be173a843570427d75 [formerly 88472e1ae8441ded76d4f32ed66d548a5e621dc4] [formerly 45f1cee434ff4e5cd30a8f4d7e86097748458fda [formerly a83e83038640a9742b65ece60a5653a74a822040 [formerly a83e83038640a9742b65ece60a5653a74a822040 [formerly a83e83038640a9742b65ece60a5653a74a822040 [formerly 68b6d92dc389ca83b3cd89b8eb8790d928997d29]]]]]
Former-commit-id: 046192c196f735cd53a78ece9371f418745cd763 [formerly aaa97f4c0ce70e4b7ae2d25a3e6dfb32e6aaf0cb]
Former-commit-id: d303425ad3e558ebfcc635f8f8925d70e3eaff6f
Former-commit-id: d103c22adea13872a08c2c6aa1e967f7372006af
Former-commit-id: 547aff025dd8c65133214c4b716c9d4920f9cc89
Former-commit-id: 29062a1856573bb3ab86d80f682cfa354792cb2a [formerly 722b724cebdc71a4f4e360a8a9f782e9e9a198f6]
Former-commit-id: 796475dc5641218f0d3af5a90c6ee1141cc3f553
2020-02-22 13:53:54 +01:00
Erèbe - Romain Gerard
2f48c7b95d Add SO_MARK support (#34)
* Add SO_MARK support

* SO_MARK is now parametable


Former-commit-id: d3a8db61378688b10741e37e9750962250d5b413
Former-commit-id: 3f2cfb1cf7bf25b7e98b908d7962c0d04c87b173 [formerly 4d7672c8b097390de2d4789a3612a7acdb251563] [formerly 84f02bd794a524c46a3303851b9090178c07e315 [formerly cc09d795159786b36d9e9f5ab48c92260cd0cdf5 [formerly cc09d795159786b36d9e9f5ab48c92260cd0cdf5 [formerly cc09d795159786b36d9e9f5ab48c92260cd0cdf5 [formerly 603b65e7d9fdd0aa421ef2cf5f8684eaca044dc0]]]]]
Former-commit-id: cf75e5c7a77085f4c4bfce4da8c01ab9dcd94edf [formerly 4033012e5f39470e3c08b8918f686afe3dfb0200]
Former-commit-id: a903f60697af67855408554260028dbea6fade14
Former-commit-id: 3115a5bc330ac8708eda9430b6f85ef5a0a8d1ce
Former-commit-id: 6b2ba8627004dd0c916ecdaf9aea9cebb6de312e
Former-commit-id: 5f65ff28217d015ac6a76a0803e677ac728563e4 [formerly 677120e2a339cc83c420f12354fbc4b1e3f7d91e]
Former-commit-id: 0a91ab53293d5383b251f470962b640126dea526
2020-01-22 19:04:07 +01:00
Romain GERARD
3d0b3383e9 Parse ipv6 for tunnelinfo and server info command line
Former-commit-id: d7bcced397720389fb4da443ddd941831513b337
Former-commit-id: b7149720d33e78efd5455744a97d8f1a44b3a0f0 [formerly 36a0a27cfcb71103e448f59798e7a94e695134fe] [formerly 0a6f2fd33a77e7af032ebbb2f5d20c90515d678e [formerly a01c762112ae5e08e25ff0b55d5cb8b543be7d88 [formerly a01c762112ae5e08e25ff0b55d5cb8b543be7d88 [formerly a01c762112ae5e08e25ff0b55d5cb8b543be7d88 [formerly dd1f0518c5440a2e1a390773fadfc6d7965fa4a8]]]]]
Former-commit-id: 0ba7fc235b47ce11f95c838d4ff1b0ea396fef9c [formerly 7e47b8adcb79aba97189a9e99083d266a258a336]
Former-commit-id: d9d60c9432d6a2ea42db3d1f63542a93b7185ed5
Former-commit-id: f3371f67d2e2a1cb8e366c6d98309c567c9b7225
Former-commit-id: dcadeb51e476ba89773351476ebb0bad1b44400d
Former-commit-id: 61f7fcf1a8c815013fda41321ea240e309a7cc87 [formerly 4d19a57259fe8c341f5f76016d5cbe3a33494874]
Former-commit-id: 53d69bcf8a69464e3e0d53a1d6c6b79c2d718da8
2020-01-04 17:57:18 +01:00
Romain GERARD
8ca1ed9fb3 Perf improvements: Use default os setting for socket recv buffer size
+ This commit 8e38589efb (diff-8c54fc2d40ad45803c6889efbb0192bbR278) introduce a default fixed size read buffer which is too low for most modern system. Thus it induce a lot of unecessary syscall and cpu usage.
  Use the default OS settings in order to let the user control it with
  ie: /proc/sys/net/ipv4/tcp_rmem


Former-commit-id: 1fc22266bf6cda96ec8c43b52cc6da527db35173
Former-commit-id: f9cbaa2ce612df6cbfc88963a32b0a0e38c1e13e [formerly 18c0558ec79d6a82ef242b114a63738a81329ec5] [formerly 5aa78fa4a16ac891f169a02275d147ec12fc336f [formerly 32204a8d46a8f4d06e40c15380e68afa4dd1f294 [formerly 32204a8d46a8f4d06e40c15380e68afa4dd1f294 [formerly 32204a8d46a8f4d06e40c15380e68afa4dd1f294 [formerly 11e560d1fae42a64cd645e79343209e6559473d9]]]]]
Former-commit-id: 8e4ccba7062154cdaba142c6110b32b05ca08e37 [formerly a7d2f3299f4c67ea0ec9d20cbf2780382258e143]
Former-commit-id: c9ebc4a70b48e7433d65af79ef161d2b0d510f61
Former-commit-id: b5056ca3dda1f23f3bc5d8e093772874b5666fbb
Former-commit-id: 7a25a6703c1c0396425d40f4080162b43179b96d
Former-commit-id: c6d4da14dfcbb373dcb3341f246bd6675f44e4e7 [formerly 5f081b250a55f9fa091a8f13927e4c2d7980ef2a]
Former-commit-id: 886b1fa73005e8167949ede1391086d3f6ed3e00
2020-01-04 15:43:05 +01:00
Romain GERARD
df927db68e Perf improvements: Use default os setting for socket recv buffer size
+ This commit 8e38589efb (diff-8c54fc2d40ad45803c6889efbb0192bbR278) introduce a default fixed size read buffer which is too low for most modern system. Thus it induce a lot of unecessary syscall and cpu usage.
  Use the default OS settings in order to let the user control it with
  ie: /proc/sys/net/ipv4/tcp_rmem


Former-commit-id: 11329e7b2d39a571afcfa1c41b36ca43b8c6ee0c
Former-commit-id: d125be3860d756e8608707db387b9293005d02f8 [formerly cc16d8a3c00a1f2ae215b44b94356f0fd9b06abc] [formerly a4977ba6a35eb7805b01eb9b628786e22842f480 [formerly fd3d401b93d75acf5a20d37598cf115d234b47ad [formerly fd3d401b93d75acf5a20d37598cf115d234b47ad [formerly fd3d401b93d75acf5a20d37598cf115d234b47ad [formerly bec6f99d38ff1e9c53a0a7d71ae6051280508d2e]]]]]
Former-commit-id: 18d8b263236b960c37a41e63491bc287bf584a67 [formerly 9d2ab35501de57b0ba1ee8d18f1fb173a3ca98f6]
Former-commit-id: 00bdbc5e1cd318896a012b76dfdc68964434b43d
Former-commit-id: 86df02c0670359a2bb2429eae4b9b633f5d520ef
Former-commit-id: 59966a7acefbbdc76e580d281f8be7ee2ca1db03
Former-commit-id: d670c023b29c085d4e76809ec539fcd91d6be993 [formerly 2bfa1100e83fd689dd2e2c565fe0838036c1b588]
Former-commit-id: c7c40b2a4e933cbff27713a87d7cc701c1279d32
2020-01-04 13:29:50 +01:00
Romain GÉRARD
e3c9462b6b Update dependencies
Former-commit-id: 07be9bcd252c92551aeac5c658f92f74243105e1
Former-commit-id: b341e9cf83887e8916850743b19530e2ae62bedc [formerly b0dd237c1af7232c65504086f32c543e2969f21c] [formerly 5f84fe76bfaf2ea3150d2524b2d8df3bcc202b42 [formerly df2a945ea4f815d78825bbd6eb47355fa7862146 [formerly df2a945ea4f815d78825bbd6eb47355fa7862146 [formerly df2a945ea4f815d78825bbd6eb47355fa7862146 [formerly f3baa2138e3ecd75e07adaa8e8390e0d1d3eeed6]]]]]
Former-commit-id: 5a12d3b8f84beb6967fd2273700830e11a919dcb [formerly 23f65ae564b717c82f4f878bebcfb23696470c28]
Former-commit-id: c2dda31dea3d0634127eb6fb4b2557d41c8ee442
Former-commit-id: 886a28263ded5e3f13a642e8739eb4f83c0615f3
Former-commit-id: 937d535ef551e00fe83c69c16f715cd71ebda6dd
Former-commit-id: 4aae739c2c9a054011d743112ab937f750c179c2 [formerly 6a87e7206c043684e0f0c5acf8d83cd5bcfb6014]
Former-commit-id: 58fbcd0de59b4c8ff87286b9b61e90425df334bb
2019-10-24 13:46:58 +02:00
Romain GÉRARD
95a30e712d Allow udp timeout to be specified by the command line
Former-commit-id: 5ba73def38dc116dfc887c25293f8d1dddcd7d0f
Former-commit-id: 09f35f66523a05d69c3d1f864577cc0d6e3489e0 [formerly 965739217f9a07297608dc0b1380b17fa44cd850] [formerly 155253d91655a690b04e5a5801e730af02969673 [formerly 013ca92ae8219e8406cb590ee377fbeaf05c9034 [formerly 013ca92ae8219e8406cb590ee377fbeaf05c9034 [formerly 013ca92ae8219e8406cb590ee377fbeaf05c9034 [formerly c349bdfd8cfd7ff3db5aba7a2c86a16ce8bc13bd]]]]]
Former-commit-id: dc66326fecbfad906e3aadd919c3088bbb724c8c [formerly 8707222b86f066548e3294c402b0225c7db8873a]
Former-commit-id: 4e6f916b34f9f674a90e5b372fe8ebaae7befa8f
Former-commit-id: 95c3ae306b73baa7c6feaacc9c24a6dce4cee15b
Former-commit-id: 2aeca4033fa6611c876e6f64f73adbe7d4ae2a89
Former-commit-id: 28c045517c23a9250fcddad4925a0580201b2700 [formerly 8928f8ea077e8610fc6602ef3a9a356940562f64]
Former-commit-id: 7aaa22e3b15b4c896039036b4178703c320d0028
2019-01-13 17:47:18 +01:00
Romain GÉRARD
b39ce96b5e Add support for forwarding data from stdio #13
Former-commit-id: 14e64f7856faa8b9dba9863b9c19cb4c946ec59a
Former-commit-id: 7da75567618986cabb6988c21e121875c1ad3c1a [formerly a2e77352c857e68e01d12391baf08d3479fd12fe] [formerly f1faa58016cca590bfc52e1ef3f791fc6d0eeccc [formerly fcc6b7ecbd00c933d564805d4adf2e9114bfc6d5 [formerly 30e36d272030b305c561984fe353a1ba2b0db62e] [formerly fcc6b7ecbd00c933d564805d4adf2e9114bfc6d5 [formerly 30e36d272030b305c561984fe353a1ba2b0db62e] [formerly 30e36d272030b305c561984fe353a1ba2b0db62e [formerly adb6021118db2efa77278f15d3523b9ee75a84b3]]]]]
Former-commit-id: fe2e93e58fbbf425c02ccf85bb56ec7119ea365e [formerly ab0492da6e9e63a2f7357eef20e5b43dbc0df810]
Former-commit-id: d9a120c7e6cfb38b3dcb73c5fdb27492f587fbb8
Former-commit-id: e7e62bedc379e337d945fba8e0fc8abe86f7f000
Former-commit-id: 12e2067cf1471e6a5469eb5bdde21a711d6f79e9
Former-commit-id: bd45b8e3895b005582eb0f636206b3265e0cfd78 [formerly 4f169fede9f7d60e38960e640c741c2958fd4830]
Former-commit-id: 0ddce8e35b6f8ada2166916cd66166bc36af75d4
2018-12-28 09:50:52 +01:00
Romain GÉRARD
22fd71260f Add customizable prefix in the path during upgrade request
Former-commit-id: c16207bd96144376e8429266a2d61df92bc1e5b2
Former-commit-id: 578fff43ac8380458056dcb1e4369252c7e125ff [formerly d122fbc99209873bb7eb2e55e73ac7f5da232155] [formerly 8252d74f5e89f5fbbc27ac6470c2fc63c7afad5a [formerly 1db2611b1212d71369506ab3016f8426b4ad6bd5 [formerly 1db2611b1212d71369506ab3016f8426b4ad6bd5 [formerly 1db2611b1212d71369506ab3016f8426b4ad6bd5 [formerly 5276ee1deee73f8ee4d70a66d41e3492943f9805]]]]]
Former-commit-id: 8cd0c200e707cb98fdee8779a84094ce939f72df [formerly 3bc2095bb7e1d27099a60c4e0b323148ce340be9]
Former-commit-id: c8a6c3c3f50708f769fe5c7988faa9b03a5ce80c
Former-commit-id: c71019cd6c699930324587d5cc73f928c5b24b6a
Former-commit-id: 55f9bb279021eca071a50ae628f9c1c511ba8ef2
Former-commit-id: ee7655ab1e83fe11af648fff51739c3b404888d3 [formerly 9829e5e1b19c56a1421ef5be9108c31cd2889043]
Former-commit-id: 224f0331c52d6b3cc9984ae6271794518bb09c61
2018-12-26 21:26:48 +01:00
Romain GÉRARD
fe1c17bac1 Sock5 proxy: Add support for IPV4 connection method
Former-commit-id: 2b786bdfca8f7c4f13be5d3f2fbffabb3bb6c1ff
Former-commit-id: 79521d28ef7ec78f037a39d345d0b7caa6a21aad [formerly 4f529c3bf32ec3d058f0437a4ed56cd530bb0380] [formerly 5fe75721d4197c31274853956429750a8a6bae34 [formerly b985c09e33290e80db92edd3a6688d56df463ab4 [formerly d19a7a5290bd4676d018052c1ba82ff0a2f7c53c] [formerly d19a7a5290bd4676d018052c1ba82ff0a2f7c53c [formerly d19a7a5290bd4676d018052c1ba82ff0a2f7c53c [formerly 2a811ddc94f163f29e7b13c5c0209edaa0ba94dd]]]]]
Former-commit-id: ac4e18a935137eac85d7a1fcb03aff223ce9a413 [formerly c6a4d21c51709b03cab6c6de9934188da49028e7]
Former-commit-id: 736cb733cf4083f0d6e98f4bd4315119b65ac994
Former-commit-id: 3639f8c1a181eed16f4d642745cbe19725834784
Former-commit-id: d0d2d9ea134579057a321900564f210e35e85a42
Former-commit-id: afc68a28fd773821f36742d9c561f1df8c43f66b [formerly 441a3c84970aba955d980519a74178e4dbe64ec1]
Former-commit-id: 08598a77acb35f6e71f6c5b8aabd905348ec9ea8
2018-06-06 00:46:02 +02:00
Romain GÉRARD
9595690aae Send websocket ping every 30 seconds
Former-commit-id: f8cf0e717959c0b3d388db1a5517d30ff384b1c4
Former-commit-id: cd640b4bdb7c1fc931ae0713fad0b51686711a6c [formerly b25bb73f6ae4fa09076cca43cb1538e497ba1a95] [formerly 7be7f4542e51464b174eda61956323b3cd64e2e4 [formerly 4808ab38b2dc6956ab9900ffaf36e6b09cd42777 [formerly 4808ab38b2dc6956ab9900ffaf36e6b09cd42777 [formerly 4808ab38b2dc6956ab9900ffaf36e6b09cd42777 [formerly ce17ed3ef32e2128b9d45b256a5c1445a6e4bd6f]]]]]
Former-commit-id: 9c55ce78df5bcbc718a656a76f12fd797730294c [formerly 34c70e20636616071b5dbe28d56a7d769f6d62a3]
Former-commit-id: 54b81c1c6f555f03d0fc3e19b183bf393c99c1d6
Former-commit-id: 30e421ec0b35682a3b743c84b8e47ec590d73485
Former-commit-id: dfbe1a29b9527f2331cd6d231dc2f82ec326e76d
Former-commit-id: 782dccac058f7ce2863b33a2afe3217b001a9280 [formerly 60605ee4f15384b7dfa2db69df6881c1d2cac51f]
Former-commit-id: aecbcf00e7391129896a001e1a96e10350754dea
2018-05-27 21:47:18 +02:00
Erèbe - Romain Gerard
0ec27e9d27 fix typo in debug log in the HTTP proxy
Former-commit-id: 3a5b68b568058848a84c5801e99be1e3d11f2675
Former-commit-id: b9c43a5b446e9c3fde4e9016864e036b1c97dfba [formerly 7cf2553244e5ff0af1c729564905ab05d072720f] [formerly 0a79f27e64df05797d06a8da9bf7543c84e86ed7 [formerly 5599e859e906704ab0d6b0a65658a4aeb8403f8e [formerly 5599e859e906704ab0d6b0a65658a4aeb8403f8e [formerly 5599e859e906704ab0d6b0a65658a4aeb8403f8e [formerly 843382a22560623c415f2e527be2a1bb1bb87772]]]]]
Former-commit-id: 75969df6de5f2c3ee08f81dc1a4d457d492b87ed [formerly 592aadc955cf333a8e23f7b75707159ed9510d8a]
Former-commit-id: 94cebea834834afcb565978fd8a188af8afa86a6
Former-commit-id: 8549165bda8f705454ee2f2dedc81276918c4b71
Former-commit-id: 0761f82c3eb56fded8c6f5c4ed4b4056625948e9
Former-commit-id: 74c23dae521058b04ea41ac90e9ba06f76ecd6d1 [formerly 3e7d2e15cc64a4ddb87f24d817a64c714a7f6c81]
Former-commit-id: e3a78bcbc38400fd94f9cc0dcf7cd4517000baa4
2017-12-28 10:17:45 +01:00
Erèbe
048be2a604 Fix udp server
Former-commit-id: dc6b384be35d0da3d96502aee7a34f03f64069f9
Former-commit-id: 886ee2d95c42ce476a9233c66d266f76edd7c352 [formerly 5938a7b6b407cdc64f0972b4fe0d5cc44af815a6] [formerly 71fe7cf675464eee1ee6c467e6835ea0ae60f30a [formerly 3ed2dbb76a6fe601478b01b60a4b845703eee2d2 [formerly 3ed2dbb76a6fe601478b01b60a4b845703eee2d2 [formerly 3ed2dbb76a6fe601478b01b60a4b845703eee2d2 [formerly c58f0795fa3796cb7873988ebf64361b0860c4b5]]]]]
Former-commit-id: 7bc8c5f4bfa8854ace4360d9d645795964923fdf [formerly ae69d9d2df4790d121871a578a48ac1e3414498f]
Former-commit-id: ce2df65ede7f77d7e0a59ee65e502f88a5c85c6b
Former-commit-id: a69b9bfb8c42a9a9523535e2c225fec06228c4eb
Former-commit-id: efc5bbd6fbe9cd3f550f5767313559a1df65bb77
Former-commit-id: f32be564261055e3499491aff9bc88ca0e897adf [formerly 794c396edb9719688b3040a2f484afa3591059f9]
Former-commit-id: ab8cbe512c3737a53733083fb8f499e6bf589fb1
2016-11-26 16:59:21 +01:00
Erèbe
cd450ac9e4 Refactor HTTP Proxy code
Former-commit-id: 276c9b224a2a7e8d3eb7c906e0f2346896dd0987
Former-commit-id: 6e243437da37a6301c0959f1a449572a96f96bcf [formerly b56151dc14bea8a86bf672047bbbb9cf8486b4db [formerly b56151dc14bea8a86bf672047bbbb9cf8486b4db [formerly b56151dc14bea8a86bf672047bbbb9cf8486b4db [formerly b5b717b1fa6bb2e1b9b893a5f8495011085a13a9]]]]
Former-commit-id: fd939ef892ec61d3781e8094d6801187fa15febf
Former-commit-id: 908ed7b0f78f80d26b8887885088d6c0dfd9d99a
Former-commit-id: 4cb284f918770412de20382c1b834e174dd4e304
Former-commit-id: 4dc0d2c8313c793387116f118c318087389538e3 [formerly 3daca73d2b9f52ad8c3396c01086f41292a94158]
Former-commit-id: 64736efbae1a6f444b38cbc2c803d755c2fadde8
2016-10-10 15:25:02 +02:00
Erèbe
cde2afd264 Use default-extensions in cabal
Former-commit-id: bc12a795326740f2f7504c77e6efdd4a633d6a8e
Former-commit-id: 206c1715e5164d8485423905848e545eecb2a220 [formerly 5ef346e51622358e3e9d4c6e94e348758fac361f [formerly 5ef346e51622358e3e9d4c6e94e348758fac361f [formerly 5ef346e51622358e3e9d4c6e94e348758fac361f [formerly 3d9f6a38a164185f31d5610b045744b79190087b]]]]
Former-commit-id: 73593f34778fd5c5be7436189d48b72fc8699a0e
Former-commit-id: b82bb6c8a4286f6c8b37331cecdd3de699771e90
Former-commit-id: fa5ef7ed8fb050a4fb24f18a5101faa10b72e4a2
Former-commit-id: 11138952c09bf43fccc5dc2dc8625c83b4d3dbdb [formerly 382271cf86238cf125c05867c60c53fef176955a]
Former-commit-id: e452e246198248849d76ee37f0e20a6ce507a855
2016-10-09 20:54:08 +02:00
Erèbe
7195336f6b Remove test code + upgrade to ls 7.2
Former-commit-id: 71d4fd645deb0139d101b6116c9135c68c1d6a8e
Former-commit-id: 7059648a18c785153d3fc33a456741620d20bf49 [formerly cf731f008be1159e6a853f2afd568e8c0612bde3 [formerly cf731f008be1159e6a853f2afd568e8c0612bde3 [formerly cf731f008be1159e6a853f2afd568e8c0612bde3 [formerly 8db96c28f81ffc0c2cbe722c509e9efa5d992b08]]]]
Former-commit-id: fa08c8d8d2857a41c4e77b5aeb3d05271ebf75f8
Former-commit-id: 05c20ad6ce01cfc5d2676c9b5ecdd9201f07705a
Former-commit-id: 2f6c4808ec23bd6b38581b3f5ff24f024648bdd1
Former-commit-id: c755a7050026caafaa9bb91fede5ed7ab2e42743 [formerly b2d3ad3fd179f2071903cfa20ad62b7b4aacc073]
Former-commit-id: 61c646a41feef120a0532206a1ff098f3d4fa372
2016-10-03 11:36:39 +02:00
Erèbe
cbce46fb44 Bump to lts 7.0
Former-commit-id: b3b57bcba2a7d50ebf38054b67792af1e6e755ce
Former-commit-id: e70e4f3f49958c45dbe66aef59ad046fddac801c [formerly 10a6d99cc79e84205bd64fb9c17932cc346b40f3 [formerly 10a6d99cc79e84205bd64fb9c17932cc346b40f3 [formerly 10a6d99cc79e84205bd64fb9c17932cc346b40f3 [formerly 1571c1e641d0b00cbbb494fe5b3f4da6b05ca02a]]]]
Former-commit-id: e62e91900bb398c287ecc8fab53bcad539dc51ec
Former-commit-id: 3da4f732c156662ecdb10a854a941399ab53048e
Former-commit-id: ebaeec43d0a7c399f0401898471c084d4e47042c
Former-commit-id: b540ee5a98380a08c3672247f99cc7f83732e490 [formerly 34f795463f2de5b859abba86d7bddeb7abd0d34c]
Former-commit-id: d9adc79359d666beb64827e2ef59796ab37de408
2016-09-15 23:10:26 +02:00
Erèbe
81fa4969ce Maj Logger
Former-commit-id: 4f92bde65f99832c5ae24ae6698c211e9f2bde18
Former-commit-id: f12ba4b2900a22043fe76735c912ae3fa205fe21 [formerly 24f48bf30c121d1466cfe329678f3620c1a77696 [formerly 24f48bf30c121d1466cfe329678f3620c1a77696 [formerly 24f48bf30c121d1466cfe329678f3620c1a77696 [formerly 9aeb97ec347b0a65a85f75b6d0ed93e3bd54dd53]]]]
Former-commit-id: 1cb3fa8c9a953dedecb7d66c94cf914312b71a77
Former-commit-id: 092df44e5d7a9a560eadb4f186a77010df215837
Former-commit-id: 2f0d76ad50d96c6477564249b5b7cba9b84d0f33
Former-commit-id: a393fbcadcf6baa7515c5dfb2d7b1a3eb2cec58b [formerly c64d29b4305ce9be62bc46030750f8a627304d95]
Former-commit-id: 2cd463763ae087b60e2008ca9e2aaa26284e8a42
2016-08-27 18:42:38 +02:00
Erèbe
1f923c4943 Refactor to modularize more
Former-commit-id: 1d5ae90a514e575706d5a4ed333cb7bcea613fed
Former-commit-id: 9cfc1936086198e0c437346608794694e0e95b90 [formerly 33e7bbb44e5903ddb90b3fe2c0e5555dbc546bd5 [formerly 33e7bbb44e5903ddb90b3fe2c0e5555dbc546bd5 [formerly 33e7bbb44e5903ddb90b3fe2c0e5555dbc546bd5 [formerly c66b2faff45e0b65779d7fed4d3355d859ae8e34]]]]
Former-commit-id: 4d38d80a6e1bd03be92f0939f269803676094da4
Former-commit-id: ad7ee33491764b8111037c046f64b5c288cfe420
Former-commit-id: 7089db6838c542c2a278992e492a421303b20707
Former-commit-id: 00f00a4f5296725498aeb0daa8b21cfa4568627e [formerly fd688a2c91cc9c927fd8fa32f7e62dc432286d86]
Former-commit-id: 991bfe5b8f959fad26e326877e92f168127f0803
2016-08-27 18:31:32 +02:00
Erèbe
bb1b743932 Improve logging for socks5 proxy 2016-08-25 11:24:56 +02:00
Erèbe
e9b5137afb Socks5 done \O/ 2016-08-24 22:49:33 +02:00
Erèbe
ff6c4164b8 Add socks5 options to commandline 2016-08-24 15:26:25 +02:00
Erèbe
d2bd237bdd Maj sock5 2016-06-23 18:40:38 +02:00
Erèbe
5eb27ee3fb Maj sock5 server 2016-06-22 23:22:23 +02:00
Erèbe
a2eac5a595 Maj sock5 proxy 2016-06-20 17:10:48 +02:00
Erèbe
e6950ea526 maj sock5 2016-06-15 14:01:50 +02:00
Erèbe
ae4198fd56 Use monad Error 2016-06-14 14:11:57 +02:00
Erèbe
0bd70fd006 Maj ghc 8.0 + add sock5 types 2016-06-13 14:04:01 +02:00
Erèbe
dce0372c4b Add http proxy authorization 2016-06-05 22:13:09 +02:00
Erèbe
15016cf330 Add utils files 2016-06-01 22:31:34 +02:00
Erèbe
9f668ca95a Minor refactoring 2016-06-01 22:30:49 +02:00
Erèbe
1921d7d03a Maj logging + Add quiet mode 2016-06-01 22:01:23 +02:00
Erèbe
42ae84a0ae Better error handling 2016-06-01 17:28:55 +02:00
Erèbe
79e0afa224 Better Logging 2016-06-01 16:24:16 +02:00
Erèbe
ca70b8b318 Better logging 2016-05-31 23:44:02 +02:00
Erèbe
750aeedd6b Test 2016-05-31 18:35:04 +02:00
Erèbe
8d33cf9698 Set a timeout to the httpProxy connexion 2016-05-31 13:27:01 +02:00
Erèbe
3cd5dba661 add hslogger 2016-05-30 17:27:04 +02:00
Erèbe
6d0eea8328 Simpler interface 2016-05-30 17:20:47 +02:00
Erèbe
ed22e0db33 Improve signatures 2016-05-29 12:39:56 +02:00
Erèbe
0da678a58d Add proxy handling 2016-05-28 21:17:48 +02:00
Erèbe
ae3d200467 Adding new files 2016-05-28 15:16:12 +02:00
Erèbe
a9c96fef86 Rework 2016-05-28 15:14:55 +02:00
Erèbe
f5cc7b31b8 Auto generate hashable instance for SockAddr 2016-05-22 19:27:13 +02:00
Erèbe
8bf3031a87 remove useless tshow 2016-05-22 12:21:35 +02:00
Erèbe
9e5ac960e2 Add comment 2016-05-22 01:21:54 +02:00
Erèbe
6ec0a45900 Use conduit instead of raw tls package 2016-05-21 18:05:51 +02:00
Erèbe
d993e11730 Add self signed certificate with weak crypto 2016-05-21 17:32:37 +02:00
Erèbe
38b465980f Add tls server 2016-05-21 15:41:56 +02:00
Erèbe
51fdf79ed1 Better handling of exceptions 2016-05-18 23:31:19 +02:00
Erèbe
a315f59673 Change Mvar to IORef + Signature
Better handling of exceptions
2016-05-18 23:31:13 +02:00
Erèbe
0340dc49f1 Maj restricted option 2016-05-16 23:55:06 +02:00
Erèbe
b40e0e677c Add restric to for the server 2016-05-16 23:33:00 +02:00
Erèbe
58a313f354 Improve readability 2016-05-16 22:19:34 +02:00
Erèbe
499f872d1a Style 2016-05-16 21:58:35 +02:00
Erèbe
e598e3e8d2 Cleanup imports 2016-05-16 02:31:20 +02:00
Erèbe
d2ac64d1a6 add parameter for tls 2016-05-16 02:01:56 +02:00
Erèbe
0b001c3264 Add tls support for clientM & fix socket leak 2016-05-16 01:09:56 +02:00
Erèbe
8930a823a2 Cosmetic changes 2016-05-15 02:09:18 +02:00
Erèbe
1ed3177040 First working state (UDP and TCP working) 2016-05-15 01:50:16 +02:00
Erèbe
3060a5d2c7 ground 0 2016-05-11 23:39:02 +02:00