WU-FTPD, Solaris 8, anon user, chroot() question
From: Mansel P Bell (Mansel_P_Bell@raytheon.com)Date: 11/16/01
- Previous message: Darren Moffat: "Re: RBAC and audit administration"
- Next in thread: Jan-Philip Velders: "Re: WU-FTPD, Solaris 8, anon user, chroot() question"
- Reply: Jan-Philip Velders: "Re: WU-FTPD, Solaris 8, anon user, chroot() question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: focus-sun@securityfocus.com From: "Mansel P Bell" <Mansel_P_Bell@raytheon.com> Subject: WU-FTPD, Solaris 8, anon user, chroot() question Date: Fri, 16 Nov 2001 12:24:13 -0600 Message-ID: <OFCAFE20A0.8E752828-ON86256B06.006517F4@mck.us.ray.com>
Hello,
I am working on a anonymous-only wu-ftpd design and
need some help with logging via syslog from within
an anonymous user's chroot()ed home directory.
Configuration info:
------------------
- Solaris 8, 07/01 platform
- Running wuftpd v2.6.1
- Custom-compiled wuftpd (not using a vanilla Solaris package)
- Running wuftpd as a standalone server
- Configured with several anon classes tied to different IPs
- Successfully chroot()ed the Solaris 8 syslogd server:
--> running from $CHROOT/usr/sbin/syslogd
--> logging to $CHROOT/var/adm/messages
- Successfully chroot()ed the wuftpd server:
--> running from $CHROOT/sbin/in.ftpd
--> getting anon ftp user info from $CHROOT/etc/passwd
--> anon ftp user home of $CHROOT/home
--> each anon class has home of $CHROOT/home/anon{1..N}
--> all syslog() calls from the parent in.ftpd instance
log fine to $CHROOT/var/adm/messages
Problem:
-------
Once an anonymous user logs on, a new child process is
forked, and the user is chroot()ed according to his/her
anon class, all logging ceases for the child process
b/c $CHROOT/home/anon{1..N}/var/run/syslog_door does not
exist...the dreaded "syslog_door" problem all over again.
Does anyone know how to deal with Solaris doors in this
situation, short of rebuilding a version of syslog.o that
uses /dev/log instead?
Does anyone otherwise have any ideas on how I can circumvent
this problem in my design?
Any help is sincerely appreciated.
-Mansel
- Previous message: Darren Moffat: "Re: RBAC and audit administration"
- Next in thread: Jan-Philip Velders: "Re: WU-FTPD, Solaris 8, anon user, chroot() question"
- Reply: Jan-Philip Velders: "Re: WU-FTPD, Solaris 8, anon user, chroot() question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|