All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iptables] doc: Note REDIRECT case of no IP address
@ 2019-08-20 20:26 Joseph C. Sible
  2019-08-21 10:13 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph C. Sible @ 2019-08-20 20:26 UTC (permalink / raw)
  To: netfilter-devel

If an IP packet comes in on an interface that lacks a corresponding IP
address (which happens on, e.g., the veth's that Project Calico creates),
attempting to use REDIRECT on it will cause it to be dropped. Take note
of this in REDIRECT's documentation.

Signed-off-by: Joseph C. Sible <josephcsible@gmail.com>
---
 extensions/libxt_REDIRECT.man | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extensions/libxt_REDIRECT.man b/extensions/libxt_REDIRECT.man
index 3400a6d..28d4d10 100644
--- a/extensions/libxt_REDIRECT.man
+++ b/extensions/libxt_REDIRECT.man
@@ -8,7 +8,8 @@ chains, and user-defined chains which are only called from those
 chains.  It redirects the packet to the machine itself by changing the
 destination IP to the primary address of the incoming interface
 (locally-generated packets are mapped to the localhost address,
-127.0.0.1 for IPv4 and ::1 for IPv6).
+127.0.0.1 for IPv4 and ::1 for IPv6, and packets arriving on
+interfaces that don't have an IP address configured are dropped).
 .TP
 \fB\-\-to\-ports\fP \fIport\fP[\fB\-\fP\fIport\fP]
 This specifies a destination port or range of ports to use: without
--
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH iptables] doc: Note REDIRECT case of no IP address
  2019-08-20 20:26 [PATCH iptables] doc: Note REDIRECT case of no IP address Joseph C. Sible
@ 2019-08-21 10:13 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2019-08-21 10:13 UTC (permalink / raw)
  To: Joseph C. Sible; +Cc: netfilter-devel

On Tue, Aug 20, 2019 at 04:26:25PM -0400, Joseph C. Sible wrote:
> If an IP packet comes in on an interface that lacks a corresponding IP
> address (which happens on, e.g., the veth's that Project Calico creates),
> attempting to use REDIRECT on it will cause it to be dropped. Take note
> of this in REDIRECT's documentation.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-21 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-20 20:26 [PATCH iptables] doc: Note REDIRECT case of no IP address Joseph C. Sible
2019-08-21 10:13 ` 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.