X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Fpvefw-logger.c;h=f4321fbb4f53a489e19f706ce7960dad257dd118;hb=9f6845cfa97dbe5e264c9d4e188a245ba3d7edf5;hp=db7a026027f0b7163507abe3964a52f8b237eabb;hpb=ba0b3a0a1eae4d40ea2cdeeea33b47ad150f4ad1;p=pve-firewall.git 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). + +