Ta ai a configuração do meu squid

#       WELCOME TO SQUID 2.6.STABLE5
#       ----------------------------

# NETWORK OPTIONS

# Proxy Transparente
http_port 3128 transparent


hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

acl apache rep_header Server ^Apache
broken_vary_encoding allow apache


# OPTIONS WHICH AFFECT THE CACHE SIZE
cache_mem 300 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 16384 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 64 KB
cache_dir ufs /var/spool/squid 1000 16 256
access_log /var/log/squid/access.log squid

emulate_httpd_log off
client_netmask 255.255.255.255


ftp_user anonymous@
hosts_file /etc/hosts

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

# ACCESS CONTROLS
acl all src 0.0.0.0/0.0.0.0
acl acesso_total src "/etc/squid/acesso_total.txt"
acl acesso_restrito src "/etc/squid/acesso_restrito.txt"
acl liberado url_regex -i "/etc/squid/liberado.txt"
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl rede_stoamaro src 172.16.1.0/255.255.255.0
acl sistemaai dst 200.241.59.9
acl windows dstdomain microsoft.com
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443          # https
acl SSL_ports port 563          # snews
acl SSL_ports port 873          # rsync
acl Safe_ports port 80          # http
acl Safe_ports port 81          # emule
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
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 Safe_ports port 631         # cups
acl Safe_ports port 873         # rsync
acl Safe_ports port 901         # SWAT
acl purge method PURGE
acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow sistemaai
http_access deny !liberado acesso_restrito
http_access allow acesso_total
http_access allow rede_stoamaro
http_access allow localhost
http_access deny all

cache_effective_group proxy
visible_hostname master-desktop





--- Em squid-br@yahoogrupos.com.br, dropsdef <[EMAIL PROTECTED]> escreveu
>
> Posta a configuração do seu squid.
> 
> Em 06/11/07, joseslei<[EMAIL PROTECTED]> escreveu:
> > Ola Pessoal,
> >
> > Estou usando o sarg 2.2 e configurei, mas o problemas é que ele
> > registra um unico usuario (172.16.1.0) ele estar registrando a minha
> > rede e não os usuarios dela.
> >
> > Dados do servidor
> > O servidor squid 2.6 STABLE5
> > IP Fixo.
> > Sarg.
> > Webalizer.
> > Firewall: IPTABLES.
> >
> > Alguem sabe o porque disso?? Sera que é o firewall? Peço ajuda a
todos.
> >
> >
> >
> > Enviar mensagem: squid-br@yahoogrupos.com.br
> > Assinar:  [EMAIL PROTECTED]
> > Cancelar assinatura:  [EMAIL PROTECTED]
> > Proprietário da lista:  [EMAIL PROTECTED]
> >
> >
> >
> > Links do Yahoo! Grupos
> >
> >
> >
> 
> 
> -- 
> Armando Roque
> http://www.linkedin.com/in/armandoroque
> http://dropsdef.blogspot.com
> http://del.icio.us/dropsdef
>


Responder a