simonb
7ebee5683d
Save the "preserve" value in the defaults file.
...
Use _PATH_CSHELL from <paths.h> instead of the string "/bin/csh".
Don't cast NULL to the pointer type being checked.
2000-10-01 08:56:28 +00:00
simonb
9014a6cdcd
Fix typo.
2000-10-01 08:54:07 +00:00
bjh21
05b7923a90
Formatting cleanups around the description of geomspec.
2000-09-30 17:58:19 +00:00
sommerfeld
802499fd1c
Avoid using savestr() on something which will later be passed to
...
free(). Raised as a potential security issue on bugtraq. No actual
exploits known.
2000-09-30 12:44:37 +00:00
agc
9da93f35c8
Add functionality for adding usernames to secondary groups via the
...
"usermod -G group user" command.
Fixes PR/11071.
2000-09-29 10:37:26 +00:00
mellon
a894c0a5ef
Goto label was in slightly wrong place.
2000-09-29 00:30:56 +00:00
erh
9a18c8bb35
Use ROUNDUP to pass addresses to the kernel aligned on a long boundary. Use the sa_len field of each address instead of sizeof(). Makes arp work on 64bit architectures.
2000-09-28 01:11:31 +00:00
itojun
c8b98b814c
syslog() string format hole.
...
http://www.securityfocus.com/templates/archive.pike?start=2000-09-24&fromthread=0&mid=85023&list=1&end=2000-09-30&threads=0&
2000-09-26 17:44:38 +00:00
agc
4361ae7cb0
Correct a pasto in moduser(), the effect of which was to replace the
...
contents of the GECOS comment field with the default shell name, when
a user's information was modified.
Fixes PR 11072.
2000-09-26 11:35:48 +00:00
bjh21
ff579c68fd
Style nit -- hard-coded path names belong in pathnames.h.
2000-09-24 09:45:55 +00:00
christos
b181f2aa02
- resolve conflicts
...
- adjust 2.4.0 new tty subsystem back to bsd.
- start on multilink stubs
- clean up warnings
Status:
- paulus knows about the fixes, but he has not responded yet as to if
I should commit them or not].
- I've tested ipv4 connectivity and itojun tested ipv6 [many thanks!]
- Missing from this are pluggin examples and pppdump code because they
are contain gpl code.
- This version of pppd is again gpl free now!
2000-09-23 22:39:29 +00:00
christos
5f5270c935
import of a cropped down pppd-2.4.0 circa sept 10 directly from the cvs
...
repository.
2000-09-23 22:14:39 +00:00
agc
61daa070a6
If we're about to add a user whose specified home directory does
...
not exist, and the "-m" argument has not been specified, then output
a warning.
2000-09-20 19:28:40 +00:00
christos
2565bd1854
oops, use MAKEDBM_S
2000-09-19 18:24:54 +00:00
christos
06e8cfa1f8
add a non-enabled rule to build solaris and linux shadow files.
2000-09-19 18:23:43 +00:00
ad
b8bb84a3b0
Clean one paragraph.
2000-09-19 16:28:52 +00:00
sommerfeld
5ac29b83b7
Don't prematurely terminate log message on a 0x80 character
2000-09-18 13:04:53 +00:00
jwise
f9c3dbedef
Silly as it may be, update the #! line in this script to match the pkgsrc
...
wish install.
After the freeze, I'll pkgsrc this script -- it's kind of cute.
2000-09-14 18:00:44 +00:00
itojun
a5d0cbc5e5
sync with latest kame.
...
- improve logging.
- correct multicast address check for the relayed destination.
- repair EPRT translation.
- support 227 result without paren.
- change behavior on no-argument to more sensible side
(before: relay telnet, now: error)
WARNING: you may need to change your startup script.
2000-09-14 00:36:10 +00:00
itojun
ed870024f2
sync document with latest kame. now uses 3ffe:501:ffff::/48 in example.
2000-09-14 00:30:23 +00:00
thorpej
a12b66cf79
Don't abort if pushing to one server in the ypservers map fails.
...
There might be serveral more waiting to be pushed to.
This is only 1/2 of the fix. ypxfer(8) also needs a change to
avoid a false error, but this allows pushes to continue to work,
at least.
Problem noted by aflury@zembu.com and agordon@zembu.com .
2000-09-13 21:40:15 +00:00
tron
20084585ac
Use setlocale(3) to activate support for international characters.
...
This should fix PR bin/11007 by Bill Sommerfeld.
2000-09-13 21:20:21 +00:00
sommerfeld
b6f7dd7187
prevent one byte overrun in printline()
2000-09-13 15:46:32 +00:00
enami
f1fec63273
When @hourly is specified, set not just 23 but bit 0 through 22 also in
...
the bitstring e->hour. Fixes PR#10961.
2000-09-13 04:07:34 +00:00
erh
5303e70da5
Make targets which are generated with rpcgen depend on the rpcgen binary.
2000-09-10 23:21:49 +00:00
joda
4412293540
install manpage
2000-09-10 19:45:18 +00:00
joda
332f680f77
install manpage
2000-09-10 19:38:03 +00:00
mellon
4649cc23c5
Update some instances of file movement in the ISC release.
2000-09-05 00:50:07 +00:00
mellon
e59a2459c4
Merge 3.0b2pl2 with head.
2000-09-04 23:19:27 +00:00
mellon
4ca7dd8c85
DHCP 3.0 Beta 2 Patchlevel 2
2000-09-04 23:09:46 +00:00
kleink
4918722a89
For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
...
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
hubertf
b09f22f48f
When downloading and extracting a file (in ftp:
...
'get pkg.tgz "| cd /var/tmp/inst ; gunzip | tar -x -f -"'), handle
two cases better:
1. Timing out ftp connections: Make sure the hanging pipeline gets a ^C
(SIGINT), and wait until the ftp prompt is available again. Else we
may nuke away tar's working dir, and it may be displeased.
2. One of the commands from the pipeline exiting: caught via SIGCHLD;
for this signal to be delivered, a empty handler is needed)
Adresses PR 10925 by Greg A. Woods <woods@planix.com>
2000-09-01 04:42:57 +00:00
hubertf
80c46f750e
* Code cleanup
...
* Add a comment in one appropriate place
* Indent properly
2000-09-01 04:36:20 +00:00
hubertf
c06c5a0348
Add some (commented out) debug flags
2000-09-01 04:34:03 +00:00
itojun
5914867b00
repair interface MTU grabbing. real cause of PR 10923.
...
from koji@jp.above.net . sync with kame.
2000-08-31 16:40:04 +00:00
jhawk
a022cf9d37
Use
...
${MAKE}
instead of
make
2000-08-30 23:51:46 +00:00
abs
7a26b9af55
Include the fact we're making replies in the debug() output.
2000-08-30 11:01:43 +00:00
hubertf
d332db18be
Make pkg_add & friends print the files they push through tar(1) to
...
stderr, thus making them visible. (tar's stdout goes somewhere else)
2000-08-29 03:56:56 +00:00
hubertf
14dbdb5745
* Make a few functions public so this code can be used by other programs
...
* Comment a workaround for a certain lukem ftp behaviour
* Fix a bug where a invalid initial dir was not caught early enough
2000-08-28 21:35:14 +00:00
hubertf
0186d67219
Hide "trying PKG_PATH ..." message, only print on -v
2000-08-28 15:39:35 +00:00
reide
63285a5cdb
tyop. inerface != interface
2000-08-25 07:15:02 +00:00
enami
7652453dd5
Initialize variables which I recently changed storage class from file global
...
to auto. Pointed out by Launey Thomas <ljt@alum.mit.edu>.
2000-08-25 06:25:59 +00:00
toshii
3f9bbd97f5
Defined datobyte(fs, da) macro, to ensure cast to off_t.
...
Fixes overflows with >2GB partitions. Reviewed by <enami@netbsd.org>.
2000-08-25 05:27:49 +00:00
sommerfeld
c829aa7773
Fix ingroup() to not check gid against trailing groups not set by
...
getgroups().
Reported to security-officer, but not a security hole, since
"operator" is not gid 0.
2000-08-24 17:40:16 +00:00
itohy
880baa236b
Don't pass null pointer to syslog.
...
lpd[6813]: mail sent to user itohy about job foo.ps on printer lp ((null))
^^^^^^
2000-08-24 02:03:54 +00:00
jhawk
5056d0ce7c
Add support for "microwave oven robustness" with wiconfig -M.
2000-08-23 19:01:04 +00:00
lukem
ab1ba36358
replace references to /etc/rc.wscons with /etc/rc.d/wscons
2000-08-22 08:49:01 +00:00
fvdl
63d43d2078
Fix 2 cases of wrong checks for sufficient bytes, causing output
...
to be not as verbose as it should have been.
2000-08-19 15:59:43 +00:00
wiz
4d73d17ffe
user's UID is not kept if preserve is "false" (typo fix)
...
false(1) -> .Xr false 1
2000-08-18 15:49:21 +00:00
itojun
70d90c210e
use more Xr to refer to sendmail(8). suggested by jhawk.
...
XXX not sure what is the correct way to refer to "postfix suite".
postfix(1) does not seem that relevant here.
2000-08-18 07:27:59 +00:00
itojun
9ab681c878
add purgestat and hoststat into sendmail example,
...
they are added in sendmail 8.10.x.
correct preamble text near postfix example.
2000-08-18 01:49:43 +00:00
mrg
4e24c8f4bb
add NetBSD id tags.
2000-08-17 12:36:32 +00:00
mrg
25fc9bdc39
use libc inet_addr(3). fixes part of PR#10651
2000-08-14 11:30:41 +00:00
jhawk
8c412633ff
Check for lowbattery state (if running -l) when polling for state,
...
rather than just when receiving events. Thus, if events are not
working (for some unknown reason...), low-power shutdown will
still work.
2000-08-13 21:13:56 +00:00
itojun
8702beec4d
warn if net.inet6.ip6.forwarding == 1. rtsol{,d} is not supposed to be used
...
on routers.
update manpage (talk about -a twists more).
2000-08-13 18:19:12 +00:00
itojun
53476128e8
minor manpage fix.
2000-08-13 06:27:00 +00:00
itojun
ba6d02ed0c
add -a flag: automatically probe an interface, works only if there's
...
only single external non-p2p interface. idea from thopej.
$KAME$.
(sync with kame)
2000-08-13 06:20:02 +00:00
itojun
a1d74a730b
fix LP64 issue in routing message parsing. from thorpej
2000-08-13 00:41:30 +00:00
thorpej
8521dd166a
Clean up some include paths.
2000-08-12 18:08:43 +00:00
matt
576563305b
A little cleanup. Deal with lost packets
2000-08-11 23:11:12 +00:00
itojun
f714bfb0d8
rewrite local address detection code, to use getifaddrs(3), not gethostname(3).
...
gethostname(3) do not necessarily represent local host addrses.
pointed out by: Chuck Cranor
2000-08-09 14:28:50 +00:00
ad
4ed69cc393
Remove extraneous M_32_SWAP().
2000-08-08 12:08:17 +00:00
thorpej
d7018d707f
Fix slight error in last.
2000-08-07 16:23:31 +00:00
thorpej
5535e3de10
Simplify.
2000-08-07 16:16:23 +00:00
ad
b11d8d3fbf
- Move some duplicated code from main() into subroutines. In doing this,
...
fix -p (it was broken if used in conjunction with either -B or -L).
- const, KNF.
2000-08-07 13:19:27 +00:00
ad
07e87cf61f
Xr pw_mkdb.
2000-08-07 12:39:31 +00:00
enami
f1cac3326d
Add our RCS Id and restore original Id.
2000-08-07 00:55:08 +00:00
thorpej
2bcae16fa3
hprop(8) belongs in /usr/sbin, not /usr/libexec.
2000-08-06 20:42:22 +00:00
thorpej
f975168682
The Kerberos KDC belongs in /usr/sbin, not in /usr/libexec.
2000-08-06 19:31:24 +00:00
ad
492add7c77
- Xr adduser -> Xr user.
...
- Xr passwd.conf.
2000-08-04 14:58:52 +00:00
enami
99432a2167
- Ignore dangling symlink found while following.
...
- Report the name of function when fts_open failed.
- Wrap long line.
2000-08-04 07:51:32 +00:00
enami
b58d7e72eb
- Make some global variable function local.
...
- Remove whitespace at the end of line.
- Put an empty line if function has no local variable.
2000-08-04 07:44:07 +00:00
assar
fc90224f06
link against the not-installed libvers
2000-08-03 22:47:37 +00:00
eeh
780f68fd71
Add a flag to turn on debugging so you don't need to recompile or patch
...
the binary to turn it on.
2000-08-03 21:14:19 +00:00
itojun
afa5315364
correct typo in #define. ICMP6_NI_SUCESS -> SUCCESS (notice missing C).
...
sync with kame.
2000-08-03 14:31:04 +00:00
ad
308c65aabe
KNF.
2000-08-03 08:22:33 +00:00
assar
d6e38c7f36
update build infrastructure for heimdal 0.3a
2000-08-03 04:13:22 +00:00
fvdl
018ee18dee
Do not check unitialized variables as error values. This is generally
...
frowned upon, or so I hear.
2000-08-03 00:07:22 +00:00
fvdl
ad91c2992c
When merging addresses, and no direct match is found, pick the first
...
configured interface that is preferably not local or point to point.
This appears to be what Solaris does as well.
2000-08-03 00:04:30 +00:00
jwise
b240da3ec1
Fix circular reference. Instead of cross referencing itself, dhcpd.conf(5)
...
now cross-references dhcpd(8).
2000-08-02 18:23:44 +00:00
hubertf
d3bf5ce16a
add missing .TP
2000-08-01 18:46:22 +00:00
itojun
51156effd6
be more paranoid about UDP-based echo services validation. namely,
...
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.
2000-08-01 18:42:08 +00:00
itojun
058e85bfc6
we shouldn't use "(ip + 1)" to detect intermediate headers (AH/ESP).
...
we should use ip_p == IPPROTO_TCP/UDP.
2000-08-01 17:39:46 +00:00
itojun
bec9b9854d
IPv6 UDP header checksum.
2000-08-01 17:35:18 +00:00
itojun
1c0969bf27
use of ip_p is irrelevant in tcp_cksum, as we may have AH/ESP inbetween.
2000-08-01 17:34:00 +00:00
itojun
d9bba2ca98
some merge from tcpdump.org code.
...
- 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
2000-08-01 17:29:47 +00:00
itojun
1174b9a1a9
implement tcp6 pseudo header cksum.
2000-08-01 17:24:40 +00:00
jdolecek
973a6510c5
backup previous - including ../Makefile.inc does have some
...
side effects (as pointed by enami), and I changed my build
environment to not need such hack
2000-07-31 17:25:47 +00:00
itojun
8e95963981
fix behavior or -A. routing table check does not seem to working right.
2000-07-30 17:26:14 +00:00
itojun
f96e3b36f6
generate ipnodes.{byname,byaddr} for IPv4/v6 lookups.
...
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?)
2000-07-30 02:33:13 +00:00
itojun
863848734f
with -n, permit non-IPv4 address in the output.
...
option name synchronized with solaris 8.
2000-07-30 02:25:08 +00:00
christos
d9737d6850
- detect duplicate keys when initializing the database. abort if too many
...
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...
2000-07-29 19:15:40 +00:00
christos
d04a051588
remove unused debugging variable
2000-07-29 19:13:34 +00:00
christos
272ef31d3b
declare formatting function.
2000-07-29 19:12:48 +00:00
christos
b834536a8d
- read file using stdio
...
- knf
- add usage function
- add DBT formatting function used for diagnostics
2000-07-29 19:12:17 +00:00
jdolecek
19c28ebcf8
pull in ../Makefile.inc before bsd.prefs.mk, in case someone (like me)
...
has some stuff depending on e.g. value of WARNS in /etc/mk.conf
2000-07-29 12:44:45 +00:00
onoe
2761069b0f
Confirmed the maximum length of the key for WaveLAN Gold cards is
...
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.
2000-07-27 20:24:19 +00:00
itojun
0e416c083c
add usr.bin/{hoststat,purgestat}, which are new argv[0] hack
...
for sendmail 8.10.x and beyond. sorry that i forgot to add this one.
From: Andrew Brown <atatat@atatdot.net>
2000-07-26 16:35:33 +00:00
hubertf
8102826629
Keep *roff from eating things.
...
Noted in PR 10687 by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
2000-07-26 15:18:09 +00:00
mycroft
98a44cdc45
Do the PTRSIZE_64BIT thing in the port-specific .h file instead.
2000-07-26 14:41:23 +00:00