netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFTables Internals
@ 2016-10-27 15:56 mark diener
  2016-10-27 16:29 ` Florian Westphal
  0 siblings, 1 reply; 2+ messages in thread
From: mark diener @ 2016-10-27 15:56 UTC (permalink / raw)
  To: netfilter-devel

Thanks for all the responses about the internals of NFTables

The best starter document was this:

https://workshop.netfilter.org/2016/wiki/images/7/78/Nft-tutorial.pdf

Now I just need to figure out how to interpet the "payload load 4b @
network_header + 12" nomenclature to really get a handle on things.

Any more documents or videos to understand the internals?
(Instead of hours spent looking at source code!)

Thanks,

md

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

* Re: NFTables Internals
  2016-10-27 15:56 NFTables Internals mark diener
@ 2016-10-27 16:29 ` Florian Westphal
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2016-10-27 16:29 UTC (permalink / raw)
  To: mark diener; +Cc: netfilter-devel

mark diener <rpzrpzrpz@gmail.com> wrote:
> https://workshop.netfilter.org/2016/wiki/images/7/78/Nft-tutorial.pdf
> 
> Now I just need to figure out how to interpet the "payload load 4b @
> network_header + 12" nomenclature to really get a handle on things.

It tells the payload expression to load 4 bytes, with offset 12,
realtive to network header (base).

> Any more documents or videos to understand the internals?
> (Instead of hours spent looking at source code!)

Whats your goal?

If you really want to learn the internal workings source code is indeed
best option.

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

end of thread, other threads:[~2016-10-27 16:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-27 15:56 NFTables Internals mark diener
2016-10-27 16:29 ` Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).