summaryrefslogtreecommitdiff
path: root/libexec/spamlogd/Makefile
AgeCommit message (Collapse)Author
2019-07-25Yet another workaround for crappy libpcap API designBryan Steele
Add an internal version of pcap_open_live that ensures bpf(4) devices are opened read-only before locking. Neither pflogd(8) or spamlogd(8) require write access to bpf(4). Inspired by similar solution in OpenBSD tcpdump(8). pflogd(8) was safe since being unveiled last year, but spamlogd(8) was having /dev/bpf opened O_RDWR. Issue discovered by bluhm@'s unveil(2) accounting commit. ok deraadt@, mestre@ (thanks for testing spamlogd!)
2018-06-28add missing ${LIBCRYPTO} to DPADDGleydson Soares
OK deraadt@ millert@ jca@
2013-08-21Remove the use of time_t in the greylist db file and use int64_t insteadTodd C. Miller
with backwards compatibility for records with 32-bit times. OK deraadt@ beck@
2007-03-04Database synchronizaton for spamd/spamlogdBob Beck
This adds an HMAC protected synchronization protocol for use by spamd and spamlogd. - spamd can receive updates from other hosts for GREY, WHITE, and TRAPPED db entries, and will update the local /var/db/spamd accordingly. - spamd can send updates when it makes changes to the GREY or TRAPPED entries in the db to other hosts running spamd. (Note it does not send WHITE entries because the other spamd will see the GREY changes and have complete information to make appropritate decisions) - spamlogd can send updates for WHITE db entries that it performs on the local db to other hosts running spamd, which will then apply them on remote hosts. note that while this diff provides synchronization for changes made to the spamd db by the daemons, it does *not* provide for sychonizing changes to the spamd db made manually with the spamdb command. Synchronization protocol and most of the work by reyk@, with a bunch of the spamd, and spamlogd stuff by me. testing mostly at the U of A, running happily there under big load. ok reyk@ jmc@
2006-11-26repair missing DPADD requestsTheo de Raadt
2006-11-03donot for tcpdump, use libpcap directly.Henning Brauer
joint work with Berk D. Demir, ok beck deraadt
2005-05-24Remove -ansi as that means expose only C89 interfaces.Todd C. Miller
2004-02-27fix CFLAGS -IDavid Krause
ok deraadt@
2004-02-26Add -g option for greylisting support for spamd. The greylisting techinqueBob Beck
originates from a paper by Evan Harris which can be found at http://projects.puremagic.com/greylisting/. This implementation makes spamd allow for non-blacklisted addresses to be treated as "greylisted". where they are tracked in a db file, and whitelisted by addition to a pf table when the same envelope from and to are retried from the same source IP address. Testing by many, ok deraadt@