Update file.c
This commit is contained in:
parent
b1cb6abf1d
commit
d2b6515be0
|
@ -941,6 +941,9 @@ _FX BOOLEAN File_BlockInternetAccess(PROCESS *proc)
|
||||||
if (ok) // \Device\Http\*
|
if (ok) // \Device\Http\*
|
||||||
ok = File_BlockInternetAccess2(proc, File_Http, +1);
|
ok = File_BlockInternetAccess2(proc, File_Http, +1);
|
||||||
|
|
||||||
|
if (ok && proc->use_rule_specificity) // \Device\Http\
|
||||||
|
ok = File_BlockInternetAccess2(proc, File_Http, +1);
|
||||||
|
|
||||||
if (ok) // \Device\Tcp6
|
if (ok) // \Device\Tcp6
|
||||||
ok = File_BlockInternetAccess2(proc, File_Tcp, 0);
|
ok = File_BlockInternetAccess2(proc, File_Tcp, 0);
|
||||||
|
|
||||||
|
@ -962,6 +965,9 @@ _FX BOOLEAN File_BlockInternetAccess(PROCESS *proc)
|
||||||
if (ok) // \Device\Afd*
|
if (ok) // \Device\Afd*
|
||||||
ok = File_BlockInternetAccess2(proc, File_Afd, +1);
|
ok = File_BlockInternetAccess2(proc, File_Afd, +1);
|
||||||
|
|
||||||
|
if (ok && proc->use_rule_specificity) // \Device\Afd
|
||||||
|
ok = File_BlockInternetAccess2(proc, File_Afd, 0);
|
||||||
|
|
||||||
if (ok) // \Device\Nsi
|
if (ok) // \Device\Nsi
|
||||||
ok = File_BlockInternetAccess2(proc, File_Nsi, 0);
|
ok = File_BlockInternetAccess2(proc, File_Nsi, 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue