From bd0577e7ed9f603abe55e3af3d0d83eeccb66767 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Thu, 12 Jul 2018 19:16:37 +0000 Subject: [PATCH] - fix logformat, damn thing has length limit --- shorewall-logging.patch | 4 ++-- shorewall.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shorewall-logging.patch b/shorewall-logging.patch index ef81397..73ba3be 100644 --- a/shorewall-logging.patch +++ b/shorewall-logging.patch @@ -9,7 +9,7 @@ diff -ur shorewall-5.2.0.4.orig/shorewall-5.2.0.4/configfiles/shorewall.conf sho +LOGFILE=/var/log/shorewall -LOGFORMAT="%s %s " -+LOGFORMAT="Shorewall: %s %s " ++LOGFORMAT="Shorewall:%s:%s " LOGTAGONLY=No @@ -95,7 +95,7 @@ diff -ur shorewall-5.2.0.4.orig/shorewall6-5.2.0.4/configfiles/shorewall6.conf s +LOGFILE=/var/log/shorewall -LOGFORMAT="%s %s " -+LOGFORMAT="Shorewall: %s %s " ++LOGFORMAT="Shorewall:%s:%s " LOGLIMIT="s:1/sec:10" diff --git a/shorewall.spec b/shorewall.spec index 70c3538..99c0620 100644 --- a/shorewall.spec +++ b/shorewall.spec @@ -7,7 +7,7 @@ Summary: Shoreline Firewall - an iptables-based firewall for Linux systems Summary(pl.UTF-8): Shoreline Firewall - zapora sieciowa oparta na iptables Name: shorewall Version: 5.2.0.4 -Release: 3 +Release: 4 License: GPL Group: Networking/Utilities Source0: http://www.shorewall.net/pub/shorewall/5.2/shorewall-5.2.0/%{name}-%{version}.tar.bz2 -- 2.44.0