summaryrefslogtreecommitdiffstats
path: root/libexec/spamd/grey.c
AgeCommit message (Expand)AuthorFilesLines
2018-10-25When spamd(8) runs in greylist mode in the parent process (which runsmestre1-1/+13
2017-10-18Make blacklist entries override the whitelist. When running spamdmillert1-13/+30
2016-10-20- Remove useless var assignmentmestre1-3/+1
2016-03-25- Both checks for pw are not needed since it was already done at the start ofmestre1-9/+6
2015-12-10tighten the pledge for spamd, from Ricardo Mestre <serial@helheim.mooo.com>beck1-1/+6
2015-12-08Initially pledge spamdbeck1-5/+3
2015-11-29Document that the pfdev check for 63 is /dev/fd/ only contains those nodesderaadt1-1/+4
2015-05-18Change spamd to use divert-to instead of rdr-to.reyk1-81/+1
2015-01-13Use address-family specific lists of addr/mask entries instead ofmillert1-9/+10
2014-11-23Delete a bunch of unnecessary #includesguenther1-4/+1
2014-10-09obvious reallocarray() conversionsderaadt1-6/+6
2013-11-27unsigned char for ctypederaadt1-4/+4
2013-11-19add a bunch of missing prototypesderaadt1-2/+21
2013-08-21Remove the use of time_t in the greylist db file and use int64_t insteadmillert1-21/+22
2012-10-02while it's of little harm, it's also been 5.5 years (and 8 releases),okan1-75/+1
2011-03-03repair arguments passed to pfctl; PR 6142, ok beckderaadt1-2/+2
2010-10-06do not pass GREY entries to pf's spamd-white table if already TRAPPED.stephan1-7/+11
2010-01-11KNFbeck1-5/+5
2009-11-12malloc() after line length check, to avoid memory leak; ok teduderaadt1-3/+3
2009-04-20PR 6090 - from Olli Hauer <ohauer@gmx.de>beck1-5/+16
2009-02-25fix slow memory leak, spotted by Max Laier and Artis Caunebeck1-3/+10
2008-12-07time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_tcloder1-2/+2
2008-08-26Fix an if (); typo. ok beck@jsg1-2/+2
2008-07-11write a syslog debug message when a new GREY or TRAPPED entry is addedreyk1-2/+5
2008-07-11greyreader() shouldn't return, so tell us if it doesphessler1-1/+2
2007-11-03PR 5621 - spamd doesn't clear the last entry from an empty TRAP list,beck1-6/+7
2007-08-16- Don't fill spamd debug with bogus config errors if there are noray1-7/+7
2007-03-18Be sure to exit if the db_open of the second db for conversion fails.beck1-1/+3
2007-03-16now that we leave the grey, avoid annoying re-adds of white entriesbeck1-3/+25
2007-03-14when using low prio MX trapping, ignore hosts connecting to the low priobeck1-2/+6
2007-03-14Don't delete grey entries when whitelisting. They expire anywaybeck1-6/+1
2007-03-12log when we trap a host.beck1-1/+3
2007-03-06Add -M option to specify a local address that is a lower priority MXbeck1-14/+115
2007-03-05don't make everything a sync once we see one, reset this oncebeck1-1/+2
2007-03-05spacingderaadt1-4/+4
2007-03-04bob writes some of the most horrid space and tab riddled messy code aroundderaadt1-26/+29
2007-03-04Database synchronizaton for spamd/spamlogdbeck1-4/+136
2007-02-23Make spamd include the HELO/EHLO identification string sent bybeck1-11/+19
2007-02-23make dequotetolower use regular string functions instead of the manualbeck1-8/+12
2007-02-23continue collecting lint to be sold as a parsley substitute; ok beckderaadt1-2/+1
2007-02-23spacingderaadt1-6/+6
2007-02-23greytrapping improvementsbeck1-34/+122
2007-01-04 Using DB_BTREE for spamd is wrong, order is never requiredbeck1-70/+259
2006-12-07check exit status of the pfctl command executed. ok beck@otto1-3/+11
2005-05-15move db->close to not hold this lock unnecssarily during long protractedbeck1-3/+3
2005-03-12asprintf in place of strdup really is kind of lamebeck1-2/+2
2005-03-11"Greytrapping" for spamd - allow for spamd greylisting to maintainbeck1-38/+161
2004-12-04fix a signal race which could kill unrelated processes.moritz1-8/+17
2004-09-15ARGSUSED before signal handler with unused signoderaadt1-1/+2
2004-08-15Expire entries that exactly match the time now in addition to onesmillert1-2/+2