X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2Fpvefw-logger.c;h=b082f1e1b67992bde996969e70ab6c38d3d672bf;hp=2bd869c4afa86f36e92b5d0bd1938c4c89affd97;hb=HEAD;hpb=dc4b58b5c626d71e789ab6d21cc1ae68417c6efa diff --git a/src/pvefw-logger.c b/src/pvefw-logger.c index 2bd869c..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.