mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-21 23:33:21 +00:00
Block SNI domains
This commit is contained in:
parent
223c8156bd
commit
3aab3d7aad
1 changed files with 2 additions and 0 deletions
|
@ -330,6 +330,8 @@ void handle_ip(const struct arguments *args,
|
|||
allowed = (redirect != NULL);
|
||||
if (redirect != NULL && (*redirect->raddr == 0 || redirect->rport == 0))
|
||||
redirect = NULL;
|
||||
if (allowed && *server_name && is_domain_blocked(args, server_name))
|
||||
allowed = 0;
|
||||
}
|
||||
|
||||
// Handle allowed traffic
|
||||
|
|
Loading…
Reference in a new issue