<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/netinet6, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/netinet6?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/netinet6?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2021-03-15T17:28:45Z</updated>
<entry>
<title>Clear AUTOCONF6TEMP flag when we detach inet6.</title>
<updated>2021-03-15T17:28:45Z</updated>
<author>
<name>florian</name>
<email>florian@openbsd.org</email>
</author>
<published>2021-03-15T17:28:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=12e6f0c944fc018c6835823b50a56706ea39771c'/>
<id>urn:sha1:12e6f0c944fc018c6835823b50a56706ea39771c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>spelling</title>
<updated>2021-03-10T10:21:47Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2021-03-10T10:21:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=678831be5eff0bcb5217b54d0dcfb6698acf8411'/>
<id>urn:sha1:678831be5eff0bcb5217b54d0dcfb6698acf8411</id>
<content type='text'>
ok gnezdo@ semarie@ mpi@
</content>
</entry>
<entry>
<title>We no longer "accept" RAs in the kernel, delete misleading comment.</title>
<updated>2021-03-08T16:49:07Z</updated>
<author>
<name>florian</name>
<email>florian@openbsd.org</email>
</author>
<published>2021-03-08T16:49:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=688918c5199d4a22e9790c15c9b86edc230948f7'/>
<id>urn:sha1:688918c5199d4a22e9790c15c9b86edc230948f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor ip_fragment() and ip6_fragment().  Use a mbuf list to</title>
<updated>2021-03-01T11:05:42Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2021-03-01T11:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2818ef99e36cb3e1aa903761b5b1dde22c59b89f'/>
<id>urn:sha1:2818ef99e36cb3e1aa903761b5b1dde22c59b89f</id>
<content type='text'>
simplify the handling of the fragment list.  Now the functions
ip_fragment() and ip6_fragment() always consume the mbuf.  They
free the mbuf and mbuf list in case of an error and take care about
the counter.  Adjust the code a bit to make v4 and v6 look similar.
Fixes a potential mbuf leak when pf_route6() called pf_refragment6()
and it failed.  Now the mbuf is always freed by ip6_fragment().
OK dlg@ mvs@
</content>
</entry>
<entry>
<title>we don't have to cast to caddr_t when calling m_copydata anymore.</title>
<updated>2021-02-25T02:48:19Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2021-02-25T02:48:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5c7fed39bd376c774afa6b5ea3c41fd50de48416'/>
<id>urn:sha1:5c7fed39bd376c774afa6b5ea3c41fd50de48416</id>
<content type='text'>
the first cut of this diff was made with coccinelle using this spatch:

@rule@
type caddr_t;
expression m, off, len, cp;
@@
-m_copydata(m, off, len, (caddr_t)cp)
+m_copydata(m, off, len, cp)

i had fix it's opinionated idea of formatting by hand though, so
i'm not sure it was worth it.

ok deraadt@ bluhm@
</content>
</entry>
<entry>
<title>Use NULL instead of 0 in `m_nextpkt' assignment.</title>
<updated>2021-02-23T11:43:40Z</updated>
<author>
<name>mvs</name>
<email>mvs@openbsd.org</email>
</author>
<published>2021-02-23T11:43:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=254bd8f22547979836e70833bca874f274e40b6a'/>
<id>urn:sha1:254bd8f22547979836e70833bca874f274e40b6a</id>
<content type='text'>
ok deraadt@ dlg@
</content>
</entry>
<entry>
<title>Swap faddr/laddr and fport/lport arguments in call to stoeplitz_ipXport().</title>
<updated>2021-02-11T10:41:19Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2021-02-11T10:41:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f5bb2424450655985b56f370e46a511bf608164c'/>
<id>urn:sha1:f5bb2424450655985b56f370e46a511bf608164c</id>
<content type='text'>
Technically the whole point of the stoeplitz API is that it's symmetric,
meaning that the order of addresses and ports doesn't matter and will produce
the same hash value.

Coverity CID 1501717
ok dlg@
</content>
</entry>
<entry>
<title>As done for the AF_INET multicast case, ensure that passed interface</title>
<updated>2021-02-02T17:55:12Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2021-02-02T17:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1d88f30e2953cd9d5feedea5735fd54739e644aa'/>
<id>urn:sha1:1d88f30e2953cd9d5feedea5735fd54739e644aa</id>
<content type='text'>
via index is actually in the right rdomain for the socket.
OK bluhm@ mvs@
</content>
</entry>
<entry>
<title>KNF, move { up to if () statement</title>
<updated>2021-02-02T17:53:02Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2021-02-02T17:53:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=70646e3d11ea5cc23e1a4aa2ee3ecc4af0dd36b8'/>
<id>urn:sha1:70646e3d11ea5cc23e1a4aa2ee3ecc4af0dd36b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix path MTU discovery for ESP tunneled in IPv6.  We always want</title>
<updated>2021-02-01T13:25:04Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2021-02-01T13:25:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=89de4c798c8a4662405a390fcbdd22fbde0f69b0'/>
<id>urn:sha1:89de4c798c8a4662405a390fcbdd22fbde0f69b0</id>
<content type='text'>
short TCP segments or fragments encapsulated in ESP instead of
fragmented ESP packets.  Pass the don't fragment flag down along
the stack so that dynamic routes with MTU are created eventually.
with and OK markus@; OK tobhe@
</content>
</entry>
</feed>
