Ainda não consegui mas estou correndo atraz. Assim que tiver uma solução te aviso.
 
Ricardo

Anderson Marcelo <[EMAIL PROTECTED]> escreveu:
Olá Pedro tudo bem...
Estou com o mesmo dilema cara.
Espero que tenha conseguido.
Caso eu venha descobrir eu envio pra vc.
Ate mais
Anderson

 
2006/3/10, Pedro Ricardo Oliveira <[EMAIL PROTECTED]>:
Olá Grupo,

Meu SquidGuard não filtra a blacklist. Garrega
normalmente mas não filtra nada.

Alguém pode me da uma luz ?

Agradeço
Ricardo


--------- Meu squidGuard.conf ----------------------
#
# SAMPLE CONFIG FILE FOR SQUIDGUARD
# (for further configuration options see the
# documentation and http://www.squidguard.org/)
#
dbhome /var/db/squidGuard
logdir /var/log

#
# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri,
a = sat
time horario_livre {
     weekly * weekly * 00:00-08:00 18:00-24:00
}

#
# SOURCE ADDRESSES
#
source rede_hotel {
     ip 10.10.10.0/24
}
source rede_cyber {
     ip 192.168.100.0/24
}

#
# DESTINATION CLASSES
#
dest ads {
        domainlist blacklists/ads/domains
        urllist blacklists/ads/urls
        expressionlist blacklists/ads/expressions
}
dest adult {
        domainlist blacklists/adult/domains
        urllist blacklists/adult/urls
}
dest aggressive {
        domainlist blacklists/aggressive/domains
        urllist blacklists/aggressive/urls
}
dest antispyware {
        domainlist blacklists/antispyware/domains
        urllist blacklists/antispyware/urls
}
dest hacking {
        domainlist blacklists/hacking/domains
        urllist blacklists/hacking/urls
}
dest naturism {
        domainlist blacklists/naturism/domains
        urllist blacklists/naturism/urls
}
porn {
        domainlist blacklists/porn/domains
        urllist blacklists/porn/urls
        expressionlist blacklists/porn/expressions
}
sexuality {
        domainlist blacklists/sexuality/domains
        urllist blacklists/sexuality/urls
}
spyware {
        domainlist blacklists/spyware/domains
}
virusinfected {
        domainlist blacklists/virusinfected/domains
        urllist blacklists/virusinfected/urls
}

acl {
     rede_hotel within horario_livre {
         pass all
     else
         pass !adult !aggressive !antispyware !hacking
!naturism !porn !sexuality !spyware !virusinfected all
     }

     rede_cyber {
         pass all
     }

     default {
         pass none
         redirect
http://admin.foo.bar.no/cgi/blocked?clientaddr=%a+clientname=%n+clientident=%i+srcclass=%s+targetclass=%t+ur
l=%u
     }
}


--------- Meu squidconf ----------------------
http_port 8080
hierarchy_stoplist cgi-bin \?
acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY
cache_mem 64 MB

cache_dir diskd /cache 5000 16 256 Q1=64 Q2=72
cache_mem 128 MB

cache_effective_user nobody
cache_effective_group nogroup

cache_access_log /dev/null
cache_log /dev/null
cache_store_log /dev/null

cache_access_log /cache/access.log
cache_log /cache/cache.log
cache_store_log /cache/store.log

redirect_program /usr/local/bin/squidGuard -c
/usr/local/squid/etc/squidGuard.conf

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

visible_hostname localhost

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 500
1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl Safe_ports port 901
acl CONNECT method CONNECT


http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl rede_hotel src 10.10.10.0/24
acl rede_hospede src 192.168.100.0/24
#acl sites_bloqueados url_regex -i
"/usr/local/squid/etc/sites_bloqueados.txt"
#acl malware_block_list url_regex -i
"/usr/local/squid/etc/malware_block_list.txt"
#acl malware_agressive_list url_regex -i
"/usr/local/squid/etc/malware_agressive_list.txt"

#http_access deny malware_black_list
#http_access deny malware_agressive_list
#http_access deny sites_bloqueados
#deny_info
http://malware.hiperlinks.com.br/denied.shtml
malware_black_list
#deny_info
http://malware.hiperlinks.com.br/denied.shtml
malware_agressive_list

http_access allow rede_hotel
http_access allow rede_hospede
http_access deny all

icp_access allow all
cache_mgr [EMAIL PROTECTED]
visible_hostname localhost
coredump_dir /var/log/

httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

Pedro Ricardo de Oliveira
  MSN: [EMAIL PROTECTED]
  Skype: prrecife



           
_______________________________________________________
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
http://br.acesso.yahoo.com


Enviar mensagem: [email protected]
Assinar:  [EMAIL PROTECTED]
Cancelar assinatura:  [EMAIL PROTECTED]
Proprietário da lista:  [EMAIL PROTECTED]

http://www.penguintech.com.br Penguin Tech - Solucoes LINUX.




Yahoo! Grupos, um serviço oferecido por:
PUBLICIDADE


Links do Yahoo! Grupos




Pedro Ricardo de Oliveira
MSN: [EMAIL PROTECTED]
Skype: prrecife


Yahoo! Messenger com voz - Instale agora e faça ligações de graça.

Enviar mensagem: [email protected]
Assinar:  [EMAIL PROTECTED]
Cancelar assinatura:  [EMAIL PROTECTED]
Proprietário da lista:  [EMAIL PROTECTED]

http://www.penguintech.com.br Penguin Tech - Solucoes LINUX.




Yahoo! Grupos, um serviço oferecido por:
PUBLICIDADE


Links do Yahoo! Grupos

Responder a