Asim Aslam
927fac2cec
Merge pull request #706 from milosgajdos83/neighbour-map
...
Broadcast neighbourhood
2019-08-28 23:16:42 +01:00
Asim Aslam
6ab86c9e57
Don't process unless connected, and only fire loopback messages back up the loopback
2019-08-28 23:12:22 +01:00
Milos Gajdos
db8e2620cb
Make tunnel channel clients key-able. Neighbour map simplified.
...
tunClient is a map of tunnel clients keyed on tunnel channel name.
Neighbour map is now a cimple map of nodes which contains its nodes.
2019-08-28 23:11:26 +01:00
Milos Gajdos
d09b7dbbef
Broadcast neighbourhood; fix critical bugs in channel connections
...
This commit introduces neighbourhood announcements which allows to
maintaing neighbour map if each next-hop node.
It also fixes a critical bug when accepting connections for a particular
tunnel channel.
2019-08-28 20:11:19 +01:00
Asim Aslam
a4f5772555
add network field to the routes
2019-08-28 08:41:19 +01:00
Asim Aslam
731f6f74dd
Merge pull request #703 from milosgajdos83/net-id
...
Adds network id. Skips processing routes when router is the origin.
2019-08-28 08:05:19 +01:00
Milos Gajdos
5e7208119e
Adds network id. Skips processing routes when router is the origin.
2019-08-27 23:08:35 +01:00
Asim Aslam
470304ef87
Merge pull request #701 from h-hy/master
...
Check last for the address binded in lo interface (LVS , DR mode)
2019-08-27 18:08:52 +01:00
huanghaoyan
a6ab4d7b4b
check last for the address bind in lo interface.
2019-08-27 23:35:27 +08:00
Asim Aslam
87b56d46ac
Use tunnel transport and set server address
2019-08-27 13:21:36 +01:00
Milos Gajdos
371b23d055
Introduce DefaultLink; dont hardcode name of the link
2019-08-27 11:36:46 +01:00
Asim Aslam
f97565ef0a
Merge pull request #685 from milosgajdos83/default-network
...
Default network implementation
2019-08-27 11:02:55 +01:00
Asim Aslam
0888d2fbbc
Add grpc content-type
2019-08-27 08:13:58 +01:00
Asim Aslam
443fc0ebde
Merge pull request #700 from micro/h2-grpc
...
H2 grpc
2019-08-26 15:55:31 +01:00
huanghaoyan
35e7b9551f
ignore Loopback Address (LVS,DR mode)
2019-08-26 21:48:40 +08:00
Asim Aslam
6daf4fda72
Full support for grpc server side
2019-08-26 12:33:59 +01:00
Asim Aslam
36623bfe50
Improve stream processing
2019-08-25 19:30:22 +01:00
Asim Aslam
6128d18ee0
checkpoint fixing data race to process h2 and grpc requests
2019-08-24 20:12:04 +01:00
Asim Aslam
abadb2211e
Merge pull request #698 from micro/tunnel-broker
...
Add a tunnel broker
2019-08-24 14:37:20 +01:00
Asim Aslam
ca267f73de
add a tunnel broker
2019-08-24 09:46:55 +01:00
Asim Aslam
d8608b2343
Merge pull request #697 from micro/static-resolver
...
Add a static network node resolver
2019-08-23 22:05:02 +01:00
Milos Gajdos
ed8d28c9ab
Set Route.Link to "network" not Route.Network. Oops!
2019-08-23 21:08:18 +01:00
Milos Gajdos
88e47b9b06
Dont bail when unable to resolve network nodes.
2019-08-23 17:48:14 +01:00
Asim Aslam
1b0295de0d
Add a static network node resolver
2019-08-23 17:24:21 +01:00
Milos Gajdos
9448d7c164
Set Route.Network to "network" and Router.Gateway to network.Address
2019-08-23 16:01:57 +01:00
Milos Gajdos
8c3eec9f2a
Set the default resolver to registry
2019-08-23 15:14:16 +01:00
Milos Gajdos
e53484302c
Added ControlChannel tunnel.Listener to process incoming messages
2019-08-23 15:14:16 +01:00
Milos Gajdos
db89fc4efe
Set server name to the correct value.
2019-08-23 15:14:16 +01:00
Milos Gajdos
e1599b0f17
Set server name. Set default network name.
2019-08-23 15:14:16 +01:00
Milos Gajdos
a09d5d2e9a
Add Address method. Start and Stop router/server.
2019-08-23 15:14:16 +01:00
Milos Gajdos
6c1f1d66f7
Switch received messages on the right header
2019-08-23 15:14:16 +01:00
Milos Gajdos
a6e1287b27
Replaced incorrect proto import path
2019-08-23 15:14:15 +01:00
Milos Gajdos
fcec6e8eae
First attempt to implement default network interface
2019-08-23 15:14:15 +01:00
Milos Gajdos
30dd3f54f0
Make router.Table docs consistent
2019-08-23 15:14:15 +01:00
Milos Gajdos
6beae23afd
First commit. Outline of the default network.
2019-08-23 15:14:15 +01:00
Asim Aslam
718780367e
Merge pull request #696 from milosgajdos83/server-idempotent
...
Make server Start() and Stop() idempotent
2019-08-23 15:12:33 +01:00
Milos Gajdos
ba99f037fb
Lock started flag when changing it.
2019-08-23 15:07:08 +01:00
Milos Gajdos
80dc0b97a9
Make server starts and stops idempotent
2019-08-23 15:00:57 +01:00
Asim Aslam
1a32e3a11d
Merge pull request #695 from micro/proxy-link
...
Support multiple clients in the proxy as Links
2019-08-23 14:48:49 +01:00
Asim Aslam
955dc2a23d
change where we order the routes
2019-08-23 14:11:53 +01:00
Asim Aslam
934b8eb86d
Error as link not found
2019-08-23 14:09:57 +01:00
Asim Aslam
b7f510ff64
support links in the proxy
2019-08-23 14:05:11 +01:00
Asim Aslam
353eade6c3
Update client proto
2019-08-23 12:06:11 +01:00
Asim Aslam
a133e61c2d
Merge pull request #694 from milosgajdos83/tunnel-loopback-sleep
...
Lock when setting loopback flag and receiving keepalives
2019-08-22 17:35:03 +01:00
Milos Gajdos
99d39e743b
Lock when setting loopback flag and receiving keepalives
2019-08-22 16:31:37 +01:00
Asim Aslam
0cdac2aa36
Merge pull request #689 from milosgajdos83/router-stop
...
Make router.Stop idempotent
2019-08-21 21:25:48 +01:00
Milos Gajdos
75871287a1
Make stop idempotent. Small refactoring. Router name is memory.
2019-08-21 21:10:42 +01:00
Asim Aslam
fb750a0bb1
Don't start the router if its already running
2019-08-21 18:58:56 +01:00
Asim Aslam
c6e15ef2d1
rename server, set version to timestamp
2019-08-21 15:43:46 +01:00
Asim Aslam
f787cc0ee0
Merge pull request #687 from micro/tunnel
...
Add tunnel address
2019-08-21 13:01:28 +01:00