freebsd-dev/usr.sbin
Ian Dowse 4de932048c Ensure that received packets are at least as long as the rwho packet
header before trying to process them. Without this sanity check,
rwhod can attempt to byte-swap all of memory when a short packet
is received, and so dies with a SIGBUS.

While I'm here, change two other syslog messages to be more
informative: use dotted quad rather than hex notation for IP
addresses, and include the source IP in the 'bad from port' message.

PR:		bin/14844
Reviewed by:	dwmalone
2000-12-22 21:30:15 +00:00
..
ac mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
accton mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
acpi mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
adduser * Fix a long line that I introduced in the last commit 2000-12-17 23:42:45 +00:00
amd Include sys/types.h 2000-10-16 09:14:44 +00:00
ancontrol mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
apm mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
apmd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
arp mdoc(7) police: Er macro usage cleanup. 2000-11-22 16:11:48 +00:00
atm Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
boot0cfg mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
boot98cfg remove trailing periods from SEE ALSO. 2000-11-15 17:27:54 +00:00
bootparamd Mdoc(7)ify. 2000-12-14 08:01:59 +00:00
btxld mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
burncd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
cdcontrol If no device is specified, check the CDROM environment variable before 2000-12-18 14:35:54 +00:00
chkgrp Spell the des's name correctly. 2000-11-14 13:19:26 +00:00
chown mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
chroot mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
ckdist mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
config .Nm Config -> .Nm, there is no such program "Config" in FreeBSD. 2000-12-11 10:14:58 +00:00
cron Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
crunch Use one of the TMPDIR env variable or _PATH_TMP instead of hardcoding 2000-12-17 19:49:07 +00:00
ctm mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
dev_mkdb mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
diskpart -Wall cleaning. Use getopt(3). 2000-11-28 18:09:08 +00:00
dpt
edquota mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
elf2exe mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
extattrctl o Check return of strdup() for NULL, abort if so. 2000-12-14 01:51:39 +00:00
faithd Make enumerated list for flags. Spelling. 2000-11-28 18:11:06 +00:00
fdcontrol mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
fdformat Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
fdwrite Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
getextattr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
gifconfig mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
i4b mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
ifmcstat Sync with latest KAME. 2000-07-07 19:19:25 +00:00
inetd Add a -F option to the builtin ident service, which allows .fakeid files 2000-12-05 13:56:01 +00:00
iostat mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
ipftest Build with -DUSE_INET6 so that we can actually use the IPv6 support in 2000-10-31 22:29:27 +00:00
ipresend Build with -DUSE_INET6 so that we can actually use the IPv6 support in 2000-10-31 22:29:27 +00:00
ipsend Build with -DUSE_INET6 so that we can actually use the IPv6 support in 2000-10-31 22:29:27 +00:00
iptest Build with -DUSE_INET6 so that we can actually use the IPv6 support in 2000-10-31 22:29:27 +00:00
IPXrouted mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
jail mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
kbdcontrol The GCC 2.96 snapshots have slightly different rules for finding include 2000-12-01 09:39:28 +00:00
kbdmap mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
kernbb mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
keyadmin mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
keyserv mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
kgmon mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
kgzip Wrap over-long line; drop superfluous include. 2000-11-20 20:35:35 +00:00
lastlogin mdoc(7) cosmetics. 2000-12-11 10:18:32 +00:00
lpr IPv6 support for lpr. 2000-12-16 18:06:09 +00:00
lptcontrol mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
mailstats Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
mailwrapper remove trailing periods from SEE ALSO. 2000-11-15 17:27:54 +00:00
makemap Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
manctl mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
memcontrol Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
mergemaster mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
mixer Fix format string warnings 2000-11-27 07:57:44 +00:00
mld6query mld6query sends an IPv6 multicast listener discovery (MLD) query packet 2000-07-10 16:56:19 +00:00
mlxcontrol mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
mount_nwfs mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
mount_portalfs mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
mountd Prepare for mdoc(7)NG. 2000-12-18 15:16:24 +00:00
moused mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
mptable Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
mrouted mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
mtest
mtree mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
named The GCC 2.96 snapshots have slightly different rules for finding include 2000-12-01 09:39:28 +00:00
named.reload
named.restart
ndc ndc is now a C program that communicates with named via a unix-domain 1999-11-30 06:18:10 +00:00
ndp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
newsyslog mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
nfsd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
ngctl mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
nghook mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
nologin mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
nslookup The GCC 2.96 snapshots have slightly different rules for finding include 2000-12-01 09:39:28 +00:00
nsupdate Link against libbind (library and headers) 1999-11-30 06:16:46 +00:00
ntp mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
pccard mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
pciconf Update for new location of pcireg.h. 2000-12-09 00:07:46 +00:00
pcvt mdoc(7) police: added missing .Os call. 2000-12-14 13:58:15 +00:00
periodic mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
pim6dd mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
pim6sd mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
pkg_install mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
pnpinfo Supported PC-98. 2000-05-11 11:09:50 +00:00
portmap mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
ppp Add a missing dot. 2000-12-15 07:34:01 +00:00
pppctl mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
pppd Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
pppstats Remove single-space hard sentence breaks. These degrade the quality 2000-03-03 09:11:28 +00:00
praliases Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
prefix mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
procctl mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
pstat Constify 2000-11-27 08:18:58 +00:00
pw Make the comment generated in /etc/pw.conf match reality 2000-12-18 01:35:56 +00:00
pwd_mkdb mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
quot Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
quotaon mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rarpd mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
raycontrol mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
repquota mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rip6query mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
rmt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
route6d - do not check/advertise cloned routes, nor dynamic routes 2000-11-27 17:44:53 +00:00
rpc.lockd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rpc.statd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rpc.umntall mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rpc.yppasswdd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rpc.ypupdated Don't call syslog() without a format string. 2000-07-12 00:50:49 +00:00
rpc.ypxfrd Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
rrenumd mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
rtadvd mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rtprio mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
rtsold mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
rwhod Ensure that received packets are at least as long as the rwho packet 2000-12-22 21:30:15 +00:00
sa mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
sade Fix an informational message a little and properly check status of a yes/no 2000-12-16 05:36:10 +00:00
sendmail Add a MAINTAINER= line so people know who to blame 2000-10-26 23:02:36 +00:00
setextattr mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
setkey Change the spelling of .' to .' from .OBJDIR since `.' really is where 2000-12-05 22:10:43 +00:00
sgsc mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
sicontrol mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
sliplogin Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
slstat Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 14:09:25 +00:00
spkrtest
spray mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
stallion Constify 2000-11-27 08:18:58 +00:00
sysinstall Fix an informational message a little and properly check status of a yes/no 2000-12-16 05:36:10 +00:00
syslogd mdoc(7) police: document IPv6 options in the SYNOPSIS. 2000-12-18 08:42:58 +00:00
tcpdchk Add IPv6 scoped address support. 2000-07-14 17:15:34 +00:00
tcpdmatch Add IPv6 scoped address support. 2000-07-14 17:15:34 +00:00
tcpdump mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
timed Eliminate groff(1) warnings. 2000-11-23 10:15:50 +00:00
traceroute Don't compile in IPsec support when NOIPSEC is defined. 2000-04-01 21:48:07 +00:00
traceroute6 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
trpt mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
tzsetup Use dialog_noyes() for UTC selection; uses No as default answer now. 2000-12-16 05:29:38 +00:00
usbd mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
usbdevs Use releaseNo, not release. release is evil and should go away. 1999-11-23 01:16:10 +00:00
vidcontrol mdoc(7) police: use certified section headers wherever possible. 2000-11-17 11:44:16 +00:00
vipw mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
vnconfig Don't do raw device 'r' mangling. 2000-12-15 16:40:11 +00:00
watch Add `_PATH_DEVZERO'. 2000-12-09 09:35:55 +00:00
wicontrol mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
wlconfig mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
xten mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
yp_mkdb mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
ypbind Remove single-space hard sentence breaks. These degrade the quality 2000-03-01 14:09:25 +00:00
yppoll mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
yppush mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
ypserv mdoc(7) police: removed history info from the .Os FreeBSD call. 2000-12-14 11:52:05 +00:00
ypset mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
zic mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
Makefile Added the lastlogin utility. 2000-11-14 17:49:38 +00:00
Makefile.inc