X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2Fpvefw-logger.c;h=f4321fbb4f53a489e19f706ce7960dad257dd118;hp=db7a026027f0b7163507abe3964a52f8b237eabb;hb=3bce273b66ebea7898c4cfe0af38c4278054c57c;hpb=ba0b3a0a1eae4d40ea2cdeeea33b47ad150f4ad1;ds=sidebyside diff --git a/src/pvefw-logger.c b/src/pvefw-logger.c index db7a026..f4321fb 100644 --- a/src/pvefw-logger.c +++ b/src/pvefw-logger.c @@ -29,7 +29,8 @@ #include #include #include -#include +#include +#include #include #include #include @@ -44,12 +45,30 @@ #include #include #include +#include #include -#include static struct nflog_handle *logh = NULL; static struct nlif_handle *nlifh = NULL; +GMainLoop *main_loop; + +gboolean foreground = FALSE; +gboolean debug = FALSE; + +/* + +LOG FORMAT: + +Special care was taken to allow fast parsing (and filer messages for a singl VM). + +