From owner-freebsd-isp Fri Feb 27 23:51:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA08695 for freebsd-isp-outgoing; Fri, 27 Feb 1998 23:51:38 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from birdland.rhein-neckar.de (root@birdland.rhein-neckar.de [193.197.88.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA08684 for ; Fri, 27 Feb 1998 23:51:28 -0800 (PST) (envelope-from bsd@birdland.rhein-neckar.de) Received: from localhost (bsd@localhost) by birdland.rhein-neckar.de (8.8.7/8.8.3) with SMTP id IAA29106; Sat, 28 Feb 1998 08:51:07 +0100 (MET) Date: Sat, 28 Feb 1998 08:51:06 +0100 (MET) From: Martin Jangowski To: Jay Tribick cc: freebsd-isp@FreeBSD.ORG Subject: Re: Qpopper (The Sequel) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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