去掉r0的hook,增加IP屏蔽记录
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <optional>
|
||||
#include <ctime>
|
||||
#include "./events/network.h"
|
||||
|
||||
#include "global.h"
|
||||
#include "msg.h"
|
||||
#include "tools.h"
|
||||
#include "./sqlite/sqlite3.h"
|
||||
#include "ip_blacktable.h"
|
||||
#include "global.h"
|
||||
|
||||
#define LOG printf
|
||||
#define ERROR perror
|
||||
#define MAX_BLOCK_TIME 600
|
||||
|
||||
Reference in New Issue
Block a user