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

Add preferred netblock filter for hosts #148

Open
adrianreber opened this issue Dec 10, 2015 · 2 comments
Open

Add preferred netblock filter for hosts #148

adrianreber opened this issue Dec 10, 2015 · 2 comments
Labels

Comments

@adrianreber
Copy link
Member

In the original mirrormanager it was not possible to add netblocks larger than /16 to a host. This filter does not seem to exist anymore. Right now it seems possible to add RFC1918 networks (which does not make much sense in most cases (except Fedora internal infrastructure systems)) and even 0.0.0.0/0.

Looking at the database we have lot's of private networks added as preferred netblocks to different hosts.

See also: https://fedorahosted.org/fedora-infrastructure/ticket/5016

@nirik
Copy link
Member

nirik commented Dec 10, 2015

How does mm get the client IP? just from the http header or url right?

if so, the only way a RFC1918 entry could be useful would be:

a) you pass ip= on your link
or
b) you are in Fedora Infrastructure and you hit proxy01/proxy10 on their internal 10.x.x.x ip's

right?

@adrianreber
Copy link
Member Author

Right, even though people have entered it into the database in does not have much effect. Fedora Infrastructure are the only clients which can really use it. So, RFC1918 addresses should only be entered by admins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants