Re: How to test the kernel netfilter logic?

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

 



On 05/25/2020 03:50 PM, Stefano Brivio wrote:
Hi Konstantin,

On Mon, 25 May 2020 11:37:57 +0300
Konstantin Khorenko <khorenko@xxxxxxxxxxxxx> wrote:

but did not find netfilter tests in kernel git repo as well.

Have a look at tools/testing/selftests/netfilter/, some of the tests
there actually send traffic and check the outcome.

Hi Stefano,

thank you very much for the answer!

Yes, you are right, i know about that place, i just thought it's just for "smoke" testing:
"iptables" and "nftables" repos have many more testcases (for add/del rules),
so i thought there is some additional place with similar very detailed tests for kernel part.

If not, well, it's great we have a least those! :)

Have a nice day!

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux