Paul Lorenz
2b2726ca32
Update to go 1.18 and transport/v2
2022-05-10 13:11:12 -04:00
Paul Lorenz
3b75094429
Update router side to use channel library for control channel
2022-01-28 15:48:15 -05:00
Paul Lorenz
ace44b4e75
Fix panic. Fix generate rest script. Add metric for unknown api session tokens
2021-06-21 15:17:46 -04:00
Paul Lorenz
d920dbbd93
Fix sync early exit bug. Track new session during sync. Simplify thre… ( #686 )
...
* Fix sync early exit bug. Track new session during sync. Simplify threading and tighten up locking. Add dump api-sessions debug operation
* Address review comments. Remove spurious error message. Fix defaultHostingCost/Precedence field names
2021-06-11 14:01:20 -04:00
Paul Lorenz
680852f80e
Allow tunnel to run over xgress directly
2021-03-22 14:33:54 -04:00
Andrew Martinez
12ab2bbb34
do not remove api sessions added after/during sync
2021-02-17 10:54:07 -05:00
Andrew Martinez
f061ba7c33
spelling/cleanup
2021-02-15 13:22:08 -05:00
Andrew Martinez
ad03b24546
shutdown go routines, log messages
...
- shut down go routines for handlers on HandleClose
- fix log messages and add more states to sync tracking
- remove nil sync fail output
2021-02-15 13:22:07 -05:00
Andrew Martinez
fdb2fb35ad
rename routerTx to routerSender
2021-02-15 13:22:07 -05:00
Andrew Martinez
41884d6482
router log cleanup
2021-02-15 13:22:07 -05:00
Andrew Martinez
a8f1b8b79a
moves sync strat/state to headers
2021-02-15 13:22:07 -05:00
Andrew Martinez
d07618c9d5
modular edge router sync
...
- edge router sync is now modular and can have different strategies
- plans to make this configurabe in the future with multiple strat
- legacy strategy is called "instant" and is the only option
- instant strat now supports control signaling and resync requests
- edge routers now do not remove connections till after a full sync
- added the ability for the controller to report the er sync status
- added er syn status to GET /edge-routers list and detail
- improved log output in sync logic
2021-02-15 13:22:07 -05:00
Andrew Martinez
41da009787
remove the last of the things named gateway
2020-10-08 07:53:17 -04:00