summaryrefslogtreecommitdiff
path: root/etc/netstart
AgeCommit message (Collapse)Author
2013-08-22Like for dhclient, do no create a route to alias addresses via 127.0.0.1.Martin Pieuchot
Our stack is able to tell if the address is local or not. ok todd@, krw@
2013-03-20fix lies in netstart; replacement wording from halex@Todd T. Fries
pointed out by Ryan Kavannagh rak at debian dot org
2012-12-05remove "Invalid interface name" messageRobert Peichaer
requested by krw@ ok halex@
2012-12-02use the more compact version of the check for ifconfig'able interfacesRobert Peichaer
from install.sub with feedback from and ok halex
2012-12-02- remove isalphanumeric() and replace it with a shell pattern, thatRobert Peichaer
tries a bit harder to identify invalid interface names and in this case emit an error message. - use [[ $1 == autoboot ]] to avoid a shell error message due to possible spaces in first argument - no change in functionality discussed with krw and halex ok ("I like this") krw
2011-10-07The new ypbind changes requires that the domainname be set beforeTheo de Raadt
rc.conf is run. There's no real downside. ok aja
2011-07-07Eliminate some $? tests by rolling the command into the conditionPhilip Guenthe
ok halex@
2011-05-26Add svlan(4) startup bits.Marco Pfatschbacher
From markus@. OK naddy, claudio, reyk.
2011-02-09fix an unbalanced parenthesis in a comment; while here, split the commentIgor Sobrado
in a better place to make it more readable. ok jmc@ and miod@
2010-06-16permit e.g. -inet6 syntax by slurping all lines not just someTodd T. Fries
noticed by rhsv6 at hushmail dot com, ok sthen@
2010-01-12when setting up lo0 use 127.0.0.1/8 instead of 127.0.0.1 for clarity andHenning Brauer
correctness. it's not 1992 any more, kids. ok mcbride dlg krw
2009-12-10o stop reordering ifconfig arguments (e.g. after 'up ..')Todd T. Fries
o only stop processing if inet or inet6 lines are malformed o everything not a specially handled bit is passed to ifconfig unmangled noticed by several after the move from bridgename.bridge0 -> hostname.bridge0 prodded by deraadt@, tested by and feedback from several man page bits 'look fine' jmc@
2009-11-22Stop supporting bridgename.bridge* files, and move to hostname.bridge*Theo de Raadt
files. To cope with this change, read about the mv command. ok claudio todd
2009-09-17change variable i to $i in an expression of ifstart() for consistencySimon Bertrang
with the rest of the file. no functional change. feedback from sthen@, ok krw@
2009-07-10Delay creation of tun(4) interfaces until the underlying interface andJason Dixon
routes are available. This fixes usage for some OpenVPN users that start it from hostname.tun*. Tested by Johan Huldtgren. ok sthen@, johan@.
2008-11-25delay /etc/netstart until IPv6-DAD (dup-address-detection) is completed.Markus Friedl
ok fries, hshoexer, claudio
2008-08-14Tools from /usr may not be used in netstart since it may be NFS-mountedStuart Henderson
and not available at that time. Rewrite the hostname.if permission check to use only /bin/ls and the shell. Requested by deraadt. ok todd, "Twisted." deraadt
2008-07-23Prevent warning about insecure hostnames where no /etc/hostname.*Stuart Henderson
exists. From wcmaier@. Check target of symbolic links to avoid noise at boot and in seucrity output where you have several interfaces symlinked to one config file. "If you think this is the right thing to do" deraadt@
2008-06-09warn once not 3 times in case of a non existent file, discussed with deraadtTodd T. Fries
originally pointed out by Johan Torin
2008-06-09Ensure that hostname.* files are also re-chowned to root.wheel at eachTheo de Raadt
boot as discussed with claudio while eating tasty donairs. ok todd
2008-04-17before using them, force hostname.* files to be unreadable by worldTheo de Raadt
first version from todd, ok millert
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