Date: Sat, 28 Feb 1998 08:51:06 +0100 (MET) From: Martin Jangowski <bsd@birdland.rhein-neckar.de> To: Jay Tribick <lists@fastnet.co.uk> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Qpopper (The Sequel) Message-ID: <Pine.BSF.3.94.980228084415.28146A-100000@birdland.rhein-neckar.de> In-Reply-To: <Pine.BSF.3.96.980226155827.2895A-100000@ns0.fast.net.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Feb 1998, Jay Tribick wrote: > What I need to know is if I can get qpopper to log the IP address > of the host that's connecting, the manual pages don't help and > trace & debug don't yield enough information. I had the same problem, and I patched popper to log the IP adress, too. Sorry, I can't give you a diff, the version I have here is pretty old.. You habe to modify the file pop_init.c around line 277, it's a call to pop_log(). Originally, popper writes something like "Can't get canonical name of client" without giving the IP, I added a "%s" and "p->ipaddress" to print the IP adress of the connected client. Hope this helps, YMMV as usual. Martin | Martin Jangowski E-Mail: maja@birdland.rhein-neckar.de | | Voice: +49 621/53 95 06 Fax: +49 621/53 95 07 | | Snail Mail: Koenigsbacher Str. 16 D-67067 Ludwigshafen Germany | | RNInet e.V. Rhein-Neckar Internet | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.94.980228084415.28146A-100000>