<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/etc/netstart, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/etc/netstart?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/etc/netstart?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-21T12:28:13Z</updated>
<entry>
<title>start wg with the other interfaces that rely on routing being up.</title>
<updated>2020-06-21T12:28:13Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-06-21T12:28:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7058e68675f61b1e37e30ae1334a783fd1e49115'/>
<id>urn:sha1:7058e68675f61b1e37e30ae1334a783fd1e49115</id>
<content type='text'>
from Matt Dunwoodie and Jason A. Donenfeld

ok deraadt@
</content>
</entry>
<entry>
<title>Revert the following commit as it breaks hostname.if(5) lines with a</title>
<updated>2020-05-22T13:38:43Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-05-22T13:38:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=88c728ccd4fbe607df34be3338bb7071a512e69b'/>
<id>urn:sha1:88c728ccd4fbe607df34be3338bb7071a512e69b</id>
<content type='text'>
backslash at the end for line continuation

Breaking long lines into multiple ones must still be possible and does
require to treat the backslash as an escape character.

Breakage reported by Mark Patruck &lt;mark at wrapped dot cx &gt;, thanks!

---
distrib/miniroot/install.sub revision 1.1151
etc/netstart revision 1.203
date: 2020/05/21 11:54:41;  author: kn;  state: Exp;  lines: +2 -2;
Do not treat backslashe as an escape character in hostname.if(5) lines

ifstart() should always pass such lines unaltered, especially if they
contain "nwid" or "description" lines with arbitrary strings.

&lt;bsdlisten at gmail dot com&gt; reported SSIDs such as "Mike's" during
installation end as broken;  this was because the installer escaped
the single quote using backslashes which ended up being treated as
escape characters much later during hostname.if parsing in netstart(8).

Ok deraadt
</content>
</entry>
<entry>
<title>Fix stripcom() description wrt. comments not on their own line</title>
<updated>2020-05-21T13:42:02Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-05-21T13:42:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9ed80bb0945ec3cd98f7379e6d68ef1b3181891d'/>
<id>urn:sha1:9ed80bb0945ec3cd98f7379e6d68ef1b3181891d</id>
<content type='text'>
Neither netstart's nor install.sub's (subtly different) implementations
remove trailing comments on lines not starting as a comment, e.g.,
lines like "up #not down" go through unaltered and without "#not down"
being removed.

Only lines *beginning* with the comment sign ("#") are stripped.

No functional change, just updating function descriptions.
</content>
</entry>
<entry>
<title>Do not treat backslashe as an escape character in hostname.if(5) lines</title>
<updated>2020-05-21T11:54:41Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-05-21T11:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2bf3771424523fcc16d904ff615b6e4d10a373a5'/>
<id>urn:sha1:2bf3771424523fcc16d904ff615b6e4d10a373a5</id>
<content type='text'>
ifstart() should always pass such lines unaltered, especially if they
contain "nwid" or "description" lines with arbitrary strings.

&lt;bsdlisten at gmail dot com&gt; reported SSIDs such as "Mike's" during
installation end as broken;  this was because the installer escaped
the single quote using backslashes which ended up being treated as
escape characters much later during hostname.if parsing in netstart(8).

Ok deraadt
</content>
</entry>
<entry>
<title>Do not redirect already quiet stdout for IPv6 reject routes</title>
<updated>2020-01-15T00:19:40Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-15T00:19:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c3b5ca42f6f66d42bb8464bc0514c64bdffe630d'/>
<id>urn:sha1:c3b5ca42f6f66d42bb8464bc0514c64bdffe630d</id>
<content type='text'>
"route -q" already silences all standard output;  if it still prints
something, that's a bug to fix in route.

OK bluhm
</content>
</entry>
<entry>
<title>handle aggr(4) in the same way as trunk(4)</title>
<updated>2019-10-25T06:01:27Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2019-10-25T06:01:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=774508f410da5d465139e241c4c42a9212c8e109'/>
<id>urn:sha1:774508f410da5d465139e241c4c42a9212c8e109</id>
<content type='text'>
from brad@
ok bluhm@ claudio@ deraadt@
</content>
</entry>
<entry>
<title>Historically /etc/netstart (and the equivalent code in the install</title>
<updated>2018-08-29T11:30:48Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2018-08-29T11:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8c1551d3e05d1fd4f492f08eca4a043ed78dfa72'/>
<id>urn:sha1:8c1551d3e05d1fd4f492f08eca4a043ed78dfa72</id>
<content type='text'>
script) did 'ifconfig &lt;if&gt; down' before starting dhclient(8). This was
a way of ensuring old running copies of dhclient were killed before a
new one started. Current dhclient does not need this assist, so change
"ifconfig &lt;if&gt; down" to "ifconfig &lt;if&gt; up" pending further script
optimizations.

Similar to a 2014 attempt by halex@. Prompted by a misc@ report
from Kristjan Komlosi reporting hanging diskless setups.

ok halex@ kn@
</content>
</entry>
<entry>
<title>netstart is used during system start, but also interactively.</title>
<updated>2018-07-08T20:10:26Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2018-07-08T20:10:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=89f9479f1aaf9cf89ac929ff1c9075e3a5208ea2'/>
<id>urn:sha1:89f9479f1aaf9cf89ac929ff1c9075e3a5208ea2</id>
<content type='text'>
Show proper error message if a regular user executes netstart.
Only do the privilege check if the id binary is available,
which might not be the case during diskless system startup.

ok deraadt, jasper, jca, krw, rpe (who wrote the same diff), sthen
</content>
</entry>
<entry>
<title>Add a proper usage() function.</title>
<updated>2018-04-28T22:38:32Z</updated>
<author>
<name>rpe</name>
<email>rpe@openbsd.org</email>
</author>
<published>2018-04-28T22:38:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2511c2f6947756b3d2f66e7ec1ecb21b7252d2a6'/>
<id>urn:sha1:2511c2f6947756b3d2f66e7ec1ecb21b7252d2a6</id>
<content type='text'>
Suggested by and OK jmc.
OK tb
</content>
</entry>
<entry>
<title>when -n is used, no need to spit out "Missing parameters." before</title>
<updated>2018-03-04T10:12:26Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2018-03-04T10:12:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=66f7d0071b1c3b4c876861f67ead2109bcb0f9ae'/>
<id>urn:sha1:66f7d0071b1c3b4c876861f67ead2109bcb0f9ae</id>
<content type='text'>
displaying usage();

ok tb
</content>
</entry>
</feed>
