Maxconn

From: Michał Kopijasz <mkm@dont-contact.us>
Date: Wed, 9 Feb 2000 15:33:00 +0100 (CET)

I have some problem with maxconn...

# acl aclname maxconn number
# # This will be matched when the client's IP address has
# # more than <number> HTTP connections established.

I must create restriction for my localnet. But I make some mistake, I dont
know how can I change it.
My squid.conf:

################# CUT HERE ####################

debug_options ALL,1

authenticate_program /dysk2/squid2.3/bin/ncsa_auth /dysk2/squid2.3/etc/passwd
acl uzytkownicy proxy_auth REQUIRED

acl polaczenia maxconn 2

acl all src 0.0.0.0/0.0.0.0
acl FTP proto FTP
always_direct allow FTP

acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
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

http_access deny !Safe_ports

http_access allow uzytkownicy
http_access allow polaczenia

icp_access allow all
log_icp_queries on

dns_testnames internic.net usc.edu cs.colorado.edu mit.edu yale.edu

cache_effective_user squid squid
cache_effective_user nobody nogroup
cache_dir ufs /dysk2/squid2.3/cache 500 1 1
cache_access_log /dysk2/squid2.3/logs/access.log
cache_log /dysk2/squid2.3/logs/cache.log
cache_store_log /dysk2/squid2.3/logs/store.log
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
cache_mem 32 MB

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
ftp_user anonymous

############################ CUT HERE #####################

However user in localnet can open more than 2 IE or Netscape Comm.

Why? Where is mistake?

Michal Kopijasz vel mkm adm dns server: zetokat.com.pl
                Unix System Administrator
Zakład Elektronicznych Technik Obliczeniowych Sp. z o.o. Katowice
Received on Wed Feb 09 2000 - 07:36:40 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:03 MST