* [nft PATCH] doc: document add chain device parameter
@ 2023-08-02 18:29 Brennan Paciorek
2023-08-03 7:45 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Brennan Paciorek @ 2023-08-02 18:29 UTC (permalink / raw)
To: netfilter-devel; +Cc: Brennan Paciorek, Phil Sutter
nft add chain lacked documentation of its optional device parameter,
specifically what values the parameter accepted, what it did and
when to use it.
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1093
Suggested-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Brennan Paciorek <bpaciore@redhat.com>
---
doc/nft.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/doc/nft.txt b/doc/nft.txt
index fe123d04..7e47ca39 100644
--- a/doc/nft.txt
+++ b/doc/nft.txt
@@ -434,6 +434,11 @@ further quirks worth noticing:
*prerouting*, *input*, *forward*, *output*, *postrouting* and this *ingress*
hook.
+The *device* parameter accepts a network interface name as a string, and is
+required when adding a base chain that filters traffic on the ingress or
+egress hooks. Any ingress or egress chains will only filter traffic from the
+interface specified in the *device* parameter.
+
The *priority* parameter accepts a signed integer value or a standard priority
name which specifies the order in which chains with the same *hook* value are
traversed. The ordering is ascending, i.e. lower priority values have precedence
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [nft PATCH] doc: document add chain device parameter
2023-08-02 18:29 [nft PATCH] doc: document add chain device parameter Brennan Paciorek
@ 2023-08-03 7:45 ` Pablo Neira Ayuso
0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2023-08-03 7:45 UTC (permalink / raw)
To: Brennan Paciorek; +Cc: netfilter-devel, Phil Sutter
On Wed, Aug 02, 2023 at 02:29:47PM -0400, Brennan Paciorek wrote:
> nft add chain lacked documentation of its optional device parameter,
> specifically what values the parameter accepted, what it did and
> when to use it.
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-03 7:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-02 18:29 [nft PATCH] doc: document add chain device parameter Brennan Paciorek
2023-08-03 7:45 ` Pablo Neira Ayuso
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.