Alfis icon indicating copy to clipboard operation
Alfis copied to clipboard

Multi-bind option

Open oooo-ps opened this issue 5 months ago • 0 comments

I found that Alfis is listening for all IPv4 (0.0.0.0) and IPv6 (::) interfaces even if I'm using yggdrasil_only option:

netstat -tuln

The implementation is here: https://github.com/Revertron/Alfis/blob/master/src/dns/client.rs#L102

Feature

What about run the daemon on specified (e.g. mesh) interfaces from array and handle connections according to their address family or the range instead of https://github.com/Revertron/Alfis/pull/386?

I have a few projects where I have already experimented with this model, such as the Nexy server. It uses different interfaces defined in the configuration but, in fact, runs as a single service with a shared multi-network handler. In other words, the server is unreachable for other networks, but defined in the binding config.

oooo-ps avatar Jul 19 '25 15:07 oooo-ps