lib_SOURCES = str.c buffer.c common.c epoll.c server.c trie.c file.c
tst-trie_SOURCES = tst-trie.c lib.a
+all:
+
include ../mk/common.mk
# declare a file to load. If lock is given, the klist is locked into the
# RAM. The weight is a number giving the weight of this blaclist file in the
# score of the IP
+# - rbldns: (no)?lock:weight:filename
+# this is an alias for file.
# - soft_threshold: score (default: 1)
# minimum score to match the soft_match return value
# - hard_threshold: score (default: 1)
pfix-srsd_SOURCES = main-srsd.c ../common/lib.a
pfix-srsd_LIBADD = -lsrs2
+all:
+
include ../mk/common.mk
hook_tokens.h hook_tokens.c: $(FILTERS)
param_tokens.c param_tokens.h: $(FILTERS) config.c
+all:
+
include ../mk/common.mk
* the file pointed by filename MUST be a valid ip list issued from
* the rsync (or equivalent) service of a (r)bl.
*/
- case ATK_FILE: {
+ case ATK_FILE: case ATK_RBLDNS: {
bool lock = false;
int weight = 0;
rbldb_t *rbl = NULL;
/* Parameters.
*/
(void)filter_param_register(type, "file");
+ (void)filter_param_register(type, "rbldns");
(void)filter_param_register(type, "hard_threshold");
(void)filter_param_register(type, "soft_threshold");
return 0;