F
F
foxyovovich2012-06-07 17:22:56
Squid
foxyovovich, 2012-06-07 17:22:56

squid guard. How to exclude a site for one IP from the iplist?

Good day

There is squid 2.7, there is squidguard. There is a list of users 192.168.1.10-192.168.1.200.

A fragment of the description of the lists of sites: And so for each category. I set the list in squidguard as follows: I try this configuration - it doesn't work, acl example_ip is not applied. Is it possible to exclude a site from this list for one ip? So that, for example, two rules are applied for the desired ip, where the desired site is excluded in the second. The option using the domains.diff file and urls.diff is not suitable - it is applied to all groups.
dest chat {
domainlist bl/chat/domains
urllist bl/chat/urls
log chat.log
}
...
dest downloads {
domainlist bl/downloads/domains
urllist bl/downloads/urls
log downloads.log
}


src users {
iplist users/users.txt
}
src example_ip{
ip 192.168.1.10/32
}

acl {
users {
pass awhitelist !ablacklist !adv !aggressive !alcohol !automobile.bikes !automobile.boats !automobile.cars !automobile.planes !chat ... all
redirect localhost/alert/?url=%u&ip=%a&group=%t&source=%s
}
example_ip{
pass list
}
}


Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
smartlight, 2012-06-07
@smartlight

try example_ip statement above acl users

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question