netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bert hubert <ahu@ds9a.nl>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: netdev@oss.sgi.com
Subject: Re: (udp-en/decap broken in 2.6.8-rc2?) Re: ipsec, nat-t, iproute2?
Date: Sat, 31 Jul 2004 14:18:28 +0200	[thread overview]
Message-ID: <20040731121828.GA29497@outpost.ds9a.nl> (raw)
In-Reply-To: <20040731115230.GA18537@gondor.apana.org.au>

[-- Attachment #1: Type: text/plain, Size: 661 bytes --]

On Sat, Jul 31, 2004 at 09:52:30PM +1000, Herbert Xu wrote:
> On Sat, Jul 31, 2004 at 01:20:49PM +0200, bert hubert wrote:
> > 
> > setsockopt(3, SOL_UDP, 100, [1], 4)     = 0
> 
> You chose NON_IKE.

I've tried it both ways, both don't work. I should have mentioned that.

I've attached the code that tries to setup the receiving end so things work.
It is in c++, I hope that does not offend too many people.

g++ udpencap.cc -o udpencap

You can strace it to see what it is doing in any case.

Thanks again.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

[-- Attachment #2: udpencap.tar.gz --]
[-- Type: application/octet-stream, Size: 3209 bytes --]

  reply	other threads:[~2004-07-31 12:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-30 17:07 ipsec, nat-t, iproute2? bert hubert
2004-07-30 18:12 ` bert hubert
2004-07-30 18:55 ` James Morris
2004-07-30 22:38   ` (udp-en/decap broken in 2.6.8-rc2?) " bert hubert
2004-07-31  7:50     ` Herbert Xu
2004-07-31  8:34       ` bert hubert
2004-07-31 10:32         ` Herbert Xu
2004-07-31 11:20           ` bert hubert
2004-07-31 11:52             ` Herbert Xu
2004-07-31 12:18               ` bert hubert [this message]
2004-07-31 13:08                 ` [IPSEC PATCH] missing break in UDP decap code " bert hubert
2004-07-31 19:32                   ` Herbert Xu
2004-08-01  6:53                     ` David S. Miller

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=20040731121828.GA29497@outpost.ds9a.nl \
    --to=ahu@ds9a.nl \
    --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 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 NNTP newsgroup(s).