How to test the kernel netfilter logic?

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

 



Hello,

are there any tests for netfilter kernel logic?

i've taken a look at iptables and nftables repo,
there are a lot of tests, but all of them (if i see correctly)
are about loading/unloading rules, chains, etc,
but not actually checking that those rules work properly.

i mean i did not find tests which configure some rules,
then send traffic and check if the traffic is changed by the rule
in the expected way.

i understand that this is not userspace's work to process the traffic,
so i'd expect the tests somehow are bound to the kernel,
but did not find netfilter tests in kernel git repo as well.

Can you please help me?

Thank you in advance!

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team



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

  Powered by Linux