Re: [squid-users] Site access problem

From: Mauricio Portilho Cavalcanti <mauricio@dont-contact.us>
Date: Wed, 17 Sep 2003 16:05:16 -0300

Sorry my late response:

cache_dir ufs /home/squid 200 16 256
reply_body_max_size 3 MB
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 SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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 allowed_hosts src "/etc/squid/hosts-allowed"
acl avi urlpath_regex -i \.avi$
acl mpeg urlpath_regex -i \.m1v$ \.mpeg$ \.mpg$
acl mpeg2 urlpath_regex -i \.m2v$ \.vob$
acl mpeg_audio urlpath_regex -i \.mpa$ \.mp2$ \.mp3$ \.aac$
acl dat urlpath_regex -i \.dat$ \.bin$
acl asf urlpath_regex -i \.asf$ \.wma$ \.asx$ \.wmv$
acl real urlpath_regex -i \.ram$ \.ra$ \.rm$ \.rnx$
acl vivo urlpath_regex -i \.viv$ \.vivo$
acl porn url_regex "/etc/squid/porn"
acl noporn url_regex "/etc/squid/noporn"
no_cache deny avi
no_cache deny mpeg
no_cache deny mpeg2
no_cache deny mpeg_audio
no_cache deny dat
no_cache deny asf
no_cache deny real
no_cache deny vivo
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl local_network dst 192.168.1.0/24
http_access deny avi local_network
http_access deny mpeg local_network
http_access deny mpeg2 local_network
http_access deny mpeg_audio local_network
http_access deny dat local_network
http_access deny asf local_network
http_access deny real local_network
http_access deny vivo local_network
http_access allow noporn all
http_access deny porn all
http_access deny manager all
http_access allow allowed_hosts
http_access deny all
icp_access allow allowed_hosts
icp_access deny all
miss_access allow all
cache_mgr suporte@dominio.com.br
visible_hostname proxy.dominio.com.br
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
store_avg_object_size 13 KB
snmp_port -1

Thanks any help,
Mauricio.

----- Original Message -----
From: "Adam Aube" <aaube@firstindependent.net>
To: <squid-users@squid-cache.org>
Sent: Saturday, September 13, 2003 10:43 AM
Subject: Re: [squid-users] Site access problem

> > i'm trying to connect to site www.lightrio.com.br, and there they put a
> > flash to link:
> > https://200.170.45.6:7773/pls/sau/sau_pc_segda_via_cta.sau_pr_lst_cta
> >
> > and when a try to connect using transparent proxy, and error is shown in
> > access.log:
> >
> > TCP_DENIED/403 1044 CONNECT 200.170.45.6:7773 - NONE/- -
>
> Post your squid.conf (without blank lines or comments).
>
> Adam
>
Received on Wed Sep 17 2003 - 13:05:32 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:55 MST