Commit graph

298 commits

Author SHA1 Message Date
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