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

Better filter for real network interfaces #385

Open
mageddo opened this issue Mar 20, 2023 · 0 comments
Open

Better filter for real network interfaces #385

mageddo opened this issue Mar 20, 2023 · 0 comments

Comments

@mageddo
Copy link
Owner

mageddo commented Mar 20, 2023

What is expected

Java haven't an identifier to separate real network interfaces from the virtual ones, because of this DPS can't securely choose the real network interfaces to use that as the IP to set as default DNS which would be the best options..

I've done some researches and maybe I can use 'isSiteLocalAddress' method to identify that,

A unicast address uniquely identifies a single interface by its address. An interface can have multiple unicast addresses and must have at least one link-local address. A link-local address is an address used on a link between two nodes. [1]

This method won't work for ipv6 as it uses an implementation based on a deprecated rfc, will need to implement my own isSiteLocalAddress for ipv6

What is Happening

What is the actual behavior and lacks without this feature and what's the fallback while this feature is not implemented yet

Changes (Optional)

@mageddo mageddo changed the title Better filter to real network interfaces Better filter for real network interfaces Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant