freebsd-nq/usr.sbin/lpr
Garance A Drosehn 6ddb63cad6 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
2001-06-25 01:45:25 +00:00
..
chkprintcap - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
common_source Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
filters Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
filters.ru moved to koi2alt 1999-09-23 02:54:44 +00:00
lp beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
lpc Rename global variable 'name' to 'progname', thus fixing a number of 2001-06-15 16:28:37 +00:00
lpd Add two new options for lpd: -c will log all connection-errors to syslog, 2001-06-25 01:45:25 +00:00
lpq Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lpr Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lprm Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lptest Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
pac Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
SMM.doc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Makefile Add a comment pointing to the freebsd-print@bostonradio.org mailing list. 2001-03-12 02:13:08 +00:00
Makefile.inc IPv6 support for lpr. 2000-12-16 18:06:09 +00:00