]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables.8: mention that iptables exits when setuid
authorFlorian Westphal <fw@strlen.de>
Fri, 17 Jun 2022 21:34:52 +0000 (23:34 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 17 Jun 2022 21:35:32 +0000 (23:35 +0200)
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables/iptables.8.in

index 627ff0e4da7a4a324250cef3e922b91ed12e25c3..f81c632f2be866b5ba45873161519513b553c041 100644 (file)
@@ -417,6 +417,11 @@ other errors cause an exit code of 1.
 .SH BUGS
 Bugs?  What's this? ;-)
 Well, you might want to have a look at http://bugzilla.netfilter.org/
+\fBiptables\fP will exit immediately with an error code of 111 if it finds
+that it was called as a setuid-to-root program.
+iptables cannot be used safely in this manner because it trusts
+the shared libraries (matches, targets) loaded at run time, the search
+path can be set using environment variables.
 .SH COMPATIBILITY WITH IPCHAINS
 This \fBiptables\fP
 is very similar to ipchains by Rusty Russell.  The main difference is