Commit Graph

24 Commits

Author SHA1 Message Date
Neil Alexander
0838928668 Add support for flexible logging levels 2019-01-27 13:31:43 +00:00
Neil Alexander
39567bed83 Address some comments 2019-01-15 08:44:33 +00:00
Neil Alexander
9e186bdd67 Remove mutexes from CKR and use router goroutine/doAdmin for update config 2019-01-14 18:34:15 +00:00
Neil Alexander
bd04124e43 Reconfigure support for crypto-key routing 2019-01-14 18:06:41 +00:00
Neil Alexander
28072c9fe2 Make CKR thread-safe 2019-01-14 17:41:08 +00:00
Arceliar
ea4ca02681 fix code after moving address/crypto/util 2018-12-14 20:49:18 -06:00
Neil Alexander
90ace46587 Enforce CKR cache size more strongly 2018-12-10 22:30:31 +00:00
Neil Alexander
65e34bbbab Enforce maximum CKR routing cache size 2018-12-10 22:19:08 +00:00
Arceliar
6d0e40045a cleanup/fixes from go vet 2018-11-22 21:41:16 -06:00
Arceliar
4870a2e149 removeSourceSubnet and removeRoute via the admin api 2018-11-22 21:30:56 -06:00
Arceliar
5953027411 switch from []byte to boxPubKey in ckr code, and start adding admin functions for existing code (yggdrasilctl.go still needs pretty printing support for the responses to the new get functions) 2018-11-21 00:10:20 -06:00
Neil Alexander
39dab53ac7 Update comments in configuration and some godoc descriptions 2018-11-06 22:57:53 +00:00
Neil Alexander
0240375417 IPv4 CKR support in router 2018-11-06 20:49:19 +00:00
Neil Alexander
424faa1c51 Support IPv4 in ckr.go 2018-11-06 20:04:49 +00:00
Neil Alexander
2f75075da3 Fix Yggdrasil subnet routing 2018-11-06 14:28:57 +00:00
Neil Alexander
bc62af7f7d Enable CKR properly from config 2018-11-06 12:32:16 +00:00
Neil Alexander
bc578f571c Some output at startup 2018-11-06 11:56:32 +00:00
Neil Alexander
f0947223bb Only validate CKR routes if CKR enabled 2018-11-06 11:11:57 +00:00
Neil Alexander
8c2327a2bf Add source addresses option and more intelligent source checking 2018-11-05 23:59:41 +00:00
Neil Alexander
cfdbc481a5 Modify source address check for CKR 2018-11-05 23:22:45 +00:00
Neil Alexander
7218b5a56c Don't look up public keys for Yggdrasil native addresses 2018-11-05 23:12:26 +00:00
Neil Alexander
295e9c9a10 Cache crypto-key routes (until routing table changes) 2018-11-05 17:31:10 +00:00
Neil Alexander
ec751e8cc7 Don't allow Yggdrasil ranges as crypto-key routes 2018-11-05 17:03:58 +00:00
Neil Alexander
52206dc381 Add initial crypto-key routing handlers 2018-11-05 16:40:47 +00:00