History log of /freebsd-current/sbin/ifconfig/ifconfig.8
Revision Date Author Comments
# 42b28f81 15-May-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

ifconfig: Markup nits.

MFC after: 3 days
Reviewed by: imp, allanjude
Differential Revision: https://reviews.freebsd.org/D45209


# 847ef59d 14-May-2024 Dag-Erling Smørgrav <des@FreeBSD.org>

ifconfig: Add format shortcuts.

MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D45166


# 0d446a43 12-Apr-2024 Kristof Provost <kp@FreeBSD.org>

carp: document the new VRRPv3 support

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D44776


# f578d019 22-Apr-2024 Gregory Shapiro <gshapiro@freebsd.org>

ifconfig tunnelfib is implemented in wg(4)

MFC After: 1 week
Reviewed by: imp, zlei, kevans
Pull Request: https://github.com/freebsd/freebsd-src/pull/1186


# 140119a6 15-Mar-2024 PauAmma <pauamma@gundo.com>

ifconfig.8: add missing "be"

Reviewed by: allanjude, bjk
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D44022


# 15cb9c0d 08-Feb-2024 Maxim Konovalov <maxim@FreeBSD.org>

ifconfig: a typo fixed in the man page

PR: 276878


# cd201c09 28-Nov-2023 Mike Karels <karels@FreeBSD.org>

ifconfig: add -D option to print driver name for interface

Add -D option to add the drivername and unit number to ifconfig output
for normal display, including -a. Use ifconfig_get_orig_name() from
libifconfig to fetch the name. Note that this is the original name
for many drivers, but not for some exceptions like epair (which appends
'a' or 'b' to the unit number). epair interface pairs both display
as "epair0", etc. Make -v imply -D; might as well be fully verbose.

MFC after: 1 week
Reviewed by: zlei, kp
Differential Revision: https://reviews.freebsd.org/D42721


# 51e16cb8 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

sbin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 81d4c786 10-Nov-2023 Luiz Amaral <email@luiz.eng.br>

pfsync: Document the transport over IPv6 feature

On D40102 we implemented support for transport over IPv6 but the
documentation was not updated to reflect the new feature.

Clarify what is available and how it can be used.

MFC after: 1 week
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D42505


# 18be782c 16-Oct-2023 Kajetan Staszkiewicz <vegeta@tuxpowered.net>

pfsync: Provide documentation regarding message version

Reviewed by: kp
MFC after: 3 days
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D42235


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# 9aca30d8 20-Jun-2023 Koichiro Iwao <meta@FreeBSD.org>

ifconfig.8: Document limitation of groupname

Approved by: kp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D40645


# d77ca41f 13-Jun-2023 Trond Endrestol <Trond.Endrestol@ximalas.info>

ifconfig(8): add the dotted format for MAC addresses.

MFC after: 2 weeks
PR: 261572


# 7e49aa86 23-May-2023 Yan Ka Chiu <nyan@myuji.xyz>

ifconfig(8): Teach ifconfig to attach and run itself in a jail

Add -j <jail> flag to ifconfig to allow ifconfig to attach and run inside a
jail. This allow parent to configure network interfaces of its children
even if ifconfig is not available in child's tree (e.g. Linux Jails)

Reviewed by: emaste, khng, melifaro
Event: Kitchener-Waterloo Hackathon 202305
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D40213


# b1a4ccdd 06-Mar-2023 Kristof Provost <kp@FreeBSD.org>

carp: document peer/peer6 and mcast/mcast6 in the relevant man pages

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D38943


# 197947e0 19-Aug-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Improve readability of vlanproto's description

Sponsored by: Klara Inc.
MFC after: 1 week


# 14e3d324 13-Aug-2022 Jens Schweikhardt <schweikh@FreeBSD.org>

Fix wrong capitalization in man page references.


# 3c9ad939 10-Jul-2022 Eugene Grosbein <eugen@FreeBSD.org>

ifconfig.8: cleanup reminiscence about long gone ppp(4)

Replace ppp(4) removed since FreeBSD 8.0-RELEASE with vlan(4).
While here, remove commented out reference to non-existing "egress"
interface group hiding since initial import of interface groups
from OpenBSD in 2006.


# 7f7a804a 08-Jul-2022 Zhenlei Huang <zlei.huang@gmail.com>

vxlan: Add support for socket ioctls SIOC[SG]TUNFIB

Submitted by: Luiz Amaral <email@luiz.eng.br>
PR: 244004
Differential Revision: https://reviews.freebsd.org/D32820
MFC after: 2 weeks


# 2567cc41 01-Jul-2022 Zhenlei Huang <zlei.huang@gmail.comi>

ifconfig.8: Polish

MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D35686


# ccc48995 29-Jun-2022 Zhenlei Huang <zlei.huang@gmail.com>

ifconfig.8: Prefer consistent terminologies

Reviewed by: pauamma_gundo.com, email_luiz.eng.br
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D35384


# 78d4bd87 24-Jun-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Document -g all and -G all

The special group name "all" selects all the interfaces.

MFC after: 3 days


# 030f3ee9 15-Jun-2022 Zhenlei Huang <zlei.huang@gmail.com>

ifconfig.8: reflect removal of FDDI and Token Ring

Reviewed By: pauamma
Differential Revision: https://reviews.freebsd.org/D35409


# c9a5c48a 27-May-2022 Konrad Sewiłło-Jopek <kjopek@gmail.com>

arp: Implement sticky ARP mode for interfaces.

Provide sticky ARP flag for network interface which marks it as the
"sticky" one similarly to what we have for bridges. Once interface is
marked sticky, any address resolved using the ARP will be saved as a
static one in the ARP table. Such functionality may be used to prevent
ARP spoofing or to decrease latencies in Ethernet networks.

The drawbacks include potential limitations in usage of ARP-based
load-balancers and high-availability solutions such as carp(4).

The implemented option is disabled by default, therefore should not
impact the default behaviour of the networking stack.

Sponsored by: Conclusive Engineering sp. z o.o.
Reviewed By: melifaro, pauamma_gundo.com
Differential Revision: https://reviews.freebsd.org/D35314
MFC after: 2 weeks


# b91a4869 20-Apr-2022 Warner Losh <imp@FreeBSD.org>

ifconfig: Fix spelling error

s/discreet/discrete

Reported by: Diane Bruce


# 632ea8ea 11-Apr-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Note that -l accepts -g in addition to -d and -u

Fixes: 5533c5046ada ifconfig.8: Update -l synopsis
MFC after: 3 days


# 5533c504 31-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Update -l synopsis

The -g flag can be used together with the -l flag.

MFC after: 2 weeks


# 4d91c53a 31-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Document "ifconfig -g groupname"

"ifconfig -g groupname" prints a list of interface names,
which could be confusing, because it differs from
the behavior of "ifconfig -a -g groupname".

While here, add two examples showing the difference between
"ifconfig -a -g groupname" and "ifconfig -g groupname".

Fixes: 0dad3f0e1512 Import interface groups from OpenBSD.
MFC after: 2 weeks


# e57f6630 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Remove commented-out Xr eon 5

This reference has been present in the manual page since the initial
import of BSD 4.4 Lite sbin Sources. It's time for it to be removed.

MFC after: 2 weeks


# 1969cc7b 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Remove remaining Xerox Network Systems(tm) bits

Support for Xeros Network Systems seems to be long gone. There is no
reason to keep this in the manual page.

MFC after: 2 weeks


# 19ac0bc5 31-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Simplify examples by using canonical parameters

Also, use Bd instead of Dl for multi line examples.

MFC after: 2 weeks


# 2cd28d6f 31-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Mark address_family as optional in synopsis

Commands like "ifconfig wlan0 up" are valid. There is no need to always
specify the address family.

MFC after: 2 weeks


# 3049aac9 31-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Improve description of the address argument

- Split paragraphs for clarity.
- Add an example of setting a random MAC address.

MFC after: 2 weeks


# ad8cac12 31-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Improve readability of address_family documentation

Also, move the description of the special case of "ifconfig -l ether" to
the description of the -l flag.

MFC after: 2 weeks


# 607eed2f 30-Mar-2022 Jose Luis Duran <jlduran@gmail.com>

ifconfig.8: Fix quoting

Obtained from: https://github.com/freebsd/freebsd-src/commit/67d77afb0dde9aa627635a0c4e28a8fa5a64db6c#r69907135
Fixes: 67d77afb0dde ifconfig.8: Do not use ``'' for quoting
MFC after: 2 weeks


# 388c12e3 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up markup of "state" parameter

MFC after: 2 weeks


# 39da6db9 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Make the -f flag description compact

- Remove extraneous examples
- Apply "-compact" to the list macros so that it is possible to fit the
definitions of the types and formats in one terminal screen.

MFC after: 2 weeks


# 67d77afb 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Do not use ``'' for quoting

MFC after: 2 weeks


# ce038463 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up the channel parameter description

MFC after: 2 weeks


# 0e2045b2 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Add section headers to the parameters section

MFC after: 2 weeks


# 186a372f 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up -n documentation

MFC after: 2 weeks


# 9076f99b 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up -k documentation

MFC after: 2 weeks


# 59cdaadc 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up -C and -v documentation

MFC after: 2 weeks


# fe1e3b55 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up -l documentation

MFC after: 2 weeks


# 78759908 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up -G & -g documentation

MFC after: 2 weeks


# 0625c313 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up documentation of -a, -d, and -u

MFC after: 2 weeks


# 19c1b75f 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up -L documentation

MFC after: 2 weeks


# b56e4224 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up -m documentation

MFC after: 2 weeks


# f4f02fa1 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Clean up formatting of -f documentation

This change is about moving the -f documentation into the right place in
the manual. Also, document the IFCONFIG_FORMAT variable in the
ENVIRONMENT section.

MFC after: 2 weeks


# f15eed7c 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Move options sections to the top

In order to clean up the layout of the manual page, let's keep
parameters in the end of the DESCRIPTION section. This patch does not
change any content, it's meant to only move the content around before
refactoring.

MFC after: 2 weeks


# 12a77464 30-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Deduplicate groupname documentation

-G and -g flags are already described somewhere else in the manual.

MFC after: 2 weeks


# b710d4c8 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Document that -k can be used with -a

MFC after: 2 weeks


# 52ec8807 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Improve -f synopsis

- There is no need to mention in the synopsis that -f can be a list of
comma-separated type:format pairs. Let's keep it simple instead.
- Mention that -f can be supplied multiple times.
- Add -f to other entries in the synopsis where it can be used.

MFC after: 2 weeks


# efb4f7fd 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Document the synopsis of -C

As documented, the -C flag can only be used on its own. Any other
command modifiers and flags are ignored when -C is used. Reflect that in
synopsis.

MFC after: 2 weeks


# a9475cb3 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Show that -g groupname can be used on its own

MFC after: 2 weeks


# 2e053399 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Cluster together short flags

MFC after: 2 weeks


# d1d14f04 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Simplify -G & -g synopsis

MFC after: 1 week


# 05621e0b 29-Mar-2022 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Add capability codes descriptions from handbook

We document capability codes (the CAPS field of "ifconfig wlan0 scan")
in both ifconfig(8) and the handbook. The list is more complete in the
manual page, while the descriptions of individual capabilities are more
detailed in the handbook.

In order to reduce content duplication and bit rot, let's move
handbook's details to the manual page and reference the manual page
whenever necessary.

Reviewed by: debdrup
Reviewed by: Pau Amma
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D34662


# 55b0acc0 08-Nov-2021 Zhenlei Huang <zlei.huang@gmail.com>

ifconfig.8: Add the missing option -vlanhwcsum

