Mercurial > dnsbl
comparison src/dccifd.cpp @ 203:92a5c866bdfa
Verify from/to pairs even if they might be explicitly whitelisted.
Document DCC greylisting and bulk detection usage. Fix DCC bulk
thresholds of many. Update spec file for fedora packaging.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 04 Mar 2008 21:42:51 -0800 |
parents | ff6d14d75b1e |
children | 82886d4dd71f |
comparison
equal
deleted
inserted
replaced
202:ae0585d64dd2 | 203:92a5c866bdfa |
---|---|
24 #include <netinet/tcp.h> | 24 #include <netinet/tcp.h> |
25 #include <netdb.h> | 25 #include <netdb.h> |
26 #include <sys/socket.h> | 26 #include <sys/socket.h> |
27 #include <sys/un.h> | 27 #include <sys/un.h> |
28 | 28 |
29 | |
30 | |
31 static const char Id[] = "$Id$"; | |
32 | 29 |
33 const int maxlen = 1000; // used for snprintf buffers | 30 const int maxlen = 1000; // used for snprintf buffers |
34 extern int NULL_SOCKET; | 31 extern int NULL_SOCKET; |
35 const char *options = "header\n"; | 32 const char *options = "header\n"; |
36 | 33 |