#include "DnsblManager.h"
#include <algorithm>
#include <abuse/Analyze.h>
#include "utils.h"
#include "RegPropertyBag.h"
#include "Property.h"
#include "XmlUtils.h"
#include "XmlDnsblCache.h"
#include <abuse/Utils.h>
#include <sstream>
#include "resource.h"
Classes | |
struct | Save |
Defines | |
#define | DNSBLCACHEPATH "DnsblCache" |
#define | ASSERTPRESENT(meth, n) if(m_map.find(n)==m_map.end()) throw runtime_error("The dnsbl is not present") |
#define | ASSERTABSENT(meth, n) if(m_map.find(n)!=m_map.end())throw runtime_error("The dnsbl is already present") |
#define | MOREDATA "More Data" |
#define | DESCRIPTION "Description" |
#define | CACHEVALIDITY "Cache Validity" |
#define | ISACTIVE "Active" |
#define | COMMENT "Dnsbls list for Abuse!" |
#define | ROOT_TAG "Dnsbls" |
#define | DNSBL_TAG "Dnsbl" |
#define | NAME_TAG "Name" |
#define | DESCRIPTION_TAG "Description" |
#define | RESULT_TAG "Result" |
#define | CACHEVALIDITY_TAG "Cache_Validity" |
#define | ISACTIVE_TAG "Active" |
#define | ANY_TAG "Any" |
#define | NOTLISTEDVALUE "NOTLISTED" |
#define | SPAMSOURCEVALUE "SPAMSOURCE" |
#define | SPAMVERTIZEDVALUE "SPAMVERTIZED" |
#define | SPAMWAREVALUE "SPAMWARE" |
#define | OPENPROXYVALUE "OPENPROXY" |
#define | OPENRELAYVALUE "OPENRELAY" |
#define | DIALUPVALUE "DIALUP" |
#define | UNKNOWNVALUE "LISTEDUNKNOWN" |
Typedefs | |
typedef std::map< std::string, Result > | ResultMap |
typedef std::map< Result, std::string > | InverseMap |
Functions | |
static ResultMap | initMap () |
static InverseMap | initInverseMap () |
static void | mapdeleter (map< std::string, DnsblManager::DnsblData * >::value_type vt) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|