summaryrefslogtreecommitdiff
path: root/sbin/ifconfig
AgeCommit message (Collapse)Author
2010-08-08get the mark up for `|' correct;Jason McIntyre
2010-07-18get the markup right for [-]commandJason McIntyre
2010-07-16fix up the mini synopses in the subsections; fix from ingoJason McIntyre
2010-07-08802.1X is unsupported; from Christopher Zimmermann (tweakedJason McIntyre
version of his diff to tech@ committed);
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
2010-07-02make lint a bit happierTheo de Raadt
2010-06-29Replace enc(4) with a new implementation as a cloner device. We stillReyk Floeter
create enc0 by default, but it is possible to add additional enc interfaces. This will be used later to allow alternative encs per policy or to have an enc per rdomain when IPsec becomes rdomain-aware. manpage bits ok jmc@ input from henning@ deraadt@ toby@ naddy@ ok henning@ claudio@
2010-06-27tweak previous; ok claudioJason McIntyre
2010-06-26Add a way to enable and set the keepalive parameters for gre(4).Claudio Jeker
OK deraadt, reyk
2010-06-07$OpenBSD$Jonathan Gray
ok claudio@
2010-06-07Oups, an unused prototype sneaked into ifconfig. Found by jsg@Claudio Jeker
2010-06-04Merge interface flags and xflags before printing them. So it is possible toClaudio Jeker
see if a interface is using the INET6_PRIVACY or is MPLS enabled. If xflags uses more then 16 flags something else must be figured out. OK stsp@ deraadt@
2010-06-03Stop requiring the 'inet6' keyword when the 'autoconfprivacy' option is used.Stefan Sperling
Simplifies enabling autoconf privacy from hostname.if files. A line such as 'rtsol autoconfprivacy' will now work, as documented in ifconfig(8). Pointed out by steven@. ok deraadt@ steven@ todd@
2010-05-28tweak previous;Jason McIntyre
2010-05-28Add mpls/-mpls commands to enable MPLS label switching on an interface.Claudio Jeker
2010-05-07Add faith(4) to the list of clonable devices even though it is not enbaledClaudio Jeker
by default. Diff by J.C. Roberts
2010-05-06Print the link state for devices not having if_media support by looking atClaudio Jeker
ifdata->ifi_link_state. Don't print in case of a unknown linkstate since some devices (lo0) just have none. OK sthen, dlg, blambert
2010-04-12a little more tidying and excess word reduction. ok jmcTed Unangst
2010-04-11use .Pp to split up this huge text chunk;Jason McIntyre
2010-04-11fix a hack that only worked with old groff;Jason McIntyre
2010-04-11make the options blurb consistent;Jason McIntyre
2010-04-11reduce redundant text in several sections. ok jmcTed Unangst
2010-04-06Simple implementation of RFC4941, "Privacy Extensions for StatelessStefan Sperling
Address Autoconfiguration in IPv6". For those among us who are paranoid about broadcasting their MAC address to the IPv6 internet. Man page help from jmc, testing by weerd, arc4random API hints from djm. ok deraadt, claudio
2010-04-03On the random MAC address also turn off the 'local administered' bit,Theo de Raadt
since it is our intent to deceive. Prompted by weerd. ok ckuethe
2010-04-02randomized mac addresses, avaliable via 'ifconfig $if lladdr random'.Theo de Raadt
Note that not all device drivers do the work of the SIOCSIFLLADDR ioctl correctly, but this is just more reason to get them fixed. ok beck kettenis
2010-01-10s/setpriority/setifpriority/ to eliminate a conflict with setpriority()Philip Guenthe
To quote henning, 'ok gcc'
2009-12-22re-adding a group that exists is not an errorTheo de Raadt
ok claudio
2009-12-14use warn() and warnx() instead of incorrect stderr printing.Theo de Raadt
get rid of EX_* since ifconfig(8) is not sysexits program. discussed with claudio
2009-12-14make ifconfig return with failure of bridge_rule; ok claudioTheo de Raadt
2009-12-14use strtonum() instead of atoi(). idea from Vladimir Kirillov, but hadTheo de Raadt
to rewrite it because it was another mangled diff in mail. When will people learn that the tabs and spaces are important?
2009-12-09off by one in carp configuration; found by parfait, ok jsgTheo de Raadt
2009-11-28remove unused variablesCharles Longeau
ok claudio@
2009-11-23rewrite the bridge "rule" option for clarity; tweaks/ok deraadtJason McIntyre
2009-11-23correct bridge rule descriptionsTheo de Raadt
2009-11-22The spanning priority is conflicting with the interface priority so itClaudio Jeker
got renamed to spanpriority.
2009-11-22Move information describing the bridge and brconfig behaviour intoTheo de Raadt
the relevant manual pages. Functionality is described in the (4) pages, controlling the functionality in ifconfig(8), and the hostname.if gains the old bridgename.if(5) functionality. ok claudio jmc
2009-11-22Merge brconfig into ifconfig. It is annoying that it is impossible to doClaudio Jeker
ifconfig bridge0 add em0 add gif0 add vether0 up instead you need to ifconfig bridge0 create brconfig bridge0 add em0 add gif0 add vether0 up This is working for everything now but we may do some changes when needed. Manpages and startup scripts are following soon. OK deraadt@, henning@
2009-11-22Fix ifconfig -a vs. ifconfig -A and make ifconfig without any arg behaveClaudio Jeker
like ifconfig -a by setting the aflag to 1. Found with and OK deraadt@
2009-11-21tweak previous;Jason McIntyre
2009-11-21Add new option tunneldomain to ifconfig to specify the routing tableClaudio Jeker
to be used for sending out gre/gif encoded packets. OK deraadt@, henning@
2009-11-15vether(4) interfaces can be created too; ok deraadtJason McIntyre
2009-11-09pfsync devices can be dynamically created too; from vladimir kirillovJason McIntyre
ok henning
2009-08-13remove description of link0 for vlan interfaces; this part missed whenStuart Henderson
vlan link0 was replaced with IFCAP_VLAN_HWTAGGING in 2001. prompted by a mail from Insan Praja. ok deraadt@
2009-06-23tweak previous;Jason McIntyre
2009-06-19after long discussion with many...Henning Brauer
ifconfig <if> inet6 used to print all inet6 addresses, and last not least the installer relies on that behaviour. so don't. to turn inet6 on again you have to assign any inet6 address or run rtsol. nobody happy about this asymmetry, but that is the best we could come up with for now.
2009-06-19Document the defer option for pfsync(4) interfaces. ok dlg@Stuart Henderson
2009-06-14enable support for deferring the packet that creates a state so that yourDavid Gwynne
sync peers are able to get the states before the replies. previously there was a race where the reply could hit a partner firewall before it had the state for it, which caused the reply to get processed by the ruleset which probably would drop it. this behaviour is off by default because it does delay packets, which is only wanted in active-active firewalls or when an upstream router is slow to learn that you're moved the active member of the pfsync cluster. it also uses memory keeping the packets in the kernel. use "ifconfig pfsync0 defer" to enable it, "ifconfig pfsync0 -defer" to disable. tested by sthen@ who loves it. he's got manpage changes coming up for me.
2009-06-11remove unused variableCharles Longeau
ok claudio@
2009-06-05seperate -> separateJason McIntyre
2009-06-05Document rdomainClaudio Jeker