/
githubmirror
/
nftables
Обзор
Документация
Войти
/
githubmirror
/
nftables
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
integration/testdata/add_flowtables.nft
18 строк
562 B
Antonio Ojea
Add integration tests for nftables package
15 янв 2025, 14:42
15 янв 2025, 14:42
c9a67cc
Код
Авторство
О чём код?
table inet test-table { set test-set { type ifname elements = { "dummy0" } } flowtable test-flowtable { hook ingress priority filter + 5 devices = { dummy0 } } chain test-chain { type filter hook forward priority mangle; policy accept; iifname != @test-set return oifname != @test-set return ct state established ct packets > 20 flow add @test-flowtable counter packets 0 bytes 0 } }