X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=src%2Fpvefw-logger.c;h=578d1aaebf482ecee01114c1edd4c44e79758586;hp=db7a026027f0b7163507abe3964a52f8b237eabb;hb=b4366f0078a37b8542dbeca999dc39cbd4a00f7f;hpb=ba0b3a0a1eae4d40ea2cdeeea33b47ad150f4ad1 diff --git a/src/pvefw-logger.c b/src/pvefw-logger.c index db7a026..578d1aa 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). + +