Age | Commit message (Collapse) | Author |
|
Fix up default route selection by
a) Forcing user to explicitly chose 'dhcp' as a mechanism for
specifying a default route, rather than guessing based on one or more
interfaces being configured by dhcp.
b) If the user specified default route does not work, re-present the
existing default route rather than losing it.
c) Move default route selection to after nameserver activation so the
user can specify a hostname as the default route.
Change /etc/netstart so that /etc/mygate wins if a default route was
already specified (i.e. by dhcp).
ok deraadt@.
|
|
From André Lucas <andre@ae-35.com>, fixes pr # 2658.
'Looks good' from miod@, millert@, and krw@.
|
|
|
|
Change from:
o all interfaces
o all bridges
o routes
to:
o physical interfaces
o routes
o gif and gre interfaces
o bridges
Fixeski PR #2400.
Manual page updates coming soon.
Ok angelos@ chris@ deraadt@
|
|
|
|
multicast_host/multicast_router settings; this is useful if one
flushes the routing table and re-initializes.
We really need a netconfig tool of sorts.
|
|
|
|
comments from millert
|
|
licence in a way that makes ipf not free according to the rules we
established over 5 years ago, at www.openbsd.org/goals.html (and those
same basic rules govern the other *BSD projects too). Specifically,
Darren says that modified versions are not permitted. But software
which OpenBSD uses and redistributes must be free to all (be they
people or companies), for any purpose they wish to use it, including
modification, use, peeing on, or even integration into baby mulching
machines or atomic bombs to be dropped on Australia. Furthermore, we
know of a number of companies using ipf with modification like us, who
are now in the same situation, and we hope that some of them will work
with us to fill this gap that now exists in OpenBSD (temporarily, we
hope).
|
|
|
|
fixes pr#1660 from wilfried@telia.com .. Thanks!
|
|
|
|
contents start with a '-' test becomes unhappy (since it interprets it
as another option).
|
|
cases where we did not previously handle them.
Thanks to Scott Atwood <atwood@cs.stanford.edu> for reminding us of this.
|
|
With:
hostname.fxp0 having a last line of:
inet6 alias 3ffe:...
and hostname.gif0 having a first two lines of:
giftunnel 1.2.3.4
dest 1.2.4.3
We end up with the command:
ifconfig gif0 giftunnel alias 1.2.3.4 1.2.4.3
.. which is clearly wrong and fixed by this change
|
|
|
|
.. ok deraadt@, millert@
|
|
|
|
the -E flag here causes the kernel to printf 'IP Filter: already
initialized'.
|
|
|
|
|
|
http://playground.iijlab.net/i-d/draft-itojun-ipv6-transition-abuse-00.txt
|
|
with this `!' lines in /etc/hostname.* run even without certain lines
(like a comment) preceeding it.
|
|
|
|
DAD before the actual rtsol(8) run happens later. and since it will rtsol,
it is going to be up in any case.
|
|
|
|
|
|
|
|
XXX both "dhcp" and "rtsol" has keyword *down* at the end. is it okay?
|
|
sleep for net.inet6.ip6.dad_count seconds to ensure that IPv6 DAD is completed.
TODO: rtsold (rc.conf line), manpage
|
|
to do this,
1. in sysctl.conf, add these lines:
net.inet6.ip6.forwarding=0
net.inet6.ip6.accept_rtadv=1
2. in hostname.foo, add
rtsol
specifying two or more interfaces with "rtsol" may result in strange
behavior - ipv6 spec does not permit multi-interface node to be autoconfig'ed.
|
|
- multiple entries support (read: aliases)
- inet6 support
- support for comments (#)
(look for hostname.if(5) commit for syntax details)
|
|
|
|
|
|
MUST make lo0 up before any IPv6 operations.
it will be considered a pilot error if you don't.
(I prefer to have lo0 initialized automatically)
|
|
|
|
bridgename.* files; all documented in new hostname.if(5) and
bridgename.if(5) man pages
|
|
is useful for laptops with different ethernet cards etc.)
|
|
|
|
|
|
up [options]
Any of the following may or may not be set:
$name $mask $bcaddr $extras
|
|
a function, isalphanumeric, to determine whether an interface name is
likely to be valid. This means that things like /etc/hostname.le0.bak,
/etc/hostname.le0#, /etc/hostname.le0~, etc. will be ignored as they
should. There is no longer an implicate assumption that /etc/hostname.*
only contains a single '.'.
|
|
|
|
|
|
|
|
|
|
set (yet). Use -interface $hostname if mygate doesn't exist so that
this actually works on routers.
|
|
|
|
|
|
|