All of lore.kernel.org
 help / color / mirror / Atom feed
* How to test the kernel netfilter logic?
@ 2020-05-25  8:37 Konstantin Khorenko
  2020-05-25 12:50 ` Stefano Brivio
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Khorenko @ 2020-05-25  8:37 UTC (permalink / raw)
  To: netfilter-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-26  9:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-25  8:37 How to test the kernel netfilter logic? Konstantin Khorenko
2020-05-25 12:50 ` Stefano Brivio
2020-05-25 14:00   ` Konstantin Khorenko
2020-05-25 23:12     ` Stefano Brivio
2020-05-26  9:03       ` Konstantin Khorenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.