<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/libexec/spamd/sdl.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/libexec/spamd/sdl.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/libexec/spamd/sdl.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2017-10-18T17:31:01Z</updated>
<entry>
<title>Make blacklist entries override the whitelist.  When running spamd</title>
<updated>2017-10-18T17:31:01Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2017-10-18T17:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=66baed91cf18d6f3802b9f268dbe4a071dfc25e8'/>
<id>urn:sha1:66baed91cf18d6f3802b9f268dbe4a071dfc25e8</id>
<content type='text'>
in greylisting mode, it is not uncommon for an IP to get whitelisted
before it shows up on a spam blacklist.  With this change, spamd
will check its blacklists before adding a WHITE entry to the
&lt;spamd-white&gt; pf table.  If the IP matches a blacklist, the WHITE
entry will be removed.  OK phessler@
</content>
</entry>
<entry>
<title>Use a binary search to speed up blacklist lookups.  OK phessler@</title>
<updated>2017-10-17T13:52:10Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2017-10-17T13:52:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b1aaf36b0b2ca9daa46666c58ab01a4feb53429d'/>
<id>urn:sha1:b1aaf36b0b2ca9daa46666c58ab01a4feb53429d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change spamd to use divert-to instead of rdr-to.</title>
<updated>2015-05-18T16:04:21Z</updated>
<author>
<name>reyk</name>
<email>reyk@openbsd.org</email>
</author>
<published>2015-05-18T16:04:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0f849a0c7750c78fae43b22e6fdc50f4867c3474'/>
<id>urn:sha1:0f849a0c7750c78fae43b22e6fdc50f4867c3474</id>
<content type='text'>
divert-to has many advantages over rdr-to for proxies.  For example,
it is much easier to use, requires less code, does not depend on
/dev/pf, works in-band without the asynchronous lookup (DIOCNATLOOK
ioctl), saves us from additional port allocations by the rdr/NAT code,
and even avoids potential collisions and race conditions that could
theoretically happen with the lookup.

Heads up: users will have to update their spamd PF rules from rdr-to
to divert-to.  spamd now also listens to 127.0.0.1 instead of "any"
(0.0.0.0) by default which should be fine with most setups but has to
be considered for some special configurations.

Based on a diff is almost two years old but got delayed several times
... beck@: "now is the time to get it in" :)

Tested by many
With help from okan@
OK okan@ beck@ millert@
</content>
</entry>
<entry>
<title>Use address-family specific lists of addr/mask entries instead of</title>
<updated>2015-01-13T21:42:59Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2015-01-13T21:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=694ff69b783a0c2f0ee93a079ac31492e25328b2'/>
<id>urn:sha1:694ff69b783a0c2f0ee93a079ac31492e25328b2</id>
<content type='text'>
a union that can store either ipv4 or ipv6.  The old method used
4x as much memory as was really needed for ipv4.  The spamd-setup
protocol has changed from: tag;message;a/m;a/m;a/m...\n
to :tag;message;af;count;a/m;a/m;a/m...[af;count;a/m;a/m;a/m]\n
OK phessler@ "nice" beck@
</content>
</entry>
<entry>
<title>Avoid a crash (free of bogus pointer) when there is a syntax error</title>
<updated>2015-01-08T22:10:08Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2015-01-08T22:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b49d95e6e7394c8512018270249b920d9dcd976e'/>
<id>urn:sha1:b49d95e6e7394c8512018270249b920d9dcd976e</id>
<content type='text'>
reading the config socket by clearing the entire blacklist struct
instead of just the tag string.  Also avoid holes in the blacklist
array on error since the code can't cope with them.  OK beck@
</content>
</entry>
<entry>
<title>Userland reallocarray() audit.</title>
<updated>2014-10-11T03:25:16Z</updated>
<author>
<name>doug</name>
<email>doug@openbsd.org</email>
</author>
<published>2014-10-11T03:25:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=25f350129e74d779c331fdec92535e248a92fc76'/>
<id>urn:sha1:25f350129e74d779c331fdec92535e248a92fc76</id>
<content type='text'>
Avoid potential integer overflow in the size argument of malloc() and
realloc() by using reallocarray() to avoid unchecked multiplication.

ok deraadt@
</content>
</entry>
<entry>
<title>PR 5621 - spamd doesn't clear the last entry from an empty TRAP list,</title>
<updated>2007-11-03T19:16:07Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2007-11-03T19:16:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e25a0afe5877fe1caab6eb24222d1404a4bc43c4'/>
<id>urn:sha1:e25a0afe5877fe1caab6eb24222d1404a4bc43c4</id>
<content type='text'>
noticed and patch from Piotr Sikora &lt;piotr@sikora.nu&gt;
</content>
</entry>
<entry>
<title>use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg</title>
<updated>2007-09-02T15:19:07Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2007-09-02T15:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1ed98fdf61d9dd29369f246109081408082ce54d'/>
<id>urn:sha1:1ed98fdf61d9dd29369f246109081408082ce54d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use new license.</title>
<updated>2007-03-26T16:36:18Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2007-03-26T16:36:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=af63bb60ab30a43bfb920fcad2580ad439957d14'/>
<id>urn:sha1:af63bb60ab30a43bfb920fcad2580ad439957d14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>spacing</title>
<updated>2007-03-05T02:10:46Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2007-03-05T02:10:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cba10625158b034788c694185894df00f51a97ed'/>
<id>urn:sha1:cba10625158b034788c694185894df00f51a97ed</id>
<content type='text'>
</content>
</entry>
</feed>