Commit 9b776960c3276c47528435f343b3b6d0143113a8 documented a new option
vlanhwcsum but missed the opposite one -vlanhwcsum.

Reviewed by: kp
Differential Revision: https://reviews.freebsd.org/D32887


# 0ea8a7f3 29-Apr-2021 Jose Luis Duran <jlduran@gmail.com>

ifconfig: Minor documentation fix

Fix what appears to have been a small copy/paste typo in ifconfig(8)'s
documentation (man page and header file).

Not that it matters anymore.

Reference: Table I-2 in IEEE Std 802.1Q-2014.

PR: 255557
Submitted by: Jose Luis Duran <jlduran@gmail.com>
MFC after: 1 week


# 3f43ada9 28-Jan-2021 Gleb Smirnoff <glebius@FreeBSD.org>

Catch up with 6edfd179c86: mechanically rename IFCAP_NOMAP to IFCAP_MEXTPG.

Originally IFCAP_NOMAP meant that the mbuf has external storage pointer
that points to unmapped address. Then, this was extended to array of
such pointers. Then, such mbufs were augmented with header/trailer.
Basically, extended mbufs are extended, and set of features is subject
to change. The new name should be generic enough to avoid further
renaming.


# b84d0aaa 19-Jan-2021 Allan Jude <allanjude@FreeBSD.org>

ifconfig: add vlanproto "qiniq" as an alias for "802.1ad"

QinQ is better known by this name, so accept it as an alias

Reported-by: Mike Geiger
Reviewed-by: melifaro, hselasky, rpokala
MFC-with: 366917
Sponsored-by: Klara Inc.
Differential-Revision: https://reviews.freebsd.org/D28245


# a2577407 01-Nov-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Improve formatting of -f in synopsis

MFC after: 3 days


# 44c4affa 01-Nov-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

Remove Tn macros from ifconfig.8

MFC after: 3 days


# 521eac97 28-Oct-2020 John Baldwin <jhb@FreeBSD.org>

Support hardware rate limiting (pacing) with TLS offload.

- Add a new send tag type for a send tag that supports both rate
limiting (packet pacing) and TLS offload (mostly similar to D22669
but adds a separate structure when allocating the new tag type).

- When allocating a send tag for TLS offload, check to see if the
connection already has a pacing rate. If so, allocate a tag that
supports both rate limiting and TLS offload rather than a plain TLS
offload tag.

- When setting an initial rate on an existing ifnet KTLS connection,
set the rate in the TCP control block inp and then reset the TLS
send tag (via ktls_output_eagain) to reallocate a TLS + ratelimit
send tag. This allocates the TLS send tag asynchronously from a
task queue, so the TLS rate limit tag alloc is always sleepable.

- When modifying a rate on a connection using KTLS, look for a TLS
send tag. If the send tag is only a plain TLS send tag, assume we
failed to allocate a TLS ratelimit tag (either during the
TCP_TXTLS_ENABLE socket option, or during the send tag reset
triggered by ktls_output_eagain) and ignore the new rate. If the
send tag is a ratelimit TLS send tag, change the rate on the TLS tag
and leave the inp tag alone.

- Lock the inp lock when setting sb_tls_info for a socket send buffer
so that the routines in tcp_ratelimit can safely dereference the
pointer without needing to grab the socket buffer lock.

- Add an IFCAP_TXTLS_RTLMT capability flag and associated
administrative controls in ifconfig(8). TLS rate limit tags are
only allocated if this capability is enabled. Note that TLS offload
(whether unlimited or rate limited) always requires IFCAP_TXTLS[46].

Reviewed by: gallatin, hselasky
Relnotes: yes
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D26691


# 527d10a5 25-Oct-2020 Mateusz Piotrowski <0mp@FreeBSD.org>

ifconfig.8: Remove spurious commas

Correct misuse of commas/parentheses in an enumeration that makes the
number of actual parameters more important than expected.

PR: 250526
Submitted by: Samy Mahmoudi <samy.mahmoudi__gmail_com>
MFC after: 1 week


# a92c4bb6 22-Oct-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Add support for IP over infiniband, IPoIB, to lagg(4). Currently only
the failover protocol is supported due to limitations in the IPoIB
architecture. Refer to the lagg(4) manual page for how to configure
and use this new feature. A new network interface type,
IFT_INFINIBANDLAG, has been added, similar to the existing
IFT_IEEE8023ADLAG .

ifconfig(8) has been updated to accept a new laggtype argument when
creating lagg(4) network interfaces. This new argument is used to
distinguish between ethernet and infiniband type of lagg(4) network
interface. The laggtype argument is optional and defaults to
ethernet. The lagg(4) command line syntax is backwards compatible.

Differential Revision: https://reviews.freebsd.org/D26254
Reviewed by: melifaro@
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking


# c7cffd65 21-Oct-2020 Alexander V. Chernikov <melifaro@FreeBSD.org>

Add support for stacked VLANs (IEEE 802.1ad, AKA Q-in-Q).

