Commit Graph

39 Commits

Author SHA1 Message Date
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
Ian Gulliver
d0709b885c Add Query() 2015-01-10 16:39:24 +00:00
Ian Gulliver
d6bbc263ad Allow multiple instantiations of GenericNetlink 2015-01-10 16:37:52 +00:00
Ian Gulliver
5b9c67b260 Pass flags as a list of strings. 2015-01-10 16:29:51 +00:00
Ian Gulliver
52d7a6a5ca Clean up message type definitions. Remove extra class layer for message type. 2015-01-10 16:12:06 +00:00
Ian Gulliver
1afd52c1b2 Move attribute parsing down a level to make family definition simpler. 2015-01-10 16:01:02 +00:00
Ian Gulliver
af9828942d Swap command constants out for strings. 2015-01-10 15:54:54 +00:00
Ian Gulliver
e7d80945b4 Fix ugly family name/id mapping 2015-01-10 15:47:58 +00:00
Ian Gulliver
f88c78de06 Add padding on packed attributes. 2015-01-10 06:53:25 +00:00
Ian Gulliver
eed19490e9 Add GetIfIndex() 2015-01-10 06:49:17 +00:00
Ian Gulliver
1166963aee nl80211 named, pythonic queries 2015-01-10 06:35:04 +00:00
Ian Gulliver
0a1f6f04dc Full decode up the stack. 2015-01-09 06:38:56 +00:00
Ian Gulliver
f4c6a7bff2 Multi-message parsing in a generic netlink interface. 2015-01-09 06:21:00 +00:00
Ian Gulliver
9b6894b999 Remove targetlen, remove copying when extracting sub iterators. 2015-01-09 05:30:42 +00:00
Ian Gulliver
35c7f0beba Now parsing control headers. 2015-01-08 06:09:38 +00:00
Ian Gulliver
18e951ed8c Clean up some of the pack interface, especially attributes. Remove OrderedDict. 2015-01-08 04:19:10 +00:00
Ian Gulliver
485ad84b64 Enough serialization to generate a query that gets a working response. 2015-01-07 06:27:01 +00:00
Ian Gulliver
fc3bf6d59a Initial commit. 2015-01-06 06:00:55 +00:00
Ian Gulliver
6cab0ba648 Initial commit 2015-01-05 21:59:11 -08:00