reject the following sources:
0.0.0.0/8 127.0.0.0/8 240.0.0.0/4 255.0.0.0/8
ff00::/8 ::/128
::ffff:0.0.0.0/96 and ::0.0.0.0/96 obeys IPv4 rule.
hint from deraadt.
- print-telnet.c: do not print control character
- print-icmp6.c: improve icmp6 node information printing
(we need to at least meet our kernel code!)
- update dhcp6 printing to 15 draft (14 and 15 are totally incompatible)
- add safeputc() and safeputs() into util.c
hosts.{byname,byaddr} is still an IPv4 only mapping.
obeys solaris8 practice. see comments in ypinit/Makefile.yp for details.
TODO: interop test with solaris8 (any takers?)
duplicate keys are found indicating a corrupted database (avoids problem
where sa would loop forever).
- add open flags and mode in dbopen in case someone wants to debug...
13 characters, not 14. The 13 characters (104bit) secret will be
combined with 24-bit IV to consist the seed for 128-bit RC4.
Though maximum 14 characters can be configured in seven 16-bit hardware
registers, the last charactoer is apparently ignored both for encryption
and decryption.
which needed to be set at compile time but weren't (to handle the case where
TAR_CMD was set to something other than "tar", eg "gtar". In addition to
the constants being wrong, the wrong directory name was being examined for
its string length.
Add a few comments to hopefully avoid having this problem come back.
up to 128 chars long).
Ignore filenames longer than this.
Use syslog with %s as format, just in case.
The above changes come from OpenBSD.
Also use #define instead of magic constants.
between it and hostname:username is optional as well (some software relies
in this); while here, covert to use sscanf() instead of explicit parse code,
sprinkle some comments
dumpit(): change so that the price is total price for this entry, instead of
beeing price per copy
Addresses bin/9996 by Brian Stark, though the implementation differs from
patch code attached to it.