Try   HackMD

計算機網路 - Linux Network Stack

這個附錄中的標題與編排架構,本來是用 Jiri Benc 的經典演講 The Network Packet's Diary: A Kernel Journey 中的架構作為編排,不同標題對應該演講中的不同片段。他本人在 2020 年的 What is eating my traffic? Packet thieves revealed 可以視為這個演講的補充。裡面除了講解之外,還補充了相關的命令列工具。

Netfilter 維基百科條目的圖:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

不過大致上來說,可以簡化為下面這幾個階段:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

(圖片來源)

參考影片

Mastering Linux Networking: An Introduction to Linux Administration Essentials - Goutam Verma

常用的網管工具介紹,可以作為 user space 的入門資料。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Jiri Benc: The Network Packet's Diary: A Kernel Journey

這個附錄的主要架構。注意像是 NAPI 或 GRO、GSO 這些主題放在最後面才介紹。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

What is eating my traffic? Packet thieves revealed - DevConf CZ 2020

可以視為是 Jiri BencThe Network Packet's Diary: A Kernel Journey 的現代版補充。裡面介紹了像是 ethtooltcip 這些命令列工具以及 XDP 在整個 network stack 中的角色。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Submit feedback DoS and DDoS mitigations with eBPF, XDP and DPDK - Marian Marinov

17:27 開始

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Modern Linux Networking: An Update for 2020 (Adam Kalisz)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

"Learning about slightly more advanced networking with linux" - Paul Warren (LCA 2022 Online)

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →