Age | Commit message (Collapse) | Author |
|
OK sthen mpi
|
|
Update ifconfig to display LACP State (Actor and Partner) on
each trunk port
Ok benno@, phessler@, and tb@
|
|
from paul de weerd
ok kn
|
|
The following removes the functionality of the SIOCS80211SCAN ioctl.
After long discussions with stps@, mpi@, and deraadt@ we decided that
this was the correct way of fixing ifconfig scan from blocking the
network stack.
The kernel will continue scanning in the background and filling the
nodes array, but ifconfig scan commands will now basically do just a
SIOCG80211ALLNODES and pretty print the array. So the output stays the
same but is instant.
In fact, when the interface is freshly brought up, if you type fast
enough, you can see the array being filled by running multiple ifconfig
scans in sequence.
The SIOCS80211SCAN ioctl stays for now as wi(4), pgt(4) and malo(4)
still need it around. But not for long...
Another change that this introduces is the fact that ifconfig scan no
longer plays with UP and DOWN. If the interface is down it complains and
exits. This is needed in order to maintain the nodes list.
Works on iwm(4), iwn(4), urtwn(4), run(4) and athn(4).
Tested by mpi@, landry@, florian@, thanks!
OK mpi@.
|
|
This is part of the project to delete /etc/networks support.
OK deraadt@
|
|
to be consistent with the '-rdomain' option.
Suggested by dlg
OK benno, jca, kn, phessler, jmc
|
|
with suggestions from jmc and ok mpi@
|
|
this is used for mgre, which has a local address but dynamically
addresses other endpoints based on routing information.
"tunneladdr" takes a single address (where "tunnel" takes two) and
sets the destination address in the ioctl to an AF_UNSPEC destination.
tunnel status is changed so it recognises this and only outputs the
local address if the destination is AF_UNSPEC. the tunnel status
is also changed so it can tell the difference between tunnels being
unsupported on the interface (ie, ENOTTY comes back) or if there's
just no address configured yet (EADDRNOTAVAIL), which allows the
other tunnel params like ttl and df to be shown.
tested with and without -DSMALL
|
|
|
|
domain 0.
OK phessler, henning, deraadt, stsp, benno
|
|
Diff from jsg, ok millert, benno
|
|
|
|
"vnetflowid" enables it on an interface, and "-vnetflowid" disables it.
a vnetid will be suffixed with + on the encap line if it an interface
reports that it is enabled.
|
|
|
|
ifconfig will output "nodf" or "df" on tunnel interfaces that support
the ioctl., and accepts "tunneldf" and "-tunneldf" as options to
try and configure it.
|
|
|
|
OK naddy, sthen
man page bits input & OK jmc
|
|
Required by and ok otto@, ok jmc@
|
|
tunnelttl now accepts "copy" as an argument, and prints "copy" when
it sees -1.
ok claudio@
|
|
|
|
Bridge members that are part of the same protected domain, refered by
a number between 1 and 31, cannot talk to each others. This is useful
to isolate VMs or untrusted networks at layer 2.
Members can be part of multiple protected domain making it possible to
create complex protected setups.
ok ccardenas@, claudio@, dlg@, henning@
|
|
|
|
allows arp (and rarp) requests and replies to be matched, including matching
based on the source and target host and protocol adresses, and thus control
over arp traffic and learning.
written for medical x-ray machines, but useful in many spread out L2 networks
ok claudio benno
|
|
Requring WPA to be enabled separately via 'ifconfig if0 wpa' was confusing.
ok mlarkin phessler mpi
|
|
of IFF* flags.
inputs from jmc@, ok bluhm@, visa@
|
|
longer export them to userland.
ok stsp@, deraadt@, jca@
|
|
|
|
|
|
ok bluhm@
|
|
remove it
ok phessler@ beck@
|
|
from Jesper Wallin.
|
|
ok/feedback sthen@ jmc@
|
|
annotate the ones which are needed.
|
|
|
|
adresses on pflow(4) interfaces, so don't try to resolve hostnames.
Report and fix from pjp -AT- centroid.eu
ok florian@
|
|
error out if the ioctl returns EEXIST. Do the same for the switch
specific 'addlocal' and 'portno' ioctls so netstart won't error out
when rerun with the same settings in hostname.switchN.
ok reyk@
|
|
address on a point-to-point interface. Makes it easier to configure IPv6 on
interfaces such as gif(4). Specifying 'prefixlen 128' is no longer required.
This is consistent with IPv4 where a netmask is not required either.
ok mpi@ bluhm@ benno@
|
|
pointed out by jsg@
|
|
ok sthen
|
|
eg, 802.1x, 802.1q, and 802.1ad
|
|
|
|
be negative. ok deraadt@
|
|
the parameters are parent and vnetid, not vlandev and vlan. svlan(4) is
also a thing.
ok jmc@
|
|
the code behind the commands has been built on SMALL forever, this just
moves it available in the cmd table. the binary doesnt change size.
|
|
vlan(4) now understands the generic vnetid and ifparent ioctls, so
this is redundant.
ok henning@
|
|
this is a modest attempt to shorten the ifconfig output. encap wont
show up if neither vnetid or parent are supplied by an interface.
whitespace tweaks from benno@
output tweaks from reyk@
ok deraadt@ henning@
|
|
those are command modifiers, not flags. Inconsistency noticed
and patch sent in by Anton dot Lindqvist at gmail dot com.
|
|
i've omitted hunk 3 of his diff, as what's there now is correct;
ok mikeb
|
|
No functional change.
ok deraadt@ tb@
|
|
|