Skip to content

Commit

Permalink
we shouldn't allow 'http_access allow localnet' by default. if needed…
Browse files Browse the repository at this point in the history
…, it should be added manually. closes thias#17'
  • Loading branch information
sethlyons committed Jun 17, 2016
1 parent 975900a commit cad777b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion templates/squid.conf.documented
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,6 @@ http_access deny CONNECT !SSL_ports
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy
Expand Down
1 change: 0 additions & 1 deletion templates/squid.conf.long.erb
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,6 @@ http_access <%= line %>
# Example rule allowing access from your local networks.
# Adapt localnet in the ACL section to list your (internal) IP networks
# from where browsing should be allowed
http_access allow localnet
http_access allow localhost

# And finally deny all other access to this proxy
Expand Down
1 change: 0 additions & 1 deletion templates/squid.conf.short.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ acl <%= line %>
<% @http_access.each do |line| -%>
http_access <%= line %>
<% end -%>
http_access allow localnet
http_access allow localhost
http_access deny all

Expand Down

0 comments on commit cad777b

Please sign in to comment.