Skip to contentSkip to conversation

doc: clarify reject is supported at prerouting stage

PATCH Applied Quan Tian 2 participants 2 messages Jan 10, 2024 netfilter

lore
Share & tools
lore

Quan Tian

author
#0 lore raw

PATCH 1/1 doc: clarify reject is supported at prerouting stage

It's supported since kernel commit f53b9b0bdc59 ("netfilter: introduce support for reject at prerouting stage").

---
 doc/statements.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/statements.txt +1 -1
index 19672805..ae6442b0 100644
@@ -180,7 +180,7 @@ ____
 A reject statement is used to send back an error packet in response to the
 matched packet otherwise it is equivalent to drop so it is a terminating
 statement, ending rule traversal. This statement is only valid in base chains
-using the *input*,
+using the *prerouting*, *input*,
 *forward* or *output* hooks, and user-defined chains which are only called from
 those chains.
 
Signature · 1 line
2.38.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Quan Tian

It's supported since kernel commit f53b9b0bdc59 ("netfilter: introduce support for reject at prerouting stage").

Applied, thanks