Live data from Hacker News

Entire Linux Network stack diagram (2024)

zenodo.org

11–20 of 61 posts

Re: Entire Linux Network stack diagram (2024)

#12

This place needs more of this kind of documentation. I failed to use IP tables for years. I bought books. I copied recipes from blog posts. Nothing made sense, everything I did was brittle. Until I finally found a schematic showing the flowchart of a packet through the kernel, which gives the exact order that each rule chain is applied, and where some of the sysctl values are enforced. All of a sudden, I could write…

Can you share the diagram? Would love to become iptables-enlightened.

It is time to be nftables enlightened instead.

Re: Entire Linux Network stack diagram (2024)

#13
post #12

Earlier quoted context omitted.

Can you share the diagram? Would love to become iptables-enlightened.

It is time to be nftables enlightened instead.

Similar diagram, right in nftables wiki:

https://wiki.nftables.org/wiki-nftables/index.php/Netfilter_...

Re: Entire Linux Network stack diagram (2024)

#14

This place needs more of this kind of documentation. I failed to use IP tables for years. I bought books. I copied recipes from blog posts. Nothing made sense, everything I did was brittle. Until I finally found a schematic showing the flowchart of a packet through the kernel, which gives the exact order that each rule chain is applied, and where some of the sysctl values are enforced. All of a sudden, I could write…

Can you share the diagram? Would love to become iptables-enlightened.

Besides the diagram you'll find tutorials on https://www.frozentux.net/category/linux/iptables/ too.

And at http://www.easyfwgen.morizot.net/ there's an old, but still useful generator for an iptables setup. That should help to understand iptables.

Re: Entire Linux Network stack diagram (2024)

#15
post #6

For anyone who is interested, the author of this diagram also made a Linux disk I/O diagram ( https://zenodo.org/records/15234151 ). These diagrams are from his book Operativni sustavi i računalne mreže - Linux u primjeni ( https://zenodo.org/records/17371946 ) Shout out to the brilliant and generous work of the author!

Do you know if there is a English version of the book?

Re: Entire Linux Network stack diagram (2024)

#16
post #6

For anyone who is interested, the author of this diagram also made a Linux disk I/O diagram ( https://zenodo.org/records/15234151 ). These diagrams are from his book Operativni sustavi i računalne mreže - Linux u primjeni ( https://zenodo.org/records/17371946 ) Shout out to the brilliant and generous work of the author!

Do you know if there is a English version of the book?

To my knowledge, sadly I can't find an English version of it. I'm too wishing for a future English version so that I can read it. But I guess it will be a lot of work to translate it into English.
Post reply on HN