小编rda*_*rda的帖子

IFB设备在Linux内核的数据包流中是如何定位的

我想知道以下设备在用于入口流量整形的数据包流中的确切位置

  • IFB:中间功能块

我想更好地了解数据包如何流向该设备,以及何时发生这种情况,以了解可以使用以下哪些过滤/分类方法:

  • tc filter ... u32 ...
  • iptables ... -j MARK --set-mark ...
  • iptables ... -j CLASSIFY --set-class ...

似乎很难找到关于这个主题的文档,任何可以找到官方文档的帮助也将不胜感激。

据我所知文档:

从已知的文档中,我解释了以下内容:

基本流量控制

figure 1
+-------+                 +------+
|ingress|   +---------+   |egress|
|qdisc  +--->netfilter+--->qdisc |
|eth0   |   +---------+   |eth0  |
+-------+                 +------+
Run Code Online (Sandbox Code Playgroud)

国际金融局?

tc filter add dev eth0 parent ffff: protocol all u32 match u32 0 0 …

iptables tc linux-kernel netfilter

6
推荐指数
1
解决办法
9167
查看次数

标签 统计

iptables ×1

linux-kernel ×1

netfilter ×1

tc ×1