netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Tech <tech@tootai.net>
Cc: Florian Westphal <fw@strlen.de>,
	Netfilter list <netfilter@vger.kernel.org>
Subject: Re: Redirect doesn't do the job as dnat does
Date: Wed, 8 Nov 2023 11:18:11 +0100	[thread overview]
Message-ID: <20231108101811.GE5721@breakpoint.cc> (raw)
In-Reply-To: <fde3f97b-c58b-400f-978a-7b4810507da3@tootai.net>

Tech <tech@tootai.net> wrote:
> > The dump was very boring, shows SYNs without any replies. redirect is
> > the same as dnat, except that redirect just takes the first address that
> > it finds on the given interface. So I'd guess that it picks an unusable
> > one, e.g. link-local. Can you post 'ip -6 addr show dev $dev" ?
> 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP
> group default qlen 1000
>     altname enp0s3
>     altname ens3
>     inet6 ::ffff:100.64.229.29/96 scope global
>        valid_lft forever preferred_lft forever
>     inet6 2a01:4f8:c0c:9e5b::1/64 scope global
>        valid_lft forever preferred_lft forever

Thanks.  Its probably pulling he mapped address
from the list.

I think we'll need to try harder.  Can you test a patch?

      reply	other threads:[~2023-11-08 10:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-05 14:58 Redirect doesn't do the job as dnat does Tech
2023-11-05 15:27 ` Florian Westphal
2023-11-05 15:55   ` Tech
     [not found]   ` <a7f19ab3-5fc8-4816-a403-9ae2a4b51358@tootai.net>
2023-11-08  9:33     ` Florian Westphal
2023-11-08  9:47       ` Tech
2023-11-08 10:18         ` Florian Westphal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231108101811.GE5721@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=netfilter@vger.kernel.org \
    --cc=tech@tootai.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).