Age | Commit message (Collapse) | Author |
|
ok henning@ phessler@
|
|
This allows a system to remember which ESSIDs it wants to connect to, any
relevant security configuration, and switch to it when the network we are
currently connected to is no longer available.
Works when connecting and switching between WPA2/WPA1/WEP/clear encryptions.
example hostname.if:
join home wpakey password
join work wpakey mekmitasdigoat
join open-lounge
join cafe wpakey cafe2018
join "wepnetwork" nwkey "12345"
dhcp
inet6 autoconf
up
OK stsp@ reyk@
and enthusiasm from every hackroom I've been in for the last 3 years
|
|
OK sthen mpi
|
|
Update ifconfig to display LACP State (Actor and Partner) on
each trunk port
Ok benno@, phessler@, and tb@
|
|
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
|
|
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
|
|
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@
|
|
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.
|
|
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@
|
|
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@
|
|
ok sthen
|
|
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@
|
|
No functional change.
ok deraadt@ tb@
|
|
ok henning@ phessler@
|
|
on the local wifi interface. ifconfig was mistakenly showing the common
supported subset of client and AP, rather than showing the AP's capabilities.
Exposes WPA protocol capabilities in struct ieee80211_nodereq, which means
ifconfig must be recompiled to run on a new kernel.
ok deraadt@ mpi@
|
|
"warning:" rectification.
|
|
ok tom@
|
|
include the wpakey) to their defaults.
And make 'ifconfig if0 wpaprotos' reset WPA crypto parameters to settings
which are appropriate for the specified WPA protocol version.
|
|
setting a tunnel addresses uses a sockaddr_in6 from getaddrinfo, which
sets sin6_scope_id for scoped addresses. this is nice and portable.
reading a tunnel address assumed the scope was embedded in link local
addresses in sin6_addr, and unpacked the scope back into sin6_scope_id.
this is inconsistent with the code that sets tunnel addresses.
this fixes the read path so it assumes the kernel sets sin6_scope_id
like it it assumes the kernel will read on the set side. noone likes
the kame hack of embedding the scope id in the addreses.
ok mpi@
|
|
of the output buffer size. Thus elements like subscriber-id, ICC-id, IMEI
were shown truncated.
Some modules report a phone number that already has the '+' prefix.
Don't add another one when printing it.
Patch from Bryan Vyhmeister
ok otto
|
|
static, so keep it that way for consistency)
- s/usage(1)/usage() and inside call exit(1) explicitly since all usage() calls
always use that value (also update comment to reflect this change)
- Remove main() prototype
- s/exit/return in main() to enable SSP
Feedback from jca@ and tb@ and OK from both (with their remarks in)
|
|
"datapathid" as stated by the man page.
ok reyk@
|
|
mode, vxlan(4) must be configured to accept any virtual network
identifier with "vnetid any" and added to a bridge(4) or switch(4).
This way the driver will dynamically learn the tunnel endpoints and
their vnetids for the responses and can be used to dynamically bridge
between VXLANs. It is also being used in combination with switch(4)
and the OpenFlow tunnel classifiers.
With input from yasuoka@ goda@
OK deraadt@ dlg@
|
|
ok deraadt@ yasuoka@ reyk@ henning@
|
|
ok claudio@ jca@
|
|
ok stsp@
|
|
AP is using to send frames to an associated node. This used to always display
the node's highest supported Rx rate, which isn't all that interesting.
ok mpi@
|
|
|
|
The umb(4) driver provides support for USB MBIM devices.
Those devices establish connections via celluar networks such as
GPRS, UMTS, and LTE.
ok mpi@ sthen@
additional feedback from deraadt@ jmc@ stsp@ kettenis@
|
|
to ifconfig.
"llprio" allows one to set the priority of packets that do not go through
pf(4), as the case is for arp(4) or bpf(4).
ok sthen@ mikeb@
|
|
ifconfig.c doesn't build without -DINET6, and those #ifdefs clutter the
code. ok bluhm@ henning@
|
|
ok mpi@
|
|
Suggestion from claudio@, ok benno@, sthen@
|