Openwall Project   /home  Owl  JtR  Pro  crypt  pam_passwdqc  tcb  phpass  scanlogd  popa3d  msulogin  /  Linux  BIND  /  advisories  presentations  /  services  donations  /  wordlists  passwords  /  community  lists  wiki  CVSweb  mirrors  signatures
bringing security into open environments
 
This website is powered by Openwall GNU/*/Linux security-enhanced OS
[<prev] [next>] [thread-next>] [month] [year] [list]
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 ]

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux