]> git.dujemihanovic.xyz Git - linux.git/commit
docs: tproxy: ignore non-transparent sockets in iptables
author谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Thu, 12 Sep 2024 11:59:33 +0000 (11:59 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 Sep 2024 11:03:01 +0000 (13:03 +0200)
commitaa758763be6ddcc1c500c6e4e8a15d604e8eadba
tree35085711cd304c39aeb855ef6f9d0a283daebe29
parent2cadd3b17738a9160597e17b267876d6a10b7be5
docs: tproxy: ignore non-transparent sockets in iptables

The iptables example was added in commit d2f26037a38a (netfilter: Add
documentation for tproxy, 2008-10-08), but xt_socket 'transparent'
option was added in commit a31e1ffd2231 (netfilter: xt_socket: added new
revision of the 'socket' match supporting flags, 2009-06-09).

Now add the 'transparent' option to the iptables example to ignore
non-transparent sockets, which is also consistent with the nft example.

Signed-off-by: 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Documentation/networking/tproxy.rst