From owner-FreeBSD-net-jp@jp.freebsd.org  Sat Dec  2 08:24:31 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id IAA22072;
	Sat, 2 Dec 2000 08:24:31 +0900 (JST)
	(envelope-from owner-FreeBSD-net-jp@jp.FreeBSD.org)
Received: from mado.kikakuya.ne.jp (mado.kikakuya.ne.jp [210.224.199.8])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id IAA22067
	for <FreeBSD-net-jp@jp.freebsd.org>; Sat, 2 Dec 2000 08:24:30 +0900 (JST)
	(envelope-from hiroyasu@vampire.design.co.jp)
From: hiroyasu@vampire.design.co.jp
Received: from mail pickup service by mado.kikakuya.ne.jp with Microsoft SMTPSVC;
	 Sat, 2 Dec 2000 08:20:44 +0900
To: <FreeBSD-net-jp@jp.freebsd.org>
Date: Sat, 2 Dec 2000 08:20:44 +0900
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
Message-ID: <009c244202301c0MADO@mado.kikakuya.ne.jp>
Reply-To: FreeBSD-net-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+000315
X-Sequence: FreeBSD-net-jp 2866
Subject: [FreeBSD-net-jp 2866] delegate =?ISO-2022-JP?B?GyRCJEsbKEI=?=
 =?ISO-2022-JP?B?GyRCJEQkJCRGISEhSkQ5JDkkLiEpIUsbKEI=?= 
Errors-To: owner-FreeBSD-net-jp@jp.freebsd.org
Sender: owner-FreeBSD-net-jp@jp.freebsd.org
X-Originator: hiroyasu@vampire.design.co.jp

