Ian Gulliver
|
f31ccaad16
|
Libraryize test.cc
|
2016-09-25 17:37:37 -07:00 |
|
Ian Gulliver
|
c067cbd71e
|
Secure, optimizing build options
|
2016-09-25 16:47:05 -07:00 |
|
Ian Gulliver
|
6da1c57c36
|
Starting over
|
2016-09-25 15:56:37 -07:00 |
|
Ian Gulliver
|
a78c8461d6
|
Remove client-side code for channel setup, headed toward a dumb client.
|
2015-02-09 04:54:12 +00:00 |
|
Ian Gulliver
|
ac97f35e3c
|
Precalculate keys and destroy in-memory ephemeral key copies ASAP.
|
2015-02-08 22:36:23 +00:00 |
|
Ian Gulliver
|
f35f9d8885
|
Cache derived public key.
|
2015-02-08 19:54:45 +00:00 |
|
Ian Gulliver
|
6a4a92f47a
|
Make the handshake mirrored again, for common code and to support future key rotation.
|
2015-02-08 19:50:09 +00:00 |
|
Ian Gulliver
|
7807df9575
|
Initialize libsodium in all apps
|
2015-02-08 19:16:11 +00:00 |
|
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
|
719a8ab1d8
|
Debugging symbols
|
2015-02-08 19:04:25 +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
|
bcfe496fb1
|
Build fixes for linux
|
2015-02-08 04:05:36 +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
|
2e9d0b7960
|
Fix message types, add handshake message type checking
|
2015-02-07 13:53:15 -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
|
2c9b9f97de
|
Start of a client app
|
2015-02-06 16:27:47 +00: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
|
18715be4b9
|
Fix indenting
|
2015-02-05 16:56:29 +00:00 |
|
Ian Gulliver
|
3f7b086e24
|
Main loop, epoll handling
|
2015-02-05 16:36:25 +00:00 |
|
Ian Gulliver
|
b3a450226c
|
Variable name cleanup
|
2015-02-05 13:04:36 +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 |
|
Ian Gulliver
|
99aac0d648
|
Add gen-pubkeypair
|
2015-02-05 11:50:47 +00:00 |
|
Ian Gulliver
|
61d622b9b1
|
Rename server to auth-server
|
2015-02-05 11:38:34 +00:00 |
|
Ian Gulliver
|
8117cacb04
|
Memoize build command
|
2015-02-04 21:48:49 +00:00 |
|
Ian Gulliver
|
0d2268f833
|
Test server.
|
2015-02-04 21:44:16 +00:00 |
|
Ian Gulliver
|
277057f4ea
|
Clean up receiver API to handle messages in the same datagram from different families.
Add supported_iftypes.
|
2015-01-14 06:20:01 +00:00 |
|
Ian Gulliver
|
3efaf82893
|
Start of get_wiphy support.
|
2015-01-11 07:32:41 +00:00 |
|
Ian Gulliver
|
841abaa612
|
Multiplexing thread for the netlink socket to make the class thread safe.
|
2015-01-11 06:46:28 +00:00 |
|