mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-11-19 02:40:35 +03:00
Adds support to the operator @ipMatchFromFile and @ipMatchF
This commit is contained in:
@@ -37,8 +37,11 @@ class IpTree {
|
||||
~IpTree();
|
||||
|
||||
bool contains(const std::string &ip);
|
||||
bool addFromBuffer(const std::string& buffer, std::string *error);
|
||||
void postOrderTraversal(TreeNode *node);
|
||||
bool addFromBuffer(std::istream *ss, std::string *error);
|
||||
bool addFromBuffer(const std::string& buffer, std::string *error);
|
||||
bool addFromFile(const std::string& file, std::string *error);
|
||||
bool addFromUrl(const std::string& url, std::string *error);
|
||||
private:
|
||||
TreeRoot *m_tree;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user