summaryrefslogtreecommitdiffstats
path: root/libexec/spamd/spamd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add -b option to specify local bind address, sent bybeck2004-03-101-6/+16
| | | | | yongari@kt-is.co.kr ok deraadt@
* - ensure greylist entry expiry is not updated until actually whitelistedbeck2004-02-281-47/+39
| | | | | | | | to avoid keeping multiple grey entries around from a single host for extra time. - make -G work - paranoia and cleanup suggestions from deraadt@ ok millert@
* paranoia; beck okderaadt2004-02-261-7/+10
|
* Add -g option for greylisting support for spamd. The greylisting techinquebeck2004-02-261-75/+186
| | | | | | | | | 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@
* add missing -v to getoptdhartmei2003-11-091-2/+2
|
* add -v and -w window to usage();jmc2003-11-081-2/+4
|
* make logging less verbose by default - default logs connect, disconnectbeck2003-10-221-7/+12
| | | | | | and blacklist matches. Add -v (verbose) flag to allow other detailed logging (subject, body, smtp dialogue, etc.) when it's needed. ok dhartmei@ -> ok deraadt@
* 1) Don't loop on invalid commandsbeck2003-10-031-2/+13
| | | | | 2) Allow multiple RCPT's ok mpech@, helpful stress testing by Chris Nadovich <chris@jtan.com>
* can free(NULL)deraadt2003-09-261-5/+3
|
* make accept failures not globally fatal.beck2003-09-261-11/+8
| | | | ok deraadt@
* free(NULL) allowedderaadt2003-09-261-5/+3
|
* indentderaadt2003-09-241-2/+3
|
* crank max connections to 800 (really, there are poeple doing this)deraadt2003-09-241-2/+2
|
* realloc spring cleaning, simplifies the code someavsm2003-09-181-19/+18
| | | | beck@ ok, deraadt@ ok an earlier version
* forgot to put w in optstring in last commit.tedu2003-09-041-2/+2
|
* permit the window/receive buffer to be adjustable. default back to systemtedu2003-09-031-3/+8
| | | | default. in reponse to pr3435. ok beck deraadt dhartmei
* re-add logging of matched blacklists lost in previous commit, ok deraadt@dhartmei2003-08-261-1/+4
|
* missing colon in syslog msg (cosmetic)dhartmei2003-08-241-2/+2
|
* add -s to specify stuttering delay, set receive buffer size to 1 bytedhartmei2003-08-231-18/+79
| | | | | | | (causing a small TCP window size, tying up sender's resources), additional states: keep connection until ten body lines have been received, improved logging through syslog (envelope from/to, From:/To:/Subject: in header, first lines of body) at various levels. ok deraadt@
* fix printf format for time_t. notified by casha@e7.pl. henning okitojun2003-08-231-2/+3
|
* spacesderaadt2003-07-291-7/+6
|
* ansi cleanup; ok ian markusderaadt2003-06-111-3/+3
|
* strsep does not work that way.beck2003-05-171-2/+2
| | | | ok tedu@
* This was using the wrong buffer, and wrong lengths. fix it from me andbeck2003-05-161-5/+5
| | | | | tedu, ok tedu@
* toast some += snprintfderaadt2003-04-151-4/+6
|
* rlimit handling code; aw@osn.dederaadt2003-04-121-1/+7
|
* more logical handling of select() errorsvincent2003-04-081-3/+6
| | | | ok millert@ deraadt@
* fix logging time to reflect reality. minus crack induced blank lines.beck2003-03-301-3/+10
| | | | ok tholo@
* logging fix from tholo@beck2003-03-281-12/+27
| | | | log which lists are matched, so you can tell what is actually working.
* report how much time was wasted; ok beckjason2003-03-281-3/+3
|
* cmdline options and descriptions in alphabetical order in usage() and manpagedavid2003-03-201-2/+2
| | | | | | | add arguments to the flags that take them in the DESCRIPTION add "inet" to the rdr rule example to match etc/pf.conf example ok dhartmei@ henning@
* make spamd-setup/spamd use/require a reserved source port for thebeck2003-03-131-1/+5
| | | | configuration connection.
* typo. henning@beck2003-03-091-2/+2
|
* Fix a few typos, Make spamd and spamd-setup use /etc/services to findbeck2003-03-091-3/+15
| | | | | their ports. Adds "spamd" and "spamd-cfg" services to /etc/services. Mostly from Daniel Lucq <daniel@lucq.org>.
* knfderaadt2003-03-081-1/+3
|
* ugh. default examples don't work since with an rdr to 127.0.0.1beck2003-03-041-2/+2
| | | | | you can't tell what socket you're talking to. avoid the whole issue and put the configuration on port + 1, todd@
* oops, removed a char from rendderaadt2003-03-031-2/+2
|
* always set ptr to NULL after free; from cloderderaadt2003-03-031-4/+7
|
* More KNF. Use a size_t in one place where it makes sense.cloder2003-03-031-10/+10
| | | | OK deraadt@
* Add ANSI prototypes for all functions. Now compiles withcloder2003-03-021-21/+38
| | | | | -ansi -Wstrict-prototypes, update the Makefile to reflect that.
* KNF and one err->errx. ok deraadt@kjell2003-03-021-23/+24
|
* knfderaadt2003-03-021-1/+2
|
* unbelievable; buffer mismanagement in new codederaadt2003-03-021-2/+4
|
* knfderaadt2003-03-021-7/+8
|
* knfderaadt2003-03-021-86/+84
|
* Spamd changes to add blacklist awareness to spamd, new spamd-setup.plbeck2003-03-021-17/+420
| | | | | | | which configures individual blacklists sources and deals with whitelists. Perl still needs some stylistic changes as suggested by bmc which will go in shortly. ok deraadt@
* oops; beckderaadt2003-02-111-3/+3
|
* revoke privs a bit later so spamd can bind() to ports < 1024henning2003-01-301-18/+18
| | | | | inspired by Nick Stott <nick at electric-pickle.net> ok theo daniel
* plug potential memory leak; vincent okderaadt2003-01-241-4/+4
|
* bit more error checking; andrushock@korovino.netderaadt2003-01-051-8/+12
|