What's new

block or redirect (Logged packets type) log entries .

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

faria

Senior Member
Hi guys , due to my setup i must leave the Logged packets type in the firewall to "accept or All" this of course spams the log file like hell with "Logged packets type entries"
Is there a way of blocking them appearing or redirecting them to a custom log file?
I m already doing something similar for cron jobs but i dont know how to set up the above.
killall crond
crond -L /mnt/asus32/Logs/cron-log.txt



Any help would be appreciated.

Thanks
 
Hi guys , due to my setup i must leave the Logged packets type in the firewall to "accept or All" this of course spams the log file like hell with "Logged packets type entries"
Is there a way of blocking them appearing or redirecting them to a custom log file?
I m already doing something similar for cron jobs but i dont know how to set up the above.
killall crond
crond -L /mnt/asus32/Logs/cron-log.txt



Any help would be appreciated.

Thanks

You could remove the logging rule entirely from IPTables in the firewall-start script, but if anything depends on the this output that may not be a solution for you.
 
You could remove the logging rule entirely from IPTables in the firewall-start script, but if anything depends on the this output that may not be a solution for you.
Hi Adamm , im afraid i know little about ip tables, i noticed that your skynet script takes care of "drop" entries in the logs, Perhaps something similar for the "accept " rule could do the trick?
 
Hi Adamm , im afraid i know little about ip tables, i noticed that your skynet script takes care of "drop" entries in the logs, Perhaps something similar for the "accept " rule could do the trick?


iptables -D logaccept -m state --state NEW -j LOG --log-prefix "ACCEPT " --log-tcp-sequence --log-tcp-options --log-ip-options
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top