From: maruma@srl.mew.mei.co.jp (Tatsuo Masuda)
Newsgroups: fj.wanted
Subject: Re: smart ftp
Date: 21 Aug 92 01:57:06 GMT
    <SHIGE.92Aug20194216@theta.iis.u-tokyo.ac.jp>
Distribution: fj
Organization: Matsushita Electric Works Ltd., Osaka, Japan.


>>>>> "$@5HED$5$s(J" == Shigeki Yoshida <shige@iis.u-tokyo.ac.jp> writes:
>>>>> "$@FA@n$5$s(J" == Yoshitaka Tokugawa <toku@dit.co.jp> writes:
>>>>> "$@;32,(J$@$5$s(J" == YAMAOKA Katsunori <yamaoka@cs.titech.ac.jp> writes:


$@$3$s$K$A$O!"A}ED!w>>2<EE9)$G$9!#(J
$@AaB.%U(J$@%)%m!<$r$$$?$@$$$F!"$I$&$b$"$j$,$H$&$4$6$$$^$9!#(J(_ _)


$@5HED$5$s(J>   $@$I$N%l%Y%k$N(J log $@$,M_$7$$$N$G$7$g(J$@$&$+(J ?  $@!VC/$+$,(J 
$@5HED$5$s(J> anonymous ftp $@$G(J login $@$7$?!W$H$$$&%l%Y%k$J$i!"(J-l $@%*%W%7%g%s(J
$@5HED$5$s(J> $@$r(J$@IU$1$l$P(J OK $@$G$9!#(J

$@5HED$5$s(J>   $@!V$3$l$3$l$H$$$&%U%!%$%k$r;}$C$F9T$C$?!W$H$$$&%l%Y%k$J$i!"(J
$@5HED$5$s(J> $@<+J,$G(J ftpd.c$@$r2~B$$9$kI,MW$,$"$j$^$9!#$G$b!"2~B$$O(J 2$@!"(J3 $@9T(J
$@5HED$5$s(J> $@DI2C$9$k$@$1$G$9$+$i!"4JC1$K$G$-(J$@$^$9!#(J

$@5HED$5$s$N$*$C$7$c$kDL$j!"!VC/$,(J ftp $@$7$F!"$I$s$J%U%!%$%k$r;}$C$F$$$C$?!W(J
$@$H$$$&%m%0$,M_$7$$$N(J$@$G$9!#$H$3$m$G!"5HED$5$s$KB3$$$FFA@n$5$s$H(J
$@;32,$5$s$+$i%U%)%m!<$r$$$?$@$-$^$7$?$,!"@5D>8@$C$F<+J,$G$b(J$@LdBj$r(J
$@GD0.$7$-$l$F$$$J$$$^$^!"<ALd5-;v$r%]%9%H$7$F$7$^$$$^$7$?!#(J($@$9$_$^$;$s(J)

$@$=$3$G!"8=:_$N>uBV$rJs(J$@9p$5$;$F$$$?$@$-$^$9!#(J


FTP $@$N%5!<%P!<$O(J mars $@$H$$$&%^%7%s$G$9!#(J
$@$3$N%^%7%s$N(J inetd.conf $@$H(J syslog.conf $@$K0J2<$N5-=R$rDI2C$7$^$9!#(J

mars:/etc/inetd.conf
  ftp stream  tcp nowait  root    /usr/etc/in.ftpd    in.ftpd -ld

mars:/etc/syslog.conf
  daemon.debug                    /var/adm/ftpd-log


$@$=$l$G(J...


(1)	$@0lHL%f!<%6!<$H$7$F(J ftp $@$7$?;~$N%m%0(J   ( in.ftpd -ld )

Aug 21 10:04:35 mars ftpd[15371]: connection from deimos.srl.mew.mei.co.jp at Fri Aug 21 10:04:35 1992
Aug 21 10:04:35 mars ftpd[15371]: <--- 220 
Aug 21 10:04:35 mars ftpd[15371]: mars FTP server (SunOS 4.1) ready.
Aug 21 10:04:38 mars ftpd[15371]: command: USER maruma^M
Aug 21 10:04:38 mars ftpd[15371]: <--- 331 
Aug 21 10:04:38 mars ftpd[15371]: Password required for maruma.
Aug 21 10:04:42 mars ftpd[15371]: command: PASS ($@%*%)%C$H(J)^M
Aug 21 10:04:42 mars ftpd[15371]: <--- 230 
Aug 21 10:04:42 mars ftpd[15371]: User maruma logged in.
Aug 21 10:04:55 mars ftpd[15371]: command: CWD /ftp/pub/msdos^M
Aug 21 10:04:55 mars ftpd[15371]: <--- 250 
Aug 21 10:04:55 mars ftpd[15371]: CWD command successful.

($@>JN,(J)

Aug 21 10:05:29 mars ftpd[15371]: <--- 150 
Aug 21 10:05:29 mars ftpd[15371]: ASCII data connection for jev1412.lzh (133.254.21.22,1815) (156842 bytes).
Aug 21 10:05:30 mars ftpd[15371]: <--- 226 
Aug 21 10:05:30 mars ftpd[15371]: ASCII Transfer complete.
Aug 21 10:05:33 mars ftpd[15371]: command: QUIT^M
Aug 21 10:05:33 mars ftpd[15371]: <--- 221 
Aug 21 10:05:33 mars ftpd[15371]: Goodbye.


(2)	anonymous $@$H$7$F(J ftp $@$7$?;~$N%m(J$@%0(J    ( in.ftpd -ld )

Aug 21 10:07:03 mars ftpd[15380]: connection from deimos.srl.mew.mei.co.jp at Fri Aug 21 10:07:03 1992
Aug 21 10:07:03 mars ftpd[15380]: <--- 220 
Aug 21 10:07:03 mars ftpd[15380]: mars FTP server (SunOS 4.1) ready.
Aug 21 10:07:05 mars ftpd[15380]: command: USER ftp^M
Aug 21 10:07:05 mars ftpd[15380]: <--- 331 
Aug 21 10:07:05 mars ftpd[15380]: Guest login ok, send ident as password.
Aug 21 10:07:19 mars ftpd[15380]: command: PASS maruma@srl.mew.mei.co.jp^M


$@:n6H$7$F$b2?$bI=<((J$@$5$l$^$;$s!#$3$l$,FA@n$5$s$K65$($F$$$?$@$$$?(J...

$@FA@n$5$s(J> $@$$$d$$$d!"(JSunOS4.1.1$@$r;H$C$F$$$k$H$$$&$3$H(J$@$G$9$+$i!"(J
$@FA@n$5$s(J> anonymous ftp$@$G(Jchroot()$@$7$F$7$^$&$H(J/dev/log$@$,(Jopen$@$G$-$J$/$F(J
$@FA@n$5$s(J> log$@$,;D$i$J(J$@$$$H$$$&LdBj$G$7$g$&!#(J

...$@$H$$$&$o$1$G$9$M!#(J


$@2r7h:v$OFA@n$5$s$H;32,$5$s$,<!$N$h$&$K65$($F$/$l$^$7(J$@$?$N$G!"(J
$@;n$7$F$_$?$$$H;W$$$^$9!#(J

$@FA@n$5$s(J> $@$3$l$r2r7h$9$k$?$a$K$O!"(J
$@FA@n$5$s(J> 4.3bsd Tahoe(aka NET1/BNR1)$@$N%=!<%9$r;}$C$F$-$F!"$=$$$D$KF1(J
$@FA@n$5$s(J> $@$8$/(J4.3bsd$@$N(Jlibc$@$N%=!<%9$NCf$+$i(Jsyslog.c$@$r;}$C$F$-$F(J$@%j%s%/$9(J
$@FA@n$5$s(J> $@$k$H$$$&$N$,(JInternet$@$G$h$/9T$o$l$F$$$k2r7h:v$G$9!#(J
$@FA@n$5$s(J> $@%a!<%+!<$+$i$b%Q%C%A$,(J$@=P$F$$$^$9!#$3$A$i$NJ}$O(Jftpd$@$rD>$7$?$N$G$O(J
$@FA@n$5$s(J> $@$J$/$F!"(Jsyslogd$@$,(J/dev/log$@0J30$K$b$&(J1$@$D(Jsocket$@$r(Jopen$@$G$-$k$h$&$K(J
$@FA@n$5$s(J> $@$7$FBP=h$7$F$$$k$h$&$G$9!#(J

$@;32,$5$s(J> /ftp$@$N2<$K(J/dev/log$@%G%#%l%/%H%j$r:n$j!"(J/dev/log$@$r(J/ftp/dev/log
$@;32,$5$s(J> $@$K%O!<%I%j%s%/$rD%$k!"$H$$$&7A$G$b2r7h$G$-$^$9!#FqE@$H$7$F$O!"(J
$@;32,$5(J$@$s(J> syslogd$@$r:F5/F0$9$k$?$S$K%O!<%I%j%s%/$rD%$jD>$5$J$1$l$P$J$i(J
$@;32,$5$s(J> $@$J$$$N$G$9$,!"$3$l$O%7%'%k%9(J$@%/%j%W%H$J$j(Jrc$@$K=q$$$H$/$J$j$J$s(J
$@;32,$5$s(J> $@$J$j$G2r7h$G$-$k$G$7$g$&!#(J


$@$7$+$7!"(J in.ftpd -ld $@$H$7$F%m(J$@%0$r$H$k$H(J anonymous $@%f!<%6!<$@$1$G$O$J$/$F(J
$@0lHL%f!<%6!<$N%Q%9%o!<%I$^$GI=<($5$l$F$7$^$$$^$9!#$3$l$G$O(J$@:$$j$^$9$N$G!"(J
inetd.conf $@$r<!$N$h$&$KJQ99$7$F(J (1),(2) $@$H(J $@F1MM$N%F%9%H$r$7$F$_$^$9!#(J

mars:/etc/inetd.conf
  ftp stream  tcp nowait  root    /usr/etc/in.ftpd    in.ftpd -l

mars:/etc/syslog.conf
  daemon.debug                    /var/adm/ftpd-log


(3)	$@0lHL%f!<%6!<$H$7$F(J ftp $@$7$?;~$N%m%0(J   ( in.ftpd -l )

Aug 21 10:08:54 mars ftpd[15392]: connection from deimos.srl.mew.mei.co.jp at Fri Aug 21 10:08:54 1992


(4)	anonymous $@$H$7$F(J ftp $@$7$?;~$N%m%0(J     ( in.ftpd -l )

Aug 21 10:09:19 mars ftpd[15393]: connection from deimos.srl.mew.mei.co.jp at Fri Aug 21 10:09:19 1992


...$@:#EY$O!"$I$s$J:n6H$r$7$?$N$+(J$@$,A4A3$o$+$j$^$;$s!#(J

-l $@%*%W%7%g%s$@$1$r$D$1$F$I$s$J%U%!%$%k$r;}$C$F$$$C$?$N$+$rCN$k$?$a$K$O!"(J
$@5HED$5(J$@$s$,$*$C$7$c$C$F$$$?!V(Jftpd.c$@$r2~B$$9$k!W$3$H$,I,MW$K$J$k$N$G$9$M!#(J
$@;d$,M_$7$+$C$?$N$O$^$5$K$3$l$G$9$N(J$@$G!"$I$3$rJQ99$9$l$P$$$$$N$+!"(J
$@$<$R65$($F2<$5$$!#(J
$@!t(J $@$7$+$7;d$O$^$@$^$@(J UNIX $@$K4X$9$kCN<1$,B-$j$^$;$s(J$@$N$G!"=i?4<T$K$b(J
$@!t(J $@$o$+$k$h$&$J@bL@$G$*4j$$$7$^$9!#(J (_ _)

$@$=$l$H%m%0$r$H$k;~$K$b$&0l$DM_$7$$>pJs$,$"(J$@$j$^$9!#(J
$@$=$l$O!"(Janonymous $@%f!<%6!<$,F~NO$7$?%Q%9%o!<%I$G$9!#(J
ftpd.c $@$r2~B$$9$k$H$3$l$b%m%0$K;D$k$N$G(J$@$7$g$&$+!)(J

$@$h$m$7$/$*4j$$$7$^$9!#(J


                                    $@A}ED(J $@C#CK!wH>F3BN8&5f=j(J.$@>>2<(J$@EE9)(J
                                    Phone:06-908-1431 FAX:06-906-7251