Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/08/2005, 10:13
albertt_t
 
Fecha de Ingreso: noviembre-2004
Mensajes: 159
Antigüedad: 20 años, 1 mes
Puntos: 0
Proxy transparente y Pag. de Hotmail

Saludos Amigos tengo un problema

estoy trabajando bajo red hat 9.0 y uso el squid 2.5.10 STABLE y todo ok...
(se que red hat es prehistorico pero es el que encontre aqui..) el unico problema que tengo es con las paginas de hotmail... Entre normal pero se queda en blanco luego de que ingresas el user y pass...


https://hotmail.com/etc..........

He redirigido los pedidos de la tarjeta local eth1 (puerto 80) al 3128 del squid y empezo el problema...

con ayuda de iptables

iptables -t nat -A PREROUTING -i eth1 -s 192.168.0.0/24 -d ! 192.168.0.0/24 -p tcp --dport 80 -j REDIRECT --to-port 3128

aqui adjunto parte de mi squid.conf si es necesario otra parte la agregaré

a Alguien le paso algo similar ?

Gracias por su Ayuda

A. Acosta

Código HTML:
#Recommended minimum configuration:
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 internet src    "/usr/local/squid/ficheros/permitidos"
acl bloqueados src "/usr/local/squid/ficheros/nosalida"
#  TAG: http_access
#	Allowing or Denying access based on defined access lists
#
#	Access to the HTTP port:
#	http_access allow|deny [!]aclname ...
#
#	NOTE on default values:
#
#	If there are no "access" lines present, the default is to deny
#	the request.
#
#	If none of the "access" lines cause a match, the default is the
#	opposite of the last line in the list.  If the last line was
#	deny, the default is allow.  Conversely, if the last line
#	is allow, the default will be deny.  For these reasons, it is a
#	good idea to have an "deny all" or "allow all" entry at the end
#	of your access lists to avoid potential confusion.
#
#Default:
# http_access deny all
#
#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost

http_access allow manager localhost
http_access deny manager

# Deny requests to unknown ports

http_access deny !Safe_ports

# Deny CONNECT to other than SSL ports

http_access deny CONNECT !SSL_ports

#
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Example rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
#acl our_networks src 192.168.1.0/24 192.168.2.0/24
#http_access allow our_networks

http_access allow internet
http_access deny bloqueados


Última edición por albertt_t; 05/08/2005 a las 10:25 Razón: correccion