Re: ipt_LOG: No space after prefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 2012-01-22 13:54, Richard Weinberger wrote:

>Hi!
>
>Is there no space after prefix for specific reason?
>ipt_log_packet() is using this format string:
>"<%d>%sIN=%s OUT=%s "
>
>Using a prefix leads to a broken log entry like this one (prefix is "foo"):
>"fooIN=eth0 OUT= ..."
>I'm sure this breaks log analyzers.

Changing it now will break log analyzers as well. So you are better off 
leaving it as-is, because everybody who has observed that before you 
already knows about it.
(Also consider --log-prefix "", in which case I would not want to have 
a space.)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux