summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig
Commit message (Collapse)AuthorAgeFilesLines
* Document carp(4) arguments.jcamou2006-02-031-1/+26
| | | | | | | | PR: docs/92653 Submitted by: Jeremy C. Reed <reed@reedmedia.net> Reviewed by: ru Approved by: trhodes (mentor) MFC after: 5 days
* Recognize new VLAN_HWCSUM flag.glebius2006-01-301-1/+2
|
* Do address assignment/removal operations after callbacks.yar2006-01-301-7/+6
| | | | | | | | | | | | | | | Presently, ifconfig callbacks are used for L2 configuration, media and vlan, so actions associated with address assignment, like sending out a gratuitous ARP, should go when L2 is running already. This also should fix the problem with setting up vlan interfaces from rc.conf, when both IP and vlan+vlandev parameters are passed to ifconfig at once. Future work: Consider introducing several ifconfig callback lists to invoke callbacks orderly. MFC after: 1 week
* Fix an off-by-one error.maxim2006-01-291-1/+1
| | | | Reviewed by: sam
* don't widen the ssid field by default, this screws up other formatting;sam2006-01-181-6/+8
| | | | make it available with the -v option
* Fix an off-by-one bug.ru2006-01-151-1/+1
| | | | Submitted by: Ulrich Spoerlein
* Grab the media from the passed in structure to put it into theambrisko2006-01-111-0/+1
| | | | | | | global structure. PR: bin/91399 Submitted by: Spencer Minear
* When printing SSID's in ifconfig(8)'s scan mode, set the width of therwatson2005-12-301-3/+3
| | | | | ssid field to 32 characters instead of 14, as long SSID's are quite common and hard to type in if you can't read them.
* document deftxkeysam2005-12-261-1/+9
|
* Document the pfsync(4) specific maxupd parameter, with text mostly takenceri2005-12-161-1/+12
| | | | | | | | from OpenBSD's manpage. PR: docs/89256 Submitted by: Pim van Pelt <pim at ipng dot nl> MFC after: 3 days
* add control for packet burstingsam2005-12-142-1/+30
|
* Add support for creating span ports so that one can snoop bridged trafficthompsa2005-12-142-0/+35
| | | | | | | from another interface/machine/network. Obtained from: OpenBSD MFC after: 2 weeks
* display a bssid that's zero with the -v optionsam2005-12-141-1/+1
|
* add mcastrate supportsam2005-12-122-1/+25
| | | | MFC after: 1 week
* -mdoc sweep.ru2005-11-181-64/+67
|
* SSIDs are of length 32-bytes and not NUL terminated. Use the correctbrooks2005-10-301-2/+3
| | | | | | | | | | | length and bail immediatly if the returned length is wrong rather than attempting to set an correct value. This commit differs from the patch in the PR in the use of exit instead of return and the use of a defined value for the array. Submitted by: Daan Vreeken [PA4DAN] <Danovitsch at Vitsch dot net> PR: bin/74509
* Don't crash when given an invalid nwkey string.brooks2005-10-281-0/+2
| | | | PR: misc/88159
* Display the status of the spanning tree for each port.thompsa2005-10-071-8/+16
| | | | | | | | | | member: xl0 flags=7<LEARNING,DISCOVER,STP> member: gem0 flags=7<LEARNING,DISCOVER,STP> to: member: xl0 flags=7<LEARNING,DISCOVER,STP> port 3 priority 128 path cost 55 forwarding member: gem0 flags=7<LEARNING,DISCOVER,STP> port 1 priority 128 path cost 55 learning
* Eliminate some unneeded code bits.yar2005-10-061-10/+7
|
* Use a callback to set up a vlan interface so that "vlan"yar2005-10-041-37/+31
| | | | | | | | | and "vlandev" commands can be specified in any order. This makes the code more compact and clear as well. Improve error check on vlan argument. MFC after: 2 weeks
* Now ifconfig is the one right way to turn polling on. Thus, removeglebius2005-10-011-5/+6
| | | | the "if" clauses.
* For the sake of consistency and easier typing,yar2005-09-292-1/+6
| | | | | | | | introduce "-tunnel" as an alias for "deletetunnel". The latter is overly long and prone to typos, but keep it for POLA since it costs nothing. MFC after: 5 days
* Forgot to touch .Dd in the previous commit.yar2005-09-291-1/+1
|
* Deprecate the useless argument to -vlandev.yar2005-09-292-5/+10
| | | | | | Submitted by: Fredrik Lindberg <fli+freebsd-current at shapeshifter.se> (implementation) Reviewed by: brooks MFC after: 5 days
* err() -> errx() where appropriate.ru2005-09-291-5/+5
|
* Since special interface types get their own subsectionsyar2005-09-221-98/+104
| | | | | | (not in mdoc(7) sense yet) in ifconfig(8) manpage, create such subsections for gif(4) and vlan(4) so that their specific options are not mixed up with general options.
* Document two missed if_bridge commands 'addr' and 'static'.thompsa2005-08-141-0/+7
| | | | | | Noticed by: Michal Mertl Approved by: mlaier (mentor) MFC after: 3 days
* add list mac and mac:kick supportsam2005-08-132-10/+98
| | | | | Submitted by: Michal Mertl (original version) MFC after: 2 weeks
* Fix commen typos.stefanf2005-08-031-4/+4
|
* Wireless suport fixups: add a bunch of stuff that's been in thesam2005-08-021-14/+209
| | | | | | | code but not documented (e.g. wme, mac acl) and correct some information, etc. Reviewed by: brueffer
* acm and ack are specified per-acsam2005-08-011-8/+18
| | | | MFC after: 3 days
* oops, revert previous changesam2005-07-301-7/+0
|
* MFC: add fragthreshold parameter and accept - (or any) for rtsthresholdsam2005-07-301-0/+7
| | | | Approved by: re (kensmith)
* o add fragthreshold support now that the ioctl existssam2005-07-261-1/+16
| | | | | | o accept rtsthreshold - (or any) as a shorthand for rtsthreshold 2346 MFC after: 3 days
* Add a new flag '-k' to ifconfig(8), indicating that it is alright torwatson2005-07-144-2/+18
| | | | | | | | | | print potentially sensitive keying material to stdout. With the new 802.11 support, ifconfig(8) is now capable of printing 802.11 keys, and did by default for the root user, which is undesirable in some environments. Now it will not print keying material unless requested (and available to the user). MFC after: 1 week
* Add symbolic names for the IFF_PPROMISC and IFF_NEEDSGIANT flagsyar2005-07-131-1/+1
| | | | | | so that ifconfig(8) can print them. MFC after: 5 days
* mdoc cleanup and whitespace removal after the last commit.brueffer2005-07-131-10/+9
| | | | Submitted by: ru
* Information about the capability flags in 'ifconfig foo0 scan' output.brueffer2005-07-121-1/+30
| | | | | | | Most content by: avatar Reviewed by: sam Approved by: re (hrs) MFC after: 3 days
* add pureg/-pureg parameter for controlling pureg ap mode supportsam2005-07-062-1/+22
| | | | | Reviewed by: avatar Approved by: re (scottl)
* Appending "..." to a SSID which contains unprintable characters only whenavatar2005-06-201-4/+5
| | | | | | | necessary. Submitted by: sam Approved by: re (scottl)
* only show a tunnel information of an adequate address family.ume2005-06-162-4/+10
| | | | Approved by: re (dwhite)
* Markup fixes.ru2005-06-141-1/+1
| | | | Approved by: re (blanket)
* It's spelled 'preceded' of course.brueffer2005-06-131-2/+2
| | | | | Submitted by: David Adam <zanchey@ucc.gu.uwa.edu.au> Pointy hat to: brueffer
* Hex strings are _pre_ceeded by 0x, not _pro_ceeded.brueffer2005-06-131-2/+2
| | | | | | | PR: 82187 Submitted by: Anthony Rogers <anthony.j.rogers@gmail.com> Approved by: re (blanket) MFC after: 3 days
* Connect if_bridge to the build.thompsa2005-06-052-0/+113
| | | | Approved by: mlaier (mentor)
* Add if_bridge, which provides more advanced Ethernet bridging and 802.1dthompsa2005-06-051-0/+533
| | | | | | | | | | | | spanning tree support. Based on Jason Wright's bridge driver from OpenBSD, and modified by Jason R. Thorpe in NetBSD. Reviewed by: mlaier, bms, green Silence from: -net Approved by: mlaier (mentor) Obtained from: NetBSD
* Fix some warnings on 64-bit archs.jhb2005-06-011-6/+7
| | | | Reviewed by: sam
* guard against bogus address datasam2005-05-201-1/+1
| | | | Submitted by: Bakul Shah
* NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 definesume2005-05-131-15/+6
| | | | | NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special for it, now.
* Update ifconfig's pfsync module for 3.7 pfsync(4)mlaier2005-05-031-14/+80
|
OpenPOWER on IntegriCloud