Ian Gulliver
|
9a0449be5d
|
Fix a memory leak in signal event handling. libevent's API is an ownership disaster.
|
2015-02-08 19:13:00 +00:00 |
|
Ian Gulliver
|
52ee93708d
|
Key handling cleanup, now using libsodium's secure memory allocation
|
2015-02-08 19:02:37 +00:00 |
|
Ian Gulliver
|
0e0a3eab8b
|
Shutdown messages and sigint handling.
|
2015-02-07 16:18:07 -08:00 |
|
Ian Gulliver
|
6fc6070d5f
|
Start of tunnel request handling.
|
2015-02-07 16:04:40 -08:00 |
|
Ian Gulliver
|
578615a99e
|
Error handling fixes.
|
2015-02-07 15:56:29 -08:00 |
|
Ian Gulliver
|
c93121ddf2
|
Send tunnel request.
|
2015-02-07 15:37:45 -08:00 |
|
Ian Gulliver
|
91323771cb
|
Rename CryptoConnBase to CryptoPubConnBase
|
2015-02-07 15:26:39 -08:00 |
|
Ian Gulliver
|
4274c7ca1d
|
More code dedupe.
|
2015-02-07 15:25:22 -08:00 |
|
Ian Gulliver
|
d82cb789e3
|
Switch to unique_ptr for ownership clarity in places, combine more code.
|
2015-02-07 15:07:34 -08:00 |
|
Ian Gulliver
|
844db000f6
|
Start of channel_bitrates, start combining server and client common code.
|
2015-02-07 14:32:53 -08:00 |
|
Ian Gulliver
|
f122f38c43
|
More cleanup for real messages
|
2015-02-07 13:49:19 -08:00 |
|
Ian Gulliver
|
cdd059370d
|
Log client ID from server
|
2015-02-07 13:38:51 -08:00 |
|
Ian Gulliver
|
36bdebe5e0
|
Transition into ready state.
|
2015-02-07 13:32:49 -08:00 |
|
Ian Gulliver
|
55ca78194c
|
Clean up key file save and load.
|
2015-02-07 13:25:46 -08:00 |
|
Ian Gulliver
|
d90770fabe
|
Logging cleanup
|
2015-02-07 11:18:31 -08:00 |
|
Ian Gulliver
|
403c193576
|
Bidirectional secure handshake
|
2015-02-07 10:58:20 -08:00 |
|
Ian Gulliver
|
ce0d4481d3
|
Client -> server handshake successful
|
2015-02-07 10:47:03 -08:00 |
|
Ian Gulliver
|
f8c2222774
|
Successful decrypt of client handshake!
|
2015-02-07 10:35:29 -08:00 |
|
Ian Gulliver
|
f1540c897e
|
Client sending encoded handshake, server decoding the insecure bits
|
2015-02-07 19:01:48 +01:00 |
|
Ian Gulliver
|
409c912eeb
|
Actually sending client handshake
|
2015-02-07 17:32:57 +01:00 |
|
Ian Gulliver
|
4658186fb4
|
Move the horrible C wrappers out of the real functions.
|
2015-02-07 17:15:09 +01:00 |
|
Ian Gulliver
|
14cfbb0372
|
Convert auth-client to libevent
|
2015-02-07 17:07:31 +01:00 |
|
Ian Gulliver
|
88c3c69e52
|
Switch from epoll to libevent, to add OS X support.
|
2015-02-07 16:44:42 +01:00 |
|
Ian Gulliver
|
dcbc3d6928
|
Start of a connection state machine, start of a TLV framework.
|
2015-02-05 21:57:04 +00:00 |
|
Ian Gulliver
|
c91b64f892
|
It's not necessary to use EPOLL_CTL_DEL after close()
|
2015-02-05 20:57:01 +00:00 |
|
Ian Gulliver
|
524434813c
|
Remove hex encoding, just write binary files.
|
2015-02-05 17:18:44 +00:00 |
|
Ian Gulliver
|
3f7b086e24
|
Main loop, epoll handling
|
2015-02-05 16:36:25 +00:00 |
|
Ian Gulliver
|
b396ad3317
|
Add gen-key for shared secret key generation
|
2015-02-05 13:02:42 +00:00 |
|
Ian Gulliver
|
d37b9a7e41
|
Public key generation
|
2015-02-05 12:55:48 +00:00 |
|