summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2008-08-24Define a proper wsdisplay type for legss(4).Miod Vallat
2008-08-22mention machine/cpu.h for the CPU identifiers.Brad Smith
2008-08-22- -R before -r in SYNOPSIS/usage()Jason McIntyre
- avoid marking up `|'
2008-08-22Add a hack to manually kick off rebuilds. This will need some love in theMarco Peereboom
near future. ok deraadt
2008-08-19use the actual keysize from the SA to figure out which AES variantMarkus Friedl
(aes-192, aes-256) is used; ok hshoexer@
2008-08-19Look at 'fs_flags' when dumping FFS2 file systems, okay beck@, millert@Pedro Martelletto
and otto@.
2008-08-15Add -s option to usage().Joel Sing
Prompted by jmc@ ok jmc@
2008-08-14Allow the sector size to be specified by the user when configuring aJoel Sing
vnd(4) device, via a new -s option to vnconfig/mount_vnd. This allows us to create disklabels and file systems that are suitable for use on devices that have a non-512 byte sector size (eg. CDROMs). With help from krw@ and feedback from pedro@. ok krw@, pedro@
2008-08-12use correct byte order when printing state expiration minutes; ok henning@David Krause
2008-08-11fix a6 partition lookup where a static variable was incorrectly used inReyk Floeter
the recursive findopenbsd() function. reported by PR 5905. tested by many ok deraadt@
2008-08-11Undo last commit; deraadt didn't like it.Marco Peereboom
2008-08-11Add infrastructure to manually kick off rebuilds.Marco Peereboom
2008-08-10add missing ellipsis; spacing.Igor Sobrado
2008-08-10spacing; remove non-existent flag from synopsis.Igor Sobrado
2008-08-10add missing space.Igor Sobrado
ok krw@
2008-08-10Shorten the lines of '?' output in edit mode. A couple were tooKenneth R Westerback
long (>76 chars) for the install script space on the CD jackets. Requested by deraadt@.
2008-08-08Admit b_blkno means block number; a block is DEV_BSIZE (a.k.a.Kenneth R Westerback
512) bytes; ffs is inextricably tied to using b_blkno and disklabel always uses sectorsize units. Thus use DEV_BSIZE units for all fields describing ffs filesystems and convert to/from sectors where required. This enables the creation and use of ffs filesystems on non-512 byte sectorsize devices. This diff allows i386 and sgi (the two test platforms) to find disklabels that are not on a sectorsize boundary. Same change to further archs coming. This is a no-op on 512-byte sectorsize devices. This work triggered by jsing@'s need to create ffs filesystems on sgi cdroms so we can create cdrom install media for sgi. sgi testing by jsing@ ok jsing@ pedro@ "looks sane" beck@ weingart@
2008-08-07correctly copy the log interface spec when expanding an antispoof rule thatHenning Brauer
covers loopback addresses. ok ryan problem report from Harald Dunkel <harald.dunkel@aixigo.de>
2008-08-04refuse to run on block devices; prompted by marco; ok marco@ millert@Otto Moerbeek
deraadt@
2008-08-04fix extended partition support by handling chained EBRs correctlyReyk Floeter
(using a recursion limit). now OpenBSD can be installed in a subsequent DOS/Linux-compatible extended partition. ok krw@ deraadt@
2008-08-04"-a" is used if no arguments are given to wsconsctl.Igor Sobrado
tweaked by jmc@. ok jmc@
2008-08-04Properly output machdep.chipset values on alpha models without pci buses;Miod Vallat
ok deraadt@
2008-08-03spread the unwritten wisdom newfs should be run on raw devs, not onOtto Moerbeek
block devs; ok marco@ jmc@ millert@ deraadt@
2008-08-02fixes from Alexander Holupirek, documentation/5899:Jason McIntyre
- fix a typo in lkm.4 (different fix used) - document securelevel(7) (again, different fix taken) whilst here, some minor repair: - no need to wrap section names in quotes - tidy up FILES a little - new sentence, new line
2008-07-29s/affect/assign/ in wmm option.Damien Bergamini
2008-07-25don't redefine INFINITY -- math.h defines it nowMartynas Venckus
pointed out by, and ok david@, go ahead henning@
2008-07-24check sysctl return valueHenning Brauer
From: Gleydson Soares <gsoares@gmail.com>, ryan ok
2008-07-22If isakmpd is started with -4 or -6, virtual_get_default() mayAlexander Bluhm
return NULL. This happens if isakmpd is configured for the other address family. Add a NULL pointer check and initialize rv. ok hshoexer
2008-07-22use generalised PBKDF#2 from bioctl; ok damien@Damien Miller
2008-07-21spelling fix from Mark Pecaut;Jason McIntyre
2008-07-21Free the rules in the rule_queue also if ipsecctl is called withAlexander Bluhm
the -n switch. This triggers malloc related bugs during the regress tests. ok hshoexer
2008-07-19Correct missed capitalization of MPLS.Brad Smith
2008-07-18+.Xr crash 8 ,Jason McIntyre
from Stephan A. Rickauer
2008-07-17Pasto in error message for setspppkey()Stuart Henderson
ok mbalmer@
2008-07-12fix printing of nchstatsThordur I. Bjornsson
ok art@,dlg@
2008-07-10Die -r, die! Eliminate stray -r in usage text. Spotted by James Hartley.Kenneth R Westerback
2008-07-09Read 'vendor' flag from ASCII disklabel since we print it. FixesKenneth R Westerback
PR #5872. ok millert@ deraadt@
2008-07-09expand the net.inet.(tcp|udp).baddynamic dynamic source portDamien Miller
skipping bitmasks to cover the entire 65536 port space - previously they covered 512-1024 only. sysctl needs to be updated to cope with this change; please "make includes" before rebuilding it. feedback millert@ ok millert@ deraadt@ markus@
2008-07-06Don't change the size of the partition being newfs'd when sectorsize,Kenneth R Westerback
either from the disklabel or via -S, is not 512 bytes. Disklabel partition sizes are sectors and not 512 byte blocks. One less 'block is 512 bytes' assumption. 2^32 or so to go. ok otto@ millert@
2008-07-05synchronize usage of atactl commands with manual page.Igor Sobrado
ok millert@, (for the change) jmc@
2008-07-03do not forget to initialize other member of $$ in qname; noted by mark shroyerTheo de Raadt
ok henning
2008-07-02string munging: say 'CRYPTO' not 'RAID67'Todd T. Fries
ok marco@
2008-07-01Isakmpd acquire mode did not work with a config generated fromAlexander Bluhm
ipsec.conf. The config created by isakmpd dynamically was different from the config that ipsecctl generated out of ipsec.conf. Both config formats are changed so that they match. One needs a passive ike line and a require flow line with the same parameters in the ipsec.conf. Then the acquire message generated by the kernel will trigger isakmpd to generate a config that matches the one that ipsecctl generated from the ike line. ok hshoexer, 'sounds good' todd
2008-07-01If a rules contains a hostname instead of an address, use the listAlexander Bluhm
of all possible addresses from DNS and not only the first one. So during expansion, the right address family can be chosen and regression test ike56 passes again. There localhost resolves to 127.0.0.1 and ::1. ok hshoexer
2008-07-01If multiple to addresses but no peer are given in an ike or flowAlexander Bluhm
rule, the current to address is taken as peer during expansion. This makes the broken regress test ikefail7 obsolete as address family mismatch cannot happen anymore. ok hshoexer
2008-07-01Initialize variable before checking against NULL.Ray Lai
OK deraadt, otto, krw.
2008-06-29Simplify state creation code; merge state import/export code between pfsyncRyan Thomas McBride
and the state-related pf(4) ioctls, and make functions in state creation and destruction paths more robust in error conditions. All values in struct pfsync_state now in network byte order, as with pfsync. testing by david ok henning, systat parts ok canacar
2008-06-27documentation tweak.Igor Sobrado
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-25In interactive mode, always suggest offsets and sizes inside theOtto Moerbeek
OpenBSD area and change the 'p' command to only print the boundaries and size of the OpenBSD area and the free space within that area. Introduce a 'l' command to print the header only. With krw@; ok krw@ deraadt@; jmc@ for the man page bits