summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Markup fixes.ru2006-09-1814-76/+96
|
* Add -f option to program's usage(), fix manpage's SYNOPSIS.ru2006-09-172-4/+3
|
* Remove a contraction and add a missing article.brueffer2006-09-171-2/+2
|
* Check the length of the ipv4 and ipv6 address lists. It must be lessjhay2006-09-161-0/+4
| | | | | | than F_LEN_MASK. MFC after: 5 days
* Fix copy&paste mistake.pjd2006-09-161-1/+1
| | | | Submitted by: Matthias Lederhofer <matled@gmx.net>
* Add 'configure' subcommand which for now only allows setting and removingpjd2006-09-162-1/+88
| | | | | | | | of the BOOT flag. It can be performed on both attached and detached providers. Requested by: Matthias Lederhofer <matled@gmx.net> MFC after: 1 week
* Note that we don't destroy keys on read-only attached providers.pjd2006-09-161-2/+5
| | | | MFC after: 1 week
* First kill detached providers, because of two reasons:pjd2006-09-161-7/+3
| | | | | | | | | - after killing all attached providers, all providers are then detached and operation is repeated for those who were attached, - we don't want to remove keys for read-only attached providers, we only want to detach them. MFC after: 1 week
* Use bzero() to clear the whole ipfw_insn_icmp6 structure in fill_icmp6types(),jhay2006-09-161-1/+1
| | | | | | | | | | | | otherwise this command ipfw add allow ipv6-icmp from any to 2002::1 icmp6types 1,2,128,129 turns into icmp6types 1,2,32,33,34,...94,95,128,129 PR: 102422 (part 1) Submitted by: Andrey V. Elsukov <bu7cher at yandex.ru> MFC after: 5 days
* Fix markup snafu.des2006-09-141-1/+2
| | | | Spotted by: ru
* Reduce the number of errors under WARNS=6charnier2006-09-131-9/+5
|
* Add FBSDID, rename local variable time to not conflict with time()charnier2006-09-121-7/+11
|
* Fix the manual build.obrien2006-09-105-24/+23
|
* Re-word the description of the "async" flag.danger2006-09-081-3/+6
| | | | | | Suggested by: Milos Vyletel (mv@rulez.sk) Reviewed by: ru Approved by: keramida (mentor), trhodes (mentor)
* Fix octal representation of TSO4 and TSO6 bits in interface capabilitiesandre2006-09-081-1/+1
| | | | description.
* - Split failure probability configuration into read failure probability andpjd2006-09-082-13/+28
| | | | | | | write failure probability. - Allow to specify an error number to return of failure. MFC after: 3 days
* Make TSO (TCP segmentation offload) capabilities visible and accessible withandre2006-09-062-1/+20
| | | | | | | | | | 'ifconfig em0 tso' and 'ifconfig em0 -tso'. TSO for IPv4 and IPv6 is always enabled or disabled together. The driver may enable only one if it doesn't support both. Document 'tso' and '-tso' in the ifconfig(8) man pages. Sponsored by: TCP/IP Optimization Fundraise 2005
* While convenient, avoid using alloca() for reasons specified inru2006-09-061-4/+20
| | | | | | | | | the BUGS section of the alloca(3) manpage. In particular, when the number of TCP sockets is several tens of thousand, trying to "sysctl -a" would SIGSEGV on the net.inet.tcp.pcblist entry (it would exceed the stacksize ulimit, in an undetectable manner). Reported by: Igor Sysoev
* Support Celsius (nn.nC), Fahrenheit (nn.nF) and Kelvin (nnnn) toume2006-09-031-4/+39
| | | | | | | specify temperature. Reviewed by: njl MFC after: 3 days
* o Fix style(9) for previous.maxim2006-08-251-1/+1
|
* A bunch of fixes from NetBSD:maxim2006-08-251-17/+23
| | | | | | | | | | | | | | | | | | o Restore owner/group/mode/atime/mtime of symbolic links, rev. 1.30. o Extract file flags of symbolic link, rev. 1.42. o Call getfile() before altering file attributes. Open file with mode 0600 instead of 0666 so that file won't remain group or world readable/writable even if getfile() terminated. Move skipfile() before altering file attributes in IF{CHR,BLK} and IFIFO case for symmetry, rev. 1.32. o Use file mode 0600 when creating special file or fifo, revs. 1.33, 1.34. o Remove redundant -N check. PR: bin/101660 Submitted by: Andrey V. Elsukov Obtained from: NetBSD, enami@netbsd MFC after: 6 weeks
* Add a note that the btime command only works on UFS2.ceri2006-08-241-1/+4
| | | | Suggested by: maxim (who had also done the btime patch independently).
* Allow fsdb to manipulate the birthtime entries on UFS2.ceri2006-08-233-3/+29
| | | | | Approved by: jhb MFC after: 1 month
* A pipe bandwidth of 10MBits/s should probablydwmalone2006-08-231-1/+2
| | | | | | | be understood as 10Mbits/s not 10MBytes/s. Submitted by: Gavin McCullagh <gavin.mccullagh@nuim.ie> MFC after: 1 week
* (media_status): Factor common code between IFM_ETHER and IFM_ATM cases.thomas2006-08-221-21/+9
| | | | | | | | | (print_media_word, print_media_word_ifconfig): Remove unnecessary goto following test for null desc. PR: bin/102354 Submitted by: Ricardo Nabinger Sanchez <rnsanchez@gmail.com> MFC after: 1 week
* Remove alpha left-overs.ru2006-08-223-6/+2
|
* Revert the addition of -p. It's flawed in that dhclient should not runbrian2006-08-212-25/+7
| | | | | | | on an interface without carrier. devd should be used instead to handle link up/down events. Put on the right path by: brooks, sam
* Implement 'camcontrol reportluns'. This allows users to send the SCSIken2006-08-212-2/+300
| | | | | | | | | | | | | | | | | | REPORT LUNS command to a device. camcontrol.[c8]: Implement reportluns. This tries to print the LUNs out in a reasonable format. Only the periph addressing method has been tested, since very little hardware that I know of supports the other methods. scsi_all.[ch]: Revamp the report luns CDB structure and helper functions. This constitutes a little bit of an API change, but since the old CDB length was 10 bytes, and the REPORT LUNS CDB length is actually 12 bytes, it's clear that no one was using this API in the first place. MFC After: 1 week
* Regigle parens to try and get the intended affect. This should fix peopledwmalone2006-08-201-6/+6
| | | | | | | | | having trouble with the "me6" keyword. Also, we were using inet_pton on the wrong variable in one place. Reviewed by: mlaier (previous version of patch) Obtained from: Sascha Blank (inet_pton change) MFC after: 1 week
* Fix typo.julian2006-08-201-1/+1
|
* comply with style policejulian2006-08-182-18/+19
| | | | | Submitted by: ru MFC after: 1 month
* Allow ipfw to forward to a destination that is specified by a table.julian2006-08-172-11/+60
| | | | | | | | | | | | | | | | | for example: fwd tablearg ip from any to table(1) where table 1 has entries of the form: 1.1.1.0/24 10.2.3.4 208.23.2.0/24 router2 This allows trivial implementation of a secondary routing table implemented in the firewall layer. I expect more work (under discussion with Glebius) to follow this to clean up some of the messy parts of ipfw related to tables. Reviewed by: Glebius MFC after: 1 month
* Bump the document date. s/dhclient/.Nm/brian2006-08-171-4/+7
| | | | Suggested by: ru
* Correct usage()brian2006-08-171-1/+1
|
* Add a -p switch to dhclient. The switch tells dhclient to persistbrian2006-08-172-5/+20
| | | | | | | | | | despite the interface link status. Add dhclient_flags_iface and background_dhclient_iface rc.conf options. (where iface is a specific interface). These can be used to give interface specific flags to dhclient. Reviewed by: brooks@
* Regularly scheduled patch to unbreak regularly scheduled post-ipfilterkan2006-08-171-1/+1
| | | | | | | buildworld breakage. Exclude loglevel.c from the build. It does not appear to be used by anything in the tree and buildworld succeeds just fine without it.
* Take IP_FIREWALL_EXTENDED out of the man page too.julian2006-08-171-8/+0
| | | | MFC after: 1 week
* Clarify documentation of '-L' command line switch: the snapshot isthomas2006-08-161-1/+2
| | | | | | | | | unlinked as soon as the dump starts (and removed when the dump is completed, and the dump process exits). Previous wording was confusing because users might expect the snapshot to be visible in the .snap subdirectory while dump is running. MFC after: 1 week
* Adapt to ipf 4.1.13guido2006-08-161-2/+2
|
* If rawname returns NULL, deal with it appropriately.mjacob2006-08-151-0/+2
| | | | | | PR: 94045 Submitted by: Andrey Elsukov MFC after: 1 week
* Fix printing of integer Kelvins broken in rev. 1.71, which isru2006-08-151-3/+3
| | | | | | fatal on sizeof(int) != sizeof(long) systems (such as amd64). MFC after: 1 day
* Print packet loss figures with one decimal place. ping6 already doesdd2006-08-141-4/+4
| | | | | this, and OpenBSD and NetBSD pings do it too. This is primarily useful for comparing low levels of packet loss.
* Add an extension to the UINT & ULONG types. The XINT & XLONG types behaveobrien2006-08-121-2/+10
| | | | the same, except sysctl(8) will print out the values in hex.
* Restore the "plumb" compatibility command, which was lostyar2006-08-121-0/+1
| | | | due to the recent change by sam@ to clone operations in ifconfig(8).
* fixup list station support:sam2006-08-101-4/+23
| | | | | | o add sanity check to avoid possible looping o use intended api for IEEE80211_IOC_STA_INFO o when operating in sta mode get the sta info for the ap
* o Spell.maxim2006-08-101-1/+1
| | | | Submitted by: ru
* o Strip eol whitespaces.maxim2006-08-091-2/+2
|
* o New sentence, new line.maxim2006-08-091-2/+3
| | | | o Touch Dd for -r.
* Allow geli to operate on read-only providers.pjd2006-08-092-4/+7
| | | | | Initial patch from: vd MFC after: 2 weeks
* Add missing #.pjd2006-08-071-1/+1
|
OpenPOWER on IntegriCloud