[squid-users] Two connections, two protocols, 1 problem.

From: war <[email protected]>
Date: Thu, 27 Dec 2001 10:38:01 -0500

This is a really weird problem.

Connection 1] DSL
Connection 2] Satellite

I am running: Squid Cache: Version 2.4.STABLE2

Problem: When I get anything over FTP it goes over SAT [correct].
             When I get anything over HTTP it goes over DSL [incorrect].

By the way, all worked fine when I only had Satellite on the machine.
How do I make it so both FTP and HTTP go over SAT?

My network topology is as follows:

SATELLITE -> WIN2K+NAT [192.168.0.254] -> LINUX [192.168.0.1]
DSL -> LINUX [DSL.IP]

My configuration file is attached.
Can anyone help?
This is a very odd problem.

# Squid 2.0 config.

#
# Set squid ports.
#http_port 192.168.168.253:3128
#icp_port 192.168.168.253:3130
http_port 3128
icp_port 3130

# Set outgoing addresses.
#tcp_outgoing_address 192.168.0.1
#udp_outgoing_address 192.168.0.1
#snmp_outgoing_address 192.168.0.1
#wccp_outgoing_address 192.168.0.1
#cache_peer 192.168.0.1 parent 3128 3130 default

#
# Set squid timeouts.
icp_query_timeout 2000
dead_peer_timeout 10 seconds

#
# Handle hierarchy stoplists.
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

#
# Set the cache size.
cache_mem 100 MB
cache_swap_low 90
cache_swap_high 95

#
# Set object sizes.
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 8 KB

#
# Set ipcache.
ipcache_size 1024
ipcache_low 90
ipcache_high 95

#
# Set number of FQDN cache entries.
fqdncache_size 1024

#
# Set default ftp user.
ftp_user Squid@

#
# Set ftp passive mode on.
ftp_passive on

#
# Optimize the cache.
wais_relay_port 0
request_header_max_size 10 KB
request_body_max_size 1 MB
reply_body_max_size 0
quick_abort_min 16 KB
quick_abort_max 16 KB
quick_abort_pct 95
negative_ttl 5 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 5 minutes
range_offset_limit 0 KB

#
# Set the timeouts.
connect_timeout 2 minutes
peer_connect_timeout 60 seconds
siteselect_timeout 4 seconds
read_timeout 15 minutes
request_timeout 30 seconds
client_lifetime 1 day
half_closed_clients on
pconn_timeout 120 seconds

#
# Hosts and ports to allow.
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 # 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
http_access allow all

#
# Set the user and group to run squid.
cache_effective_user squid
cache_effective_group wheel

#
# Log options
logfile_rotate 10

# Memory options.
memory_pools on
memory_pools_limit 50 MB

# Hide forwarded from.
forwarded_for off

#
# Additional timeout settings.
minimum_retry_timeout 5 seconds
maximum_single_addr_tries 3

#
# Do not log anything.
cache_access_log /dev/null
cache_log /dev/null
cache_store_log /dev/null

#
# Enable this for IE.
# ie_refresh off
Received on Thu Dec 27 2001 - 08:38:04 MST

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