firewalld-0.3.5

Michael Biebl mbiebl at gmail.com
Tue Oct 1 00:03:08 UTC 2013


2013/10/1 Michael Biebl <mbiebl at gmail.com>:
> 2013/10/1 Michael Biebl <mbiebl at gmail.com>:
>> Maybe there is a more robust way, to check if the kernel supports IPv6
>> NAT, like "grep -q nf_nat_ipv6 /proc/kallsyms" ?
>
> What about a patch like the one attached?

Since grepping /proc/kallsyms doesn't autoload the  nf_nat_ipv6 kernel
module, I've reworked the patch to simply use "ip6tables -t nat -L"
and then check the return code.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-IPv6-NAT-check.patch
Type: application/octet-stream
Size: 982 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/firewalld-devel/attachments/20131001/becfdaec/attachment.obj>


More information about the firewalld-devel mailing list