[squid-users] Problem with Squid 2.5

From: Mike Riella <mriella@dont-contact.us>
Date: Thu, 1 Apr 2004 10:28:27 -0800

I have been running Squid as my companies intranet/internet proxy. It
has done great. I use squidGuard for a redirector. Lately after
upgrading to squid 2.5.5 I keep getting an error in cache.org when
people try to connect to sites like webmail.aol.com, yahoo/hotmail/msn
webmails. Here is the error:

2004/04/01 10:11:26| urlParse: Illegal character in hostname '.j'
2004/04/01 10:15:47| urlParse: Illegal character in hostname '.j'
2004/04/01 10:15:47| urlParse: Illegal character in hostname '.j'

Weird huh? If I hit 'refresh' I can get passed this. Some of my users
can't go anywhere with aol webmail though. Any ideas? The screen comes
up with an 'Invalid URL'. I'm guessing that weird dotJ is the problem.
Dunno how to get around it though. Here is my squid.conf file:

shutdown_lifetime 5 seconds
icp_port 0

http_port 192.168.2.11:8080

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

cache_effective_user squid
cache_effective_group squid

pid_filename /var/run/squid.pid
log_mime_hdrs off

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
forwarded_for off

acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 192.168.2.0/24 192.168.1.0/24 192.20.20.0/24
172.16.22.0/24 172.16.23.0/24 172.16.24.0/24 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 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 8080 # Squids port (for
icons) acl CONNECT method CONNECT

http_access allow localhost
http_access allow localnet
http_access allow CONNECT localnet
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow localnet
http_access deny all

always_direct allow localnet
never_direct allow all

error_directory /usr/local/etc/squid/errors

#maximum_object_size 4096 KB
#minimum_object_size 0 KB

cache_mem 25 MB
cache_dir null /null
#cache_dir ufs /usr/local/squid/cache 100 16 256

request_body_max_size 0 KB

httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

redirect_program /usr/local/bin/squidGuard

Thanks.

Mike Riella ( mriella@pgi-pitco.com )
Pacific Groservices Inc
Network Administrator
Received on Thu Apr 01 2004 - 11:28:15 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 30 2004 - 12:00:01 MDT