This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Modifying iptables log-prefix

Is there a way to modify the --log-prefix setting in Astaro 6.1 to change "DROP" to something else. I have some logging/report tools that require a different prefixr


This thread was automatically locked due to age.
Parents Reply
  • OK. I can think of a few ways to do this without modifying any code on ASL.

    1. modify the syslog-ng configuration on ASL to add IPTABLES to the logs. (this could void your ASL support)

    2. use a remote syslog server, and have it change the log prefix? (OK by Astaro)

    3. use [sed|perl|whatever] to modify the log files before processing them.
    This would be trivial. e.g.
    sed 's/DROP/IPTABLES DROP/g' INPUTFILE > OUTPUTFILE

    Barry
Children