tunneldigger icon indicating copy to clipboard operation
tunneldigger copied to clipboard

Made interface to an optional parameter

Open RobWei opened this issue 4 years ago • 4 comments

Since we are now running a tunneligger broker instance on a routed IP address, I noticed that the tunneligger does not work with a loopback interface.

To the basic structure: Our IPv4 subnet is announced via BGP on several interfaces. An IP from the subnet is configured on the loopback interface.

A short analysis of the pollable object showed that the UDP socket is bound to an interface. I could not find out why this was done.

This change allows to define interfaces optionally.

RobWei avatar Oct 01 '20 08:10 RobWei

Have you tested this? Can you add a test case to the CI for this to be tested to work without interface and IP bound to localhost?

mitar avatar Oct 01 '20 18:10 mitar

The CI failure is likely our spurious LXC issue -- https://github.com/lxc/lxc/issues/3467.

RalfJung avatar Oct 01 '20 19:10 RalfJung

Have you tested this? Can you add a test case to the CI for this to be tested to work without interface and IP bound to localhost?

@mitar Our CI is quite hard to navigate, what did you imagine here? Currently the broker config for CI is set up here, I guess we could remove the interface option for some of the CI runs?

RalfJung avatar Oct 05 '20 09:10 RalfJung

My main worry is that we are changing something here and we are not sure why it was required in the first place. Is this related to NAT stuff which was in there in the past? In any case, making this optional is a new feature which we should make sure that it a) really works b) keeps working. I am currently not convinced into any of those. Is interface really optional? Do things really keep working without it? Do they work when you have multiple MTUs enabled?

mitar avatar Oct 06 '20 05:10 mitar