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 19:17:36 +0100	[thread overview]
Message-ID: <41A37EC0.8010901@trash.net> (raw)
In-Reply-To: <20041123084225.GA3514@gondor.apana.org.au>

Herbert Xu wrote:

>Hi:
>
>I found out today that packets generated by ipt_REJECT weren't protected
>by IPsec.  This is because the proto field isn't set at all in the flow
>supplied to ip_route_output_key.
>
>The following patch sets that as well as protocol-specific fields so
>that the appropriate IPsec policy can be applied.
>  
>

The patch doesn't handle tcp resets sent in response to a forwarded packet.
I'll send a patch later tonight.

Regards
Patrick

  parent reply	other threads:[~2004-11-23 18:17 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 ` Patrick McHardy [this message]
2004-11-23 21:16   ` [netfilter-core] " Herbert Xu
2004-11-23 21:17     ` Herbert Xu
2004-11-23 21:44     ` Patrick McHardy
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=41A37EC0.8010901@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.