<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/net/rtable.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/net/rtable.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/net/rtable.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-21T17:11:42Z</updated>
<entry>
<title>Prevent recursions by not deleting entries inside rtable_walk(9).</title>
<updated>2019-06-21T17:11:42Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-06-21T17:11:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cf34c7c30780cd8ede039358a15c5494afd24684'/>
<id>urn:sha1:cf34c7c30780cd8ede039358a15c5494afd24684</id>
<content type='text'>
rtable_walk(9) now passes a routing entry back to the caller when
a non zero value is returned and if it asked for it.
This allows us to call rtdeletemsg()/rtrequest_delete() from the
caller without creating a recursion because of rtflushclone().

Multicast code hasn't been adapted and is still possibly creating
recursions.  However multicast route entries aren't cloned so if
a recursion exists it isn't because of rtflushclone().

Fix stack exhaustion triggered by the use of "-msave-args".

Issue reported by Dániel Lévai on bugs@ confirmed by and ok bluhm@.
</content>
</entry>
<entry>
<title>Make sure pointer is within bounds before dereferencing it.</title>
<updated>2019-03-05T19:07:56Z</updated>
<author>
<name>anton</name>
<email>anton@openbsd.org</email>
</author>
<published>2019-03-05T19:07:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fab4809e7ec289269671b54dbf004a5e136e3d13'/>
<id>urn:sha1:fab4809e7ec289269671b54dbf004a5e136e3d13</id>
<content type='text'>
ok claudio@ deraadt@

Reported-by: syzbot+8e29400e09a351f17884@syzkaller.appspotmail.com
</content>
</entry>
<entry>
<title>Change rtable_mpath_reprio() to take the prefixlen as argument instead of</title>
<updated>2018-11-23T16:24:11Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2018-11-23T16:24:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=798874c8272bd006bf3a5d90d1fc193f3b46bd70'/>
<id>urn:sha1:798874c8272bd006bf3a5d90d1fc193f3b46bd70</id>
<content type='text'>
the network mask. This saves converting the prefixlen to a mask and back.
OK phessler@, benno@
</content>
</entry>
<entry>
<title>Make rtable_satoplen() a bit more strict when parsing netmasks. Ensure</title>
<updated>2018-11-20T10:28:08Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2018-11-20T10:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2a5d130b45efb7f17f9817216ed88df96341bd9d'/>
<id>urn:sha1:2a5d130b45efb7f17f9817216ed88df96341bd9d</id>
<content type='text'>
that the mask is contiguous and not longer then the prefixlen is not
bigger then the maximum. Make the function behave a bit more like the
similar netmask handling code in the old patricia codebase.
Fixes a problem reyk@ reported regarding IPv6 masks and the fact that
sin6_scope_id is after sin6_addr.
OK mpi@
</content>
</entry>
<entry>
<title>Retire dom_rtkeylen from struct domain. Nothing is using this anymore.</title>
<updated>2018-11-19T10:15:04Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2018-11-19T10:15:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d29df5159ba367673358d2e4414e11e9b23b6237'/>
<id>urn:sha1:d29df5159ba367673358d2e4414e11e9b23b6237</id>
<content type='text'>
It was used by the original patricia tree.
OK mpi@
</content>
</entry>
<entry>
<title>provide rtable_empty(), returns 1 if the rtable doesn't contain any routes</title>
<updated>2018-09-09T10:07:38Z</updated>
<author>
<name>henning</name>
<email>henning@openbsd.org</email>
</author>
<published>2018-09-09T10:07:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c58a9139a71b1d9be6642aef1a21c1d432f2c797'/>
<id>urn:sha1:c58a9139a71b1d9be6642aef1a21c1d432f2c797</id>
<content type='text'>
ok bluhm
</content>
</entry>
<entry>
<title>Simplify rtable_mpath_insert().</title>
<updated>2017-09-05T11:15:39Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-09-05T11:15:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f76c3713407a06818019e5bd6ebc29b320484ef9'/>
<id>urn:sha1:f76c3713407a06818019e5bd6ebc29b320484ef9</id>
<content type='text'>
ok jmatthew@
</content>
</entry>
<entry>
<title>Restart the iteration when a multipath list is re-ordered to make sure</title>
<updated>2017-09-05T10:56:04Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-09-05T10:56:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b4d8ed19be3e1cf22f61bfbfc0376ac404252dfc'/>
<id>urn:sha1:b4d8ed19be3e1cf22f61bfbfc0376ac404252dfc</id>
<content type='text'>
no entry are missed.

While here do not re-ordered or send messages for route entries that are
already in the expected state.

Make rttest30 pass.

ok gerhard@
</content>
</entry>
<entry>
<title>Enable mpath support in the Allotment Routing Table (ART) on the ramdisk.</title>
<updated>2017-07-30T18:18:08Z</updated>
<author>
<name>florian</name>
<email>florian@openbsd.org</email>
</author>
<published>2017-07-30T18:18:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b608b135eea4b4d9f1d49e195e23ced4b1ab7e8'/>
<id>urn:sha1:9b608b135eea4b4d9f1d49e195e23ced4b1ab7e8</id>
<content type='text'>
OK mpi
</content>
</entry>
<entry>
<title>Switch installer to Allotment Routing Table (ART).</title>
<updated>2017-07-30T18:16:14Z</updated>
<author>
<name>florian</name>
<email>florian@openbsd.org</email>
</author>
<published>2017-07-30T18:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e3d61ff221a8f300e6b8370ce8e23d3d44519dca'/>
<id>urn:sha1:e3d61ff221a8f300e6b8370ce8e23d3d44519dca</id>
<content type='text'>
Prompted by a bugreport by naddy that IPv6 autoconfiguration is broken
in the installer.
OK mpi, "go for it" deraadt
</content>
</entry>
</feed>