802.1ad interfaces are created with ifconfig using the "vlanproto" parameter.
Eg., the following creates a 802.1Q VLAN (id #42) over a 802.1ad S-VLAN
(id #5) over a physical Ethernet interface (em0).

ifconfig vlan5 create vlandev em0 vlan 5 vlanproto 802.1ad up
ifconfig vlan42 create vlandev vlan5 vlan 42 inet 10.5.42.1/24

VLAN_MTU, VLAN_HWCSUM and VLAN_TSO capabilities should be properly
supported. VLAN_HWTAGGING is only partially supported, as there is
currently no IFCAP_VLAN_* denoting the possibility to set the VLAN
EtherType to anything else than 0x8100 (802.1ad uses 0x88A8).

Submitted by: Olivier Piras
Sponsored by: RG Nets
Differential Revision: https://reviews.freebsd.org/D26436


# 6d6d6c36 09-Oct-2020 Gordon Bergling <gbe@FreeBSD.org>

Fix a few mandoc issues

- no blank before trailing delimiter
- whitespace at end of input line
- sections out of conventional order
- normalizing date format
- AUTHORS section without An macro


# 830edb45 17-Sep-2020 Navdeep Parhar <np@FreeBSD.org>

Add two new ifnet capabilities for hw checksumming and TSO for VXLAN traffic.

These are similar to the existing VLAN capabilities.

Reviewed by: kib@
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D25873


# d9d09a7c 26-Jun-2020 Allan Jude <allanjude@FreeBSD.org>

ifconfig(8): remove duplicate line from man page

Reported by: Weitian LI <liweitianux@live.com>
Sponsored by: Klara Inc.


# 8e725dac 04-Jun-2020 Eugene Grosbein <eugen@FreeBSD.org>

ifconfig(8): make it possible to filter output by interface group.

Now options -g/-G allow to select/unselect interfaces by groups
in the "ifconfig -a" output just like already existing -d/-u.

Examples:

to exclude loopback from the list: ifconfig -a -G lo
to show vlan interfaces only: ifconfig -a -g vlan
to show tap interfaces that are up: ifconfig -aug tap

Arguments to -g/-G may be shell patterns and both may be specified.
Later options -g/-G override previous ones.

MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D25029


# f95cfecb 04-Jun-2020 Andriy Gapon <avg@FreeBSD.org>

ifconfig.8: fix cpability and flag descriptions for list scan / sta

Some capability descriptions under list scan actually described flags.
Some capability descriptions were missing.
Some flag descriptions under list sta actually described capabilites.

Reviewed by: adrian
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25014


# 48773728 27-May-2020 Eugene Grosbein <eugen@FreeBSD.org>

ifconfig(8): spell "groupname" consistently with SYNOPSYS.

MFC after: 1 week


# c104c299 22-Dec-2019 Mark Johnston <markj@FreeBSD.org>

lagg: Clean up handling of the rr_limit option.

- Don't allow an unprivileged user to set the stride. [1]
- Only set the stride under the softc lock.
- Rename the internal fields to accurately reflect their use. Keep
ro_bkt to avoid changing the user API.
- Simplify the implementation. The port index is just sc_seq / stride.
- Document rr_limit in ifconfig.8.

Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com> [1]
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22857


# b2e60773 26-Aug-2019 John Baldwin <jhb@FreeBSD.org>

Add kernel-side support for in-kernel TLS.

KTLS adds support for in-kernel framing and encryption of Transport
Layer Security (1.0-1.2) data on TCP sockets. KTLS only supports
offload of TLS for transmitted data. Key negotation must still be
performed in userland. Once completed, transmit session keys for a
connection are provided to the kernel via a new TCP_TXTLS_ENABLE
socket option. All subsequent data transmitted on the socket is
placed into TLS frames and encrypted using the supplied keys.

Any data written to a KTLS-enabled socket via write(2), aio_write(2),
or sendfile(2) is assumed to be application data and is encoded in TLS
frames with an application data type. Individual records can be sent
with a custom type (e.g. handshake messages) via sendmsg(2) with a new
control message (TLS_SET_RECORD_TYPE) specifying the record type.

At present, rekeying is not supported though the in-kernel framework
should support rekeying.

KTLS makes use of the recently added unmapped mbufs to store TLS
frames in the socket buffer. Each TLS frame is described by a single
ext_pgs mbuf. The ext_pgs structure contains the header of the TLS
record (and trailer for encrypted records) as well as references to
the associated TLS session.

KTLS supports two primary methods of encrypting TLS frames: software
TLS and ifnet TLS.

Software TLS marks mbufs holding socket data as not ready via
M_NOTREADY similar to sendfile(2) when TLS framing information is
added to an unmapped mbuf in ktls_frame(). ktls_enqueue() is then
called to schedule TLS frames for encryption. In the case of
sendfile_iodone() calls ktls_enqueue() instead of pru_ready() leaving
the mbufs marked M_NOTREADY until encryption is completed. For other
writes (vn_sendfile when pages are available, write(2), etc.), the
PRUS_NOTREADY is set when invoking pru_send() along with invoking
ktls_enqueue().

A pool of worker threads (the "KTLS" kernel process) encrypts TLS
frames queued via ktls_enqueue(). Each TLS frame is temporarily
mapped using the direct map and passed to a software encryption
backend to perform the actual encryption.

(Note: The use of PHYS_TO_DMAP could be replaced with sf_bufs if
someone wished to make this work on architectures without a direct
map.)

KTLS supports pluggable software encryption backends. Internally,
Netflix uses proprietary pure-software backends. This commit includes
a simple backend in a new ktls_ocf.ko module that uses the kernel's
OpenCrypto framework to provide AES-GCM encryption of TLS frames. As
a result, software TLS is now a bit of a misnomer as it can make use
of hardware crypto accelerators.

Once software encryption has finished, the TLS frame mbufs are marked
ready via pru_ready(). At this point, the encrypted data appears as
regular payload to the TCP stack stored in unmapped mbufs.

ifnet TLS permits a NIC to offload the TLS encryption and TCP
segmentation. In this mode, a new send tag type (IF_SND_TAG_TYPE_TLS)
is allocated on the interface a socket is routed over and associated
with a TLS session. TLS records for a TLS session using ifnet TLS are
not marked M_NOTREADY but are passed down the stack unencrypted. The
ip_output_send() and ip6_output_send() helper functions that apply
send tags to outbound IP packets verify that the send tag of the TLS
record matches the outbound interface. If so, the packet is tagged
with the TLS send tag and sent to the interface. The NIC device
driver must recognize packets with the TLS send tag and schedule them
for TLS encryption and TCP segmentation. If the the outbound
interface does not match the interface in the TLS send tag, the packet
is dropped. In addition, a task is scheduled to refresh the TLS send
tag for the TLS session. If a new TLS send tag cannot be allocated,
the connection is dropped. If a new TLS send tag is allocated,
however, subsequent packets will be tagged with the correct TLS send
tag. (This latter case has been tested by configuring both ports of a
Chelsio T6 in a lagg and failing over from one port to another. As
the connections migrated to the new port, new TLS send tags were
allocated for the new port and connections resumed without being
dropped.)

ifnet TLS can be enabled and disabled on supported network interfaces
via new '[-]txtls[46]' options to ifconfig(8). ifnet TLS is supported
across both vlan devices and lagg interfaces using failover, lacp with
flowid enabled, or lacp with flowid enabled.

Applications may request the current KTLS mode of a connection via a
new TCP_TXTLS_MODE socket option. They can also use this socket
option to toggle between software and ifnet TLS modes.

In addition, a testing tool is available in tools/tools/switch_tls.
This is modeled on tcpdrop and uses similar syntax. However, instead
of dropping connections, -s is used to force KTLS connections to
switch to software TLS and -i is used to switch to ifnet TLS.

Various sysctls and counters are available under the kern.ipc.tls
sysctl node. The kern.ipc.tls.enable node must be set to true to
enable KTLS (it is off by default). The use of unmapped mbufs must
also be enabled via kern.ipc.mb_use_ext_pgs to enable KTLS.

KTLS is enabled via the KERN_TLS kernel option.

This patch is the culmination of years of work by several folks
including Scott Long and Randall Stewart for the original design and
implementation; Drew Gallatin for several optimizations including the
use of ext_pgs mbufs, the M_NOTREADY mechanism for TLS records
awaiting software encryption, and pluggable software crypto backends;
and John Baldwin for modifications to support hardware TLS offload.

Reviewed by: gallatin, hselasky, rrs
Obtained from: Netflix
Sponsored by: Netflix, Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D21277


# a521fa63 15-Aug-2019 John-Mark Gurney <jmg@FreeBSD.org>

finish the pcp feature, but documenting it in the man page...


# 82334850 28-Jun-2019 John Baldwin <jhb@FreeBSD.org>

Add an external mbuf buffer type that holds multiple unmapped pages.

Unmapped mbufs allow sendfile to carry multiple pages of data in a
single mbuf, without mapping those pages. It is a requirement for
Netflix's in-kernel TLS, and provides a 5-10% CPU savings on heavy web
serving workloads when used by sendfile, due to effectively
compressing socket buffers by an order of magnitude, and hence
reducing cache misses.

For this new external mbuf buffer type (EXT_PGS), the ext_buf pointer
now points to a struct mbuf_ext_pgs structure instead of a data
buffer. This structure contains an array of physical addresses (this
reduces cache misses compared to an earlier version that stored an
array of vm_page_t pointers). It also stores additional fields needed
for in-kernel TLS such as the TLS header and trailer data that are
currently unused. To more easily detect these mbufs, the M_NOMAP flag
is set in m_flags in addition to M_EXT.

Various functions like m_copydata() have been updated to safely access
packet contents (using uiomove_fromphys()), to make things like BPF
safe.

NIC drivers advertise support for unmapped mbufs on transmit via a new
IFCAP_NOMAP capability. This capability can be toggled via the new
'nomap' and '-nomap' ifconfig(8) commands. For NIC drivers that only
transmit packet contents via DMA and use bus_dma, adding the
capability to if_capabilities and if_capenable should be all that is
required.

If a NIC does not support unmapped mbufs, they are converted to a
chain of mapped mbufs (using sf_bufs to provide the mapping) in
ip_output or ip6_output. If an unmapped mbuf requires software
checksums, it is also converted to a chain of mapped mbufs before
computing the checksum.

Submitted by: gallatin (earlier version)
Reviewed by: gallatin, hselasky, rrs
Discussed with: ae, kp (firewalls)
Relnotes: yes
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D20616


# ffda6790 18-May-2019 Brooks Davis <brooks@FreeBSD.org>

Change ed(4), ep(4), and fxp(4) examples to em(4).

ed(4) and ep(4) have been removed. fxp(4) remains popular in older
systems, but isn't as future proof as em(4).

Reviewed by: bz, jhb
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D20311


# 35961dce 03-May-2019 Andrew Gallatin <gallatin@FreeBSD.org>

Select lacp egress ports based on NUMA domain

This change creates an array of port maps indexed by numa domain
for lacp port selection. If we have lacp interfaces in more than
one domain, then we select the egress port by indexing into the
numa port maps and picking a port on the appropriate numa domain.

This is behavior is controlled by the new ifconfig use_numa flag
and net.link.lagg.use_numa sysctl/tunable (both modeled after the
existing use_flowid), which default to enabled.

Reviewed by: bz, hselasky, markj (and scottl, earlier version)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D20060


# 8ebaf584 22-Dec-2018 Eugene Grosbein <eugen@FreeBSD.org>

ifconfig.4, lagg.4: fix documentation bug: -use_flowid needs to be used
to force local hash computation and disable usage of RSS hash
provided by driver.

PR: 234242
MFC after: 1 week


# a6c0b9d0 27-Jun-2018 Edward Tomasz Napierala <trasz@FreeBSD.org>

Fix description for the "autoconf" ifconfig(8) flag; it's an address
property, not something you set for an interface.

MFC after: 2 weeks


# f8824f7b 29-Apr-2017 Mark Felder <feld@FreeBSD.org>

Document in ifconfig(8) that gre(4) accepts tunnel commands

- Also ensure wording is consistent for gif and gre

Reviewed by: wblock
Differential Revision: https://reviews.freebsd.org/D5667


# 1d44b7e8 21-Mar-2017 Maxim Konovalov <maxim@FreeBSD.org>

The .Cm macro usage fixed.

PR: 217977
Submitted by: tobik


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# f3e7afe2 18-Jan-2017 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement kernel support for hardware rate limited sockets.

- Add RATELIMIT kernel configuration keyword which must be set to
enable the new functionality.

- Add support for hardware driven, Receive Side Scaling, RSS aware, rate
limited sendqueues and expose the functionality through the already
established SO_MAX_PACING_RATE setsockopt(). The API support rates in
the range from 1 to 4Gbytes/s which are suitable for regular TCP and
UDP streams. The setsockopt(2) manual page has been updated.

- Add rate limit function callback API to "struct ifnet" which supports
the following operations: if_snd_tag_alloc(), if_snd_tag_modify(),
if_snd_tag_query() and if_snd_tag_free().

- Add support to ifconfig to view, set and clear the IFCAP_TXRTLMT
flag, which tells if a network driver supports rate limiting or not.

- This patch also adds support for rate limiting through VLAN and LAGG
intermediate network devices.

- How rate limiting works:

1) The userspace application calls setsockopt() after accepting or
making a new connection to set the rate which is then stored in the
socket structure in the kernel. Later on when packets are transmitted
a check is made in the transmit path for rate changes. A rate change
implies a non-blocking ifp->if_snd_tag_alloc() call will be made to the
destination network interface, which then sets up a custom sendqueue
with the given rate limitation parameter. A "struct m_snd_tag" pointer is
returned which serves as a "snd_tag" hint in the m_pkthdr for the
subsequently transmitted mbufs.

2) When the network driver sees the "m->m_pkthdr.snd_tag" different
from NULL, it will move the packets into a designated rate limited sendqueue
given by the snd_tag pointer. It is up to the individual drivers how the rate
limited traffic will be rate limited.

3) Route changes are detected by the NIC drivers in the ifp->if_transmit()
routine when the ifnet pointer in the incoming snd_tag mismatches the
one of the network interface. The network adapter frees the mbuf and
returns EAGAIN which causes the ip_output() to release and clear the send
tag. Upon next ip_output() a new "snd_tag" will be tried allocated.

4) When the PCB is detached the custom sendqueue will be released by a
non-blocking ifp->if_snd_tag_free() call to the currently bound network
interface.

Reviewed by: wblock (manpages), adrian, gallatin, scottl (network)
Differential Revision: https://reviews.freebsd.org/D3687
Sponsored by: Mellanox Technologies
MFC after: 3 months


# e700bef2 15-Sep-2016 Marcelo Araujo <araujo@FreeBSD.org>

Add an option called "random" that combined with "ether" can generate a
random MAC address for an Ethernet interface.

PR: 211984
Submitted by: pi@
Reviewed by: gnn, cem, jhb, lidl, rpokala, wblock
Approved by: wblock (manpages)


# a9254de7 07-Jun-2016 Marcelo Araujo <araujo@FreeBSD.org>

Bump date on ifconfig(8) and vlan(4) to reflect the changes made
on revision r301496.


# 2ccbbd06 06-Jun-2016 Marcelo Araujo <araujo@FreeBSD.org>

Add support to priority code point (PCP) that is an 3-bit field
which refers to IEEE 802.1p class of service and maps to the frame
priority level.

Values in order of priority are: 1 (Background (lowest)),
0 (Best effort (default)), 2 (Excellent effort),
3 (Critical applications), 4 (Video, < 100ms latency),
5 (Video, < 10ms latency), 6 (Internetwork control) and
7 (Network control (highest)).

Example of usage:
root# ifconfig em0.1 create
root# ifconfig em0.1 vlanpcp 3

Note:
The review D801 includes the pf(4) part, but as discussed with kristof,
we won't commit the pf(4) bits for now.
The credits of the original code is from rwatson.

Differential Revision: https://reviews.freebsd.org/D801
Reviewed by: gnn, adrian, loos
Discussed with: rwatson, glebius, kristof
Tested by: many including Matthew Grooms <mgrooms__shrew.net>
Obtained from: pfSense
Relnotes: Yes


# 776db16a 01-Jun-2016 Allan Jude <allanjude@FreeBSD.org>

Address feedback from hrs@ re: r301059 (ifconfig subnet mask)

- Use NI_MAXHOST to size buffers for getnameinfo()
- remove non-standard 'full' inet6 address printing
- remove 'no scope' option
- use strchr(3) to optimize replacing separator character in lladdrs

Reviewed by: gnn, jhb
Differential Revision: https://reviews.freebsd.org/D2856


# 7c2aa744 31-May-2016 Allan Jude <allanjude@FreeBSD.org>

ifconfig(8) now supports some output formatting options

specified by the -f flag or IFCONFIG_FORMAT environment variable, the user
can request that inet4 subnet masks be printed in CIDR or dotted-quad
notation, in addition to the traditional hex output.
inet6 prefixes can be printed in CIDR as well.

For more documentation see the ifconfig(8) man page.

PR: 169072
Requested by: seanc, marcel, brd, many others
Reviewed by: gnn, jhb (earlier version)
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D2856


# 67135128 28-May-2016 Allan Jude <allanjude@FreeBSD.org>

Add Documentation for missing ifconfig(8) flags

autoconf / -autoconf
deprecated / -deprecated
pltime
vltime

PR: 209822
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
MFC after: 2 weeks


# c1be893c 06-Nov-2015 Steven Hartland <smh@FreeBSD.org>

Add sysctl to control LACP strict compliance default

Add net.link.lagg.lacp.default_strict_mode which defines
the default value for LACP strict compliance for created
lagg devices.

Also:
* Add lacp_strict option to ifconfig(8).
* Fix lagg(4) creation examples.
* Minor style(9) fix.

MFC after: 1 week


# 0e02b43a 12-Aug-2015 Hiren Panchasara <hiren@FreeBSD.org>

Make LAG LACP fast timeout tunable through IOCTL.

Differential Revision: D3300
Submitted by: LN Sundararajan <lakshmi.n at msystechnologies>
Reviewed by: wblock, smh, gnn, hiren, rpokala at panasas
MFC after: 2 weeks
Sponsored by: Panasas


# c1b4f79d 14-May-2015 Andrey V. Elsukov <ae@FreeBSD.org>

