Enhancement #2853

squidGuard: break 99acl template

Added by Filippo Carletti almost 7 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-squidguard
Target version:v6.5
Resolution: NEEDINFO:No

Description

To allow squidGuard customization the /etc/squid/squidGuard.conf/99acl template should be broken into smaller pieces.
A common setup is to add acls.

Associated revisions

Revision 0eb2d733
Added by Giacomo Sanchietti over 6 years ago

squidGuard.conf: break template. Refs #2853

History

#1 Updated by Filippo Carletti almost 7 years ago

  • Target version set to ~FUTURE

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to TRIAGED
  • Target version changed from ~FUTURE to v6.5
  • % Done changed from 0 to 20

#3 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70

Package in nethserver-testing
nethserver-squidguard-1.0.5-23.0git13c5da5b.ns6.noarch.rpm

All custom templates for acl can now be placed between 99acl00start and 99acl99end fragments.

Test case
  • Try to create a custom-template fragment like 99acl10myacl
  • Expand the template /etc/squid/squidGuard.conf and check the new fragment is in place

#6 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90
[root@localhost ~]# cat /etc/e-smith/templates-custom/etc/squid/squidGuard.conf/99acl40custom
  finance within nonworkhours \{
       pass !spyware !tracker !webtv !webradio all
    \} else \{
       pass !spyware !tracker !webtv !webradio !shopping !games all
    \}
[root@localhost ~]# tail -12 /etc/squid/squidGuard.conf 

  finance within nonworkhours {
       pass !spyware !tracker !webtv !webradio all
    } else {
       pass !spyware !tracker !webtv !webradio !shopping !games all
    }
    default {
        pass !in-addr  whitelist  !blacklist  all

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-squidguard-1.1.0-1.ns6.noarch.rpm

Also available in: Atom PDF