[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

squid! argh!



gente, esse erro
ja fiz de tudo mas ainda nao consegui rodar meu squid
alguem pode me ajudar

root@discordia:~# /etc/init.d/squid start
Starting proxy server: Creating squid spool directory structure
2004/02/26 23:13:31| aclParseAclLine: IGNORING invalid ACL: acl PORNO
url_regex -i "/etc/squid/bloqueados"
2004/02/26 23:13:31| aclParseAclLine: IGNORING invalid ACL: acl
NAO_PORNO url_regex -i "/etc/squid/desbloqueados"
2004/02/26 23:13:31| squid.conf line 42: http_access allow USUARIOS
NAO_PORNO MINHA_REDE
2004/02/26 23:13:31| aclParseAccessLine: ACL name 'NAO_PORNO' not found.
2004/02/26 23:13:31| squid.conf line 43: http_access allow USUARIOS
!PORNO MINHA_REDE
2004/02/26 23:13:31| aclParseAccessLine: ACL name 'PORNO' not found.
2004/02/26 23:13:31| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/squid/00: (13)
Permission denied
Squid Cache (Version 2.5.STABLE4): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 7
2004/02/26 23:13:31| aclParseAclLine: IGNORING invalid ACL: acl PORNO
url_regex -i "/etc/squid/bloqueados"
2004/02/26 23:13:31| aclParseAclLine: IGNORING invalid ACL: acl
NAO_PORNO url_regex -i "/etc/squid/desbloqueados"
2004/02/26 23:13:31| squid.conf line 42: http_access allow USUARIOS
NAO_PORNO MINHA_REDE
2004/02/26 23:13:31| aclParseAccessLine: ACL name 'NAO_PORNO' not found.
2004/02/26 23:13:31| squid.conf line 43: http_access allow USUARIOS
!PORNO MINHA_REDE
2004/02/26 23:13:31| aclParseAccessLine: ACL name 'PORNO' not found.
squid.
root@discordia:~#

segue agora o meu arquivo squid.conf
root@discordia:~# cat /etc/squid.conf
#hierarchy_stoplist cgi-bin ?
#acl QUERY urlpath_regex cgi-bin ? no_cache deny QUERY
cache_mem 64 MB

cache_dir ufs /var/cache/squid 300 64 64

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Digite o Usuário
auth_param basic credentialsttl 2 hours

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

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 to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT
acl MINHA_REDE src 192.168.1.0/24
acl USUARIOS proxy_auth REQUIRED
acl PORNO url_regex -i "/etc/squid/bloqueados"
#acl PORNO1 url_regex -i "/etc/squid/porn1"
acl NAO_PORNO url_regex -i "/etc/squid/desbloqueados"

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow USUARIOS NAO_PORNO MINHA_REDE
http_access allow USUARIOS !PORNO MINHA_REDE
http_access deny all
http_reply_access allow all

icp_access allow all
#visible_hostname www.meu_seite.com.br
error_directory /usr/share/squid/errors/Portuguese
coredump_dir /var/cache/squid
root@discordia:~#



-- 

[]'s
=====================================================================

Guilherme de Freitas Figueiredo - [Gui]
ICQ - 48264565

gui@maniacs.com.br - gui@virtualife.com.br - gui@canalmuriae.com.br

=====================================================================

Attachment: signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem assinada digitalmente


Reply to: