Milos Gajdos
494eb13534
Make sure we pick some link when Dialling
2019-10-24 16:07:31 +01:00
Asim Aslam
4db1e09798
change options to be trimmed down
2019-10-23 23:12:45 +01:00
Asim Aslam
232c8ac7a1
More cleanup of store cf
2019-10-23 23:10:44 +01:00
Asim Aslam
68d0efbeaa
Move api types in cf store
2019-10-23 22:57:11 +01:00
Asim Aslam
70aaca9876
further cleanup
2019-10-23 22:54:55 +01:00
Asim Aslam
3ce71e12ff
Don't recall vals everywhere
2019-10-23 22:51:08 +01:00
Asim Aslam
fb3d729681
sync map uses store list
2019-10-23 22:35:28 +01:00
Asim Aslam
d65658c890
Update options usage in store/api
2019-10-23 22:31:36 +01:00
Asim Aslam
3fc04f4dff
fixup some acme related things
2019-10-23 22:15:15 +01:00
Asim Aslam
82f94c7861
Change store.Sync to store.List
2019-10-23 22:05:39 +01:00
Asim Aslam
ecac392dbe
unexport api response/message in cloudflare store
2019-10-23 21:54:37 +01:00
Asim Aslam
4e5a568063
races, race conditions everywhere
2019-10-23 21:24:31 +01:00
Asim Aslam
87de2ecaa0
Merge pull request #876 from milosgajdos83/peerlink-route-metric
...
Peerlink route metric
2019-10-23 20:31:21 +01:00
Milos Gajdos
4f1dd3f965
Fixed a small messup when printing logs
2019-10-23 20:01:45 +01:00
Milos Gajdos
71122836b8
Use event.Route.Link for getting the route metrics
2019-10-23 19:55:01 +01:00
Milos Gajdos
b67be88952
Check for local links and empty gateways
2019-10-23 19:48:26 +01:00
Asim Aslam
83b232ae26
Merge pull request #879 from micro/cloudflareexpiry
...
Throw away cloudflare-go library and reimplement workers KV
2019-10-23 17:44:13 +01:00
Milos Gajdos
776284b187
Make sure you dont overflow MaxInt64
2019-10-23 17:42:04 +01:00
Jake Sanders
53ee4ee482
goodbye cloudflare-go
2019-10-23 17:33:20 +01:00
Milos Gajdos
35729092e0
Unexport network.Message
2019-10-23 17:32:45 +01:00
Jake Sanders
4f5db08238
Remove cloudflare-go and reimplement workers KV
2019-10-23 17:31:15 +01:00
Milos Gajdos
68789af4ea
Prune peerlinks of pruned nodes
2019-10-23 17:29:03 +01:00
Milos Gajdos
b3d4a7f740
If no link found, return max possible value
2019-10-23 16:51:22 +01:00
Milos Gajdos
f4f178c130
Set metric on egress. Increment metric on ingress.
2019-10-23 16:51:22 +01:00
Milos Gajdos
1ff65e140a
Change router.Route metric to int64. Set the route metric properly
2019-10-23 16:51:22 +01:00
Milos Gajdos
326156671d
Set route metric to link Length
2019-10-23 16:51:22 +01:00
Milos Gajdos
6353b2b894
Keep track of peer links
2019-10-23 16:51:22 +01:00
Asim Aslam
caca93f65b
Merge pull request #877 from micro/tun-delay
...
Tunnel Delay and link buffers
2019-10-23 16:49:18 +01:00
Asim Aslam
bf4a73d5c0
Close the socket in the link
2019-10-23 16:39:26 +01:00
Asim Aslam
fe180148a1
rearrange where we account for errors and data sent
2019-10-23 16:15:39 +01:00
Asim Aslam
842fc01568
add send/recv queues for link
2019-10-23 16:05:21 +01:00
Asim Aslam
d4832e8f34
Remove consul registry ( #818 )
2019-10-23 15:53:28 +01:00
Asim Aslam
5ac5865154
add comment
2019-10-23 10:55:53 +01:00
Asim Aslam
f07a6ac29b
Merge pull request #875 from micro/tun-measure
...
Measure roundtrip times on link
2019-10-22 21:20:57 +01:00
Asim Aslam
d64f8c665e
add rate measure
2019-10-22 19:38:29 +01:00
Asim Aslam
407694232a
Measure roundtrip times on link
2019-10-22 18:43:09 +01:00
Asim Aslam
418b8648bb
Merge pull request #874 from micro/tun-metrics
...
Add placeholders for link metrics
2019-10-22 17:03:07 +01:00
Asim Aslam
85e273afa5
reorder methods
2019-10-22 17:02:22 +01:00
Asim Aslam
ab9fa20a50
Update comments
2019-10-22 16:53:47 +01:00
Asim Aslam
4fddd69229
Add placeholders for link metrics
2019-10-22 16:50:00 +01:00
Asim Aslam
317cf76566
Merge pull request #872 from micro/round-robin
...
Round robin routes we've sorted by metric
2019-10-22 11:58:44 +01:00
Asim Aslam
f792fac1cc
Round robin routes we've sorted by metric
2019-10-22 11:53:49 +01:00
Asim Aslam
a89d1edc41
fix divide by zero bug
2019-10-19 08:11:05 +01:00
Asim Aslam
d3140c0fc2
Merge pull request #867 from milosgajdos83/rlock-mess
...
Avoid recursive RLock()
2019-10-18 11:35:08 +01:00
Milos Gajdos
3d5d9be02a
Avoid recursive calls to RLock()
...
Topology calls itsel recursively invoking RLock. This, according to go
documentation is wrong. This commit moves the body of Topology function
to a non-thread safe unexported function to keep locsk at check!
2019-10-18 11:26:43 +01:00
Asim Aslam
5c38f38dd9
No need to lock here since Topology read locks and makes copies
2019-10-18 11:26:43 +01:00
Asim Aslam
63fd8b9d1b
Merge pull request #864 from micro/strip-topic
...
strip topic from http broker subscribe service name
2019-10-17 18:48:46 +01:00
Asim Aslam
3aedea4c56
strip topic from http broker subscribe service name
2019-10-17 18:37:37 +01:00
Asim Aslam
0da9dff077
Merge pull request #863 from micro/certmagice2e
...
E2E tests for certmagic ACME provider
2019-10-17 16:42:33 +01:00
Jake Sanders
05774f2c76
Don't touch go.mod
2019-10-17 16:35:09 +01:00