fix arptables rotation
parent
f1bae66b9d
commit
1801550b7f
|
@ -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}"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue