Webproxy Squid

1. Webproxy Squid

Rudrig Lima
rudrigolima

(usa Slackware)

Enviado em 03/06/2008 - 12:26h

Boa tarde amigo, estou tendo problema para funcionar o messenger live 8.1 no meu proxy que tem a configuração:

###############################
##### Porta, Nome e Cache #####
###############################

http_port 8080
visible_hostname linuxsystel

cache_mem 128 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
cache_effective_user squid
cache_effective_group squid

###############
##### Log #####
###############

cache_access_log /usr/local/squid/var/logs/access.log
cache_store_log /usr/local/squid/var/logs/store.log
cache_log /usr/local/squid/var/logs/cache.log
cache_dir ufs /home/proxy/cache 2000 16 256
pid_filename /usr/local/squid/var/logs/squid.pid

################
##### ACLs #####
################

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 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 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 901 # swat
acl Safe_ports port 1025-65535 # portas altas
acl purge method PURGE
acl CONNECT method CONNECT

###############################
##### Direitos de Acessos #####
###############################

http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access deny purge

######################
## USANDO NCSA_AUTH ##
######################

auth_param basic program /usr/local/squid/libexec/ncsa_auth /home/proxy/senhas_squid
auth_param basic realm Servidor Proxy de Internet. Entre com seu usuário e Senha.
auth_param basic credentialsttl 2 hours
auth_param basic children 5

##################
## AUTENTICAÇÃO ##
##################

acl autenticados proxy_auth REQUIRED

#######################
## BLOQUEAR PALAVRAS ##
#######################

acl acesso_full proxy_auth "/home/proxy/acetotal"
acl bloquear_palavras url_regex -i "/home/proxy/restritos"

##########################
## BLOQUEIA O MESSENGER ##
##########################

acl bloquear_msn dstdomain "/home/proxy/msn"
acl acesso_msn proxy_auth "/home/proxy/acemsn"
http_access allow acesso_msn bloquear_msn
http_access deny bloquear_msn

####################
## BLOQUEIA ORKUT ##
####################

#acl bloquear_orkut url_regex -i "/home/proxy/proibidos"
#acl acesso_orkut proxy_auth "/home/proxy/restritos"
#http_access allow acesso_orkut bloquear_orkut
#http_access deny bloquear_orkut


##########################
## BLOQUEIA GOOGLE TALK ##
##########################

#acl bloquear_googletalk url_regex -i "/etc/squid/bloqueios/bloquear_googletalk"
#acl acesso_googletalk proxy_auth "/etc/squid/acessos/acesso_googletalk"
#http_access allow acesso_googletalk bloquear_googletalk
#http_access deny bloquear_googletalk


#######################
## CONTROLE DE BANDA ##
#######################

#acl livre proxy_auth "/etc/squid/acessos/acesso_banda"
#acl block src 10.10.0.0/255.255.0.0
#delay_pools 2
# Classe 1 - Acesso a Internet a 512k
#delay_class 1 2
#delay_parameters 1 -1/-1 69000/69000
# Classe 2 - Acesso a Internet a 180k
#delay_class 2 2
#delay_parameters 2 -1/-1 22500/22500
#delay_access 1 allow livre
#delay_access 2 allow block

http_access allow autenticados acesso_full
http_access allow acesso_full bloquear_palavras
http_access deny bloquear_palavras

acl redelocal src 10.10.0.0/255.255.0.0
http_access allow localhost
http_access allow redelocal

http_access deny all

-----------------*----------------

oque pode está acontecendo?

obrigado e agradeço a atenção


  


2. Re: Webproxy Squid

Fabio Maran
maran

(usa Debian)

Enviado em 03/06/2008 - 14:52h

Não funciona o msn pq???????

oO

##########################
## BLOQUEIA O MESSENGER ##
##########################

acl bloquear_msn dstdomain "/home/proxy/msn"
acl acesso_msn proxy_auth "/home/proxy/acemsn"
http_access allow acesso_msn bloquear_msn
http_access deny bloquear_msn

oO


3. Re: Webproxy Squid

Rudrig Lima
rudrigolima

(usa Slackware)

Enviado em 03/06/2008 - 15:25h

perdão amigo isso já está bloqueado!







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts