Add gfwlist.acl

This commit is contained in:
Max Lv
2016-09-08 12:14:54 +08:00
parent 64870a276b
commit 02c51c3615
2 changed files with 3997 additions and 0 deletions
+3992
View File
File diff suppressed because it is too large Load Diff
+5
View File
@@ -90,6 +90,11 @@ int init_acl(const char *path)
line[len - 1] = '\0';
}
// Skip comments
if (line[0] == '#') {
continue;
}
if (strcmp(line, "[black_list]") == 0
|| strcmp(line, "[bypass_list]") == 0) {
list_ipv4 = &black_list_ipv4;