Commit graph

608 commits

Author SHA1 Message Date
Vincent Hanquez
98b692ec73 add a way to activate certificate checking on client stunnel mode. 2011-03-31 21:44:24 +01:00
Vincent Hanquez
dbdd32cfcf ignore forkIO value 2011-03-31 21:44:04 +01:00
Vincent Hanquez
6c5b7c9987 bump version to 0.1.4 2011-03-31 14:23:05 +01:00
Vincent Hanquez
708270190e add big fat warning and some code to bypass the certificate verify chain 2011-03-31 14:14:21 +01:00
Vincent Hanquez
eafcef60e4 bump version to 0.1.3 2011-03-29 08:33:02 +01:00
Vincent Hanquez
da6ce2e64d add haddock documentation 2011-03-29 08:32:25 +01:00
Vincent Hanquez
d178fb7bf2 define some ciphersuite 2011-03-29 08:32:02 +01:00
Vincent Hanquez
8a23549ac9 bump version to 0.1.2 2011-03-23 21:50:13 +00:00
Vincent Hanquez
31b66fc9c5 add basic recvdata in the stunnel. 2011-03-23 21:49:55 +00:00
Vincent Hanquez
0157d72d54 bump version to 0.5.1 2011-03-23 21:49:12 +00:00
Vincent Hanquez
55b7490102 a packet can contain multiple appdata, process it as such. 2011-03-23 21:48:58 +00:00
Vincent Hanquez
6055c3b8c8 depends on base 2011-03-23 21:33:41 +00:00
Vincent Hanquez
6d043a44cb show ciphers in a more friendly way 2011-03-21 20:22:51 +00:00
Vincent Hanquez
4e29267d35 bump version to 0.1.1 2011-03-20 07:11:26 +00:00
Vincent Hanquez
511a781721 export certificate checking in extra 2011-03-20 07:07:57 +00:00
Vincent Hanquez
3137e1897e add certificate checking 2011-03-20 07:07:49 +00:00
Vincent Hanquez
a8575c9722 add missing file 2011-03-20 07:07:37 +00:00
Vincent Hanquez
6d4243f7d0 remove vector 2011-03-19 22:01:59 +00:00
Vincent Hanquez
bd3c9546a4 initial import (mostly imported from tls 0.4) 2011-03-19 21:47:35 +00:00
Vincent Hanquez
7b1805e250 bump version to 0.5 2011-03-19 21:45:51 +00:00
Vincent Hanquez
74633cd68f add internal module as backdoor for hidden function/definition.
also export core sendPacket/recvPacket
2011-03-19 21:45:43 +00:00
Vincent Hanquez
476b0a8f82 remove commented description of ciphers 2011-03-19 21:42:59 +00:00
Vincent Hanquez
a4b4d54821 move default ciphers to tls-extra 2011-03-19 09:22:12 +00:00
Vincent Hanquez
6b06017028 move stunnel into tls-extra 2011-03-19 09:21:24 +00:00
Vincent Hanquez
346b550b7c move most tests to tls-extra, only keep the marshalling test. 2011-03-19 09:19:35 +00:00
Vincent Hanquez
da6e72ba7e correct comment 2011-03-19 08:37:47 +00:00
Vincent Hanquez
2dd5300fff bump version to 0.4.0 2011-03-02 08:45:44 +00:00
Vincent Hanquez
9d6f8e3fa6 add a single TLS module to rules them all. 2011-03-02 08:43:14 +00:00
Vincent Hanquez
5ab032b3c9 add more haddock related stuff 2011-03-02 08:43:05 +00:00
Vincent Hanquez
14f635cf3e Fix documentation and cleanup remaining bits 2011-03-02 07:56:37 +00:00
Vincent Hanquez
a8d1e05179 fold remaining bit of client/server in core. cleanup 2011-03-02 07:41:59 +00:00
Vincent Hanquez
7237bec83e fold handshake stuff from server to core. 2011-03-02 07:35:25 +00:00
Vincent Hanquez
fc598287ad remove fromJust 2011-03-01 23:18:09 +00:00
Vincent Hanquez
73979e9db4 move initiate into handshake in core. 2011-03-01 23:09:17 +00:00
Vincent Hanquez
9083c53453 style change and use modify instead of get/put 2011-03-01 20:01:40 +00:00
Vincent Hanquez
c1a20efe74 move sendData to core 2011-03-01 20:01:40 +00:00
Vincent Hanquez
43a2ae9dae remove language extensions not needed anymore 2011-03-01 20:01:40 +00:00
Vincent Hanquez
353783abdf put server/client in core 2011-03-01 20:01:40 +00:00
Vincent Hanquez
f4cc8999db move 'close' api to core and rename to 'bye' to avoid a meaning conflict with unix close. 2011-03-01 20:01:40 +00:00
Vincent Hanquez
f260c5b9cf modify client API to be like the server API. 2011-03-01 20:01:40 +00:00
Vincent Hanquez
5481816e0e remove old import 2011-03-01 20:01:40 +00:00
Vincent Hanquez
5e8d2fa776 move server to the new split API and have the server function in a monadIO monad.
the state mvar is for now mostly useless, although completly harmeless; it will
be useful to be able to use the ctx in a threaded context.
2011-03-01 20:01:40 +00:00
Vincent Hanquez
c997045372 remove old code 2011-03-01 20:01:40 +00:00
Vincent Hanquez
6a0578ad0c simplify state manipulation
separate the pure state manipulation from the monad doing the IO.
add some duplicate helpers to use the new monad.
2011-03-01 20:01:40 +00:00
Vincent Hanquez
9586b05395 unify clientparams and serverparams 2011-03-01 20:01:40 +00:00
Vincent Hanquez
fc420e13f8 add nullCompression and an instance of show for compression data. 2011-03-01 20:01:40 +00:00
Vincent Hanquez
bafea87656 bump tls version to 0.3.3 2011-02-20 17:43:10 +00:00
Vincent Hanquez
ccfc30c2df bump certificate version to 0.7 minimum 2011-02-20 17:43:10 +00:00
Vincent Hanquez
d592c7aad7 update for latest certificate 0.7 2011-02-20 17:43:10 +00:00
Vincent Hanquez
deb8082647 misc change to arbitrary stuff 2011-02-20 17:43:09 +00:00