I think I sent the first email to the wrong adress, so I am sending again.

I have created a whitelist system for some retail point of sales computers that must be locked down tight.

In "/usr/share/squidGuard/whitelist/domains" I put a few test domain names and ran "squidGuard -C all", which created the associated .db file in the same directory. squidGuard.conf looks like this:

logdir /var/log
dbhome /usr/share/squidGuard

src retail {
 ip 192.168.1.111  # ip address of test computer
}

dest allowedstuff stuff {
 domainlist whitelist/domains
}

acl {
 retail {
   pass allowedstuff none
   redirect http://192.168.1.106/baddog.html
 }
 default {
   pass all
   redirect http://192.168.1.106/baddog.html
 }
}

When I restart squid, I get this in the log:

2004-04-28 15:01:31 [4084] init domainlist /usr/share/squidGuard/whitelist/domains
2004-04-28 15:01:31 [4084] loading dbfile /usr/share/squidGuard/whitelist/domains.db
2004-04-28 15:01:31 [4084] domainlist empty, removed from memory
2004-04-28 15:01:31 [4084] squidGuard 1.2.0 started (1083189691.932)
2004-04-28 15:01:31 [4084] squidGuard ready for requests (1083189691.934)


FYI, I ran "strings" on the .db file and it dumped the two test domains I had entered.

--
Rossz



Reply via email to