去掉r0的hook,增加IP屏蔽记录

This commit is contained in:
huoji
2023-11-17 04:06:33 +08:00
parent 49904f5cb5
commit 6bac06d28a
41 changed files with 270150 additions and 48 deletions

View File

@@ -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