luci-mod-status: handle ct helpers in nftables
authorPaul Donald <[email protected]>
Wed, 15 Oct 2025 13:23:19 +0000 (15:23 +0200)
committerPaul Donald <[email protected]>
Wed, 15 Oct 2025 13:23:22 +0000 (15:23 +0200)
commit3ed815fe4a313d33d20ada59cfb17129fbf217ef
tree4df2f00cd889b5d78a1250d1dd397d4e0d34d5c6
parent45a3a476b6ad741fc4f3f780573631e1b2d34f9a
luci-mod-status: handle ct helpers in nftables

These appear when modules such as the following are installed:
-kmod-nf-nathelper
-kmod-nf-nathelper-extra

They render as e.g.:

 Utilise *ftp* conntrack helper

when fw4 rules similar to the following exist

```
table inet fw4 {
        chain helper_lan {
                tcp dport 21 ct helper set "ftp" comment "!fw4: FTP passive connection tracking"
        }
}
```

ht @dave14305 for the working code diff

Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/nftables.js