On Wed, Nov 20, 2002 at 02:31:21PM +0100, Frank Sackewitz wrote:
Hi,
Hi!
I made the changes on the startscript as described below but the same behavoir.
sordns:~ # ps -e |grep ftp 673 ? 00:00:00 ftp-proxy
sordns:~ # less /proc/673/maps |grep /lib/libnsl -B2 -A2 4016c000-40175000 r-xp 00000000 08:02 21824 /usr/lib/liblber.so.2.0.15 40175000-40176000 rw-p 00008000 08:02 21824 /usr/lib/liblber.so.2.0.15 40176000-40188000 r-xp 00000000 08:02 9446 /lib/libnsl.so.1 40188000-4018a000 rw-p 00011000 08:02 9446 /lib/libnsl.so.1 4018a000-4018d000 rw-p 00000000 00:00 0 4018d000-4019a000 r-xp 00000000 08:02 9456 /lib/libresolv.so.2
The Library is there and is used.
Hmm... the proxy is not able to resolv hostnames... something
is missed in the chroot. Perhaps some NSS specials you use?
Make sure, the proxy works propelly without a chroot first.
$ host ftp.de.openbsd.org
ftp.de.openbsd.org is a nickname for ftp.fu-berlin.de
ftp.fu-berlin.de has address 130.133.1.100
ftp.fu-berlin.de mail is handled (pri=10) by ftp.fu-berlin.de
ftp.fu-berlin.de mail is handled (pri=20) by mail.fu-berlin.de
Try out if ftp@130.133.1.100" in USER works (MagicUser mode).
To use transparent proxy you have to start
$ ftp ftp.de.openbsd.org
instead of the proxy-ip and see proxy log messages about.
Gruesse,
Marius Tomaschewski