summaryrefslogtreecommitdiff
path: root/libexec/spamd/grey.c
AgeCommit message (Expand)Author
2013-11-27unsigned char for ctypeTheo de Raadt
2013-11-19add a bunch of missing prototypesTheo de Raadt
2013-08-21Remove the use of time_t in the greylist db file and use int64_t insteadTodd C. Miller
2012-10-02while it's of little harm, it's also been 5.5 years (and 8 releases),Okan Demirmen
2011-03-03repair arguments passed to pfctl; PR 6142, ok beckTheo de Raadt
2010-10-06do not pass GREY entries to pf's spamd-white table if already TRAPPED.Stephan A. Rickauer
2010-01-11KNFBob Beck
2009-11-12malloc() after line length check, to avoid memory leak; ok teduTheo de Raadt
2009-04-20PR 6090 - from Olli Hauer <ohauer@gmx.de>Bob Beck
2009-02-25fix slow memory leak, spotted by Max Laier and Artis CauneBob Beck
2008-12-07time_t is signed, so use INT_MAX rather than UINT_MAX when parsing a time_tChad Loder
2008-08-26Fix an if (); typo. ok beck@Jonathan Gray
2008-07-11write a syslog debug message when a new GREY or TRAPPED entry is addedReyk Floeter
2008-07-11greyreader() shouldn't return, so tell us if it doesPeter Hessler
2007-11-03PR 5621 - spamd doesn't clear the last entry from an empty TRAP list,Bob Beck
2007-08-16- Don't fill spamd debug with bogus config errors if there are noRay Lai
2007-03-18Be sure to exit if the db_open of the second db for conversion fails.Bob Beck
2007-03-16now that we leave the grey, avoid annoying re-adds of white entriesBob Beck
2007-03-14when using low prio MX trapping, ignore hosts connecting to the low prioBob Beck
2007-03-14Don't delete grey entries when whitelisting. They expire anywayBob Beck
2007-03-12log when we trap a host.Bob Beck
2007-03-06Add -M option to specify a local address that is a lower priority MXBob Beck
2007-03-05don't make everything a sync once we see one, reset this onceBob Beck
2007-03-05spacingTheo de Raadt
2007-03-04bob writes some of the most horrid space and tab riddled messy code aroundTheo de Raadt
2007-03-04Database synchronizaton for spamd/spamlogdBob Beck
2007-02-23Make spamd include the HELO/EHLO identification string sent byBob Beck
2007-02-23make dequotetolower use regular string functions instead of the manualBob Beck
2007-02-23continue collecting lint to be sold as a parsley substitute; ok beckTheo de Raadt
2007-02-23spacingTheo de Raadt
2007-02-23greytrapping improvementsBob Beck
2007-01-04 Using DB_BTREE for spamd is wrong, order is never requiredBob Beck
2006-12-07check exit status of the pfctl command executed. ok beck@Otto Moerbeek
2005-05-15move db->close to not hold this lock unnecssarily during long protractedBob Beck
2005-03-12asprintf in place of strdup really is kind of lameBob Beck
2005-03-11"Greytrapping" for spamd - allow for spamd greylisting to maintainBob Beck
2004-12-04fix a signal race which could kill unrelated processes.Moritz Jodeit
2004-09-15ARGSUSED before signal handler with unused signoTheo de Raadt
2004-08-15Expire entries that exactly match the time now in addition to onesTodd C. Miller
2004-08-08spacingTheo de Raadt
2004-07-04two missing freeaddrinfo() -- leak; andrushock@korovino.netTheo de Raadt
2004-06-21restrict address resolution to AF_INET for nowJun-ichiro itojun Hagino
2004-06-21use getaddr/nameinfo for address resolution. beck, henning okJun-ichiro itojun Hagino
2004-03-13Add signal handler to parent, so that when greylisting we don't need toBob Beck
2004-03-11Remove sync() calls that immediately precede databse close(). SinceTodd C. Miller
2004-03-11Call db-sync() after each db modification since they aren't all thatBob Beck
2004-03-10spacesTheo de Raadt
2004-03-05Fix really dumb memory leak that would have long runnign large whitelistBob Beck
2004-03-01uset inet_pton(3) instead of home grown address validator; some other cleanupOtto Moerbeek
2004-02-28- ensure greylist entry expiry is not updated until actually whitelistedBob Beck