Re: Re: USER-WRN bad 'USER@' dest
"Frank Sackewitz" <[email protected]> Wed, 20 Nov 2002 16:03:12 +0100
| Newsgroups | gmane.linux.suse.proxy-suite |
|---|---|
| Message-ID | <OF2884A39A.573CBAE4-ONC1256C77.00529091@LocalDomain> |
--=_alternative 0052B11DC1256C77_= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Marius Tomaschewski <[email protected]> 20.11.2002 15:14 =20 An: Frank Sackewitz <[email protected]> Kopie: [email protected] Thema: Re: [proxy-suite] Antwort: Re: [proxy-suite] USER-WRN bad '= USER@' dest >On Wed, Nov 20, 2002 at 02:31:21PM +0100, Frank Sackewitz wrote: >> Hi,=20 > >Hi! > >> I made the changes on the startscript as described below but the same=20 >> behavoir. >>=20 >> sordns:~ # ps -e |grep ftp >> 673 ? 00:00:00 ftp-proxy >>=20 >> 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 >>=20 >> 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=3D10) by ftp.fu-berlin.de >ftp.fu-berlin.de mail is handled (pri=3D20) by mail.fu-berlin.de > >Try out if [email protected]" in USER works (MagicUser mode). > It works (in parts): # ftp 192.168.127.225 Connected to 192.168.127.225. 220 sordns FTP server (Version 1.8.1 - 2002/01/29 00:30:00) ready. Name (192.168.127.225:anton): [email protected] 501 Invalid destination in user name. Login failed. ftp> user [email protected] 331 Anonymous login ok, send anything as password. Password: 230- Welcome at Freie Universit=E4t Berlin, Germany. Willkommen auf dem FTP-Server der Freien Universit=E4t Berlin. Ein Service der Zentraleinrichtung f=FCr Datenverarbeitung (ZEDAT). 230 Anonymous login ok. ftp> quit 221 Goodbye. ftp-child [1348] <11/20-16:29:27> USER-INF connect from 192.168.1.11 ftp-child [1348] <11/20-16:29:33> USER-WRN bad 'USER@' dest=20 'ftp.de.openbsd.org:(nil)' from 192.168.1.11 ftp-child [1348] <11/20-16:30:03> USER-INF 'USER ftp' dest=20 130.133.1.100:21 from 192.168.1.11 ftp-child [1348] <11/20-16:30:03> USER-INF reading data for 'ftp' from=20 cfg-file ftp-child [1348] <11/20-16:30:03> TECH-DBG from Server-PI (3): '220=20 FTP.FU-Berlin.DE ready, please login as user "ftp".' ftp-child [1348] <11/20-16:30:03> TECH-DBG from Server-PI (3): '331=20 Anonymous login ok, send anything as password.' ftp-child [1348] <11/20-16:30:05> USER-INF 'PASS XXXX' from 192.168.1.11 ftp-child [1348] <11/20-16:30:05> TECH-DBG from Server-PI (3): '230-' ftp-child [1348] <11/20-16:30:05> TECH-DBG from Server-PI (3): ' Welcome=20 at Freie Universit=E4t Berlin, Germany.' ftp-child [1348] <11/20-16:30:05> TECH-DBG from Server-PI (3): '=20 Willkommen auf dem FTP-Server der Freien Universit=E4t Berlin.' ftp-child [1348] <11/20-16:30:05> TECH-DBG from Server-PI (3): ' Ein=20 Service der Zentraleinrichtung f=FCr Datenverarbeitung (ZEDAT).' ftp-child [1348] <11/20-16:30:05> TECH-DBG from Server-PI (3): ' ' ftp-child [1348] <11/20-16:30:05> TECH-DBG from Server-PI (3): '230=20 Anonymous login ok.' ftp-child [1348] <11/20-16:30:07> USER-INF 'QUIT' from 192.168.1.11 ftp-child [1348] <11/20-16:30:07> USER-INF closing connect from=20 192.168.1.11 after 40 secs - read 0/0, sent 0/0 byte/sec On a console on sordns they can resolve the name ftp.de.openbsd.org. --=20 Bye Frank Sackewitz EDM HASCO-GERMANY --=_alternative 0052B11DC1256C77_=--