$B$3$s$K$A$O@6?e$H?=$7$^$9(B

$B!!8=:_(B PPPOE $B$G%W%m%P%$%@!<$K@\B3$7!"(Bdelegate $B$K$F%W%m%-%7%5!<%P!<$rN)$F(B
$B$h$&$H$7$F$$$k$N$G$9$,!"%W%m%-%7%5!<%P!<$K@\B3$G$-$:$K:$$C$F$$$k$N$G$9$,!"(B
$B$I$J$?$+=u$1$F$/$@$5$$(B


Delegate $B$N%5%$%H$h$j(B
-rw-r--r--   1 root  wheel  936120 Nov 28 15:05 delegate6.1.20.tar.gz
$B$r%$%s%9%H!<%k$7$F!"(B

/usr/local/sbin/delegated -P 8080 OWNER 'delegate/delegate'\
	PERMIT= "http:ftp:https:gopher:wais" \
	MANEGER= "simizu@bridgeport.edu" \
	LOGDIR=/var/log/delegate \
	CACHEDIR = /var/spool/delegate/cache \
	EXPIRE=7d

$B$3$&5/F0$7$?$N$G$9$,!"%W%m%-%77PM3$G%M%C%H$K$D$J$2$^$;$s(B

$B2x$7$$$H;W$$!!(Blocal host $B$KBP$7$F(B telnet $B$r9T$C$?$H$3$m(B

gate1# telnet localhost 8080
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

$B$3$N$h$&$KE\$i$l$F$7$^$$$^$7$?(B


$B$J$*!!(Bnat $B$D$-$G(B ppp $B$r5/F0$7$F$$$k$N$G!!%W%m%-%7$r7PM3$7$J$1$l$P%$%s%?!<(B
$B%M%C%H$K$D$J$,$j$^$9!#(B
	ppp -dedicated $B$G$-$I$&$7$F$$$^$9(B


$B$3$N$h$&$J>l9g!"$I$3$rD4$Y$l$P$$$$$G$7$g$&$+!)(B


$BG0$N$?$a2x$7$$$H;W$o$l$k@_Dj%U%!%$%k$H%m%0$rE:IU$7$^$9(B
$B$h$m$7$/$*4j$$$7$^$9(B


/------------------- netstat  ---------------------------------------
netstat
Active Internet connections
Proto Recv-Q Send-Q Local Address         Foreign Address       (state)
tcp        0      0 gate1.telnet          shimizu.shimizu-.1031
ESTABLISHED
tcp        0      0 gate1.telnet          shimizu.shimizu-.1030
ESTABLISHED
tcp        0     11 gate1.telnet          shimizu.shimizu-.1029
ESTABLISHED
tcp        0      0 gate1.telnet          shimizu.shimizu-.1028
ESTABLISHED
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c31b3e00 stream      0      0        0 c31b3d40        0        0
c31b3d40 stream      0      0        0 c31b3e00        0        0
c31b3cc0 stream      0      0        0 c31b3f00        0        0
c31b3f00 stream      0      0        0 c31b3cc0        0        0
c31b3d00 stream      0      0        0 c31b3d80        0        0
c31b3d80 stream      0      0        0 c31b3d00        0        0
c31b3e80 stream      0      0        0 c31b3dc0        0        0
c31b3dc0 stream   2224      0        0 c31b3e80        0        0
c31b3e40 dgram       0      0        0 c31b2fc0        0 c31b3f40
c31b3ec0 dgram       0      0 c31dfd40        0        0        0
/var/tmp/.pcca
rdd
c31b3f40 dgram       0      0        0 c31b2fc0        0 c31b3f80
c31b3f80 dgram       0      0        0 c31b2fc0        0 c31b3fc0
c31b3fc0 dgram       0      0        0 c31b2fc0        0        0
c31b2fc0 dgram       0      0 c31ae140        0 c31b3e40        0
/var/run/log
/------------------- netstat  ---------------------------------------



/------------------- ppp.conf  ---------------------------------------

gate1# cat ppp.conf
default:
        allow user ppp
        set server +3000 ******
        set device PPPoE:ep0
        set MRU 1490
        set MTU 1490
        set authname xxxxxxxx
        set authkey xxxxxxxx
        set log Phase tun command
        set dial
        set ifaddr 10.0.0.1/0 10.0.0.2/0
        change default HISADDR
        nat enable yes
        set cd off
        set crtscts off
        dns enable yes
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #
papchap:
        set authname xxxxxxxx
        set authkey xxxxxxxx
/------------------- ppp.conf  ---------------------------------------


/------------------- netstat -rn  ---------------------------------------
gate1# netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            64.252.64.1        UGSc        1      238     tun0
10                 link#5             UC          0        0      ep0
64.252.64.1        64.252.66.139      UH          1        0     tun0
127.0.0.1          127.0.0.1          UH          0       12      lo0
192.168            link#6             UC          0        0      ed0
192.168.0.5        0:50:ba:76:8b:20   UHLW        4     6869      ed0
777
/------------------- netstat -rn  ---------------------------------------


/---------------- ifconfig -a ---------------------------------------

gate1# ifconfig -a
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1490
        inet 64.252.66.139 --> 64.252.64.1 netmask 0xff000000
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.0.0.1 netmask 0xff000000 broadcast 10.255.255.255
        ether 00:60:97:4a:a1:ba
ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.6 netmask 0xffffff00 broadcast 192.168.0.255
        ether 00:e0:98:75:ee:e0
/------------------- ifconfig -a  ---------------------------------------


/-------------------hosts.allow-------------------------------
ALL : ALL : allow

/-------------------hosts.allow-------------------------------


/------------------inetd.conf--------------------------------

gate1# cat inetd.conf
# $FreeBSD: src/etc/inetd.conf,v 1.33.2.4 1999/11/18 09:45:15 des Exp $
#
# Internet server configuration database
#
#       @(#)inetd.conf  5.4 (Berkeley) 6/30/90
#
ftp     stream  tcp     nowait  root    /usr/libexec/ftpd       ftpd -l
telnet  stream  tcp     nowait  root    /usr/libexec/telnetd    telnetd
shell   stream  tcp     nowait  root    /usr/libexec/rshd       rshd
login   stream  tcp     nowait  root    /usr/libexec/rlogind    rlogind
finger  stream  tcp     nowait/3/10 nobody /usr/libexec/fingerd fingerd -s
#exec   stream  tcp     nowait  root    /usr/libexec/rexecd     rexecd
#uucpd  stream  tcp     nowait  root    /usr/libexec/uucpd      uucpd
#nntp   stream  tcp     nowait  usenet  /usr/libexec/nntpd      nntpd
# run comsat as root to be able to print partial mailbox contents w/ biff,
# or use the safer tty:tty to just print that new mail has been received.
comsat  dgram   udp     wait    tty:tty /usr/libexec/comsat     comsat
ntalk   dgram   udp     wait    tty:tty /usr/libexec/ntalkd     ntalkd
#tftp   dgram   udp     wait    nobody  /usr/libexec/tftpd      tftpd
/tftpboot
#bootps dgram   udp     wait    root    /usr/libexec/bootpd     bootpd
#
# "Small servers" -- used to be standard on, but we're more conservative
# about things due to Internet security concerns.  Only turn on what you
# need.
#
#daytime stream tcp     nowait  root    internal
#daytime dgram  udp     wait    root    internal
#time   stream  tcp     nowait  root    internal
#time    dgram  udp     wait    root    internal
#echo   stream  tcp     nowait  root    internal
#echo   dgram   udp     wait    root    internal
#discard stream tcp     nowait  root    internal
#discard dgram  udp     wait    root    internal
#chargen stream tcp     nowait  root    internal
#chargen dgram  udp     wait    root    internal
#
# Kerberos authenticated services
#
#klogin stream  tcp     nowait  root    /usr/libexec/rlogind    rlogind -k
#eklogin stream tcp     nowait  root    /usr/libexec/rlogind
   rlogind -k -x
#kshell stream  tcp     nowait  root    /usr/libexec/rshd       rshd -k
#kip    stream  tcp     nowait  root    /usr/libexec/kipd       kipd
#
# CVS servers - for master CVS repositories only!
#
#cvspserver     stream  tcp     nowait  root    /usr/bin/cvs    cvs
pserver
#cvs            stream  tcp     nowait  root    /usr/bin/cvs    cvs
kserver
#
# RPC based services (you MUST have portmapper running to use these)
#
#rstatd/1-3     dgram rpc/udp wait root /usr/libexec/rpc.rstatd
rpc.rstatd
#rusersd/1-2    dgram rpc/udp wait root /usr/libexec/rpc.rusersd
rpc.rusersd
#walld/1        dgram rpc/udp wait root /usr/libexec/rpc.rwalld
rpc.rwalld
#pcnfsd/1-2     dgram rpc/udp wait root /usr/libexec/rpc.pcnfsd
rpc.pcnfsd

#rquotad/1      dgram rpc/udp wait root /usr/libexec/rpc.rquotad
rpc.rquotad
#sprayd/1       dgram rpc/udp wait root /usr/libexec/rpc.sprayd
rpc.sprayd
#
# example entry for the optional pop3 server
#
#pop3   stream  tcp     nowait  root    /usr/local/libexec/popper
popper
#
# example entry for the optional imap4 server
#
#imap4  stream  tcp     nowait  root    /usr/local/libexec/imapd
imapd
#
# Return error for all "ident" requests
#
#auth   stream  tcp     nowait  root    internal
#
# Provide internally a real "ident" service which provides ~/.fakeid
support,
# provides ~/.noident support, reports UNKNOWN as the operating system
type
# and times out after 30 seconds.
#
#auth   stream  tcp     nowait  root    internal        auth -r -f -n -o
UNKNOWN
 -t 30
#
# Example entry for an external ident server
#
#auth   stream  tcp     wait    root    /usr/local/sbin/identd
 identd -w -t120
#
# example entry for the optional qmail MTA
#
#smtp   stream  tcp     nowait  qmaild  /var/qmail/bin/tcp-env  tcp-env
/var/qma
il/bin/qmail-smtpd
#
# Enable the following two entries to enable samba startup from inetd
# (from the Samba documentation).
#
#netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd
#netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd
/-------------------------inetd.conf--------------------------------------
------


/--------------------------delegated--------------------------------------
-
gate1# /usr/local/sbin/delegated -v -P 8080 OWNER 'delegate/delegate'\
        PERMIT= "http:ftp:https:gopher:wais" \
        MANEGER= "simizu@bridgeport.edu" \
        LOGDIR=/var/log/delegate \
        CACHEDIR = /var/spool/delegate/cache \
        EXPIRE=7d
12/02 08:07:58.89 [499] 0+0: PORT> -P
Warning: unknown parameter: MANEGER
Warning: unknown parameter:
12/02 08:07:58.94 [499] 0+0: --INITIALIZATION START: 6.1.20 on
FreeBSD/3.4-RELEA
SE--
12/02 08:07:58.94 [499] 0+0: TeleportTunnel[6]
12/02 08:07:58.94 [499] 0+0: ##DeleGate/6.X:
DGROOT=/var/spool/delegate-nobody i
s set automatically. DGROOT="" will make it compatible with former
versions.
12/02 08:07:58.94 [499] 0+0: DGROOT=/var/spool/delegate-nobody^M
12/02 08:07:58.94 [499] 0+0: <DeleGate/6.1.20 by ysato@delegate.org>
[499] -P0 R
EADY^M
<DeleGate/6.1.20 by ysato@delegate.org> [499] -P0 READY
DGROOT=/var/spool/delegate-nobody
AIST Research Product No. 1994-ETL-8715-1
Copyright (c) 1994-2000 Yutaka Sato
Copyright (c) 1994-2000 Electrotechnical Laboratory (ETL), AIST, MITI
12/02 08:07:58.94 [499] 0+0: PORT= 0/6 (0,0)
12/02 08:07:58.95 [499] 0+0: OWNER=nobody =>
OWNER=nobody/nobody(nobody/nobody)
12/02 08:07:58.95 [499] 0+0: ##DeleGate/6.X: MIMECONV=thru is set by
default. MI
MECONV="" will make it compatible with former versions.
12/02 08:07:59.00 [499] 0+0: REMITTABLE =
ftp-data,ftp,ftps,telnet,telnets,smtp,
whois,domain,dns,gopher,finger,http,https,pop,pop3s,imap,ident,nntp,nntps,
news,n
bt,prospero,archie,wais,ldap,ldaps,lpr,X,syslog,ftpget,talk,socks,cuseeme,
icp,de
legate,tcprelay,udprelay,udprelay1,teleport,coupler,vsap,thruway
12/02 08:07:59.01 [499] 0+0: REMITTABLE =
ftp-data,ftp,ftps,telnet,telnets,smtp,
whois,domain,dns,gopher,finger,http,https,pop,pop3s,imap,ident,nntp,nntps,
news,n
bt,prospero,archie,wais,ldap,ldaps,lpr,X,syslog,ftpget,talk,socks,cuseeme,
icp,de
legate,tcprelay,udprelay,udprelay1,teleport,coupler,vsap,thruway
12/02 08:07:59.02 [499] 0+0: ADMIN=shimizu@bridgeport.edu
protocol=delegate
-delegated[499]- WARNING! ADMIN="your_mail_address" should be specified.
-delegated[499]- INFO: using ADMIN=shimizu@bridgeport.edu given at compile
time.
12/02 08:07:59.02 [499] 0+0: ##DeleGate/6.X: created directory/file will
be non-
sharable. SHARE="" will make it compatible with former versions.
12/02 08:07:59.14 [499] 0+0: Stay open PIDFILE for accept() lock[fd=9]
12/02 08:07:59.14 [499] 0+0: env[13]
LIBPATH=.:/home/shimizu:/var/spool/delegate
-nobody/lib:/usr/local/sbin
12/02 08:07:59.14 [499] 0+0: arg[4] OWNER
12/02 08:07:59.14 [499] 0+0: arg[6] PERMIT=
12/02 08:07:59.14 [499] 0+0: arg[10] LOGDIR=/var/log/delegate
12/02 08:07:59.15 [499] 0+0: arg[11] CACHEDIR
12/02 08:07:59.15 [499] 0+0: arg[14] EXPIRE=7d
12/02 08:07:59.25 [499] 0+0: DELEGATE_Modified[1]: 3a28f42f
12/02 08:07:59.25 [499] 0+0: --INITIALIZATION DONE--

/------------------------delegeted---------------------------------

