X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2Fpvefw-logger.c;h=f77f56f7f71be1e9eafa5f997639e3770e6e82aa;hp=db7a026027f0b7163507abe3964a52f8b237eabb;hb=2db2b6aa1bc60a706b0fa8172e6b71c68433f090;hpb=ba0b3a0a1eae4d40ea2cdeeea33b47ad150f4ad1 diff --git a/src/pvefw-logger.c b/src/pvefw-logger.c index db7a026..f77f56f 100644 --- a/src/pvefw-logger.c +++ b/src/pvefw-logger.c @@ -29,7 +29,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -39,31 +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). + +