Date: Sun, 24 Jun 2001 18:45:26 -0700 (PDT) From: Garance A Drosehn <gad@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/lpr/lpd lpd.8 lpd.c Message-ID: <200106250145.f5P1jQM38121@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2001/06/24 18:45:26 PDT
Modified files:
usr.sbin/lpr/lpd lpd.8 lpd.c
Log:
Add two new options for lpd: -c will log all connection-errors to syslog,
while -w allows connection from non-reserved ports. Also improves the
helpfulness of various connection-error messages.
The changes for IPv6 added back in the reserved-port check which was mistakenly
dropped from lpd in 1997 (copying a change from openbsd). It is best to have
that check in place, but the check breaks lpr's from some implementations of
lpr/lpd for Windows. The -w option is for those admins who need to accept
jobs from non-reserved ports, the -c option is for admins who would like a
print-server machine to log all failed connection-attempts to syslog.
Reviewed by: freebsd-audit@FreeBSD.org freebsd-print@bostonradio.org
MFC after: 2 weeks
Revision Changes Path
1.19 +33 -3 src/usr.sbin/lpr/lpd/lpd.8
1.26 +137 -31 src/usr.sbin/lpr/lpd/lpd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106250145.f5P1jQM38121>
