All of lore.kernel.org
 help / color / mirror / Atom feed
From: "dimitri borjac" <dimitri_borjac@hotmail.com>
To: hno@marasystems.com
Cc: netfilter-devel@lists.netfilter.org
Subject: RE: iptables and SPI...
Date: Fri, 31 Oct 2003 18:07:08 +0000	[thread overview]
Message-ID: <Law10-F5700goZolmRB000000bb@hotmail.com> (raw)


>  -----Message d'origine-----
>  De : Henrik Nordstrom [mailto:hno@marasystems.com]
>  Envoyé : vendredi 31 octobre 2003 18:42
>  À : dimitri borjac
>  Cc : laforge@netfilter.org; netfilter-devel@lists.netfilter.org
>  Objet : RE: iptables and SPI...
>    On Fri, 31 Oct 2003, dimitri borjac wrote:
>   > what i'm trying to do is to perform NAT based on 
>IP_addresses/Ports/SPIs.
>   Why not simply using a IP-Sec implementation supporting the  
>NAT-Transversal standard?
>   IP-Sec is generally not very happy about being NAT:ed. For examle AH is
>  totally incompatible with NAT (unless using the NAT-Transversal 
>standard).
>   Regards
>  Henrik

Just because I don't want to be compelled to use NAT-Traversal :)

And the only solution in this case is to NAT using the SPI... indeed by 
default AH is not compatible with NAT, and neither is ESP in transport mode, 
but ESP in tunnel mode supports the NAT (since the whole encrypted IP packet 
is encapsulated in a new IP header).

The only problem then (with ESP in tunnel mode) is for the local gateway : 
it has to know who the encrypted packet coming back to the local network is 
destinated to... that's where the SPI is helpful.

So the problem is still there... is it possible to extend the NAT functions 
of iptables in order to make the local gateway read and use the SPI for 
NATting packets ?

Regards,
dimo

_________________________________________________________________
Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551

             reply	other threads:[~2003-10-31 18:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-31 18:07 dimitri borjac [this message]
2003-10-31 22:01 ` iptables and SPI Henrik Nordstrom
  -- strict thread matches above, loose matches on Subject: below --
2003-10-31 15:32 dimitri borjac
2003-10-31 17:41 ` Henrik Nordstrom
2003-11-02 15:06 ` Harald Welte
2003-10-22 16:44 dimitri borjac
2003-10-31 14:47 ` Harald Welte
2003-10-22 13:26 dimitri borjac
2003-10-22 13:50 ` Julian Gomez

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=Law10-F5700goZolmRB000000bb@hotmail.com \
    --to=dimitri_borjac@hotmail.com \
    --cc=hno@marasystems.com \
    --cc=netfilter-devel@lists.netfilter.org \
    /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.