From ba5b5a0c3e63371d482e0969edabbedb3d989c3a Mon Sep 17 00:00:00 2001 From: r-caamano Date: Tue, 2 Apr 2024 20:33:45 +0000 Subject: [PATCH] Added fix for /etc/logrotate.d/zfwlogs added su directive --- CHANGELOG.md | 6 ++++++ files/scripts/zfwlogs | 1 + src/zfw.c | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0bb617..37ad83d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). --- +# [0.5.14] - 2024-04-02 + +### + +- Fixed Added su directive to /etc/logrotate.d + # [0.5.13] - 2024-03-28 ### diff --git a/files/scripts/zfwlogs b/files/scripts/zfwlogs index 59dc7ca..e27ace4 100644 --- a/files/scripts/zfwlogs +++ b/files/scripts/zfwlogs @@ -1,4 +1,5 @@ /var/log/zfw.log { + su root root weekly maxsize 1G minsize 500M diff --git a/src/zfw.c b/src/zfw.c index 3fa185a..d42df7a 100644 --- a/src/zfw.c +++ b/src/zfw.c @@ -155,7 +155,7 @@ char *tc_interface; char *log_file_name; char *object_file; char *direction_string; -const char *argp_program_version = "0.5.13"; +const char *argp_program_version = "0.5.14"; struct ring_buffer *ring_buffer; __u8 if_list[MAX_IF_LIST_ENTRIES];