Add an ability accept encapsulated packets from different sources by one
gif(4) interface. Add new option "ignore_source" for gif(4) interface.
When it is enabled, gif's encapcheck function requires match only for
packet's destination address.

Differential Revision: https://reviews.freebsd.org/D2004
Obtained from: Yandex LLC
MFC after: 2 weeks
Sponsored by: Yandex LLC


# eccfe69a 12-May-2015 Andrey V. Elsukov <ae@FreeBSD.org>

Add new socket ioctls SIOC[SG]TUNFIB to set FIB number of encapsulated
packets on tunnel interfaces. Add support of these ioctls to gre(4),
gif(4) and me(4) interfaces. For incoming packets M_SETFIB() should use
if_fib value from ifnet structure, use proper value in gre(4) and me(4).

Differential Revision: https://reviews.freebsd.org/D2462
No objection from: #network
MFC after: 2 weeks
Sponsored by: Yandex LLC


# 59333867 11-May-2015 Hiroki Sato <hrs@FreeBSD.org>

- Remove ND6_IFF_IGNORELOOP. This functionality was useless in practice
because a link where looped back NS messages are permanently observed
does not work with either NDP or ARP for IPv4.

- draft-ietf-6man-enhanced-dad is now RFC 7527.

Discussed with: hiren
MFC after: 3 days


# 23e9ffb0 05-Mar-2015 Hiroki Sato <hrs@FreeBSD.org>

- Implement loopback probing state in enhanced DAD algorithm.

- Add no_dad and ignoreloop per-IF knob. no_dad disables DAD completely,
and ignoreloop is to prevent infinite loop in loopback probing state when
loopback is permanently expected.


# c09eb466 27-Dec-2014 Joel Dahl <joel@FreeBSD.org>

mdoc: improvements to SEE ALSO.


# c6e32006 16-Dec-2014 Bryan Venteicher <bryanv@FreeBSD.org>

Prefix all the vxlan ifconfig commands so they are unique

And rehook ifvxlan back into the build.


# 007054f0 20-Oct-2014 Bryan Venteicher <bryanv@FreeBSD.org>

Add vxlan interface

vxlan creates a virtual LAN by encapsulating the inner Ethernet frame in
a UDP packet. This implementation is based on RFC7348.

Currently, the IPv6 support is not fully compliant with the specification:
we should be able to receive UPDv6 packets with a zero checksum, but we
need to support RFC6935 first. Patches for this should come soon.

Encapsulation protocols such as vxlan emphasize the need for the FreeBSD
network stack to support batching, GRO, and GSO. Each frame has to make
two trips through the network stack, and each frame will be at most MTU
sized. Performance suffers accordingly.

Some latest generation NICs have begun to support vxlan HW offloads that
we should also take advantage of. VIMAGE support should also be added soon.

Differential Revision: https://reviews.freebsd.org/D384
Reviewed by: gnn
Relnotes: yes


# 939a050a 01-Oct-2014 Hiroki Sato <hrs@FreeBSD.org>

Virtualize lagg(4) cloner. This change fixes a panic when tearing down
if_lagg(4) interfaces which were cloned in a vnet jail.

Sysctl nodes which are dynamically generated for each cloned interface
(net.link.lagg.N.*) have been removed, and use_flowid and flowid_shift
ifconfig(8) parameters have been added instead. Flags and per-interface
statistics counters are displayed in "ifconfig -v".

CR: D842


# 44a9271b 17-Sep-2014 Marcelo Araujo <araujo@FreeBSD.org>

The lagg(4) interface is based on trunk(4) interface from OpenBSD.
The FreeBSD is the only system that has the FEC protocol, that is a simple alias
to loadbalance protocol and does not implement the ancient Cisco FEC standard.

From now on, we remove the fec protocol from the documentation and keep the FEC
code only for compatibility.

Phabric: D539
Reviewed by: glebius, thompsa
Approved by: glebius
Sponsored by: QNAP Systems Inc.


# 99cdd961 17-Sep-2014 Marcelo Araujo <araujo@FreeBSD.org>

Add laggproto broadcast, it allows sends frames to all ports of the lagg(4) group
and receives frames on any port of the lagg(4).

Phabric: D549
Reviewed by: glebius, thompsa
Approved by: glebius
Obtained from: OpenBSD
Sponsored by: QNAP Systems Inc.


# 5dbfa43f 09-Sep-2014 Andrey V. Elsukov <ae@FreeBSD.org>

Add the ability to set `prefer_source' flag to an IPv6 address.
It affects the IPv6 source address selection algorithm (RFC 6724)
and allows override the last rule ("longest matching prefix") for
choosing among equivalent addresses. The address with `prefer_source'
will be preferred source address.

Obtained from: Yandex LLC
MFC after: 1 month
Sponsored by: Yandex LLC


# 0c7b5530 12-Jul-2014 Jeremie Le Hen <jlh@FreeBSD.org>

Make the description of the "no_prefer_iface" flag easier to understand.

Reviewed by: Silence on -net@ and from ume@


# df2d82e0 23-Jun-2014 Joel Dahl <joel@FreeBSD.org>

mdoc: remove superfluous paragraph macros.


# 96db02f2 05-Jun-2014 Allan Jude <allanjude@FreeBSD.org>

Style cleanups on ifconfig.8
fix igor warnings
uppercase all instances of Ethernet
replace bad e.g.

CR: D91
Approved by: wblock (mentor)


# 1d28cd26 27-May-2014 Allan Jude <allanjude@FreeBSD.org>

improve ifconfig(8) man page by describing special behaviour of -l ether

PR: docs/187644
Submitted by: Andrew Merenbach (original patch)
Approved by: bcr (mentor)


# 45c203fc 14-Mar-2014 Gleb Smirnoff <glebius@FreeBSD.org>

Remove AppleTalk support.

AppleTalk was a network transport protocol for Apple Macintosh devices
in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk was
a legacy protocol and primary networking protocol is TCP/IP. The last
Mac OS X release to support AppleTalk happened in 2009. The same year
routing equipment vendors (namely Cisco) end their support.

Thus, AppleTalk won't be supported in FreeBSD 11.0-RELEASE.


# 2c284d93 13-Mar-2014 Gleb Smirnoff <glebius@FreeBSD.org>

Remove IPX support.

IPX was a network transport protocol in Novell's NetWare network operating
system from late 80s and then 90s. The NetWare itself switched to TCP/IP
as default transport in 1998. Later, in this century the Novell Open
Enterprise Server became successor of Novell NetWare. The last release
that claimed to still support IPX was OES 2 in 2007. Routing equipment
vendors (e.g. Cisco) discontinued support for IPX in 2011.

Thus, IPX won't be supported in FreeBSD 11.0-RELEASE.


# 2e25a531 20-Oct-2013 Gleb Smirnoff <glebius@FreeBSD.org>

Provide a working example line for an interface with 1 address running
with CARP.

Currently, we've got a problem that interface isn't IFF_UP at the time
we assign it a redundant address, and the latter gets stuck in INIT state.
Additional SIOCSIFFLAGS from ifconfig(8) kicks it to a working state.

A proper fix is kernel side and appeared to be non-trivial, not to be
checked in before 10.0-RELEASE.

Submitted by: Ole Myhre <ole.myhre dataoppdrag.no>


# 37b983c0 13-May-2013 Joel Dahl <joel@FreeBSD.org>

mdoc sweep


# 164051ce 09-Jan-2013 Hajimu UMEMOTO <ume@FreeBSD.org>

Add no_prefer_iface option.
It stops treating the address on the interface as special by source
address selection rule even when the interface is outgoing interface.
This is desired in some situation.

Requested by: hrs
Reviewed by: IHANet folks including hrs
MFC after: 1 week


# 57ce4667 07-Nov-2012 Warren Block <wblock@FreeBSD.org>

Actually change "silent" to "silence" this time (reviewed by adri@).

MFC after: 1 week


# 818b39ed 07-Nov-2012 Warren Block <wblock@FreeBSD.org>

Remove fifteen-year-old notes on media selection (suggested by simon@).
Add commas after "e.g." and "i.e.". Change "silent" to "silence" in
wireless create section (reviewed by adri@).

MFC after: 1 week


# fd9635ef 07-Nov-2012 Warren Block <wblock@FreeBSD.org>

Add devd.conf(5) and devd(8) to SEE ALSO xrefs. Give users a pointer to
seemingly mysterious actions that are not done by ifconfig itself, but
by devd triggering on events caused by ifconfig.

PR: docs/173405
Submitted by: Mateusz Kwiatkowski <mateusz.kwiatkowski@atlashost.eu>
MFC after: 1 week


# f6c336fe 09-Jul-2012 Hiroki Sato <hrs@FreeBSD.org>

Remove "prefer_source" address selection option. FreeBSD has had an
implementation of RFC 3484 for this purpose for a long time and "prefer_source"
was never implemented actually. ND6_IFF_PREFER_SOURCE macro is left intact.


# a4dec862 05-Jun-2012 Joel Dahl <joel@FreeBSD.org>

Remove repeated words.


# 356ab07e 28-May-2012 Bjoern A. Zeeb <bz@FreeBSD.org>

It turns out that too many drivers are not only parsing the L2/3/4
headers for TSO but also for generic checksum offloading. Ideally we
would only have one common function shared amongst all drivers, and
perhaps when updating them for IPv6 we should introduce that.
Eventually we should provide the meta information along with mbufs to
avoid (re-)parsing entirely.

To not break IPv6 (checksums and offload) and to be able to MFC the
changes without risking to hurt 3rd party drivers, duplicate the v4
framework, as other OSes have done as well.

Introduce interface capability flags for TX/RX checksum offload with
IPv6, to allow independent toggling (where possible). Add CSUM_*_IPV6
flags for UDP/TCP over IPv6, and reserve further for SCTP, and IPv6
fragmentation. Define CSUM_DELAY_DATA_IPV6 as we do for legacy IP and
add an alias for CSUM_DATA_VALID_IPV6.

This pretty much brings IPv6 handling in line with IPv4.
TSO is still handled in a different way and not via if_hwassist.

Update ifconfig to allow (un)setting of the new capability flags.
Update loopback to announce the new capabilities and if_hwassist flags.

Individual driver updates will have to follow, as will SCTP.

Reported by: gallatin, dim, ..
Reviewed by: gallatin (glanced at?)
MFC after: 3 days
X-MFC with: r235961,235959,235958


# 1623284f 19-May-2012 Bjoern A. Zeeb <bz@FreeBSD.org>

MFp4 bz_ipv6_fast:

Allow tso4 and tso6 be set individually given we have the bits.
This will help with drivers not working as expected during the
transition time and later.

Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems

Reviewed by: gnn
MFC After: 1 week


# 0c50c8ee 02-May-2012 Monthadar Al Jaberi <monthadar@FreeBSD.org>

Update man page date to the date of the last commit.

Approved by: adrian


# e6e06eb8 01-May-2012 Monthadar Al Jaberi <monthadar@FreeBSD.org>

* Added new command to ifconfig to activate Mesh Gate Announcement called
meshgate with corresponding explanation;

Approved by: adrian


# e346e89c 07-Apr-2012 Joel Dahl <joel@FreeBSD.org>

Remove end of line whitespace introduced in previous commit.


# 79f6687d 03-Apr-2012 Gleb Smirnoff <glebius@FreeBSD.org>

Document syncdev, syncpeer and defer keywords for
pfsync(4) interfaces.


# 50d675f7 28-Mar-2012 Eitan Adler <eadler@FreeBSD.org>

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


# a0778b71 06-Mar-2012 Andrew Thompson <thompsa@FreeBSD.org>

Fix typo and bump the document date which I also forgot.

