summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
2008-10-20add an example of how to scan for wireless networks, since it is notJason McIntyre
immediately obvious from reading the main text or the wireless pages; i killed the "ifconfig gif1 destroy" example to do this, since i want to keep EXAMPLES relatively short, and we already provide an example of how to create an interface;
2008-09-30compress powersleep commands into one; ok damienTheo de Raadt
2008-09-10some pflow tweaks;Jason McIntyre
2008-09-09fix printing by group name (eg. ifconfig em), do not abort in theReyk Floeter
initial getinfo(), and remove a few superfluous warnings there. ok deraadt@
2008-09-09document pflow stuff, Joerg Goltermann <jg@osn.de> with some changes by meHenning Brauer
(I am sure jmc will make this even betterer)
2008-09-09welcome pflow(4), a netflow v5 compatible flow export interface.Henning Brauer
flows export data gathered from pf states. initial implementation by Joerg Goltermann <jg@osn.de>, guidance and many changes by me. 'put it in' theo
2008-09-07update wireless synopsis too: nwid requires an argument, chan does not;Jason McIntyre
2008-09-07nwid requires an arg; ok deraadtJason McIntyre
2008-09-07- say what "media" w/o args doesJason McIntyre
- chan argument is n, not id
2008-09-07Allow some set-style commands to have zero arguments. If there is anTheo de Raadt
argument after that command, check if it is a keyword, and if it is, that means the original command really has no argument. Get it? Now.. replace -m with media (no options), and -M with chan (no options). Try 'ifconfig -a media chan' on a wireless & ethernet machine after this. ok henning, reyk, thanks for the comments from others
2008-07-29s/affect/assign/ in wmm option.Damien Bergamini
2008-07-19Correct missed capitalization of MPLS.Brad Smith
2008-07-17Pasto in error message for setspppkey()Stuart Henderson
ok mbalmer@
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-15put carppeer in the right place;Jason McIntyre
2008-06-15Add 802.3ad LACP support for trunk(4).Marco Pfatschbacher
Implementation from NetBSD. Ported via FreeBSD's version in trunk^Wlagg(4). This is still work in progress. Tested with a HP ProCurve 3500. OK reyk@
2008-06-14add carppeer; an option to specify a different multicast address orReyk Floeter
even the unicast address of the remote carp peer. this especially helps when the multicast carp advertisements are causing problems in the network (some crappy switches don't do well with multicast), there are conflicts with VRRP, or the policy of the network does not allow multicast (most Internet eXchange points didn't allow carped OpenBGP routers because of the multicast advertisements). discussed with many ok mpf@
2008-06-13INADDR_PFSYNC_GROUP is defined as network byte order in the kernel butReyk Floeter
as host byte order in userland. ifconfig didn't get this and always printed the pfsync syncpeer on little endian machines because the check to prevent printing the default address assumed the wrong byte order. ok claudio@ rainer@
2008-05-07Remove references to routed.Claudio Jeker
2008-05-07put the mpe bits in the right place;Jason McIntyre
2008-05-07Document the new mpe interface and explain the appropriate commandsPierre-Yves Ritschard
in ifconfig(8). The man pages reference mpls(8) which doesn't exist, but claudio promises it will follow shortly. a thumb up and ok from claudio@
2008-05-06bring in the mpe interface - for ``MPLS Provider Edge'' - this is a workPierre-Yves Ritschard
in progress and some bits need to be cleaned up but will be in-tree for convenience. ok claudio@, norby@
2008-05-06print IN6_IFF_AUTOCONF flag, too; ok henning some time agoMarkus Friedl
2008-04-18remove wparekey from the list of 802.11 ifconfig options.Damien Bergamini
pointed out by drahn@
2008-04-16- wpa-psk is section 8, not 1Jason McIntyre
- one more passphrase tweak
2008-04-16Kernel implementation of the 4-way handshake and group-keyDamien Bergamini
handshake protocols (both supplicant and authenticator state machines) as defined in the IEEE 802.11i standard. Software implementation of the TKIP (Temporal Key Integrity Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols. This diff doesn't implement any of the 802.1X authentication protocols and thus only PSK authentication (using pre-shared keys) is currently supported. In concrete terms, this adds support for WPA-PSK and WPA2-PSK protocols, both in station and hostap modes. The following drivers are marked as WPA-capable and should work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4), rum(4), upgt(4), and zyd(4) The following options have been added to ifconfig(8): wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher wpa-psk(8) can be used to generate keys from passphrases. tested by many@ ok deraadt@
2008-03-29fix a free(NULL) in setcarp_nodes().Damien Bergamini
ok mpf@, chl@ "i agree with the diagnosis" oga@
2008-03-19document "netboot" interface group;Jason McIntyre
based on a diff originally from bsd openbsd rutgers edu
2008-02-11bump Mdocdate for pages committed in "febuary", necessary becauseJason McIntyre
of a typo in rcs.c;
2008-02-05Move carp load balancing (ARP/IP) to a simpler configuration scheme.Marco Pfatschbacher
Instead of using the same IP on multiple interfaces, carp has to be configured with the new "carpnodes" and "balancing" options. # ifconfig carp0 carpnodes 1:0,2:100,3:100 balancing ip carpdev sis0 192.168.5.50 Please note, that this is a flag day for anyone using carp balancing. You'll need to adjust your configuration accordingly. Addititionally this diff adds IPv6 NDP balancing support. Tested and OK mcbride@, reyk@. Manpage help by jmc@.
2007-11-27fix format stringsCharles Longeau
ok mpf@
2007-11-27fix format stringsCharles Longeau
ok mpf@ henning@
2007-11-22Factor out the virtual host portion of carp into a separate structMarco Pfatschbacher
that is kept in a list per carp interface. This is the huge first step necessary to make carp load balancing nice and easy. One carp interface can now contain up to 32 virtual host instances. This doesn't do anything useful yet, but here is how an ifconfig for multiple entries now looks like: # ifconfig carp2 carpnodes 5:0,6:100 192.168.5.88 carp2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:00:5e:00:01:05 carp: carpdev sis0 advbase 1 state MASTER vhid 5 advskew 0 state BACKUP vhid 6 advskew 100 groups: carp inet 192.168.5.88 netmask 0xffffff00 broadcast 192.168.5.255 OK mcbride@
2007-11-09talk about "vlan-tag" consistently; from Tero KoskinenJason McIntyre
2007-10-31Don't leak potentially secret authname through ioctl interface.Mike Belopuhov
Suggestions from mpf@ and canacar@ ok deraadt mpf canacar
2007-10-20document the "all" interface group; after some discussion w/ mpf and henningJason McIntyre
diff from Okan Demirmen ok henning
2007-10-09Fix range check for carp vhid: vhid 0 isn't validJoel Knight
2007-09-03Typos from miod. 'specificed' -> 'specified' in some comments and man page.Kenneth R Westerback
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-08-25missing free, Igor Zinovik <zinovik@cs.karelia.ru>Henning Brauer
2007-07-31oops, forgot to include the man page tweaks from jmc@Pierre-Yves Ritschard
2007-07-31When setting the vlandevice without specifying a tag, infer the tagPierre-Yves Ritschard
from the interface name, this allows constructs like: ifconfig vlan15 vlandev smth0 ok reyk@, ``makes sense'' henning@
2007-07-30strlen returns size_t.Pierre-Yves Ritschard
ok henning, mbalmer.
2007-07-30avoid segfault when empty string is passed as interface name.Pierre-Yves Ritschard
ok henning@
2007-06-19Allow IPv6 addresses to use the CIDR notation too, no need for separatePierre-Yves Ritschard
prefixlen specification when using this form. man page bits by jmc. ok henning@, ``looks sane'' djm@.
2007-06-14Add a new "rtlabel" option to ifconfig. It allows to specify a route labelReyk Floeter
which will be used for new interface routes. For example, ifconfig em0 10.1.1.0 255.255.255.0 rtlabel RING_1 will set the new interface address and attach the route label RING_1 to the corresponding route. manpage bits from jmc@ ok claudio@ henning@
2007-06-13allow IPv4 addresses to be specified in CIDR notation, no need for seperateHenning Brauer
mask in that case. initially from rivo nurges <rix@estpak.ee>, but changed quite a bit. this has annoyed me so long that I wonder why I hadn't fixed that earlier... input & ok markus deraadt, manpage also jmc
2007-06-12just because sth is an abbreviation or acronym, does not mean it'sJason McIntyre
a tradename: zap erroneous .Tn
2007-06-12zap some dead AF_NS bits; ok henningJason McIntyre
2007-06-05remove support for ipx. okay claudio@Kurt Miller