From owner-FreeBSD-users-jp@jp.freebsd.org  Tue Feb 16 11:48:06 1999
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id LAA23942;
	Tue, 16 Feb 1999 11:48:06 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from ns2.ricoh-is.co.jp (ns2.ricoh-is.co.jp [202.235.104.3])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id LAA23927
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 16 Feb 1999 11:48:02 +0900 (JST)
	(envelope-from arata@ricoh-is.co.jp)
Received: from ns.ricoh-is.co.jp
	by ns2.ricoh-is.co.jp (8.8.8/3.6Wpre3:05/29/98) with ESMTP id MAA05517
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 16 Feb 1999 12:07:46 +0900 (JST)
Received: from u_yarata1
	by ns.ricoh-is.co.jp (8.8.8/3.6Wpre3:05/29/98) with SMTP id LAA09337
	for <FreeBSD-users-jp@jp.freebsd.org>; Tue, 16 Feb 1999 11:48:56 +0900 (JST)
Message-Id: <199902160248.LAA09337@ns.ricoh-is.co.jp>
X-Sender: arata@ricoh-is.co.jp
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5-J (32)
Date: Tue, 16 Feb 1999 11:47:52 +0900
To: FreeBSD-users-jp@jp.freebsd.org
From: Yuichi ARATA <arata@ricoh-is.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-2022-JP"
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+981115
X-Sequence: FreeBSD-users-jp 38776
Subject: [FreeBSD-users-jp 38776] Squid 2.* neighbor Configuration
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: arata@ricoh-is.co.jp


$B$"$i$?(B@RTS$B$G$9!#(B

