From owner-freebsd-audit Sat Jun 16 9:14:29 2001 Delivered-To: freebsd-audit@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 77F2237B401 for ; Sat, 16 Jun 2001 09:14:27 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id f5GGEQB85396; Sat, 16 Jun 2001 12:14:26 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: References: Date: Sat, 16 Jun 2001 12:14:24 -0400 To: freebsd-audit@FreeBSD.ORG, freebsd-print@bostonradio.org From: Garance A Drosihn Subject: Re: Patch: new options for lpd, improved msgs for connect-errs Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 10:16 PM -0400 6/15/01, Garance A Drosihn wrote: > [...] Also let me know if the messages to syslog >could be more helpful to potentially-harried administrators >trying to figure out why some client isn't able to connect... In the spirit of that thought, I've altered one of the error messages in the patch I posted. Instead of: >+ fhosterr(wantsl, "refused connection from %s", >+ "Your host (%s) does not have print-service access", from_host); > /*NOTREACHED*/ it is now: fhosterr(wantsl, "refused connection from %s, sip=%s", "Print-services are not available to your host (%s).", from_host, from_ip); /*NOTREACHED*/ The idea being that the hostname COULD be rather long, and if so then it would be better at the end of the error message sent to the user. I've also included the sender's IP address in the message to syslog, as that may be of interest in these days of Dynamic DNS and IPv6... The exact-wording of the message to the user may change again, if I think up some better/smoother way to say it (and still keep the hostname at the end of the message). -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message