Commit 409f4a2
committed
portmap: ensure nftables backend only intercept local traffic
This aligns the behavior with the iptables backend.
Implicit chain was introduced in
- kernel 5.9: d0e2c7de92c7 ("netfilter: nf_tables: add NFT_CHAIN_BINDING")
- nftables 0.9.7
https://git.netfilter.org/nftables/commit/?id=c330152b7f7779f15dba3e0862bf5616e7cb3eab
https://lwn.net/Articles/835364/
Fixes 9296c5f
Fixes 01a94e1
Signed-off-by: Etienne Champetier <[email protected]>1 parent 372953d commit 409f4a2
File tree
2 files changed
+13
-24
lines changed- plugins/meta/portmap
2 files changed
+13
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
134 | 131 | | |
135 | 132 | | |
136 | 133 | | |
| |||
143 | 140 | | |
144 | 141 | | |
145 | 142 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | 143 | | |
154 | 144 | | |
155 | 145 | | |
156 | 146 | | |
157 | 147 | | |
158 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
159 | 152 | | |
160 | 153 | | |
161 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
| 96 | + | |
| 97 | + | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
| |||
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 122 | + | |
| 123 | + | |
128 | 124 | | |
129 | 125 | | |
130 | 126 | | |
| |||
0 commit comments