Skip to content

Commit

Permalink
Merge pull request #26 from treydock/squid-urn
Browse files Browse the repository at this point in the history
Add work around for OSG-SEC-2019-11-11
  • Loading branch information
treydock committed Nov 11, 2019
2 parents bba18d8 + 17b38d8 commit 823d6f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/classes/osg_squid_spec.rb
Expand Up @@ -89,6 +89,8 @@
'uncomment("acl MAJOR_CVMFS")',
'insertline("^# http_access deny !RESTRICT_DEST", "http_access allow MAJOR_CVMFS")',
'insertline("^# max_filedescriptors 0", "max_filedescriptors 0")',
'insertline("# INSERT YOUR OWN RULE", "acl URN proto URN")',
'insertline("# INSERT YOUR OWN RULE", "http_access deny URN")',
'print',
'}\'',
])
Expand Down
2 changes: 2 additions & 0 deletions templates/squid/customize.sh.erb
Expand Up @@ -20,5 +20,7 @@ uncomment("acl MAJOR_CVMFS")
insertline("^# http_access deny !RESTRICT_DEST", "http_access allow MAJOR_CVMFS")
<%- end -%>
insertline("^# max_filedescriptors 0", "max_filedescriptors <%= @max_filedescriptors %>")
insertline("# INSERT YOUR OWN RULE", "acl URN proto URN")
insertline("# INSERT YOUR OWN RULE", "http_access deny URN")
print
}'

0 comments on commit 823d6f9

Please sign in to comment.