Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revizePředchozí verzeNásledující verze | Předchozí verze | ||
howto:network:nftables [2018/11/28 22:05] – harvie | howto:network:nftables [2018/11/28 23:08] (aktuální) – harvie | ||
---|---|---|---|
Řádek 2: | Řádek 2: | ||
===== Traffic Shaping with nftables and tc ===== | ===== Traffic Shaping with nftables and tc ===== | ||
+ | |||
+ | Using shell commands: | ||
<code bash> | <code bash> | ||
Řádek 7: | Řádek 9: | ||
nft add map filter deucalion { type ipv4_addr : classid\; } | nft add map filter deucalion { type ipv4_addr : classid\; } | ||
</ | </ | ||
+ | |||
+ | Using nftables file: | ||
<file ini deucalion.nft> | <file ini deucalion.nft> | ||
Řádek 25: | Řádek 29: | ||
==== Patch ==== | ==== Patch ==== | ||
- | This patch is already merged upstream: | + | This patch is already merged upstream |
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | |||
+ | You need it if nft shows this error: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | add map filter deucalion { type ipv4_addr : classid; } | ||
+ | ^^^^^^^ | ||
+ | < | ||
+ | add map filter deucalion { type ipv4_addr : classid; } | ||
+ | | ||
+ | </ | ||
<file diff nft-classid.patch> | <file diff nft-classid.patch> |