X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2Fpvefw-logger.c;h=f76250516b92b61fc650c26f743520f024c74591;hp=044a18ac2e2091f382bdc07f011afb786b94a013;hb=2a2b81b41434c232084e39db9f401bd5435d94cf;hpb=9da3465c8ae0a93398ccae6d719c031349978bef diff --git a/src/pvefw-logger.c b/src/pvefw-logger.c index 044a18a..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 @@ -29,7 +29,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -39,48 +40,62 @@ #include #include #include +#include #include #include +#include +#include #include #include #include #include #include -#include 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. -