Re: ip6tables-save LOG target output is different to iptables-save

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

 



Hi Phil,

It is not a huge issue, it is just inconsistent.

ip6tables-save will always quote the prefix string and iptables-save
will sometimes quote the prefix string.

It just makes it a little bit harder to parse the output , because
both tools should produce the same output
wherever possible in my opinion.

Regards,

Scott.

On Sat, Jul 6, 2013 at 2:41 PM, Phil Oester <kernel@xxxxxxxxxxxx> wrote:
> On Sat, Jul 06, 2013 at 01:42:00PM +1000, Scott Baillie wrote:
>> Hi All,
>>
>> I am using  ip6tables-save  version  v1.4.14 and have noticed
>> that the output of the LOG target is different to the output from
>> iptables-save  version  v1.4.14.
>
> Yes, quotes are not included if there is no whitespace, but it is
> quoted if whitespace is present:
>
> -A INPUT -s 1.2.3.4/32 -j LOG --log-prefix "foo doo"
> -A INPUT -s 1.2.3.4/32 -j LOG --log-prefix foo
>
> Is this an issue?
>
> Phil
--
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