Spotted by: Andrey Zonov


# 86f67641 06-Mar-2012 Andrew Thompson <thompsa@FreeBSD.org>

Add the ability to set which packet layers are used for the load balance hash
calculation.


# 5640c372 29-Feb-2012 Christian Brueffer <brueffer@FreeBSD.org>

Update bridge(4) default values.

PR: 164564
Submitted by: "Rudy (bulk)" <crapsh@monkeybrains.net>
MFC after: 2 weeks


# 1748d1e5 28-Feb-2012 Gavin Atkinson <gavin@FreeBSD.org>

Correct capitalization of "Hz" in user-visible text (manpages, printf(),
etc).

MFC after: 3 days


# f3f28e69 04-Jan-2012 Robert Watson <rwatson@FreeBSD.org>

Adjust the VLAN section of the ifconfig(8) man page to better reflect
reality:

1. Only 12-bit VLAN Identifiers, not full 16-bit VLAN tags can be set using
ifconfig vlan.

2. When we mean VLAN Identifiers, spell it that way, rather than as VLAN tag.

MFC after: 3 days
Sponsored by: Adara Networks, Inc.


# 9b776960 17-Dec-2011 Bjoern A. Zeeb <bz@FreeBSD.org>

Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum
offloading on vlans and document the new option.

MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation


# 08b68b0e 15-Dec-2011 Gleb Smirnoff <glebius@FreeBSD.org>

A major overhaul of the CARP implementation. The ip_carp.c was started
from scratch, copying needed functionality from the old implemenation
on demand, with a thorough review of all code. The main change is that
interface layer has been removed from the CARP. Now redundant addresses
are configured exactly on the interfaces, they run on.

The CARP configuration itself is, as before, configured and read via
SIOCSVH/SIOCGVH ioctls. A new prefix created with SIOCAIFADDR or
SIOCAIFADDR_IN6 may now be configured to a particular virtual host id,
which makes the prefix redundant.

ifconfig(8) semantics has been changed too: now one doesn't need
to clone carpXX interface, he/she should directly configure a vhid
on a Ethernet interface.

To supply vhid data from the kernel to an application the getifaddrs(8)
function had been changed to pass ifam_data with each address. [1]

The new implementation definitely closes all PRs related to carp(4)
being an interface, and may close several others. It also allows
to run a single redundant IP per interface.

Big thanks to Bjoern Zeeb for his help with inet6 part of patch, for
idea on using ifam_data and for several rounds of reviewing!

PR: kern/117000, kern/126945, kern/126714, kern/120130, kern/117448
Reviewed by: bz
Submitted by: bz [1]


# fab8a492 12-Nov-2011 Adrian Chadd <adrian@FreeBSD.org>

Bump date.


# 6edc611e 12-Nov-2011 Adrian Chadd <adrian@FreeBSD.org>

Add documentation for the new quiet time IE options.

Submitted by: Himali Patel <himali.patel@sibridgetech.com>
Sponsored by: Sibridge Technologies


# 5ed65977 19-Sep-2011 Hiroki Sato <hrs@FreeBSD.org>

- Document inet6 no_radr flag.
- Add descriptions of sysctl(8) variables which can control the default
configuration of the inet6 flags.

Approved by: re (kib)


# 35fd7bc0 02-Jul-2011 Bjoern A. Zeeb <bz@FreeBSD.org>

Add infrastructure to allow all frames/packets received on an interface
to be assigned to a non-default FIB instance.

You may need to recompile world or ports due to the change of struct ifnet.

Submitted by: cjsp
Submitted by: Alexander V. Chernikov (melifaro ipfw.ru)
(original versions)
Reviewed by: julian
Reviewed by: Alexander V. Chernikov (melifaro ipfw.ru)
MFC after: 2 weeks
X-MFC: use spare in struct ifnet


# 5af3fa9a 31-May-2011 Bjoern A. Zeeb <bz@FreeBSD.org>

Conditionally compile in the af_inet and af_inet6, af_nd6 modules.
If compiled in for dual-stack use, test with feature_present(3)
to see if we should register the IPv4/IPv6 address family related
options.

In case there is no "inet" support we would love to go with the
usage() and make the address family mandatory (as it is for anything
but inet in theory). Unfortunately people are used to
ifconfig IF up/down
etc. as well, so use a fallback of "link". Adjust the man page
to reflect these minor details.

Improve error handling printing a warning in addition to the usage
telling that we do not know the given address family in two places.

Reviewed by: hrs, rwatson
Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems
MFC after: 2 weeks


# 66e0e139 06-Apr-2011 Glen Barber <gjb@FreeBSD.org>

Correct 'list scan' description in the examples. The previous description
was incorrect - 'list scan' does not actually do a scan, but instead lists
the results of the background 'scan' cache.

Submitted by: Fabian Keil (freebsd-listen of fabiankeil de) (via email)
Discussed with: bschmidt
MFC after: 3 days


# 8e99556f 21-Mar-2011 Glen Barber <gjb@FreeBSD.org>

Bump date from previous commit.


# a34287fb 20-Mar-2011 Glen Barber <gjb@FreeBSD.org>

Use 'list scan' in favor of 'scan', as 'scan' has a different purpose.

Pointed out by: bschmidt
MFC after: 1 day


# e3879379 12-Mar-2011 Glen Barber <gjb@FreeBSD.org>

Remove unneeded newline.

MFC after: 1 week


# 48141d37 12-Mar-2011 Glen Barber <gjb@FreeBSD.org>

Add example of using 'scan' for wireless networks, similarly to
OpenBSD's ifconfig(8).

PR: 151952
Submitted by: Jared (rhyous of yahoo com)
MFC after: 1 week


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# c2025a76 16-Aug-2010 Joel Dahl <joel@FreeBSD.org>

Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages. Minor corrections by me.

Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>


# f6ac2391 06-Aug-2010 Joel Dahl <joel@FreeBSD.org>

Fix typos and spelling mistakes.


# a53bb70b 31-Jul-2010 Joel Dahl <joel@FreeBSD.org>

Spelling fixes.


# 7b6bd42a 17-May-2010 Bjoern A. Zeeb <bz@FreeBSD.org>

MFC r208077:
Document the 'short preamble' capability for 802.11bg.

Reviewed by: sam


# 68a63039 14-May-2010 Bjoern A. Zeeb <bz@FreeBSD.org>

Document the 'short preamble' capability for 802.11bg.

Reviewed by: sam
MFC after: 4 days


# 2fb1e09d 28-Apr-2010 Rui Paulo <rpaulo@FreeBSD.org>

Bump man page date.


# f30f9d40 28-Apr-2010 Rui Paulo <rpaulo@FreeBSD.org>

Fix typos.

Obtained from: DragonFlyBSD


# be3410a9 18-Mar-2010 Pyun YongHyeon <yongari@FreeBSD.org>

MFC r204150:
Add TSO support on VLAN in fconfig(8).


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# a5a931b3 25-Feb-2010 Xin LI <delphij@FreeBSD.org>

MFC 203052:

Add interface description capability as inspired by OpenBSD. Thanks for
rwatson@, jhb@, brooks@ and others for feedback to the old implementation!

Sponsored by: iXsystems, Inc.


# 0f686c0f 20-Feb-2010 Pyun YongHyeon <yongari@FreeBSD.org>

Add TSO support on VLAN in fconfig(8).

Reviewed by: thompsa


# 215940b3 26-Jan-2010 Xin LI <delphij@FreeBSD.org>

Revised revision 199201 (add interface description capability as inspired
by OpenBSD), based on comments from many, including rwatson, jhb, brooks
and others.

Sponsored by: iXsystems, Inc.
MFC after: 1 month


# 28769e85 06-Dec-2009 Hiroki Sato <hrs@FreeBSD.org>

MFC:

r197138:
- The ifconfig(8) command now supports NDP flags which are handled by ndp(8).

r198006:
- Use printb() to display the "nd6 options=" line.


# 1a9d4dda 12-Nov-2009 Xin LI <delphij@FreeBSD.org>

Revert revision 199201 for now as it has introduced a kernel vulnerability
and requires more polishing.


# 41c8c6e8 11-Nov-2009 Xin LI <delphij@FreeBSD.org>

Add interface description capability as inspired by OpenBSD.

MFC after: 3 months


# b509d7d4 12-Oct-2009 Hiroki Sato <hrs@FreeBSD.org>

MFC r197142:

Document accept_rev_ethip_ver and send_rev_ethip_ver flags of
EtherIP (gif(4) + if_bridge(4)).

Approved by: re (kib)


# 2e77c5ab 26-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

Fix several logic bugs in the previous IPv6 variable change and
re-add $ipv6_enable support for backward compatibility. From
UPDATING:

1. To use IPv6, simply define $ifconfig_IF_ipv6 like $ifconfig_IF
for IPv4. For aliases, $ifconfig_IF_aliasN should be used.
Note that both variables need the "inet6" keyword at the head.

Do not set $ipv6_network_interfaces manually if you do not
understand what you are doing. It is not needed in most cases.

$ipv6_ifconfig_IF and $ipv6_ifconfig_IF_aliasN still work, but
they are obsolete.

2. $ipv6_enable is obsolete. Use $ipv6_prefer and/or
"inet6 accept_rtadv" keyword in ifconfig(8) instead.

If you define $ipv6_enable=YES, it means $ipv6_prefer=YES and
all configured interfaces have "inet6 accept_rtadv" in the
$ifconfig_IF_ipv6. These are for backward compatibility.

3. A new variable $ipv6_prefer has been added. If NO, IPv6
functionality of interfaces with no corresponding
$ifconfig_IF_ipv6 is disabled by using "inet6 ifdisabled" flag,
and the default address selection policy of ip6addrctl(8)
is the IPv4-preferred one (see rc.d/ip6addrctl for more details).
Note that if you want to configure IPv6 functionality on the
disabled interfaces after boot, first you need to clear the flag by
using ifconfig(8) like:

ifconfig em0 inet6 -ifdisabled

If YES, the default address selection policy is set as
IPv6-preferred.

The default value of $ipv6_prefer is NO.

4. If your system need to receive Router Advertisement messages,
define "inet6 accept_rtadv" in $ifconfig_IF_ipv6. The rc(8)
scripts automatically invoke rtsol(8) when the interface becomes
UP. The Router Advertisement messages are used for SLAAC
(State-Less Address AutoConfiguration).


# 6dcd0ad8 12-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

Document accept_rev_ethip_ver and send_rev_ethip_ver flags of
EtherIP (gif(4) + if_bridge(8)).

MFC after: 3 days


# a283298c 12-Sep-2009 Hiroki Sato <hrs@FreeBSD.org>

Improve flexibility of receiving Router Advertisement and
automatic link-local address configuration:

- Convert a sysctl net.inet6.ip6.accept_rtadv to one for the
default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a
global knob. The default value of the sysctl is 0.

- Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a
sysctl net.inet6.ip6.auto_linklocal to one for its default
value. The default value of the sysctl is 1.

- Make ND6_IFF_IFDISABLED more robust. It can be used to disable
IPv6 functionality of an interface now.

- Receiving RA is allowed if ip6_forwarding==0 *and*
ND6_IFF_ACCEPT_RTADV is set on that interface. The former
condition will be revisited later to support a "host + router" box
like IPv6 CPE router. The current behavior is compatible with
the older releases of FreeBSD.

- The ifconfig(8) now supports these ND6 flags as well as "nud",
"prefer_source", and "disabled" in ndp(8). The ndp(8) now
supports "auto_linklocal".

Discussed with: bz and jinmei
Reviewed by: bz
MFC after: 3 days


# 59aa14a9 11-Jul-2009 Rui Paulo <rpaulo@FreeBSD.org>

