Date: Wed, 4 May 2005 21:29:10 -0700 From: "Sean Kelly" <sean@...eview.com> To: <popa3d-users@...ts.openwall.com> Subject: popa3d logging under xinetd Hello, I've been hacking around in the popa3d code trying to figure out how it works so that I might be able to get it to log/record the user's IP address for use with pop-before-send SMTP access control. I just discovered that the whole "channel" construct is pulling user session data from a pipe rather than a socket as I was expecting when running under xinetd. As far as I can tell standalone mode uses a regular listening socket and obtaining the IP address of the user from the sockaddr structs is a simple matter in that mode. But I'm at a loss for what to do under xinetd as I really don't understand how xinetd handles connections and such. Is there anyone who might be able to lend a little guidance here? I'm specifically poking around in the do_pop_session(0 function of pop_root.c. Thank you, Sean Kelly - The "other half" of Keen Kelly sean@...nkelly.com http://www.keenkelly.com/ Office: (408) 578-8888 P.O. Box 18202; San Jose, Ca; 95158 Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.