From: Stephen Frost <sfrost@snowman.net>
To: netdev@oss.sgi.com
Subject: [IPSEC] Too many SADs!
Date: Mon, 21 Mar 2005 09:52:23 -0500 [thread overview]
Message-ID: <20050321145223.GA5834@ns.snowman.net> (raw)
Greetings,
This seems to be the right place for Linux 2.6 ipsec issues:
Linux 2.6.10 + Virtual Server 1.9.4 + Patrick's IPSEC Netfilter patches
i386 & amd64 (same source for both)
Debian Racoon & ipsec-tools 0.5-4
Setting policies using setkey (not using racoon-tool)
Using both transport and tunnels
Problem:
===# setkey -D | grep '^[0-9]' | wc -l
recv: Resource temporarily unavailable
443
===# setkey -D | grep mature | wc -l
recv: Resource temporarily unavailable
443
===# setkey -D | grep tunnel | wc -l
recv: Resource temporarily unavailable
18
===# setkey -D | grep transport | wc -l
recv: Resource temporarily unavailable
425
===# ps auwx | grep racoon
root 17722 3.8 2.0 178268 168252 ? Ss Mar20 28:39 /usr/sbin/racoon
===# setkey -D -P | grep '^[0-9]' | wc -l
34
===# setkey -D -P | grep transport | wc -l
20
===# setkey -D -P | grep tunnel | wc -l
14
I've seen the number of tunnel SADs go up a bunch too on another
machine. I see that there's been some changes in 2.6.11.3 (or so?)
wrt IPSEC and __xfrm_state_find_acq_byseq(), would that likely fix
this problem? I don't tend to use /unique:x but rather /require; in
my policies, would changing that fix this? I had originally been
using a /24 for my transport policy and thought changing that to be a
bunch of /32 policies for the specific machines I'm talking to would
help- it didn't.
Occationally (generally when I first get ipsec going between a couple
machines) I see pmtu problems which kill that ssh, but after that it
works. Not a big deal but I see alot of MTU discussion and patches,
is that expected to be in 2.6.12?
Thanks for any help,
Stephen
next reply other threads:[~2005-03-21 14:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-21 14:52 Stephen Frost [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-21 23:52 [IPSEC] Too many SADs! Wolfgang Walter
2005-03-22 16:59 ` Stephen Frost
2005-03-22 18:46 ` Michael Richardson
2005-03-22 19:11 ` Stephen Frost
2005-03-22 22:48 ` Scott Mcdermott
2005-03-23 0:33 ` Stephen Frost
2005-03-23 5:55 ` Scott Mcdermott
2005-03-28 13:33 ` Stephen Frost
2005-03-23 8:30 ` jean-mickael guerin
2005-03-23 9:57 ` KOVACS Krisztian
2005-03-23 18:15 ` Wolfgang Walter
2005-03-23 12:20 Wolfgang Walter
2005-03-23 12:22 Wolfgang Walter
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=20050321145223.GA5834@ns.snowman.net \
--to=sfrost@snowman.net \
--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).