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

Local loopback is 127.0.0.0/8, not just 127.0.0.1 #147

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

bendres97
Copy link
Contributor

Updated to only search for /^(127\.|::1)$/ which conforms to RFC 5735

https://www.rfc-editor.org/rfc/rfc5735

For example, Ubuntu listens on 127.0.0.53:53 for local DNS requests. This pull request would fix a false-positive on Ubuntu distributions without a firewall rule to allow port 53 to a local loopback address, which is already allowed with all loopback traffic.

Signed-off-by: Bryan Endres <bryan@endres.io>
@schurzi schurzi added the bug label Mar 27, 2023
@schurzi schurzi merged commit cb71895 into dev-sec:master Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants