summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2001-04-24Correct SA refcounting. Fixes a bug where isakmpd could die when a peer wasNiklas Hallqvist
discovered to have rebooted, and old now invalid SAs had to be garbage- collected.
2001-04-23Various man page fixes and improvements from gluk@Aaron Campbell
2001-04-23fasion -> fashion; spotted by ericj@Aaron Campbell
2001-04-22Update pdisk manpage to match formatting for other manpages, correctionsDale Rahn
appropriate for openbsd.
2001-04-19PF_KEY identity extensions are NUL-terminated. Do not forget neither toNiklas Hallqvist
allocate for the NUL, nor to actually transfer it.
2001-04-19Cleanup dirpref and synhronize superblock with freebsd.Grigoriy Orlov
From FreeBSD with little changes. art@ ok.
2001-04-17Match quoting on this...Dale Rahn
2001-04-17Add pdisk to list of programs to build for powerpc, all other archsDale Rahn
will build the manpage, with the proper destination.
2001-04-16check for 'i' before the getopt. (idea from freebsd)Eric Jackson
this allows us to call the functions directly from the switch, which lets us now put all options on ONE command line, instead of separating them out into several command's. ok tholo@, deraadt@
2001-04-16We default to infrastructure mode now; say so in the man page instead ofThorsten Lockert
claiming we do ad-hoc by default. ok ericj@
2001-04-16much more cleanup.Eric Jackson
- Only create the socket for ioctl()'s once. - get rid of gratuitous argument passing - treat an_dump* function different than the regular options - fix the -T option, it doesnt take an arguement. deraadt@, tholo@ ok
2001-04-16Actually permit setting the transmit key in WEP mode; from Kurt Miller.Thorsten Lockert
Correctly display number and order of WEP keys; from Kurt Miller. Fixes part of PR 1754; ok deraadt@
2001-04-15start some cleanup to ancontrolEric Jackson
- alphabetize the argument list - get rid of unused vars deraadt@ ok
2001-04-15Style.Hakan Olsson
2001-04-14Forgot remove 'U' from optstring; millert@ ok. ;)Grigoriy Orlov
2001-04-14Minor cleanup.Hakan Olsson
2001-04-13Remove softdep and add avgfilesize/avgfpdir in printfs().Grigoriy Orlov
Pointed out by fgs@. deraadt@ ok.
2001-04-13typo. ok deraadt@Jakob Schlyter
2001-04-13Fix overflow in superblock. From FreeBSD.Grigoriy Orlov
FreeBSD's log: > The ffs superblock includes a 128-byte region for use by temporary > in-core pointers to summary information. An array in this region > (fs_csp) could overflow on filesystems with a very large number of > cylinder groups (~16000 on i386 with 8k blocks). When this happens, > other fields in the superblock get corrupted, and fsck refuses to > check the filesystem. > > Solve this problem by replacing the fs_csp array in 'struct fs' > with a single pointer, and add padding to keep the length of the > 128-byte region fixed. Update the kernel and userland utilities > to use just this single pointer. > > With this change, the kernel no longer makes use of the superblock > fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c > to indicate that these fields must be calculated for compatibility > with older kernels. art@ ok.
2001-04-12More.Hakan Olsson
2001-04-12Correct various faulty x509 deallocations. By Niklas and me.Hakan Olsson
2001-04-12Don't put the same message on the sendq twice. By niklas and me.Hakan Olsson
2001-04-10Disable optimization on sparc; ok deraadt@Christian Weisgerber
If tape.c is compiled with -O or higher, dump runs on _some_ systems will _sometimes_ become stuck. All five dump processes (tty, master, slaves) will just sleep. This has been observed on some sun4c and sun4m systems.
2001-04-09More style fixes...Hakan Olsson
2001-04-09Only set BINDIR if undefined. From NetBSD's isakmpd port (itojun, presumably).Hakan Olsson
2001-04-09isakmpd can now capture un-encrypted IKE negotiation packets to aHakan Olsson
file. In pcap(3) format, so tcpdump(8) can read it. Idea by Tim Newsham <newsham@lava.net>, work by him and me. Ok angelos@, niklas@
2001-04-09Style police a'la niklas@.Hakan Olsson
2001-04-09fix typoMarkus Friedl
2001-04-09Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@Thorsten Lockert
2001-04-08log_print, not log_errorHakan Olsson
2001-04-08Updates from gluk@ that describe new options that can be used to tweak theAaron Campbell
new directory allocation policy.
2001-04-08Remove soft updates. Warn users about how to enable softdep.Grigoriy Orlov
art, deraadt ok.
2001-04-07Add missing filename argument.Hakan Olsson
2001-04-06Improve grammar.Aaron Campbell
2001-04-06Replace FFS directory preference algorithm(dirpref) by new one.Grigoriy Orlov
It allocates directory inode in the same cylinder group as a parent directory in. This speedup file/directory intensive operations on a big file systems in times. Don't forget to recompile fsck_ffs with updated fs.h or you will get "VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE" at the next boot. In any case you can ignore this error safely. Requested by deraadt@
2001-04-05Also mention mode requirements for the private key file, plus one less typo.Hakan Olsson
2001-04-05Be more clear about configuration file mode requirements.Hakan Olsson
2001-04-05As the isakmpd.policy file can contain sensitive information, we wantHakan Olsson
the same mode checks we use for isakmpd.conf. Style.
2001-04-05Style.Hakan Olsson
2001-04-05let check_file_secrecy() set errnoHakan Olsson
2001-04-05doc -s and -f, though -f does not work that way anymore.. hmm; chuck@snew.comTheo de Raadt
2001-04-05permit tree build with NOMAN is setTheo de Raadt
2001-04-05Fix:Grigoriy Orlov
- two overflow of static buffer by device name. - one overflow of dynamic buffer.
2001-04-04bye bye -U (soft updates).Grigoriy Orlov
2001-04-04Document softdep option.Grigoriy Orlov
>From NetBSD. art@ ok.
2001-04-04Add "softdep" option to mount. Update from rw/async to softdepGrigoriy Orlov
and otherwise are disabled. art@ ok.
2001-04-03mount_mfs should not take the -U flag sync mfs is async and you cannotTodd C. Miller
have both aync and soft updates (not that it makes sense to have soft updates on mfs anyway). Also sync the usage in mount_mfs mode to the man page.
2001-04-03Don't free reallocated memory.Hakan Olsson
2001-04-03x509 verified to work on NetBSD nowNiklas Hallqvist
2001-03-29We need ipsec_decode_ids regardless of DEBUG feature now.Hakan Olsson