#FreeBSD$B$=$N$b$N$NF0:n$H$O$A$g$C$HC&@~$7$^$9$,(B...
2.2.8R$B$G(BPackages$B$+$iF~$l$?(B Squid/2.0.PATCH2 $B$rAv$i$;$h$&$H$7$F$$$^$9!#(B


       parent1(192.168.0.1)
        $B("(B
    $B(!(!(*(!(((!(!(!(!(!(!(!(!(!(!(!(!(!(!(B
            $B("(B
            $B("(B
           router
            $B("(B
            $B("(B
          $B(!(*(!(((!(!(!(((!(!(!(((!(!(!(!(B
                $B("(B      $B("(B      $B("(B
              child1  child2  child3


$B$J46$8$N9=@.$G(B(child1,2,3$B$O<B:]$OJL%;%0%a%s%H$G$9$,!"@53N$J%M%C%H%o!<%/(B
$B9=@.$O$H$j$"$($:CV$$$F$*$-$^$7$F(B)parent$B@\B3$K$D$$$FG:$s$G$$$^$9!#(B

$B8=:_$N8=>]$O!"(Bchild1,2,3$B$,$=$l$>$l(Bparent1$B$K(Bparent$B@\B3$7$h$&$H$7$F$$$^$9(B
$B$,!"(BICP$BEj$2$F$+$i<+J,<+?H$G(BDIRECT$B$K%*%V%8%'%/%H$r=&$*$&$H$7$F(Brouter$B$G<W(B
$B$C$F$$$k0Y$K(BTIMEOUT$B$9$k>uBV$G$9!#%-%c%C%7%e%R%C%H$7$h$&$,$7$^$$$,?F$,Be(B
$BM}$G<h$C$F$-$F(Bchild$B$KLa$9$N$,@5$7$$F0:n$@$H;W$C$F$$$^$9$,!"4|BTDL$j$NF0(B
$B:n$r$7$^$;$s!#(B

$B@_Dj$O(B parent1$B$K$F(B
--->
http_port 8080
icp_port 3130
icp_query_timeout 2000
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem  32 MB
cache_swap_low  90
cache_swap_high 95
cache_mem_low  75
cache_mem_high 90
maximum_object_size 4096 KB
ipcache_size 1024
ipcache_low  90
ipcache_high 95
fqdncache_size 1024
cache_dir /var/proxy/cache 2500 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
mime_table /usr/local/etc/squid/mime.conf
pid_filename /var/run/squid.pid
client_netmask 255.255.255.255
ftp_user proxy@ricoh-is.co.jp
ftp_list_width 32
cache_dns_program /usr/local/libexec/dnsserver
dns_children 10
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl myexample dst_as 1241
acl SSL_ports port 443 563
acl Safe_ports port 80 21 70 1025-65535
acl CONNECT method CONNECT
acl password proxy_auth 300
acl child1 src 192.168.1.1/255.255.255.255
acl child2 src 192.168.2.1/255.255.255.255
acl child3 src 192.168.3.1/255.255.255.255
http_access deny manager !localhost
http_access deny CONNECT !SSL_ports
http_access deny !Safe_ports !SSL_ports
http_access allow proxyngo
http_access allow proxyosk
http_access allow proxyhir
http_access deny all
icp_access allow all
miss_access allow all
cache_mgr arata@ricoh-is.co.jp
cache_effective_user nobody
cache_effective_group nogroup
visible_hostname proxy.ricoh-is.co.jp
logfile_rotate 1
append_domain .ricoh-is.co.jp
forwarded_for off
icp_hit_stale off
cachemgr_passwd secret shutdown
<---

child1,2,3$B$O(B
--->
http_port 8080
icp_port 3130
cache_peer parent.ricoh-is.co.jp parent 8080 3130
icp_query_timeout 10000
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem  32 MB
cache_swap_low  90
cache_swap_high 95
cache_mem_low  75
cache_mem_high 90
maximum_object_size 4096 KB
ipcache_size 1024
ipcache_low  90
ipcache_high 95
fqdncache_size 1024
cache_dir /var/proxy/cache 2000 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
mime_table /usr/local/etc/squid/mime.conf
pid_filename /var/run/squid.pid
client_netmask 255.255.255.255
ftp_user proxy@ricoh-is.co.jp
ftp_list_width 32
cache_dns_program /usr/local/libexec/dnsserver
dns_children 10
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl managehost src 192.168.0.1/255.255.255.255
acl all src 0.0.0.0/0.0.0.0
acl myexample dst_as 1241
acl SSL_ports port 443 563
acl Safe_ports port 80 21 70 1025-65535
acl CONNECT method CONNECT
acl password proxy_auth 300
http_access deny manager !localhost !managehost
http_access deny CONNECT !SSL_ports
http_access deny !Safe_ports !SSL_ports
http_access allow  all
icp_access  allow  all
miss_access allow  all
cache_mgr arata@ricoh-is.co.jp
cache_effective_user nobody
cache_effective_group nogroup
visible_hostname child1.ricoh-is.co.jp
logfile_rotate 1
append_domain .ricoh-is.co.jp
forwarded_for off
log_icp_queries on
cachemgr_passwd sss shutdown
<---

$B$H$7$F$$$^$9!#(B
acl,http_access,icp_access,miss_access$B$r?'!9JQ99$7$F;n$7$F$^$9$,(B
$BL$$@$&$^$/F0:n$7$^$;$s!#(B

$B$3$N@_Dj$G(Bchild proxy$B$r;H$C$F(Brequest$B$r=P$7$?7k2L!"(Bparent1$B$N%m%0$K$O(B

919127538.564      0 192.168.0.2 UDP_MISS/000 47
 ICP_QUERY http://www.ricoh-is.co.jp/ - NONE/- -

$B$N$h$&$KEG$+$l!"$3$ND>8e(B child$B$O(BDIRECT$B$K<h$j$K$$$3$&$H$7$F$$$k$h$&$G(BWWW$B%V%i(B
$B%&%6(B
$B$K%(%i!<$,EG$+$l$F!"(B

919128007.117 119343 192.168.0.5 TCP_MISS/504 1053
 GET http://www.ricoh-is.co.jp/ - DIRECT/www.ricoh-is.co.jp -

$B$H$J$j$^$9!#(B

$B3F(Bchild proxy$B$,(B parent$B$KBeM}$G(Bget$B$7$F$b$i$&$K$O$I$N$h$&$K$9$Y$-$G$7$g$&$+!#(B
$BK\Mh$=$N$h$&$K?6$kIq$&$Y$-$J$i$P!"$I$N@_Dj$,43>D$7$F$$$k$N$+H=$j$^$;$s!#(B
$B:#$^$G$O(B squid 1.*$B$G$d$C$F$*$j!"(B2.*$B$N(Bsquid.conf$B$K$OB?>/$H$^$I$&9`L\$b$"$k(B
$B>uBV$G$9$,(B....(htcp_port$B$H$+LrL\$,$o$+$i$J$$(B)$B!#(B

$B;W$$Ev$?$k@_Dj$,$"$j$^$7$?$i$465<x$/$@$5$$!#(B

---
$B9SEDM:0l(B(ARATA,Yuichi) / $B%j%3!<%F%/%N%7%9%F%`%:(B($B3t(B)
arata@ricoh-is.co.jp
