<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sbin/pfctl/pfctl_optimize.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sbin/pfctl/pfctl_optimize.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sbin/pfctl/pfctl_optimize.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-01-28T15:40:35Z</updated>
<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>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>Avoid optimizing empty rulesets</title>
<updated>2019-12-12T21:00:51Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2019-12-12T21:00:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=757f1589f1b9c385f4aaed248eb332cfed69cc6b'/>
<id>urn:sha1:757f1589f1b9c385f4aaed248eb332cfed69cc6b</id>
<content type='text'>
All optimizations work on actual rules;  if there are none, return early.

While here, tell which ruleset/anchor is being optimized to make the debug
message actually useful.

OK mikeb
</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>Remove pfctl_*_pool() remnants</title>
<updated>2019-03-07T08:01:52Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2019-03-07T08:01:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f985073445837bb74ca302a96db3b51d58a5cf3b'/>
<id>urn:sha1:f985073445837bb74ca302a96db3b51d58a5cf3b</id>
<content type='text'>
Left behind in pfctl_parser.h revision 1.91
	"First pass at removing the 'pf_pool' mechanism [...]"

These functions don't exist anymore, no object change.

OK procter
</content>
</entry>
<entry>
<title>Unbreak build under OPT_DEBUG</title>
<updated>2019-01-03T22:49:00Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2019-01-03T22:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=39a868ffe99fd03ba9f6d96d0ff041ed3011e275'/>
<id>urn:sha1:39a868ffe99fd03ba9f6d96d0ff041ed3011e275</id>
<content type='text'>
In r1.39 I removed the `af' parameter from `unmask()' but accidently zapped
the macro's closing paranthese.

Since DEBUG() is needlessly under an OPT_DEBUG guard, this was not
effecting normal builds.

Add the missing ')' and remove the ifdef.

OK sashan
</content>
</entry>
<entry>
<title>Remove unused af argument from unmask()</title>
<updated>2018-09-06T15:07:33Z</updated>
<author>
<name>kn</name>
<email>kn@openbsd.org</email>
</author>
<published>2018-09-06T15:07:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f0bb6ca5dd99693590fea0d9be3547a3318048b5'/>
<id>urn:sha1:f0bb6ca5dd99693590fea0d9be3547a3318048b5</id>
<content type='text'>
This has been unused for years.

While here, zap the duplicate function signature from pfctl.h (already
present in pfctl_parser.h); spotted by sashan, thanks.

OK sashan
</content>
</entry>
<entry>
<title>- patching use-after-free and innocent memory leak in pfctl_optimzie.c</title>
<updated>2017-11-25T22:20:06Z</updated>
<author>
<name>sashan</name>
<email>sashan@openbsd.org</email>
</author>
<published>2017-11-25T22:20:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=43d70b8338dfc717f31a91a78a3e54e4bb2f631d'/>
<id>urn:sha1:43d70b8338dfc717f31a91a78a3e54e4bb2f631d</id>
<content type='text'>
OK bluhm@
</content>
</entry>
<entry>
<title>- pfctl rule optimizer: anchor name vs. anchor path mix up</title>
<updated>2017-11-25T22:16:47Z</updated>
<author>
<name>sashan</name>
<email>sashan@openbsd.org</email>
</author>
<published>2017-11-25T22:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a2fcc0457449240dc614e466e0acc53206255201'/>
<id>urn:sha1:a2fcc0457449240dc614e466e0acc53206255201</id>
<content type='text'>
OK bluhm@
</content>
</entry>
</feed>
