NetBSD/usr.sbin
jwise 2badef4d79 Add four big changes:
* portmap is now tcp-wrapped (i.e. obeys hosts.{allow,deny})
	  both for lookups (as `portmap') and for forwarded calls to
	  specific services.

	* the new -l flag, analagous to inetd -l, logs all connections
	  to portmap.

	* the new -s flag causes portmap to suid to the user daemon
	  after binding it's port, so that outgoing connections do
	  not come from privileged ports.  This prevents users from
	  using portmap to get a free privileged port.

	* portmap now _only_ accepts SETs and UNSETs on the loopback
	  interface.  In the past, anyone in the world could do all
	  sorts of nasty things to your portmap tables.  Note that
	  our libc already_only_ uses the loopback interface to
	  register rpc ports.

This work is modeled after/partially taken from Wietse Venema's tcp-
wrapped version of the BSD 4.3 portmap.  It has benefitted greatly from my
discussions with Luke, Matt and many others.
1999-01-11 20:51:09 +00:00
..
ac Need <time.h> for strftime(), localtime() and time() prototypes. 1998-04-02 11:54:03 +00:00
accton use err() 1997-10-18 07:26:45 +00:00
amd Properly define ufs_args_t and HAVE_FIELD_UFS_ARGS_T_FSPEC, so that automount 1999-01-11 15:57:49 +00:00
apm momentarily -> in a moment, to avoid ambiguity. 1998-11-13 22:44:17 +00:00
apmd PR/6606: Johnny C. Lam: Add -l flag to apmd so that it suspends automagically 1998-12-19 15:27:58 +00:00
arp add a verbose (-v) flag for when adding/deleting arp entries. 1998-02-10 03:45:05 +00:00
bad144 vax -> __vax__ 1998-10-20 01:48:14 +00:00
bind Avoid problems when trying to link BIND 8 statically, fixes PR bin/6717 1999-01-04 00:04:04 +00:00
bootp From OpenBSD: ignore requests with bogus network types 1998-12-04 18:24:16 +00:00
catman while catman doesn't `work' properly yet, use snprintf() when creating the 1997-10-24 01:31:35 +00:00
chown Allow "chown/chgrp -R -h" so we can change trees with symbolic links without 1998-10-05 21:37:38 +00:00
chroot let chroot take "-u user", "-g group" and "-G group,list,group,..." arguments 1998-10-06 03:47:50 +00:00
chrtbl change includes to fix compiler warning 1998-02-03 04:39:14 +00:00
config - rename err -> herr so that we don't conflict with libc 1998-10-16 14:27:17 +00:00
cron Allow quote-escaping of environment variable names so that they may contain 1998-10-12 22:15:47 +00:00
dbsym Fill in missing (default) mmap(2) flags. 1998-02-20 09:27:18 +00:00
dev_mkdb deprecate register, use memset/memmove instead of bzero/bcopy 1997-10-18 08:18:00 +00:00
dhcp Fix grammatical error, closes pr 6105 by Mason Loring Bliss. 1998-10-24 19:54:44 +00:00
diskpart const poisoning. 1998-07-26 12:00:43 +00:00
dumpfs {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
dumplfs Deal with superblock changes; from PR#6032. 1998-09-11 21:22:53 +00:00
edquota remove unused extern. 1998-03-30 03:33:05 +00:00
eeprom use YPREFIX 1998-11-01 03:51:16 +00:00
eshconfig Tweaks to document and support HIPPI-FP driver 1998-11-20 17:23:27 +00:00
greconfig Fix some Typos. 1998-10-31 13:07:02 +00:00
grfconfig Fix the case problem of the flags field and a problem with a # in the 1997-11-20 10:35:15 +00:00
grfinfo getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
gspa {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
hilinfo use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
inetd use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
iostat in -x, print MB/s two 2 decimal places. noted by enami@netbsd.org 1998-08-27 03:17:49 +00:00
ipf Even though they're u_quad_t's, GCC expects unsigned long long if using 1998-11-29 23:51:44 +00:00
iteconfig use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
kgmon getopt returns -1 not EOF 1997-11-01 06:49:14 +00:00
kvm_mkdb macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
lastlogin macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
lpr Fix pr 5071 better after feedback from the Originator Havard Eidnes. 1998-09-14 21:23:07 +00:00
mailwrapper Add the "mailwrapper" program, which is designed to act as a switch 1998-12-25 22:06:58 +00:00
map-mbone Use strerror(3) instead of sys_errlist and sys_nerr. 1998-05-09 17:22:07 +00:00
mbrlabel This seemingly trivial (and computationally pointless) change shuts up 1998-12-03 11:20:50 +00:00
mdconfig eliminate invalid options from SYNOPSIS; from Johan Danielsson in PR 4570 1997-12-02 08:21:45 +00:00
mdsetimage Define NLIST_ELF32 for mips native format. Also NLIST_ECOFF (pmax, arc PROMs) 1998-12-05 07:30:38 +00:00
mopd -v shows the version of the mopd suite, not of mopprobe, specifically. 1998-09-30 15:05:01 +00:00
mountd PR/6409: Martin Husemann: /etc/exports parsing breaks if file has empty lines. 1998-11-07 18:31:36 +00:00
mrinfo use destination's size in 2 memcpy calls. 1998-07-04 21:31:59 +00:00
mrouted Add {} pairs to shut up egcs. 1998-08-27 18:03:42 +00:00
mtrace Add {} pairs to shut up egcs. 1998-08-27 18:03:42 +00:00
mtree Appease gcc-2.8.1, make printf formats more portable. 1998-12-19 15:38:45 +00:00
named Prevent sscanf() from overflowing its output buffer(s) if the input 1998-10-15 12:34:21 +00:00
netgroup_mkdb don't ignore blank lines after a continuation backslash 1997-11-06 00:27:58 +00:00
nfsd minor KNF. 1998-07-12 09:13:27 +00:00
nfsiod KNF. 1998-07-13 05:43:50 +00:00
pkg_install Patches supplied by Greg A. Woods in PR bin/6626 to make "pkg_info" 1998-12-31 00:04:07 +00:00
portmap Add four big changes: 1999-01-11 20:51:09 +00:00
pppd fix a roff bug 1998-11-22 23:30:29 +00:00
pstat Fix hannken's fix: The correct way to keep pstat.c from looking for any 1998-06-26 19:52:29 +00:00
pwd_mkdb const poisoning. 1998-07-27 00:52:00 +00:00
quot remove unnecessary comment 1998-06-08 12:38:41 +00:00
quotacheck {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
quotaon const poisoning. 1998-07-27 00:52:00 +00:00
rarpd Shut up gcc. 1998-10-06 15:50:30 +00:00
rbootd - fix typo in a comment 1998-12-09 03:41:42 +00:00
rdate use memset instead of bzero 1997-10-18 11:23:19 +00:00
repquota const poisoning. 1998-07-27 00:52:00 +00:00
rmt WARNSify 1997-10-17 13:02:01 +00:00
rpc.bootparamd revert; we can't break the existing ABI and API 1998-02-12 03:32:51 +00:00
rpc.lockd macroize BSD, NetBSD, FreeBSD and misc cleanup 1998-02-06 05:54:12 +00:00
rpc.pcnfsd const propagation. 1998-07-27 15:11:06 +00:00
rpc.statd - use an array MAXHOSTNAMELEN+1 size to hold hostnames 1998-07-06 06:56:06 +00:00
rpc.yppasswdd Allow changing of formerly empty passwords. 1998-11-06 13:07:18 +00:00
rwhod fix error in previous pointed out by bad. minor KNFing. 1998-07-08 15:17:57 +00:00
sa {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
screenblank Add support for WSCONS, and default to it. If the platform also has 1998-12-18 01:15:43 +00:00
sendmail Change hard links for newaliases and mailq into symlinks, to make it 1998-12-16 00:48:22 +00:00
sliplogin KNF + check for fork failure. 1998-07-04 21:04:02 +00:00
slstats - change setgid kmem programs (that lend themselves to this) so setegid(getgid()) 1998-07-06 07:50:18 +00:00
spray WARNSify 1997-10-17 13:36:36 +00:00
sup Type mismatch in declaration... NOT (reverted previous change). 1998-11-02 04:00:24 +00:00
sysctl Direct the user to use nfsstat to print nfs statistics. 1998-11-13 20:56:21 +00:00
syslogd Use "[host]: " as prefix for forwarded messages to distinguish them 1998-07-30 23:29:29 +00:00
tcpdchk Use strerror(3) instead of sys_errlist and sys_nerr. 1998-05-09 17:22:07 +00:00
tcpdmatch WARNSify 1998-03-05 18:23:31 +00:00
tcpdump Double-check tcp/udp checksum if we get enough data to do it. 1998-12-18 20:28:54 +00:00
timed - use an array MAXHOSTNAMELEN+1 size to hold hostnames 1998-07-06 06:56:06 +00:00
traceroute Use a little bit of magic suggested by Ken Hornstein to find an 1998-12-09 22:53:29 +00:00
trpt - change setgid kmem programs (that lend themselves to this) so setegid(getgid()) 1998-07-06 07:50:18 +00:00
trsp - change setgid kmem programs (that lend themselves to this) so setegid(getgid()) 1998-07-06 07:50:18 +00:00
update WARNSify 1997-10-17 13:59:34 +00:00
usbd Slight code rearrangement. 1998-12-09 00:57:19 +00:00
usbdevs Update for the ioctl(USB_DEVICEINFO) API change. 1998-12-29 15:29:41 +00:00
videomode use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
vipw Print a clear error message when the reason for not being able to create 1998-12-09 12:40:15 +00:00
vnconfig sort entries and delete extra periods in SEE also section. 1998-05-22 18:27:50 +00:00
xntp HTML documentation files for XNTP, installed in /usr/share/doc/xntp 1998-12-30 20:19:29 +00:00
ypbind note that messages are send to syslog daemon using facility LOG_DAEMON. 1998-08-21 09:39:32 +00:00
yppoll use .Tn YP instead of YP 1998-01-23 13:38:24 +00:00
ypserv {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
ypset use .Tn YP instead of YP 1998-01-23 13:38:24 +00:00
zdump Back out the .PATH.c changes. The .depend problem (and others) 1997-05-08 21:11:01 +00:00
zic add -Dunix to CPPFLAGS to suppress cpp warning. 1998-09-01 03:16:48 +00:00
Makefile Fix comment. 1998-11-19 19:51:47 +00:00
Makefile.inc enable WARNS=1 by default, but disable in unclean 3rd party code 1997-10-18 06:42:25 +00:00