Implementation of the upcoming Wireless Mesh standard, 802.11s, on the
net80211 wireless stack. This work is based on the March 2009 D3.0 draft
standard. This standard is expected to become final next year.
This includes two main net80211 modules, ieee80211_mesh.c
which deals with peer link management, link metric calculation,
routing table control and mesh configuration and ieee80211_hwmp.c
which deals with the actually routing process on the mesh network.
HWMP is the mandatory routing protocol on by the mesh standard, but
others, such as RA-OLSR, can be implemented.

Authentication and encryption are not implemented.

There are several scripts under tools/tools/net80211/scripts that can be
used to test different mesh network topologies and they also teach you
how to setup a mesh vap (for the impatient: ifconfig wlan0 create
wlandev ... wlanmode mesh).

A new build option is available: IEEE80211_SUPPORT_MESH and it's enabled
by default on GENERIC kernels for i386, amd64, sparc64 and pc98.

Drivers that support mesh networks right now are: ath, ral and mwl.

More information at: http://wiki.freebsd.org/WifiMesh

Please note that this work is experimental. Also, please note that
bridging a mesh vap with another network interface is not yet supported.

Many thanks to the FreeBSD Foundation for sponsoring this project and to
Sam Leffler for his support.
Also, I would like to thank Gateworks Corporation for sending me a
Cambria board which was used during the development of this project.

Reviewed by: sam
Approved by: re (kensmith)
Obtained from: projects/mesh11s


# 5061de23 24-Jun-2009 Jamie Gritton <jamie@FreeBSD.org>

Add the "vnet" and "-vnet" options, to allow moving interfaces between
jails with VIMAGE.

Approved by: bz (mentor)


# 10ad9a77 08-Jan-2009 Sam Leffler <sam@FreeBSD.org>

TDMA support for long distance point-to-point links using ath devices:
o add net80211 support for a tdma vap that is built on top of the
existing adhoc-demo support
o add tdma scheduling of frame transmission to the ath driver; it's
conceivable other devices might be capable of this too in which case
they can make use of the 802.11 protocol additions etc.
o add minor bits to user tools that need to know: ifconfig to setup and
configure, new statistics in athstats, and new debug mask bits

While the architecture can support >2 slots in a TDMA BSS the current
design is intended (and tested) for only 2 slots.

Sponsored by: Intel


# 4f1fb109 19-Oct-2008 Giorgos Keramidas <keramida@FreeBSD.org>

Tiny wording nits.

MFC after: 1 week


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 116c00fb 04-Oct-2008 Maxim Konovalov <maxim@FreeBSD.org>

o Typo fixes.

PR: docs/127866
Submitted by: Marius Korsmo


# 51947cb6 21-Sep-2008 Sam Leffler <sam@FreeBSD.org>

MIMO power save and RIFS; while here also update per-node state/flags for ampdu


# eafbb00d 28-Aug-2008 Jack F Vogel <jfv@FreeBSD.org>

Add support in ifconfig to control the vlan hardware filter feature.

Reviewed by: EvilSam and moi
MFC after:1 week


# b3c97464 26-Aug-2008 Rui Paulo <rpaulo@FreeBSD.org>

Fix typo.


# ed8b5a93 08-Aug-2008 Sam Leffler <sam@FreeBSD.org>

recognize WPS ie's

Submitted by: "Chuck Tuffli" <chuck@tuffli.net>
MFC after: 1 week


# 87a8e294 02-Aug-2008 Sam Leffler <sam@FreeBSD.org>

change list wme to only print the channel parameters; to
get channel+bss use -v


# 4a5184dc 30-Jul-2008 Sam Leffler <sam@FreeBSD.org>

correct description of how to clear a desired channel

Pointed out by: Chris Buechler
MFC after: 1 week


# 131c55bc 20-Jun-2008 Andrew Thompson <thompsa@FreeBSD.org>

Add support for the optional key in the GRE header.

PR: kern/114714
Submitted by: Cristian KLEIN


# b032f27c 20-Apr-2008 Sam Leffler <sam@FreeBSD.org>

Multi-bss (aka vap) support for 802.11 devices.

Note this includes changes to all drivers and moves some device firmware
loading to use firmware(9) and a separate module (e.g. ral). Also there
no longer are separate wlan_scan* modules; this functionality is now
bundled into the wlan module.

Supported by: Hobnob and Marvell
Reviewed by: many
Obtained from: Atheros (some bits)


# 5ce09a9e 29-Feb-2008 Sam Leffler <sam@FreeBSD.org>

explain that you must set a default transmit key for WEP

Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
MFC after: 1 week


# de0abf19 09-Dec-2007 Sam Leffler <sam@FreeBSD.org>

Wake On Lan (WOL) infrastructure

Submitted by: Stefan Sperling <stsp@stsp.name>
Reviewed by: brooks


# 5f33ec7b 04-Nov-2007 Andrew Thompson <thompsa@FreeBSD.org>

Add an option to limit the number of source MACs that can be behind a bridge
interface. Once the limit is reached packets with unknown source addresses are
dropped until an existing host cache entry expires or is removed. Useful to
use with the STICKY cache option.

Sponsored by: miniSuperHappyDevHouse NZ


# d592cd38 01-Nov-2007 Sam Leffler <sam@FreeBSD.org>

minor wireless-related corrections

MFC after: 1 week


# 85ce7297 31-Jul-2007 Andrew Thompson <thompsa@FreeBSD.org>

Add a bridge interface flag called PRIVATE where any private port can not
communicate with another private port.

All unicast/broadcast/multicast layer2 traffic is blocked so it works much the
same way as using firewall rules but scales better and is generally easier as
firewall packages usually do not allow ARP blocking.

An example usage would be having a number of customers on separate vlans
bridged with a server network. All the vlans are marked private, they can all
communicate with the server network unhindered, but can not exchange any
traffic whatsoever with each other.

Approved by: re (rwatson)


# fdef6acc 09-Jul-2007 Sam Leffler <sam@FreeBSD.org>

updates for 802.11-related parameters

Reviewed by: thompsa
Approved by: re (hrs)


# a6575bfc 11-Jun-2007 Andre Oppermann <andre@FreeBSD.org>

Add reporting and toggling of TCP LRO (large receive offload) support to
ifconfig(8).


# 8f3591a5 10-Jun-2007 Sam Leffler <sam@FreeBSD.org>

Update for revised 802.11 support:
o revised channel handling support; ifconfig now queries the kernel to
find the list of available channels and handles channel promotion;
channel attributes can be specified as part of the channel; e.g. 36:a
for channel 36 in 11a (as opposed to turbo A or HT A)
o use channel list to map between freq and IEEE channel #; this eliminates
all knowledge of how the mapping is done and fixes handling of cases
where channels overlap in the IEEE channel # space but are distinct in
the frequency+attributes space (e.g. PSB)
o add new knobs: bgscan, ff (Atheors fast frames), dturbo (Atheros
Dynamic Turbo mode), bgscanidle, bgscanintvl, scanvalid, roam:rssi11a,
roam:rssi11b, roam:rssi11g, roam:rate11a, roam:rate11b, roam:rate11g
(roaming parameters), burst, doth (forthcoming 11h support)
o print contents of WME, ATH, WPA, RSN, information elements with -v option
o print signal strength in dBm
o print noise floor in dBm
o add list txpow to print tx power caps/channel
o change default channel display in status to be more informative


# a389ab00 22-May-2007 Andrew Thompson <thompsa@FreeBSD.org>

Add the -n flag for disabling automatic module loading, this will be used by
rc.d to stop it reloading the network module on unload.


# 18242d3b 16-Apr-2007 Andrew Thompson <thompsa@FreeBSD.org>

Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking.

The name trunk is misused as the networking term trunk means carrying multiple
VLANs over a single connection. The IEEE standard for link aggregation (802.3
section 3) does not talk about 'trunk' at all while it is used throughout IEEE
802.1Q in describing vlans.

The lagg(4) driver provides link aggregation, failover and fault tolerance.

Discussed on: current@


# 68bca8a5 09-Apr-2007 Andrew Thompson <thompsa@FreeBSD.org>

Bump document date for new trunk commands.


# 7b62d98b 09-Apr-2007 Andrew Thompson <thompsa@FreeBSD.org>

Hook trunk(4) up to the build.


# 99469fe2 29-Mar-2007 Andrew Thompson <thompsa@FreeBSD.org>

Correct the name of the 'proto' command.

MFC after: 3 days


# 9bb9973c 04-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Be explicit in examples about the correct grammar for 'alias' and
'-alias', and that 'add' and 'delete are in fact synonyms for these
in the ifconfig(8) grammar.

Use network prefixes explicitly specified in IETF RFCs for
documentation purposes. (bz)

PR: 102701
MFC after: 1 day
See also: RFC 3330, RFC 3849
Submitted by: bz


# 9bad5f37 02-Feb-2007 Bruce M Simpson <bms@FreeBSD.org>

Add an EXAMPLES section to ifconfig(8), clearly showing how to configure
IPv6 addresses in FreeBSD.

See also: http://www.telscom.ch/index.php/downloads/configure_ipv6_features

MFC after: 1 week
PR: 102701
Obtained from: OpenBSD (partly, with edits)


# 11139493 19-Jan-2007 Marius Strobl <marius@FreeBSD.org>

- Display the media instance numbers and allow the user to set the active
one. This is based on NetBSD but unlike NetBSD this implementation prints
the instance number for all media instances and doesn't skip it for the
first one as I don't see a reason to suppress it except for the vague
reason to preserve the output for single-instance configurations.
- Fix some whitespace nits.


# 78709605 11-Dec-2006 Andrew Thompson <thompsa@FreeBSD.org>

These days P2P means peer-2-peer (also well known from serveral filesharing
protocols) while PointToPoint has been PtP links. Change the variables
accordingly while the code is still fresh and undocumented.

Requested by: bz


# 153f9b00 27-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

Add descriptions for p2p and autop2p.


# 85606c18 27-Nov-2006 Ceri Davies <ceri@FreeBSD.org>

Bump .Dd for r1.127.


# 1dfd31ab 27-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

Keep the command name the same as the values display name in ifconfig.


# 3df7fad0 08-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

Add a new address cache type called sticky. On an interface marked sticky any
address learned by the bridge is made permanent, the address will not age out
and most importantly will not migrate to another interface.

This can be used to stop mac address poisoning or clients roaming in much the
same way as static entries without the hassle of preloading the table.


# 3fab7669 01-Nov-2006 Andrew Thompson <thompsa@FreeBSD.org>

Bring in support for the Rapid Spanning Tree Protocol (802.1w).

RSTP provides faster spanning tree convergence, the protocol will exchange
information with neighboring switches to quickly transition to forwarding
without creating loops. The code will default to RSTP mode but will downgrade
any port connected to a legacy STP network so is fully backward compatible.

Reviewed by: syrinx
Tested by: syrinx


# dadff483 10-Oct-2006 Ruslan Ermilov <ru@FreeBSD.org>

Fix markup botched in previous commit.


# 7a6f335e 09-Oct-2006 Tom Rhodes <trhodes@FreeBSD.org>

Note that the -v option may be used to expand long SSIDs.

PR: 102118
Reviewed by: sam


# 09a66bda 02-Oct-2006 Jens Schweikhardt <schweikh@FreeBSD.org>

Correct some grammos.


# 8266d476 18-Sep-2006 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.


# d7097da4 06-Sep-2006 Andre Oppermann <andre@FreeBSD.org>

Make TSO (TCP segmentation offload) capabilities visible and accessible with
'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


# d7ccef33 25-Jul-2006 Sam Leffler <sam@FreeBSD.org>

