All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>,
	coreteam@netfilter.org, netdev@oss.sgi.com
Subject: Re: [netfilter-core] [NETFILTER] Apply IPsec to ipt_REJECT packets
Date: Tue, 23 Nov 2004 22:44:33 +0100	[thread overview]
Message-ID: <41A3AF41.4010700@trash.net> (raw)
In-Reply-To: <20041123211630.GA9805@gondor.apana.org.au>

Herbert Xu wrote:

>On Tue, Nov 23, 2004 at 07:17:36PM +0100, Patrick McHardy wrote:
>  
>
>>The patch doesn't handle tcp resets sent in response to a forwarded packet.
>>I'll send a patch later tonight.
>>    
>>
>
>Isn't that handled by ip_forward itself?
>  
>
No. ip_forward handles the original packet, not the packet generated
by ipt_REJECT. RSTs generated in NF_IP_FORWARD are routed using
ip_route_input because they have a non-local source, so xfrm_route_forward
or xfrm_lookup needs to be called for them.

Regards
Patrick

  parent reply	other threads:[~2004-11-23 21:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-23  8:42 [NETFILTER] Apply IPsec to ipt_REJECT packets Herbert Xu
2004-11-23  9:22 ` Harald Welte
2004-11-23 18:17 ` [netfilter-core] " Patrick McHardy
2004-11-23 21:16   ` Herbert Xu
2004-11-23 21:17     ` Herbert Xu
2004-11-23 21:44     ` Patrick McHardy [this message]
2004-11-23 22:19       ` Herbert Xu
     [not found]         ` <41A3E9D6.9060904@trash.net>
2004-11-24  6:27           ` Herbert Xu
2004-11-24  8:32             ` David S. Miller
     [not found]         ` <41A3CD45.4080802@trash.net>
2004-11-24  7:29           ` Harald Welte

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=41A3AF41.4010700@trash.net \
    --to=kaber@trash.net \
    --cc=coreteam@netfilter.org \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=netdev@oss.sgi.com \
    /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 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.