summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/ifconfig.8
AgeCommit message (Collapse)Author
2021-02-01change "demote counter" / "demote count" to "demotion counter", ok deraadtStuart Henderson
2021-01-17umb(4) sets a default interface priority too; mention it hereStuart Henderson
ok deraadt
2021-01-13Temporary addresses are preferred for 1 day and valid for 2.Florian Obser
Lifetimes are extended from router advertisements within these limits. From weerd@
2020-08-24some tweaks to the "group" text, from evan silberman;Jason McIntyre
i replaced the suggested Cm/Ql mix with simple Dq;
2020-08-24Omit common ifconfig optionskn
ifconfig(8)'s TRUNK (LINK AGGREGATION) nicely combines the two drivers, so omit common stuff from the drives specific manuals. This aids in the overall design of having options documented in ifconfig(8) alone unless they're inherently driver specific, e.g. "trunkproto" which stays in trunk(4). OK jmc
2020-08-08add some vertical whitespace;Jason McIntyre
2020-08-05Move TPMR section above TRUNK to sort alphabeticallykn
Reminded by jmc
2020-08-05Document tpmr ioctls and synopsiskn
Add missing TPMR section to ifconfig(8) by moving the commands from the driver's manual to it (copy/paste) and document the ioctl(2) interface in tpmr(4). Indenting tpmr's first EXAMPLE while here; from jmc. OK jmc
2020-07-26Document aggr(4) in the TRUNK sectionkn
Complete the synopsis while here. Feedback OK jmc
2020-06-27remove the spacing around "arp | rarp", as prompted by schwarze;Jason McIntyre
2020-06-27macro fixes; from matthew martinJason McIntyre
2020-06-24spelling fix; from matthias schmidtJason McIntyre
2020-06-21various minor tweaks;Jason McIntyre
2020-06-21wgpip -> wgendpoint. ok dlg@Matthieu Herrb
2020-06-21teach ifconfig about wireguard.David Gwynne
note that this links ifconfig with libcrypto to get at base64 encoding and decoding routines. im looking at an alternative way to do that, so hopefully this is temporary. secondly, note that all the wireguard stuff is under ifndef SMALL, so the special build of ifconfig for install media does include wireguard support, and also does not need libcrypto. from Matt Dunwoodie and Jason A. Donenfeld ok deraadt@
2020-04-29Add the 'nomimo' nwflag which disables MIMO in 11n mode.Stefan Sperling
This flag restricts a wireless driver to MCS0 - MCS7 for both transmission and reception. It can be set to work around packet loss in 11n mode caused by unused antenna connectors on a MIMO-capable wireless network device. man page tweak from tracey@ ok deraadt@
2020-04-23 ce examples of "Ar arg Ar arg" with "Ar arg arg" and stop the spread;Jason McIntyre
2020-02-24Clarify that nwid/join SSIDs must be printable ASCII if they're not hex.Stefan Sperling
ok kevlo@
2019-11-10Update wifi-related documentation in ifconfig man page.Stefan Sperling
ok jmc deraadt
2019-09-20Document the output of 'ifconfig scan' in client mode.Stefan Sperling
ok mlarkin
2019-08-21 Remove support for semantically opace interface identifiers (RFC 7217)Florian Obser
for IPv6 link local addresses. Some hosting and VM providers route customer IPv6 prefixes to link local addresses derived from ethernet MAC addresses (RFC 2464). This leads to hard to debug IPv6 connectivity problems and is probably not worth the effort. RFC 7721 lists 4 weaknesses: 3.1. Correlation of Activities over Time & 3.2. Location Tracking These are still possible with RFC 7217 addresses for an adversary connected to the same layer 2 network (think conference wifi). Since the link local prefix stays the same (fe80::/64) the link local addresses do not change between different networks. An adversary on the same layer 2 network can probably track ethernet MAC addresses via different means, too. 3.3. Address Scanning & 3.4. Device-Specific Vulnerability Exploitation These now become possible, however, as noted above a layer 2 adversary was probably able to do this via different means. People concerned with these weaknesses are advised to use ifconfig lladdr random. OK benno input & OK kn
2019-08-03Mention dhclient vs AUTOCONF4.Kenneth R Westerback
2019-08-01the argument name is "address_family" (with an underscore);Jason McIntyre
2019-07-25Add IFXF_AUTOCONF4 to if_xflags to match IFXF_AUTOCONF6. LetKenneth R Westerback
ifconfig set/unset it. ok deraadt@ kmos@
2019-05-31a tidied version of mlarkin/phessler diffs to document options which don;t makeJason McIntyre
sense on "join" lines;
2019-05-12Fix 'ifconfig nwflags; These flags ended up overlapping with other flagsStefan Sperling
in ieee80211com's ic_flags because we haven't been paying attention to them (they're not in the same place in the code and hence easy to miss). Move them to a dedicated variable to avoid this problem in the future. Add a new 'stayauth' nwflag which can be set to let net80211 ignore deauth frames. This can be useful when deauth frames are being persistently spoofed by an attacker. Idea from beck@ ok beck@ phessler@
2019-05-10Document port protection support in switch(4). Also add SIOCBRDGSIFPROT toakoshibe
list of ioctls in bridge(4). OK ccardenas@ kn@ phessler@
2019-04-19rxprio.David Gwynne
2019-04-10tweak previous; ok dlgJason McIntyre
2019-04-10mention that "ifconfig foo0 transceiver" is a thingDavid Gwynne
2019-03-29point readers to individual driver pages for notes on powersave; ok stspJason McIntyre
2019-03-27comment out the optional "duration" argument to powersave:Jason McIntyre
only two older cards currently attempt to set this, and it should not be neccessary anyway; i've added in a some (commented) info to explain this; discussed with and ok stsp
2019-03-26note that powersave is disabled by default (i.e. no need to explicitlyJason McIntyre
disable this), and provide a little more info on "duration"; some driver-specific notes hopefully to follow... help/ok stsp
2019-03-11sort the mpls options; ok dlgJason McIntyre
2019-03-11tweak previous;Jason McIntyre
2019-03-11fix the documentation for mpls interfacesDavid Gwynne
instead of an mpe and mpw section, have an MPLS section that talks about mpe, mpw, and mpip.
2019-01-18let users automatically use join to connect to any open wifi network.Peter Hessler
if a known network is visible, always prefer that instead. requested by many, OK stsp@
2018-11-16sort previous;Jason McIntyre
2018-11-16vlan uses txprio tooDavid Gwynne
2018-11-16document txprioDavid Gwynne
2018-11-16gre has a few siblings nowDavid Gwynne
2018-11-10Fix vnetid rangekn
0 and 4095 are reserved IDs as per 802.1Q and vlan(4), setting them will fail. OK denis
2018-09-08Enforce that "join" and "nwid" may not be used at the same time.Peter Hessler
OK stsp@
2018-08-29Better description for inet6 eui64, plus consistency tweaksJeremie Courreges-Anglas
from Callum R. Davies, ok jmc@
2018-08-13consistent macros;Jason McIntyre
2018-08-12Add administrative options to LACP trunk implementation.ccardenas
The trunk driver now has a new ioctl (SIOCxTRUNKOPTS), which for now only has options for LACP: * Mode - Active or Passive (default Active) * Timeout - Fast or Slow (default Slow) * System Priority - 1(high) to 65535(low) (default 32768/0x8000) * Port Priority - 1(high) to 65535(low) (default 32768/0x8000) * IFQ Priority - 0 to NUM_QUEUES (default 6) At the moment, ifconfig only has options for lacpmode and lacptimeout plumbed as those are the immediate need. The approach taken for the options was to make them on a "trunk" vs a "port" as what's typically seen on various NOSes (JunOS, NXOS, etc...) as it's uncommon for a host to have one link "Passive" and the other "Active" in a given trunk. Just like on a NOS, when applying lacpmode or lacptimeout, the settings are immediately applied to all existing ports in the trunk and to all future ports brought into the trunk. Tested by many on a plethora of NIC drivers and switches. Ok remi@
2018-08-12add missing markup;Jason McIntyre
2018-08-11Fix problems ofthe ifconfig argument parser with "ifconfig <if> join".Sebastian Benoit
Due to the way the parsing works, you cannot have an option that accepts strings as argument or no argument, without side effects: for example "join <nwid>" could only join networks that did not have a nwid identical to another ifconfig option, i.e. "join mtu" or "join join" would not work. Solve this by making join always require an nwid. Listing all the configured nwids for auto-join is moved to the new option "joinlist". Removing _all_ auto-join configuration is moved to "-joinlist". deraadt@ likes it and ok phessler@ stsp@
2018-08-03document that wpakey needs a preceeding nwid OR join specificationAlexander Hall
ok phessler@
2018-07-19i found a nicer way to describe -join;Jason McIntyre