Re: wu-ftpd
On Wed, Aug 18, 1999 at 04:58:33PM +0200, Fabien Salvi wrote:
> Adrien Dessemond wrote:
> >
> > Salut,
> >
> > Suite a quelques investigations au niveau de wu-ftpd, j'ai trouve que
> > tout binaire dans /home/ftp/bin doit linke statique. Ce qui m'etonne un
> > peu... Des idees ?
cf reponse d'Olivier Tharan (le serveur fait un chroot pour masquer
l'arborescence)
Cela dit, tu peux utiliser des binaires lies dynamiquement, en rajoutant
un repertoire /home/ftp/lib qui contient la libc et le ld-linux:
-rwxr-xr-x 1 root root 164803 jui 17 1998 ld-2.0.7.so
lrwxrwxrwx 1 root root 17 aoû 18 16:39 ld-linux.so.1 -> ld-linux.so.1.9.9
-rwxr-xr-x 1 root root 24396 mai 21 1998 ld-linux.so.1.9.9
lrwxrwxrwx 1 root root 11 aoû 18 16:39 ld-linux.so.2 -> ld-2.0.7.so
-rwxr-xr-x 1 root root 651112 jui 17 1998 libc-2.0.7.so
lrwxrwxrwx 1 root root 14 aoû 18 16:40 libc.so.5 -> libc.so.5.4.38
-rwxr-xr-x 1 root root 584776 jun 7 1998 libc.so.5.4.38
lrwxrwxrwx 1 root root 13 aoû 18 16:40 libc.so.6 -> libc-2.0.7.so
drwxr-xr-x 2 root root 1024 jun 7 1998 libc5-compat
lrwxrwxrwx 1 root root 17 aoû 18 16:40 libcom_err.so.2 -> libcom_err.so.2.0
-rw-r--r-- 1 root root 4540 mai 14 1998 libcom_err.so.2.0
-rwxr-xr-x 1 root root 150380 jui 17 1998 libcrypt-2.0.7.so
lrwxrwxrwx 1 root root 17 aoû 18 16:40 libcrypt.so.1 -> libcrypt-2.0.7.so
Ainsi, j'ai tar et ls (lies dynamiquement) qui marchent depuis le client
ftp.
> Franchement, tu ferais mieux d'utiliser proftpd, qui est plus sécure et
> mieux fait.
Plus securise? Dans ce cas, il doit sans doute, lui aussi, utiliser le
chroot pour proteger l'arborescence d'un eventuel "exploit".
> Facile à configurer, ça ressemble à apache...
>
> Wuftpd est vraiment trop chiant.
Sur ce point-la, chacun a sa philosophie. Quand on est habitue a un
produit, dur dur de passer a un autre.
--
Olivier
"Un garcon devient un homme, un vrai, une fois qu'il
est alle s'emmerder suffisament longtemps dans une caserne."
D.C
Reply to:
- Follow-Ups:
- Re: wu-ftpd
- From: Fabien Salvi <fabien@cur-archamps.fr>
- References:
- wu-ftpd
- From: Adrien Dessemond <dessemond@imerir.asso.fr>
- Re: wu-ftpd
- From: Fabien Salvi <fabien@cur-archamps.fr>