add beacon miss threshold control

Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
MFC after: 2 weeks


# 97d7b28e 23-Jun-2006 Sam Leffler <sam@FreeBSD.org>

remove display of the ERP ie from the list sta output (it's always
zero); replace it with station capabilities

MFC after: 1 month


# 0dad3f0e 19-Jun-2006 Max Laier <mlaier@FreeBSD.org>

Import interface groups from OpenBSD. This allows to group interfaces in
order to - for example - apply firewall rules to a whole group of
interfaces. This is required for importing pf from OpenBSD 3.9

Obtained from: OpenBSD (with changes)
Discussed on: -net (back in April)


# df755936 08-Apr-2006 Scott Long <scottl@FreeBSD.org>

Document the rest of the 802.11 capability flags.


# 451486b5 27-Feb-2006 Sam Leffler <sam@FreeBSD.org>

explain what list chan displays

MFC after: 1 week


# e70fcb23 15-Feb-2006 Sam Leffler <sam@FreeBSD.org>

add miss args to mac:del and mac:kick

Submitted by: Anders Hanssen
MFC after: 3 days


# 556c9a4c 03-Feb-2006 Jesus R. Camou <jcamou@FreeBSD.org>

Document carp(4) arguments.

PR: docs/92653
Submitted by: Jeremy C. Reed <reed@reedmedia.net>
Reviewed by: ru
Approved by: trhodes (mentor)
MFC after: 5 days


# 4e0a8f0d 26-Dec-2005 Sam Leffler <sam@FreeBSD.org>

document deftxkey


# ced42c6c 16-Dec-2005 Ceri Davies <ceri@FreeBSD.org>

Document the pfsync(4) specific maxupd parameter, with text mostly taken
from OpenBSD's manpage.

PR: docs/89256
Submitted by: Pim van Pelt <pim at ipng dot nl>
MFC after: 3 days


# 29d58c71 14-Dec-2005 Sam Leffler <sam@FreeBSD.org>

add control for packet bursting


# 91f6764e 13-Dec-2005 Andrew Thompson <thompsa@FreeBSD.org>

Add support for creating span ports so that one can snoop bridged traffic
from another interface/machine/network.

Obtained from: OpenBSD
MFC after: 2 weeks


# 439b4702 12-Dec-2005 Sam Leffler <sam@FreeBSD.org>

add mcastrate support

MFC after: 1 week


# 4e9e907d 18-Nov-2005 Ruslan Ermilov <ru@FreeBSD.org>

-mdoc sweep.


# 1f8f09b0 01-Oct-2005 Gleb Smirnoff <glebius@FreeBSD.org>

Now ifconfig is the one right way to turn polling on. Thus, remove
the "if" clauses.


# 9e241c5e 29-Sep-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

For the sake of consistency and easier typing,
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


# 7259f7c4 29-Sep-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Forgot to touch .Dd in the previous commit.


# b0dcc11c 29-Sep-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Deprecate the useless argument to -vlandev.

Submitted by: Fredrik Lindberg <fli+freebsd-current at shapeshifter.se> (implementation)
Reviewed by: brooks
MFC after: 5 days


# 163653e8 22-Sep-2005 Yaroslav Tykhiy <ytykhiy@gmail.com>

Since special interface types get their own subsections
(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.


# db7d6dc1 13-Aug-2005 Andrew Thompson <thompsa@FreeBSD.org>

Document two missed if_bridge commands 'addr' and 'static'.

Noticed by: Michal Mertl
Approved by: mlaier (mentor)
MFC after: 3 days


# 29f0e929 13-Aug-2005 Sam Leffler <sam@FreeBSD.org>

add list mac and mac:kick support

Submitted by: Michal Mertl (original version)
MFC after: 2 weeks


# aeffcba3 02-Aug-2005 Sam Leffler <sam@FreeBSD.org>

Wireless suport fixups: add a bunch of stuff that's been in the
code but not documented (e.g. wme, mac acl) and correct some
information, etc.

Reviewed by: brueffer


# b7eb47e2 14-Jul-2005 Robert Watson <rwatson@FreeBSD.org>

Add a new flag '-k' to ifconfig(8), indicating that it is alright to
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


# ef95d02d 13-Jul-2005 Christian Brueffer <brueffer@FreeBSD.org>

mdoc cleanup and whitespace removal after the last commit.

Submitted by: ru


# 1a44eb07 12-Jul-2005 Christian Brueffer <brueffer@FreeBSD.org>

Information about the capability flags in 'ifconfig foo0 scan' output.

Most content by: avatar
Reviewed by: sam
Approved by: re (hrs)
MFC after: 3 days


# fa56f745 06-Jul-2005 Sam Leffler <sam@FreeBSD.org>

add pureg/-pureg parameter for controlling pureg ap mode support

Reviewed by: avatar
Approved by: re (scottl)


# 55c82bf0 14-Jun-2005 Ruslan Ermilov <ru@FreeBSD.org>

Markup fixes.

Approved by: re (blanket)


# e7951bdf 13-Jun-2005 Christian Brueffer <brueffer@FreeBSD.org>

It's spelled 'preceded' of course.

Submitted by: David Adam <zanchey@ucc.gu.uwa.edu.au>
Pointy hat to: brueffer


# 3e3a17bb 13-Jun-2005 Christian Brueffer <brueffer@FreeBSD.org>

Hex strings are _pre_ceeded by 0x, not _pro_ceeded.

PR: 82187
Submitted by: Anthony Rogers <anthony.j.rogers@gmail.com>
Approved by: re (blanket)
MFC after: 3 days


# 7afc53b8 04-Jun-2005 Andrew Thompson <thompsa@FreeBSD.org>

Connect if_bridge to the build.

Approved by: mlaier (mentor)


# 4029efa5 19-Mar-2005 Christian Brueffer <brueffer@FreeBSD.org>

Xref carp(4) and polling(4).

MFC after: 3 days


# 6087df9e 18-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sort sections.


# 21414470 10-Jan-2005 Ruslan Ermilov <ru@FreeBSD.org>

Scheduled mdoc(7) sweep.


# 5faf8dcb 08-Dec-2004 Sam Leffler <sam@FreeBSD.org>

Overhaul to cleanup some of the tangled logic that's grown over the years.

o break per-address family support out into separate files
o modularize per-address family and functional operations using
a registration mechanism; this permits configuration according
to which files you include (but beware that order of the files
is important to insure backwards compatibility)
o many cleanups to eliminate incestuous behaviour, global variables,
and poor coding practices (still much more to fix)

The original motivation of this work was to support dynamic addition
of functionality based on the interface so we can eliminate the various
little control programs and so that vendors can distribute ifconfig
plugins that support their in-kernel code. That work is still to be
completed.

o Update 802.11 support for all the new net80211 functionality; some
of these operations (e.g. list *) may be better suited in a different
program


# 1313b9ea 06-Nov-2004 Ruslan Ermilov <ru@FreeBSD.org>

First there was an -m option.
Then Peter killed it and made it the default.
Then Brooks and Poul-Henning added it again.
Then Ruslan fixed the manpage...


# 46912de4 27-Jul-2004 Yaroslav Tykhiy <ytykhiy@gmail.com>

Bump the date, .Dd, since the document content has been changed
in the previous commit.

Pointed out by: ru


# e82866fe 26-Jul-2004 Yaroslav Tykhiy <ytykhiy@gmail.com>

Add two knobs to ifconfig(8), `vlanmtu' and `vlanhwtag',
that provide control over the respective capabilities
of an interface, reception of extended frames and hardware
VLAN multiplexor.


# 9806e231 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 4b32efac 14-Jun-2004 Bruce M Simpson <bms@FreeBSD.org>

mdoc(7) police

Submitted by: ru


# c4d297d2 14-Jun-2004 Bruce M Simpson <bms@FreeBSD.org>

Wordsmith the BUGS section re: IPv6 link-local addresses.

PR: docs/66541
Submitted by: Michel Lavondes (with some cleanups/additions)


# d04b5dfe 17-May-2004 Ruslan Ermilov <ru@FreeBSD.org>

Assorted markup, grammar, and spelling fixes.


# fc281403 11-Apr-2004 Ruslan Ermilov <ru@FreeBSD.org>

Document that -m also causes the capability list to be displayed.


# 3a3b019a 11-Apr-2004 Ruslan Ermilov <ru@FreeBSD.org>

Added the new interface capability option for drivers that implement
user-configurable polling(4) support. Make ifconfig(8) aware of it.

Suggested by: luigi


# 4c723140 09-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp


# a6b03f42 30-Mar-2004 Sam Leffler <sam@FreeBSD.org>

add support for setting 802.11 rtsthreshold, transmit power,
and 11g protection mode

Reviewed by: imp (just code)


# 588e78c5 21-Feb-2004 Yaroslav Tykhiy <ytykhiy@gmail.com>

We can cross-reference to vlan(4) as long as
the corresponding manpage has been committed.
The rest of "vlan" words, which are refering
to the technology itself, should be capitalized.

MFC after: 1 week


# 4742fd98 21-Feb-2004 Yaroslav Tykhiy <ytykhiy@gmail.com>

The hardware tagging capability is set on the physical
interface that is parent to a vlan(4) interface,
not on the vlan(4) interface itself.


# 97bebf0a 03-Feb-2004 Brooks Davis <brooks@FreeBSD.org>

Add ifconfig support for network interface renaming. In the process,
reorganize the printing of the interface name when using wildcard
cloning so it is not printed if it we either immediately rename or
destroy the interface.

Reviewed by: ru


# deb62e28 01-Oct-2003 Ruslan Ermilov <ru@FreeBSD.org>

By popular demand, added the "static ARP" per-interface option.


# eb9a85ca 14-May-2003 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: fix more breakages from rev. 1.69.


# 49830e2a 13-May-2003 Sheldon Hearn <sheldonh@FreeBSD.org>

Fix broken comment line introduced in rev 1.69.

Found with: nroff -mandoc ifconfig.8 > /dev/null


# e519b1a5 28-Apr-2003 Sam Leffler <sam@FreeBSD.org>

document mode directive


# 81511867 08-Mar-2003 Tim J. Robbins <tjr@FreeBSD.org>

Uncomment the description of the ipdst parameter, but refer to IPX
instead of NS.


# 8fbad60d 27-Feb-2003 Ruslan Ermilov <ru@FreeBSD.org>

Document the rxcsum and txcsum commands.

Submitted by: jlemon


# 3706a3a8 25-Nov-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: markup, spelling.

Also fixed a critical bug made in revision 1.62 by phk@.


# ac244ef3 14-Nov-2002 Sam Leffler <sam@FreeBSD.org>

update vlandev description; vlan code now auto-recognizes devices that
support h/w tagging


# d25beabf 27-Oct-2002 Chris Costello <chris@FreeBSD.org>

Remove a line that reflected behavior that does not actually exist.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs


# 76b4b15f 25-Oct-2002 Chris Costello <chris@FreeBSD.org>

Document the `maclabel' command.

Obtained from: TrustedBSD Project
Sponsored by: Network Associates Laboratories


# afbe3a0f 27-Sep-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Add the "Monitor" interface flag.

Setting this flag on an ethernet interface blocks transmission of packets
and discards incoming packets after BPF processing.

This is useful if you want to monitor network trafic but not interact
with the network in question.

Sponsored by: http://www.babeltech.dk


# ffb079be 19-Aug-2002 Maxim Sobolev <sobomax@FreeBSD.org>

Implement user-setable promiscuous mode (a new `promisc' flag for ifconfig(8)).
Also, for all interfaces in this mode pass all ethernet frames to upper layer,
even those not addressed to our own MAC, which allows packets encapsulated
in those frames be processed with packet filters (ipfw(8) et al).

Emphatically requested by: Anton Turygin <pa3op@ukr-link.net>
Valuable suggestions by: fenner


# a61d9c47 13-Aug-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: KAMEism in rev. 1.56, nits in rev. 1.58.


# d8f2e345 12-Aug-2002 Warner Losh <imp@FreeBSD.org>

Warn that hex keys are the most portable.

Submitted by: Gregory Bond <gnb@itga.com.au>
Pr: 40872


# e1205e80 06-Jul-2002 Philippe Charnier <charnier@FreeBSD.org>

The .Nm utility


# 331a2db8 15-Jun-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Add eui64 option which fills interface index (lowermost 64bit of
an IPv6 address) automatically.
This should obsolete prefix(8).

