fix arptables rotation

master
vuko 2020-10-28 11:30:41 +01:00
parent f1bae66b9d
commit 1801550b7f
1 changed files with 3 additions and 3 deletions

View File

@ -159,8 +159,7 @@ in {
# Allow all outgoing connections.
chain output {
type filter hook output priority 0;
accept;
type filter hook output priority 0; policy accept;
}
chain forward {
@ -294,6 +293,7 @@ in {
f=/var/log/arptables/$(date "+%s").log
cp /var/log/arptables/arptables.log $f
gzip -9 $f
rm /var/log/arptables/arptables.log
fi
ip neigh >> /var/log/arptables/arptables.log
@ -302,7 +302,7 @@ in {
in {
enable = true;
systemCronJobs = [
"21 * * * * root ${log-neigh}"
"*/5 * * * * root ${log-neigh}"
];
};