<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/libexec/spamd/grey.c, branch jd/histogram</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/libexec/spamd/grey.c?h=jd%2Fhistogram</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/libexec/spamd/grey.c?h=jd%2Fhistogram'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-10-25T06:42:35Z</updated>
<entry>
<title>When spamd(8) runs in greylist mode in the parent process (which runs</title>
<updated>2018-10-25T06:42:35Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2018-10-25T06:42:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=800fd717b9e008c067e3c37eb1dcfc2cb098d902'/>
<id>urn:sha1:800fd717b9e008c067e3c37eb1dcfc2cb098d902</id>
<content type='text'>
greywatcher()) we know that the only files that it will ever access are
PATH_SPAMD_DB in rw mode, alloweddomains_file in r and that it will need to
execute PATH_PFCTL so we can unveil(2) them with those permissions.

OK deraadt@ millert@ beck@
</content>
</entry>
<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>- Remove useless var assignment</title>
<updated>2016-10-20T21:09:46Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-10-20T21:09:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=003af73df2da380d8bef9220ce9aecfbaef5a69b'/>
<id>urn:sha1:003af73df2da380d8bef9220ce9aecfbaef5a69b</id>
<content type='text'>
- Use memset(*b, 0, len) instead of bzero(*b, len)
- Use memcpy(*dst, *src, len) instead of bcopy(*src, *dst, len)
- Use explicit_bzero(3) instead of bzero(3) to clean temporary HMAC

Remarks from deraadt@ (duly noted!!), reviewed and OK by henning@ and tb@
</content>
</entry>
<entry>
<title>- Both checks for pw are not needed since it was already done at the start of</title>
<updated>2016-03-25T16:31:32Z</updated>
<author>
<name>mestre</name>
<email>mestre@openbsd.org</email>
</author>
<published>2016-03-25T16:31:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=747158c79603ab3e63f76e8cebb76390a4c1eed1'/>
<id>urn:sha1:747158c79603ab3e63f76e8cebb76390a4c1eed1</id>
<content type='text'>
the program
- Add error message to syslog if privdrop didn't succeed and then exit
- Remove lint comments

OK beck@ after his suggestion and also looks good to jca@
</content>
</entry>
<entry>
<title>tighten the pledge for spamd, from Ricardo Mestre &lt;serial@helheim.mooo.com&gt;</title>
<updated>2015-12-10T16:06:29Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2015-12-10T16:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2d7c0bc3336bebfc1e13d1b46698ec13518b8d67'/>
<id>urn:sha1:2d7c0bc3336bebfc1e13d1b46698ec13518b8d67</id>
<content type='text'>
this loads the tls certificate files pre-pledge then does the bulk of the tls
setup goo pledged.
</content>
</entry>
<entry>
<title>Initially pledge spamd</title>
<updated>2015-12-08T03:21:09Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2015-12-08T03:21:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1cdc33743eefbf94476a564afe656eb626047849'/>
<id>urn:sha1:1cdc33743eefbf94476a564afe656eb626047849</id>
<content type='text'>
All the work done by Ricardo Mestre &lt;serial@helheim.mooo.com&gt; - Thanks.
</content>
</entry>
<entry>
<title>Document that the pfdev check for 63 is /dev/fd/ only contains those nodes</title>
<updated>2015-11-29T06:51:20Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-11-29T06:51:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3c8544c9c04673b40a702a654046b7875f9db7af'/>
<id>urn:sha1:3c8544c9c04673b40a702a654046b7875f9db7af</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>Delete a bunch of unnecessary #includes</title>
<updated>2014-11-23T21:19:47Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-11-23T21:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e52bebba125dc9aec314ecbf79a134c59d859836'/>
<id>urn:sha1:e52bebba125dc9aec314ecbf79a134c59d859836</id>
<content type='text'>
Use &lt;fcntl.h&gt; instead of &lt;sys/{file,fcntl}.h&gt;

ok krw@
</content>
</entry>
</feed>
