<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/bioctl, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/bioctl?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/bioctl?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-02-08T19:05:05Z</updated>
<entry>
<title>Make bioctl properly verify raidlevels specified via the -c option.</title>
<updated>2021-02-08T19:05:05Z</updated>
<author>
<name>stsp</name>
<email>stsp@openbsd.org</email>
</author>
<published>2021-02-08T19:05:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f1c55410fda2b0d125a0102e4c78ba4b89e335c2'/>
<id>urn:sha1:f1c55410fda2b0d125a0102e4c78ba4b89e335c2</id>
<content type='text'>
Trailing characters in the option argument were ignored, such that
-cC1 (typo of -c1C) was interpreted as -cC instead of being rejected.

ok jsing@
</content>
</entry>
<entry>
<title>Add a RAID1C (raid1 + crypto) softraid(8) discipline.</title>
<updated>2021-02-08T11:20:03Z</updated>
<author>
<name>stsp</name>
<email>stsp@openbsd.org</email>
</author>
<published>2021-02-08T11:20:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=01de20b5d7746d27bbd8c656e80c96759d46494b'/>
<id>urn:sha1:01de20b5d7746d27bbd8c656e80c96759d46494b</id>
<content type='text'>
The RAID1C discipline encrypts data like the CRYPTO discipline, and accepts
multiple chunks during creation and assembly like the RAID1 discipline.

To deal with failing disks a RAID1C volume may be assembled with a smaller
number of chunks than the volume was created with. The volume will then come
up in degraded state. If the volume is now detached and assembled again with
the correct number of chunks, any re-added chunks will require a rebuild.

Consequently, assembling RAID1C volumes requires careful attention to the
chunks passed via 'bioctl -l'.  If a chunk is accidentally omitted from the
command line during volume assembly, then this chunk will need to be rebuilt.

At least one known-good chunk is required in order to assemble the volume.

Like CRYPTO, RAID1C supports passphrase and key-disk authentication.
Key-disk based volumes are assembled automatically if the key disk is present
while the system is booting up.

Unlike CRYPTO and RAID1, there is no boot support for RAID1C yet.

RAID1C largely reuses existing code of RAID1 and CRYPTO disciplines.
At present RAID1C's discipline-specific data structure is shared with that
of the CRYPTO discipline to allow re-use of existing CRYPTO code. A custom
RAID1C data structure would require CRYPTO code to access struct sr_crypto
via a pointer instead of via a member field of struct sr_discipline.

ok jsing@
</content>
</entry>
<entry>
<title>Do not use ".Ar device" for both an option argument and for the operand.</title>
<updated>2020-10-30T13:55:48Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2020-10-30T13:55:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1e4c8201d8fe8ed00d4c58d24b40af99a72aa6ce'/>
<id>urn:sha1:1e4c8201d8fe8ed00d4c58d24b40af99a72aa6ce</id>
<content type='text'>
Instead, use ".Ar chunk" for the -R option argument just like it is
already done for -l and -O.
While here, polish a few minor details in the vicinity of the word "device".
OK kn@
</content>
</entry>
<entry>
<title>Revert a wording change that was made in revision 1.05</title>
<updated>2020-09-28T17:03:34Z</updated>
<author>
<name>solene</name>
<email>solene@openbsd.org</email>
</author>
<published>2020-09-28T17:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f574692f694a5152f0e02f3cbe3acac0d5b94a93'/>
<id>urn:sha1:f574692f694a5152f0e02f3cbe3acac0d5b94a93</id>
<content type='text'>
which was reverting a change made into 1.03

bioctl -d is "detaching" and not "deleting" a volume
</content>
</entry>
<entry>
<title>Reduce minimum allowed number of chunks in a CONCAT volume from 2 to</title>
<updated>2020-04-25T14:37:43Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2020-04-25T14:37:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b346a95b4e6b19bdf11eebbd8687ff8d9bd0470f'/>
<id>urn:sha1:b346a95b4e6b19bdf11eebbd8687ff8d9bd0470f</id>
<content type='text'>
1.

This increases the number of volumes that can be created on a single disk
from 7 to 15. i.e. a disk can be sliced into a maximum of 225
(15 * 15) filesystems instead of a mere 105 (7 * 15).

ok deraadt@
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>Kill a couple of superfluous "return;" statements</title>
<updated>2019-05-11T20:24:55Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2019-05-11T20:24:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=43c488e40d4c23c14e75917d7e2874dda84cf89c'/>
<id>urn:sha1:43c488e40d4c23c14e75917d7e2874dda84cf89c</id>
<content type='text'>
at the end of void functions.

First one pointed out by Andrey Sokolov via bugs@
</content>
</entry>
<entry>
<title>Unify and disambiguate various aspects of the terminology, clarify</title>
<updated>2018-07-09T14:10:58Z</updated>
<author>
<name>schwarze</name>
<email>schwarze@openbsd.org</email>
</author>
<published>2018-07-09T14:10:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e30b42b8e1b064fc8a638512d353653aee2078d6'/>
<id>urn:sha1:e30b42b8e1b064fc8a638512d353653aee2078d6</id>
<content type='text'>
that there is only one softraid(4) controller (called softraid0), and
clarify that you cannot add or delete chunks, but merely replace them.
Tweaks and OK jsing@, and OK henning@ on a previous version.
</content>
</entry>
<entry>
<title>remove redundant variable declarations in Makefiles, since those are</title>
<updated>2017-07-09T21:23:18Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2017-07-09T21:23:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=58a577e134e547a26e8dc989e82b033058e883e8'/>
<id>urn:sha1:58a577e134e547a26e8dc989e82b033058e883e8</id>
<content type='text'>
the default.

okay millert@
</content>
</entry>
<entry>
<title>less chatty EXAMPLES; from anton lindqvist</title>
<updated>2017-04-06T18:55:42Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2017-04-06T18:55:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fd8c917f27330d21cef9f95ea863d28b0e3c6be6'/>
<id>urn:sha1:fd8c917f27330d21cef9f95ea863d28b0e3c6be6</id>
<content type='text'>
</content>
</entry>
</feed>
