[prev in list] [next in list] [prev in thread] [next in thread] 

List:       proftpd-users
Subject:    Re: [Proftpd-user] Lost Log messages relating to MaxClientsPerUser
From:       Robert Rati <Robert.Rati () motorola ! com>
Date:       2004-12-02 18:27:06
Message-ID: 41AF5E7A.9040909 () motorola ! com
[Download RAW message or body]

> The Unix syslog API does not allow for the application that calls
> openlog() to get the descriptor to the opened syslog.  Which means that if
> any libraries (e.g. PAM) reopen syslog _after_ the chroot, the syslog
> descriptor is hosed.

What I see in the code is that proftpd isn't using the syslog API call. 
  It is instead using the pr_log_openfile function, which uses the open 
API call thus returning a file descriptor.  That descriptor should be 
independent of the descriptor a PAM module opens via the syslog API 
call, right?

Rob


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
ProFTPD Users List   <proftpd-users@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic