Age | Commit message (Collapse) | Author |
|
any phase error.
This prevents ifconfig(8) from priting 'sppp: phase...' messages for
vlan(4) interfaces attached to interfaces with a long name. A better
fix should be cooked because various pseudo-interfaces still use the
same set of ioctl(2)s for different purposes.
Issue reported by jca@, ok claudio@, jca@
|
|
to only include what is really needed. In particular stop including
a "struct ifnet" and move kernel-only definition into the proper #if
dance.
While here remove the unused spppinfo() from ifconfig.
ok guenther@, sthen@, mikeb@
|
|
passwords. ioctl(SIOCGVH) fills the carpr_key with the old value.
strlcpy() overwrites only the beginning of the key. Add a bzero()
to clear the rest.
Testing Jan Klemkow; OK florian@ mpf@
|
|
Clarify about the ranges in the man page.
ok mpf mcbride
|
|
ok deraadt@ krw@
|
|
used uninitialized... clean up time related variables too for 2038++
ok millert
|
|
ok guenther
|
|
spotted by rpe and sthen; ok krw
|
|
|
|
Looks fine reyk@ ok mikeb@
|
|
ok deraadt jsing matthew
|
|
flag. It is now called IFXF_INET6_NOPRIVACY. So IPv6 privacy
addresses are on by default without resetting the flag during
ifconfig down/up.
OK stsp@, sperreault@ (who wrote the same diff)
|
|
ok krw@
|
|
large parts written by Florian Obser (florian -at- narrans -dot- de).
feedback from sperreault@ gollo@ sthen@
ok from gollo@ dlg@ henning@
|
|
ok jmc@ mikeb@
|
|
When transmitting through vlan(4), it will now use the prio value in
pf packet header. When receiving, we save the incoming Cos in the same
place, this gives us the hability to preserve the CoS value across two
different vlan interfaces.
This kills the SIOC[GS]VLANPRIO ioctls and removes the corresponding
buttons from ifconfig(8).
ok henning@ claudio@ mcbride@
|
|
device hardware features.
Tune ifconfig to show them with 'hwfeatures' argument.
While here, kill some old unused capabilities and respect 80 columns
in brconfig.h.
ok mcbride@, henning@, mpf@.
|
|
sizeofvoid.org>
|
|
ok mcbride
|
|
|
|
already checks that families of source and destination addresses match
and that's all we need.
This allows "ifconfig foo tunnel 1::1 2::2" syntax rather than requiring
"ifconfig foo inet6 tunnel 1::1 2::2", which in turn allows hostname.if
files to create an IPv4-in-IPv6 tunnel without games with shell escapes.
ok dcoppa@, seems ok todd@, "Yes, yes and yes" claudio@
|
|
ok claudio@
|
|
ok deraadt
|
|
"rdomain", "description", etc. so that the ifconfig on ramdisk is able
to parse hostname.if files on updates.
OK deraadt@
|
|
ok henning claudio miod
|
|
for the maximum route-id instead of a currently incorrect number
ok claudio@
|
|
remainder of the 4.8->4.9 transition, alias wpapsk to wpakey (since
it swings both ways)
ok damien halex tedu
|
|
has gone many times around now (it is smaller now). man page diff
coming soon. Fits onto the media that need it.
ok halex
|
|
and make it possible to bind sockets (including listening sockets!)
to rtables and not just rdomains. This changes the name of the
system calls, socket option, and ioctl. After building with this
you should remove the files /usr/share/man/cat2/[gs]etrdomain.0.
Since this removes the existing [gs]etrdomain() system calls, the
libc major is bumped.
Written by claudio@, criticized^Wcritiqued by me
|
|
|
|
OK deraadt, reyk
|
|
|
|
see if a interface is using the INET6_PRIVACY or is MPLS enabled.
If xflags uses more then 16 flags something else must be figured out.
OK stsp@ deraadt@
|
|
Simplifies enabling autoconf privacy from hostname.if files. A line such as
'rtsol autoconfprivacy' will now work, as documented in ifconfig(8).
Pointed out by steven@.
ok deraadt@ steven@ todd@
|
|
|
|
ifdata->ifi_link_state. Don't print in case of a unknown linkstate since
some devices (lo0) just have none.
OK sthen, dlg, blambert
|
|
Address Autoconfiguration in IPv6". For those among us who are paranoid
about broadcasting their MAC address to the IPv6 internet.
Man page help from jmc, testing by weerd, arc4random API hints from djm.
ok deraadt, claudio
|
|
since it is our intent to deceive. Prompted by weerd.
ok ckuethe
|
|
Note that not all device drivers do the work of the SIOCSIFLLADDR ioctl
correctly, but this is just more reason to get them fixed.
ok beck kettenis
|
|
To quote henning, 'ok gcc'
|
|
ok claudio
|
|
|
|
to rewrite it because it was another mangled diff in mail. When will
people learn that the tabs and spaces are important?
|
|
|
|
ifconfig bridge0 add em0 add gif0 add vether0 up
instead you need to
ifconfig bridge0 create
brconfig bridge0 add em0 add gif0 add vether0 up
This is working for everything now but we may do some changes when needed.
Manpages and startup scripts are following soon.
OK deraadt@, henning@
|
|
like ifconfig -a by setting the aflag to 1. Found with and OK deraadt@
|
|
to be used for sending out gre/gif encoded packets. OK deraadt@, henning@
|
|
ifconfig <if> inet6 used to print all inet6 addresses, and last not least
the installer relies on that behaviour. so don't. to turn inet6 on again
you have to assign any inet6 address or run rtsol.
nobody happy about this asymmetry, but that is the best we could come up
with for now.
|
|
sync peers are able to get the states before the replies. previously there
was a race where the reply could hit a partner firewall before it had the
state for it, which caused the reply to get processed by the ruleset which
probably would drop it.
this behaviour is off by default because it does delay packets, which is
only wanted in active-active firewalls or when an upstream router is slow
to learn that you're moved the active member of the pfsync cluster. it also
uses memory keeping the packets in the kernel.
use "ifconfig pfsync0 defer" to enable it, "ifconfig pfsync0 -defer" to
disable.
tested by sthen@ who loves it. he's got manpage changes coming up for me.
|
|
ok claudio@
|