mirror of
https://github.com/bol-van/zapret.git
synced 2025-08-10 01:02:03 +03:00
nfqws: detect Discord Voice IP Discovery packets
This commit is contained in:
@@ -234,6 +234,12 @@ bool dp_fake_defaults(struct desync_profile *dp)
|
||||
return false;
|
||||
memset(item->data,0,item->size);
|
||||
}
|
||||
if (blob_collection_empty(&dp->fake_discord))
|
||||
{
|
||||
if (!(item=blob_collection_add_blob(&dp->fake_discord,NULL,64,0)))
|
||||
return false;
|
||||
memset(item->data,0,item->size);
|
||||
}
|
||||
if (blob_collection_empty(&dp->fake_unknown_udp))
|
||||
{
|
||||
if (!(item=blob_collection_add_blob(&dp->fake_unknown_udp,NULL,64,0)))
|
||||
@@ -276,6 +282,7 @@ static void dp_clear_dynamic(struct desync_profile *dp)
|
||||
blob_collection_destroy(&dp->fake_quic);
|
||||
blob_collection_destroy(&dp->fake_wg);
|
||||
blob_collection_destroy(&dp->fake_dht);
|
||||
blob_collection_destroy(&dp->fake_discord);
|
||||
HostFailPoolDestroy(&dp->hostlist_auto_fail_counters);
|
||||
}
|
||||
void dp_clear(struct desync_profile *dp)
|
||||
|
Reference in New Issue
Block a user