Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify multiple addresses / only listen on private addresses #51

Open
muja opened this issue Feb 26, 2024 · 2 comments
Open

specify multiple addresses / only listen on private addresses #51

muja opened this issue Feb 26, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@muja
Copy link

muja commented Feb 26, 2024

currently dora listens on all addresses unless a single v4/v6 address is specified. My setup includes multiple private interfaces and there is currently no way to specify all private IPs or excluding the public IP.

@leshow leshow added enhancement New feature or request good first issue Good for newcomers labels Mar 1, 2024
@leshow
Copy link
Collaborator

leshow commented Mar 1, 2024

Thanks! That should be a pretty small change

@leshow
Copy link
Collaborator

leshow commented Mar 14, 2024

Looking at this again. dora is usually run on inaddr_any, then we use the interfaces in the config if necessary to filter out messages using info from recvmsg

I wonder if we couldn't allow the config to accept something like

interfaces:
   - [email protected]

then bind to inaddr_any, and then only process messages with the interface & ip specified there. would that work for you do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants