On 6/15/2004 2:26 PM, Allen Umlas wrote:



Hi, im newly back on track using linux server, i have a proxy server running squidGuard for ACL definition but i have error on configuring my squid, heres my sample config, il start on scrach b4 enhancement :)

#----------------------------------------------------------------
#   SquidGuard CONFIGURATION FILE
#----------------------------------------------------------------

# CONFIGURATION DIRECTORIES
#dbhome /usr/local/squid/blacklists/
dbhome /usr/share/squidGuard/db
logdir /var/log/squidGuard

# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat

time workhours {
       weekly s 09:30-12:00 13:00-19:00
       weekly m 09:00-12:00 13:00-19:00
       weekly t 09:00-11:00 12:00-19:00
       weekly w 09:00-12:00 12:00-18:00
       weekly h 09:00-13:00 13:00-18:00
       weekly f 09:00-12:00 13:30-18:00
       weekly a 08:20-13:00 13:30-19:00
}

# DESTINATION CLASSES:
dest porn {
       domainlist              porn/domains
       urllist                 porn/urls
       redirect http://127.0.0.1/cgi-bin/nulbanner.png
       log     /var/log/squidGuard/porn.log


}

# ACLs
acl {
       porn {
               pass !porn all
               redirect http://google.com
       }


but i always have an error on logs
2004-06-15 14:36:31 [12654] (squidGuard): ACL source porn is not defined in configfile /etc/squid/squidGuard.conf
2004-06-15 14:36:31 [12654] going into emergency mode
2004-06-15 14:36:31 [12656] (squidGuard): ACL source porn is not defined in configfile /etc/squid/squidGuard.conf
2004-06-15 14:36:31 [12656] going into emergency mode
2004-06-15 14:36:31 [12653] (squidGuard): ACL source porn is not defined in configfile /etc/squid/squidGuard.conf
2004-06-15 14:36:31 [12653] going into emergency mode
2004-06-15 14:36:32 [12655] (squidGuard): ACL source porn is not defined in configfile /etc/squid/squidGuard.conf
2004-06-15 14:36:32 [12655] going into emergency mode
2004-06-15 14:36:32 [12652] (squidGuard): ACL source porn is not defined in configfile /etc/squid/squidGuard.conf
2004-06-15 14:36:32 [12652] going into emergency mode


every time i put a source i got another error? what type of source do i have to configure at squidGuard.conf?

thanks in advance


oninz

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

i think you still need to include

src porn {
        ip ipaddress_or_something
}

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to