Obtained from: NetBSD
MFC after: 2 weeks


# aaa34889 11-May-2002 Brian Somers <brian@FreeBSD.org>

Reword the ``alias'' description slightly. We must specify a non-conflicting
netmask - not necessarily 0xffffffff.

MFC after: 3 days


# 1876df83 27-Mar-2002 Ruslan Ermilov <ru@FreeBSD.org>

Turn "ether" address family into a generic "link" family
that could be used to set/get arbitrary length link level
addresses. Alias "lladdr" parameter and "ether" family
to the new "link" family for backward compatibility.

PR: bin/31476
MFC after: 1 week


# 86fbcc32 15-Mar-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: kill whitespace at eol.


# d29a2061 10-Feb-2002 Dima Dorfman <dd@FreeBSD.org>

Note what the default address_family is.

PR: 32463
Submitted by: Gary W. Swearingen


# 9f1741ca 09-Jan-2002 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police:

Restore (sorta) a useful piece of information that got lost in the
previous delta -- an ability to specify /prefixlength after an IPv6
address.


# eb2a1701 06-Jan-2002 Dima Dorfman <dd@FreeBSD.org>

In the words of the submitter:

The first "synopsis" example has a "[/prefixlength]" which shouldn't
be there, since that stuff is part of the preceeding "address" as is
explained in the description of "address".

(The way it is now, 192.168.0.1/16/prefixlength would be a proper
operand. Note that "prefixlength" is not mentioned by name anywhere.)

PR: 32462
Submitted by: Gary W. Swearingen <swear@blarg.net>


# 525d500e 24-Nov-2001 Dima Dorfman <dd@FreeBSD.org>

Spelling police: sucessful -> successful.

Submitted by: Anders Andersson <anders@codefactory.se>


# b94231da 24-Nov-2001 Dima Dorfman <dd@FreeBSD.org>

Spelling police: "more then" - "more than" where appropriate.


# b8a7fd3f 22-Aug-2001 Yaroslav Tykhiy <ytykhiy@gmail.com>

``create'' and ``destroy'' are command modifiers (.Cm), not flags (.Fl).


# f1845f5b 16-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: restore markup bit that got accidentally lost in rev. 1.44.


# bfc03b18 07-Aug-2001 Stephen McKay <mckay@FreeBSD.org>

Spelling.


# b09b4efb 04-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: fix markup.


# 3e61dca0 02-Jul-2001 Brooks Davis <brooks@FreeBSD.org>

Support network device cloning via create and destroy options.

Reviewed by: ru, ume
Obtained from: NetBSD
MFC after: 1 week


# 33841545 10-Jun-2001 Hajimu UMEMOTO <ume@FreeBSD.org>

Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.

Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks


# b80875bc 01-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

ARP works on networks other than Ethernet.

PR: 22062
Submitted by: Christian Weisgerber <naddy@mips.inka.de>,
Brooks Davis <brooks@one-eyed-alien.net>


# d86b3112 01-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Mention the 'ether' parameter.

PR: 23767
Submitted by: Maxime Henrion <mux@qualys.com>,
Brooks Davis <brooks@one-eyed-alien.net>


# ca299b1f 29-May-2001 Poul-Henning Kamp <phk@FreeBSD.org>

When using interfaces that support if_media, the supported media list is
printed on a single, very long, and generally unreadable line. This
isn't very useful. It's also really ugly and most of the time you don't
care what media is supported anyway.

PR: 27701
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>


# 419d8080 26-May-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Currently, each wireless networking driver has it's own control program
despite the fact that most people want to set exactly the same settings
regardless of which card they have. It has been repeatidly suggested
that this configuration should be done via ifconfig. This patch
implements the required functionality in ifconfig and add support to the
wi and an drivers. It also provides partial, untested support for the
awi driver.

PR: 25577
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>


# 19fe4826 07-May-2001 Ruslan Ermilov <ru@FreeBSD.org>

Cosmetics: .Dl -> .Li.


# 12813062 05-May-2001 Jesper Skriver <jesper@FreeBSD.org>

Let ifconfig(8) catch up with the new functionality where
one can specify addresses and netmask in CIDR notation.

Submitted by: Dima Dorfman <dima@unixfreak.org>


# d0353b83 01-Feb-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: split punctuation characters + misc fixes.


# 23dafeac 22-Jan-2001 Ben Smithurst <ben@FreeBSD.org>

mdoc police.

Submitted by: ru


# b112c02b 20-Jan-2001 Ben Smithurst <ben@FreeBSD.org>

Add 'netrange' parameter to 'range' command and fix a couple of typos.

PR: 23984
Submitted by: Jimmy Olgeni <olgeni@uli.it>


# 7c7fb079 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# abc3361a 19-Jul-2000 Archie Cobbs <archie@FreeBSD.org>

Show the actual command line usage in the man page and usage error string.


# 67b6e9dd 12-Jul-2000 John Baldwin <jhb@FreeBSD.org>

Note that "ether" is a supported address family for setting addresses.


# b106252c 16-Jun-2000 Bill Paul <wpaul@FreeBSD.org>

Implement SIOCSIFLLADDR, which allows you to change the link-level
address on an interface. This basically allows you to do what my
little setmac module/utility does via ifconfig. This involves the
following changes:

socket.h: define SIOCSIFLLADDR
if.c: add support for SIOCSIFLLADDR, which resets the values in
the arpcom struct and sockaddr_dl for the specified interface.
Note that if the interface is already up, we need to down/up
it in order to program the underlying hardware's receive filter.
ifconfig.c: add lladdr command
ifconfig.8: document lladdr command

You can now force the MAC address on any ethernet interface to be
whatever you want. (The change is not sticky across reboots of course:
we don't actually reprogram the EEPROM or anything.) Actually, you
can reprogram the MAC address on other kinds of interfaces too; this
shouldn't be ethernet-specific (though at the moment it's limited to
6 bytes of address data).

Nobody ran up to me and said "this is the politically correct way to
do this!" so I don't want to hear any complaints from people who think
I could have done it more elegantly. Consider yourselves lucky I didn't
do it by having ifconfig tread all over /dev/kmem.


# fac3d981 20-May-2000 David E. O'Brien <obrien@FreeBSD.org>

Document "-alias".


# ef8f7ac9 01-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 99aa831b 26-Feb-2000 Chris Costello <chris@FreeBSD.org>

Spelling: ``adress'' -> ``address''


# d6d1cb48 26-Feb-2000 Robert Watson <rwatson@FreeBSD.org>

Introduce ``add'' and ``remove'' as alternatives to ``alias'' and ``delete''.
Improve compatibility with BSD/OS, and also more accurately reflect that
IP aliases aren't really any different than the primary IP address on an
interface.

Reviewed by: dcs
Approved by: jkh


# f050f700 22-Jan-2000 Mike Pritchard <mpp@FreeBSD.org>

Fix various man pages to stop abusing the .Bx macro to generate
the strings "FreeBSD" and "NetBSD". Use the .Fx or .Nx macro
instead.


# dfed87fc 15-Dec-1999 Bill Fumerola <billf@FreeBSD.org>

Spelling fix (manuall -> manual)

Submitted by: Jeroen C. van Gelderen <jeroen@vangelderen.org>


# cfa1ca9d 07-Dec-1999 Yoshinobu Inoue <shin@FreeBSD.org>

udp IPv6 support, IPv6/IPv4 tunneling support in kernel,
packet divert at kernel for IPv6/IPv4 translater daemon

This includes queue related patch submitted by jburkhol@home.com.

Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project


# 3e0c8d78 21-Nov-1999 Poul-Henning Kamp <phk@FreeBSD.org>

Add comment about aliases on same subnet.

Submitted by: Martin Blapp <mbr@imp.ch>


# 7f3dea24 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 97ed1257 14-Mar-1999 Bill Paul <wpaul@FreeBSD.org>

Grrr... botched remote commit. Let's try this again: vlan updates,
take two.


# e333b944 06-Jul-1998 Philippe Charnier <charnier@FreeBSD.org>

Update man page to allow adding address_family when -l is used (this is a no op
for now). Correct use of .Nm. Short usage string (see man page for full list).
Spelling. Use err(3).


# 20d3783a 07-Jun-1998 Daniel O'Callaghan <danny@FreeBSD.org>

Fix typo: exit -> exist


# fcc7dccf 01-Feb-1998 Steve Price <steve@FreeBSD.org>

Spell 'implements' correctly.

PR: 5614
Submitted by: Dag-Erling Coidan Smorgrav <dag-erli@ifi.uio.no>


# 41cd75b7 15-Oct-1997 Peter Wemm <peter@FreeBSD.org>

Make the supported media info output the default.
The -m switch is now accepted for backwards compatability.

Suggested by: davidg


# 920de530 26-Sep-1997 Peter Wemm <peter@FreeBSD.org>

Spell out a few things for the media options.


# 25e43cba 01-Jul-1997 Bruce Evans <bde@FreeBSD.org>

Import Lite2's src/sbin, except for XNSrouted and routed. All relevant
files in src/sbin are off the vendor branch, so this doesn't change the
active versions.


# b5436146 03-May-1997 Peter Wemm <peter@FreeBSD.org>

Grab some of the NetBSD text for describing the new options and the
media commands.


# c0ec1f37 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# af202156 12-Jan-1997 Wolfram Schneider <wosch@FreeBSD.org>

Sort cross references.


# 91badbbe 04-Sep-1996 Julian Elischer <julian@FreeBSD.org>

Just realised the man page didn't mention the appletalk specific options
to ifconfig..
so I 've added them..


# e05f2836 08-Jul-1996 Julian Elischer <julian@FreeBSD.org>

Submitted by: Archie@whistle.com
Obtained from: Whistle Communications
patches to allow ifconfig to work with appletalk addresses etc.


# cbc17e71 13-Feb-1996 Garrett Wollman <wollman@FreeBSD.org>

XNS sort-of-support is no more.


# 0761cb29 06-Feb-1996 Garrett Wollman <wollman@FreeBSD.org>

Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree. NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).


# e71057d8 29-Jan-1996 Mike Pritchard <mpp@FreeBSD.org>

Fix a bunch of spelling errors.


# f7fa522e 12-Mar-1995 Bill Paul <wpaul@FreeBSD.org>

Impliment -ad and -au flags in addition to -a and document the change
in the man page. ifconfig -au affects all interfaces marked as up,
and ifconfig -ad affects only the interfaces marked down. ifconfig -a
still handles everything. This change is purely for compatibility with
SunOS, for those who might be accustomed to the SunOS ifconfig's
behavior.


# 2558753d 30-Dec-1994 Jordan K. Hubbard <jkh@FreeBSD.org>

Tweak the man page too.


# 4db32b03 08-Aug-1994 David Greenman <dg@FreeBSD.org>

Added support for setting the per-interface MTU.


# 8fae3551 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite sbin Sources

Note: XNSrouted and routed NOT imported here, they shall be imported with
usr.sbin.