mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-19 07:45:49 +00:00
nfqws2: icmp payload type for unrelated icmps
This commit is contained in:
@@ -1906,7 +1906,7 @@ static uint8_t dpi_desync_icmp_packet(
|
||||
struct sockaddr_storage src, dst;
|
||||
const char *ssid = NULL;
|
||||
struct desync_profile *dp = NULL;
|
||||
t_l7payload l7payload = L7P_UNKNOWN;
|
||||
t_l7payload l7payload = L7P_ICMP;
|
||||
t_ctrack *ctrack = NULL;
|
||||
bool bReverse, bReverseFixed;
|
||||
|
||||
@@ -1979,7 +1979,6 @@ static uint8_t dpi_desync_icmp_packet(
|
||||
const char *hostname = NULL;
|
||||
if (ctrack && ctrack->hostname)
|
||||
{
|
||||
printf("ZZZZZz4 %p\n",ctrack->hostname);
|
||||
hostname = ctrack->hostname;
|
||||
hostname_is_ip = ctrack->hostname_is_ip;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ bool l7_proto_match(t_l7proto l7proto, uint64_t filter_l7)
|
||||
|
||||
static const char *l7payload_name[] = {
|
||||
"all","unknown","empty","known",
|
||||
"ipv4","ipv6",
|
||||
"ipv4","ipv6","icmp",
|
||||
"http_req","http_reply",
|
||||
"tls_client_hello","tls_server_hello",
|
||||
"dtls_client_hello","dtls_server_hello",
|
||||
|
||||
@@ -33,6 +33,7 @@ typedef enum {
|
||||
L7P_KNOWN,
|
||||
L7P_IPV4,
|
||||
L7P_IPV6,
|
||||
L7P_ICMP,
|
||||
L7P_HTTP_REQ,
|
||||
L7P_HTTP_REPLY,
|
||||
L7P_TLS_CLIENT_HELLO,
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user