summaryrefslogtreecommitdiff
path: root/etc/netstart
AgeCommit message (Collapse)Author
2008-01-17Execute rtsol after turning up trunk(4) and vlan(4) interfaces so they'reBrad Smith
taken into consideration for rtsol. ok reyk@ dlg@
2008-01-09Do not bring up pfsync(4) before the working rulesetMarco Pfatschbacher
has been loaded. Otherwise, states that are received during the initial bulk update mismatch the correct pf-checksum and do not attach to the rules. Problem identified by david@. Fix done in collaboration. OK henning@
2007-08-02move the delay for IPv6 DAD to after all interfaces have startedDavid Krause
fixes problems with daemons being unable to bind to all addreses at boot ok itojun@ hshoexer@
2006-11-15reject multicast packet without scope identifier specified.Jun-ichiro itojun Hagino
2006-06-29do not add an extra space; nwid and description come out wrongTodd T. Fries
fix as proposed by maja@, thanks!
2005-12-28nuke extra whitespaceDavid Krause
2005-12-06multicast_host=YES only works if a valid default gateway is available.Reyk Floeter
validate this condition and reject multicast traffic on failure. ok todd@ naddy@
2005-11-02fix inspired by pr#4590Todd T. Fries
ok krw@
2005-10-25better logic from krw@:Todd T. Fries
- do not process mygate for v4 if dhcp - do not process mygate for v6 if rtsol this also makes the mygate processing logic more readable ok krw@
2005-10-14add v6 support for /etc/mygateTodd T. Fries
ok deraadt@ mickey@ krw@ same functionality tested/ok'ed by by mickey, brad, matthieu, and me with this one may now put a v6 IP in /etc/mygate on a separate line from the v4 default gateway and netstart will do the right thing
2005-10-12shrink stripcom(), sync with install.subTodd T. Fries
ok krw@
2005-10-04trunk must be started after physical ethernet devices, but before vlan.Todd T. Fries
populate ifmstart lines accordingly. prodded/tested by brad@ ok reyk@
2005-09-28use eval consistently, fixes description quotes on rtsol and dhcpTodd T. Fries
fix inspired by and closes pr 4495 ok krw@
2005-05-22Introduce 'ifmstart' to deal with starting multiple interfaces minus a listTodd T. Fries
of interfaces. This reduces the netstart script by 174 chars, 13 words, and 19 lines, but more importantly, makes it more simple and less cluttered should more special case/orderings be needed. ok brad@ and pr 4197 submitter, inspired by and closes pr 4197
2005-04-04unbreak; ok pval@Damien Miller
2005-04-03if dhcp is used to get an address on any interface, ignore /etc/mygateTheo de Raadt
ok krw (this lets us do something rather cool with the zaurus in particular)
2005-01-04Bring up the carp(4) interface before default route.Ryan Thomas McBride
ok pascoe@ mpf@
2004-12-30Add a copy of stripcom so /etc/netstart can be run standalone again.Todd C. Miller
OK deraadt@
2004-12-19Allow comments in /etc/{myname,mygate,defaultdomain}; OK deraadt@Todd C. Miller
2004-12-04remove "route $hostname 127.0.0.1" line. deraadt okJun-ichiro itojun Hagino
*** please update /etc/netstart and test if it works ok for you ***
2004-10-20make all route commands use -qn; ok mcbride henningTheo de Raadt
2004-05-29one last route command lacking -qnTheo de Raadt
2004-03-22Make sure pfsync is brought up before carp.Ryan Thomas McBride
ok deraadt@
2004-03-13Delay pfsync(4) configuration, as the syncif has to be configured inRyan Thomas McBride
advance. From Thorsten Lockert.
2004-01-14ok, it took quite a bit of prodding but itojun finally explained why theTheo de Raadt
extra sleep 1 is in here, and we came to the conclusion it is safe to delete it. whee.
2004-01-13repair v6 lo0 documentationTheo de Raadt
2004-01-11add loopback routes lateTheo de Raadt
2004-01-09create all routes with -q; markus okTheo de Raadt
2003-12-04Need to do "ifconfig create" for bridge interfaces too.Todd C. Miller
2003-12-03add support for ifconfig clone; from netbsd; ok deraadt, henningMarkus Friedl
2003-10-20delay carp initialization until after physical interfaces are configuredDavid Krause
ok mcbride@ henning@ deraadt@ todd@
2003-08-27only try to set hostname to what /etc/myname says if that file actually exists,Henning Brauer
otherwise preserve `hostname` netbooted machines can live perfectly fine without it; they get their hostname earlier. ok krw@ cedric@
2003-02-16Fix up some DNS verbiage to make it consistant.Kenneth R Westerback
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@.
2002-05-16ignore non-existent cases where '$if' evaluates to '*'.Todd T. Fries
From André Lucas <andre@ae-35.com>, fixes pr # 2658. 'Looks good' from miod@, millert@, and krw@.
2002-02-23re-add support for $if expansion; hamajima@nagoya.ydc.co.jpTheo de Raadt
2002-02-21Change the network components initialization order.Miod Vallat
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@
2001-07-31a space before a redirectHugh Graham
2001-07-06Also, source /etc/rc.conf so we can pull in theAngelos D. Keromytis
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.
2001-07-06Use "route -n show -inet" to determine the default multicast iface.Angelos D. Keromytis
2001-07-03pull in rc.conf early so that pf(1) startup is right; tested by jasoni, ↵Theo de Raadt
comments from millert
2001-05-30Remove ipf. Darren Reed has interpreted his (old, new, whichever)Theo de Raadt
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).
2001-03-13spelling; maurice@maurice.wan.nlTheo de Raadt
2001-02-06ignore blank lines in addition to commentsTodd T. Fries
fixes pr#1660 from wilfried@telia.com .. Thanks!
2001-01-10support !command in bridgename.if files, tooJason Wright
2000-11-27Use -n to test if a variable is non-zero. Otherwise, if the variable'sTodd C. Miller
contents start with a '-' test becomes unhappy (since it interprets it as another option).
2000-11-08This fixes pr 1481, we now handle args > 6 in /etc/hostname.if in theTodd T. Fries
cases where we did not previously handle them. Thanks to Scott Atwood <atwood@cs.stanford.edu> for reminding us of this.
2000-09-02subtle bug .. global variables in a while loop need reset 'just incase'Todd T. Fries
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
2000-06-18rc.conf now parses ${local_rcconf} internally; closes pr 1259Todd T. Fries
2000-05-08fix dhcp 'NONE' ness from install to allow media parsing to workTodd T. Fries
.. ok deraadt@, millert@
2000-04-21rc.conf.local support, inspired by chuck yerkesTheo de Raadt