summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* o correct mode request handlingsam2003-06-251-3/+6
| | | | | o add 802.11 alias support o suppress display of the default "mode autoselect" when showing the "phy mode"
* The current recommended default time to live (TTL) for the Internetru2003-06-251-3/+3
| | | | | | | Protocol (IP) is 64 [RFC791, RFC1122]. Prodded by: Igor Kucherenko <kivvy@sunbay.com> Obtained from: http://www.iana.org/assignments/ip-parameters
* remove unused file (RELENG_5 and above use ipfw2, the old ipfw1luigi2003-06-241-2667/+0
| | | | has been unused and unmaintained for a long time).
* Split some long lines to fit 80 columns (the code in RELENG_4luigi2003-06-231-5/+10
| | | | was already correct).
* syntactic sugar: support range notation such asluigi2003-06-231-5/+32
| | | | | | | | | | | | | | | 1.2.3.4/24{5,6,7,10-20,60-90} for set of ip addresses. Previously you needed to specify every address in the range, which was unconvenient and lead to very long lines. Internally the set is still stored in the same way, just the input and output routines are modified. Manpage update still missing. Perhaps a similar preprocessing step would be useful for port ranges. MFC after: 3 days
* o Fix sets of rules usage example.maxim2003-06-231-4/+4
| | | | | | PR: docs/53625 Submitted by: Kostyuk Oleg <cub@cub.org.ua> MFC after: 1 week
* Add support for multiple values and ranges for the "iplen", "ipttl",luigi2003-06-222-29/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | "ipid" options. This feature has been requested by several users. On passing, fix some minor bugs in the parser. This change is fully backward compatible so if you have an old /sbin/ipfw and a new kernel you are not in trouble (but you need to update /sbin/ipfw if you want to use the new features). Document the changes in the manpage. Now you can write things like ipfw add skipto 1000 iplen 0-500 which some people were asking to give preferential treatment to short packets. The 'MFC after' is just set as a reminder, because I still need to merge the Alpha/Sparc64 fixes for ipfw2 (which unfortunately change the size of certain kernel structures; not that it matters a lot since ipfw2 is entirely optional and not the default...) PR: bin/48015 MFC after: 1 week
* Replace the code for reading and writing the kernel message bufferiedowse2003-06-221-3/+1
| | | | | | | | | | | | | | | | | with a new implementation that has a mostly reentrant "addchar" routine, supports multiple message buffers in the kernel, and hides the implementation details from callers. The new code uses a kind of sequence number to represend the current read and write positions in the buffer. This approach (suggested mainly by bde) permits the read and write pointers to be maintained separately, which reduces the number of atomic operations that are required. The "mostly reentrant" above refers to the way that while it is now always safe to have any number of concurrent writers, readers could see the message buffer after a writer has advanced the pointers but before it has witten the new character. Discussed on: freebsd-arch
* Remove another reference to ffsinfo.8brueffer2003-06-171-3/+1
|
* Remove references to ffsinfo(8) for now. It was disconnected frombrueffer2003-06-172-2/+0
| | | | the build almost a year ago.
* Xref police: chmod(8) -> chmod(1).sobomax2003-06-171-1/+1
|
* Compile sunlabel on all archs.phk2003-06-171-4/+1
|
* o Pass a correct argument to printf(3).maxim2003-06-161-3/+4
| | | | | | PR: bin/51750 Submitted by: Vasil Dimov <vd@datamax.bg> MFC after: 2 weeks
* Tighten up the string->integer conversion in sysctl(8):rwatson2003-06-151-5/+25
| | | | | | | | | | | | | | | | | | | (1) Reject zero-length strings for CTLTYPE_INT, _UINT, _LONG, _ULONG. Do not silently convert to 0. (2) When converting CTLTYPE_INT, _UINT, _LONG, and _ULONG, check the end pointer generated by strtol() and strtoul() rather than discarding it. Reject the string if either none of the string was useful for conversion to an integer, or if there was trailing garbage. I.e., we will not allow you to set a numeric sysctl to a value unless we can completely convert the string argument to a numeric value. I tripped over this when I put the following in /etc/sysctl.conf: kern.maxfiles="4000" Ouch.
* Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcamken2003-06-141-2/+0
| | | | | | | | and libdevstat, since the new way of doing things is to just list maintainership in src/MAINTAINERS. Also, remove duplicate entries in src/MAINTAINERS for those utilities. I already had entries for them.
* If the -proxy_only option is used, the -alias_address/-interfaceru2003-06-132-4/+9
| | | | | | | options are not required. Suggested by: Vaclav Petricek MFC after: 2 weeks
* Remove label command. It has been deprecated since December 1998, andgrog2003-06-121-37/+1
| | | | | | recent changes broke it altogether. Prompted by: phk
* Remove "label" keyword.grog2003-06-121-2/+1
|
* style clean.obrien2003-06-112-11/+9
|
* Add "-n" argument, which causes mdconfig to simply print the unitrwatson2003-06-112-5/+16
| | | | | | number X, rather than mdX, making it easier to script tests that use md devices but don't want to make assumptions about any existing md use (such as in diskless environments).
* Be consistent about module names.phk2003-06-091-2/+2
|
* GEOMification of CCD.phk2003-06-091-165/+69
| | | | | You need your kernel and ccdconfig(8) to be in sync, particularly if your source tree is on a ccd device.
* Marshal newfs -L (filesystem volume names), the names are not marshalledjmallett2003-06-091-0/+2
| | | | with any quoting, but that should be OK for re-input, regardless.
* .Nm -> .Xrcharnier2003-06-081-3/+4
|
* The .Xr utilitycharnier2003-06-081-2/+3
|
* mount_msdos -> mount_msdosfscharnier2003-06-081-1/+1
|
* Add section number to .Xrcharnier2003-06-083-3/+3
|
* Add section number to .Xrcharnier2003-06-081-1/+1
|
* Augh! Fix the sparc64 build:phk2003-06-071-0/+8
| | | | | If we don't have a default label location for the compiled architecture, insist that a -m <architecture> option is specified.
* Sanitize setting of labeloffset and labelsector.phk2003-06-072-12/+5
|
* Move my maintainership of parts of ipfilter back to Darren Reedguido2003-06-064-4/+4
|
* Give ia64 the exact same semantics as i386 with respect to non-512phk2003-06-041-1/+2
| | | | byte sector devices.
* Unbreak ia64. 'nuff said.marcel2003-06-041-0/+4
|
* Change handling to support strong alignment architectures such as alpha andticso2003-06-041-12/+34
| | | | | | | | sparc64. PR: alpha/50658 Submitted by: rizzo Tested on: alpha
* Further devilification of CCD:phk2003-06-021-122/+29
| | | | | | | Change the list interface to simplify things. Remove old list ioctls which bogusly exported the softc to userland. Move the softc and associated structures from the public header to the source file.
* Use GEOM OAM api to retrive list of configured ccd devices.phk2003-06-022-0/+22
| | | | Link against libgeom.
* Fix sectorsize != 512 on i386 and pc98. Add test cases for same.phk2003-06-022-21/+39
|
* Assorted mdoc(7) fixes.ru2003-06-021-37/+42
|
* Fix SIGINFO handling: do not print incorrect timing statisticsmaxim2003-06-021-6/+6
| | | | | | when the data for it is not available. Founded by: ping -s0 localhost; press ^T
* Simplify the GEOM OAM api: Drop the request type, and let everythingphk2003-06-013-12/+14
| | | | | | | | hinge on the "verb" parameter which the class gets to interpret as it sees fit. Move the entire request into the kernel and move changed parameters back when done.
* Add pc98 arch to test set.phk2003-06-011-2/+2
| | | | Remove ktrace which leaked out of test-setup.
* Protext copyright[].obrien2003-05-311-3/+2
|
* mdoc(7) fixes.ru2003-05-242-28/+31
| | | | Approved by: re (blanket)
* Add amd64 to the MACHINE_ARCH list of systems that link bsdlabel topeter2003-05-231-1/+2
| | | | | | | | disklabel. I just got burnt again by having an old disklabel binary kicking around. Discussed with: phk Approved by: re (safe amd64 stuff)
* When newfs'ing a partition with UFS2 that had previously been newfs'eddougb2003-05-221-0/+24
| | | | | | | | | | | | | | | | | with UFS1, the UFS1 superblocks were not deleted. This allowed any RELENG_4 (or other non-UFS2-aware) fsck to think it knew how to "fix" the file system, resulting in severe data scrambling. This patch is a more advanced version than the one originally submitted. Lukas improved it based on feedback from Kirk, and testing by me. It blanks all UFS1 superblocks (if any) during a UFS2 newfs, thereby causing fsck's that are not UFS2 aware to generate the "SEARCH FOR ALTERNATE SUPER-BLOCK FAILED" message, and exit without damaging the fs. PR: bin/51619 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Reviewed by: kirk Approved by: re (scottl)
* mdoc(7) fixes: Fixed the markup in the BUGS section, bumped document date.ru2003-05-191-4/+5
|
* mdoc(7) fixes: Fix the markup in the recently added ENVIRONMENT section.ru2003-05-191-6/+6
|
* mdoc(7) fixes: Mark "gated" with the .Nm macro.ru2003-05-191-6/+6
| | | | Approved by: re (blanket)
* Add a newline at end of file.ru2003-05-191-1/+1
| | | | Approved by: re (blanket)
* Fixed troff(1) and mdoc(7) warnings.ru2003-05-181-3/+1
| | | | Approved by: re (blanket)
OpenPOWER on IntegriCloud