-
Notifications
You must be signed in to change notification settings - Fork 810
www/squid: remove allowed default IPv6 networks #4992
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -144,9 +144,6 @@ acl localnet src {{intf_item.subnet}}/{{intf_item.subnet_bits}} # Possible inter | |
| {% endif %} | ||
| {% endif %} | ||
| {% endif %} | ||
| # Default allow for local-link and private networks | ||
| acl localnet src fc00::/7 # RFC 4193 local private network range | ||
| acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why delete it - would make more sense to have it behind a checkbox
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These link-local IPv6 ranges silently allow proxy usage from any device in a network where Squid is listening. If I select some interfaces in Proxy interfaces selectbox, my options to block link local addresses is firewall or proxy authentication. I think this link local based proxy usage is a good feature so it would be better behind a checkbox or as a default value in "Allowed Subnets". |
||
|
|
||
| # ACL - Allow localhost for PURGE cache if enabled | ||
| {% if helpers.exists('OPNsense.proxy.general.cache.local') and OPNsense.proxy.general.cache.local.enabled == '1' %} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why would you make the use of ICAP dependent on subnets. This does not make sense to me.
adaptation_access does not grant access to the proxy. This is done using http_access.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this relates to link-local addresses and localnet acl.
if there's no localnet acl - because link local addresses are removed/disabled and proxy interface netowrks aren't added to localnet -, the generated config will be invalid because localnet is referenced by the generated config part in this section.