X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2Fpvefw-logger.c;h=f76250516b92b61fc650c26f743520f024c74591;hp=3dc40eb527701f7dc76432c3c1fada9f2507ec24;hb=2a2b81b41434c232084e39db9f401bd5435d94cf;hpb=0dc6e6387e38d51f07b57fdb3ddcf45d24ee92d8 diff --git a/src/pvefw-logger.c b/src/pvefw-logger.c index 3dc40eb..f762505 100644 --- a/src/pvefw-logger.c +++ b/src/pvefw-logger.c @@ -1,6 +1,6 @@ /* - Copyright (C) 2014 Proxmox Server Solutions GmbH + Copyright (C) 2014 - 2021 Proxmox Server Solutions GmbH This software is written by Proxmox Server Solutions GmbH @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include @@ -53,16 +54,18 @@ static struct nflog_handle *logh = NULL; static struct nlif_handle *nlifh = NULL; +static struct nfct_handle *nfcth = NULL; GMainLoop *main_loop; gboolean foreground = FALSE; gboolean debug = FALSE; +gboolean conntrack = FALSE; /* LOG FORMAT: -Special care was taken to allow fast parsing (and filer messages for a singl VM). +Special care was taken to allow fast parsing and filering messages for a single VM.