1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/usr.sbin/lpr/lpd
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
..
extern.h Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
lpd.8 Add two new options for lpd: -c will log all connection-errors to syslog, 2001-06-25 01:45:25 +00:00
lpd.c Add two new options for lpd: -c will log all connection-errors to syslog, 2001-06-25 01:45:25 +00:00
lpdchar.c
Makefile - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
modes.c Fix about 90-100 warnings one gets when trying to compile lpr&friends 2001-06-12 16:38:20 +00:00
printjob.c Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00
recvjob.c Rename a few global variables which hold hostname-related values to be 2001-06-15 22:03:07 +00:00