<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/pfctl, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/pfctl?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/pfctl?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-05-15T00:56:03Z</updated>
<entry>
<title>pf(4): use CLOCK_BOOTTIME to get time_uptime(9) in userspace</title>
<updated>2020-05-15T00:56:03Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2020-05-15T00:56:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e45b97acc68240287380c19ce0d763926c796dbd'/>
<id>urn:sha1:e45b97acc68240287380c19ce0d763926c796dbd</id>
<content type='text'>
In pf(4), the pf_status.since timestamp is set with time_uptime(9).
This is a low-res snapshot of nanouptime(9).  nanouptime(9) is used to
implement CLOCK_BOOTTIME for clock_gettime(2).  It is not used to
implement CLOCK_UPTIME, though.  The names are misleading.

Switch to CLOCK_BOOTTIME in places in userspace where we use
pf_status.since so we are working with the right clock.

Technically CLOCK_MONOTONIC is equivalent, but we shouldn't use that
here.  CLOCK_MONOTONIC is not necessarily the "time since boot": the
standard says its absolute value is meaningless.

ok patrick@ bluhm@
</content>
</entry>
<entry>
<title>sbin/pfctl: replace TAILQ concatenation loop with TAILQ_CONCAT</title>
<updated>2020-01-28T15:40:35Z</updated>
<author>
<name>bket</name>
<email>bket@openbsd.org</email>
</author>
<published>2020-01-28T15:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c8d5c2349e3f227bad1d2f5dc86738410c5de33e'/>
<id>urn:sha1:c8d5c2349e3f227bad1d2f5dc86738410c5de33e</id>
<content type='text'>
OK kn@, sashan@, florian@
</content>
</entry>
<entry>
<title>Fail on missing anchor</title>
<updated>2020-01-16T01:02:20Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-16T01:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ad846651a1e57f4044de08e014c62f6c17306af2'/>
<id>urn:sha1:ad846651a1e57f4044de08e014c62f6c17306af2</id>
<content type='text'>
There is no reason to continue on anchor specific paths if the given
anchor does not exist.

OK sashan
</content>
</entry>
<entry>
<title>Do the actual pfr_strerror() to pf_strerror() rename</title>
<updated>2020-01-15T22:38:30Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-15T22:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c802a0d9d6a6510e658984688f179f6777ccfce2'/>
<id>urn:sha1:c802a0d9d6a6510e658984688f179f6777ccfce2</id>
<content type='text'>
Missed in previous
</content>
</entry>
<entry>
<title>Unify error message for nonexisting anchors</title>
<updated>2020-01-15T22:31:51Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-15T22:31:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e5c920154c2024677fa8b335bbe529eaa6a4e705'/>
<id>urn:sha1:e5c920154c2024677fa8b335bbe529eaa6a4e705</id>
<content type='text'>
pf(4) returns EINVAL for DIOCGETRULE, DIOCGETRULES and DIOCGETRULESET if
the specified anchor does not exist.

Extend and rename {pfr -&gt; pf}_strerror() to make error message more
consistent.

There are other occasions as well but those need additional tweaks;
that's stuff for another diff.

OK and rename from sashan
</content>
</entry>
<entry>
<title>Refine error message</title>
<updated>2020-01-15T16:15:08Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-15T16:15:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=910e8feeb52b5a134ad07406c9ff19ac9dbff7df'/>
<id>urn:sha1:910e8feeb52b5a134ad07406c9ff19ac9dbff7df</id>
<content type='text'>
While code in pf/pfctl confusingly uses either anchor or ruleset
depending on the context, pfctl(8) (both manual and user interface)
should be consistent.

For users there are basically anchors only, so do not imply any
difference between the two terminologies.

OK sashan
</content>
</entry>
<entry>
<title>Merge radix_perror() into simpler warnx()/errx() usage</title>
<updated>2020-01-15T15:45:49Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-15T15:45:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e13f0105288f304d66f03ce19d6424ba30482f36'/>
<id>urn:sha1:e13f0105288f304d66f03ce19d6424ba30482f36</id>
<content type='text'>
Less nesting for clearer code.

OK sashan
</content>
</entry>
<entry>
<title>Further document recursive flush behaviour</title>
<updated>2020-01-15T14:39:41Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-15T14:39:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5bd1c2906f9ebf166bab4aced5322a2716895dc2'/>
<id>urn:sha1:5bd1c2906f9ebf166bab4aced5322a2716895dc2</id>
<content type='text'>
OK sashan
</content>
</entry>
<entry>
<title>Print the main ruleset/anchor as "/" not "&lt;root&gt;" for consistency</title>
<updated>2020-01-15T13:42:39Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2020-01-15T13:42:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=baa66dbe09e9b06485965f736a81919fb26ad31d'/>
<id>urn:sha1:baa66dbe09e9b06485965f736a81919fb26ad31d</id>
<content type='text'>
OK sashan
</content>
</entry>
<entry>
<title>Recent change to pfctl(8) prompts for a minor update of manpage.</title>
<updated>2020-01-15T13:42:38Z</updated>
<author>
<name>sashan</name>
<email>sashan@openbsd.org</email>
</author>
<published>2020-01-15T13:42:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7abd52e24aa543084f527e1a8cd127a1a51bbd82'/>
<id>urn:sha1:7abd52e24aa543084f527e1a8cd127a1a51bbd82</id>
<content type='text'>
OK kn@
</content>
</entry>
</feed>
