* [IPSEC] RFC 4301 PFP Support
@ 2007-12-11 21:34 Tyler Hicks
2007-12-12 1:52 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Tyler Hicks @ 2007-12-11 21:34 UTC (permalink / raw)
To: netdev; +Cc: latten, herbert, davem
I'm working on adding populate from packet (PFP) support to the kernel,
as specified in RFC 4301. While testing with openswan (2.4.9), I
noticed that the state selector values in the SAD were empty. It seems
that when openswan sends a ALLOCSPI message, the kernel finds the larval
xfrm_state with selector fields filled in and passes it to openswan.
Openswan will then respond with an UPDSA message that includes an
xfrm_usersa_info that has empty selector values. The kernel assumes
that these selector values are valid and deletes the larval SA and
inserts the new SA containing empty selectors. We need SAs with valid
selectors in the SAD in order to implement PFP support.
Should we just use the larval selectors or should we assume that
openswan will begin to send valid selectors? I asked for the openswan
dev's opinions and they referred me to Herbert Xu. It seems as though
the correct solution would be for openswan to pass valid selectors in
UPDSA messages, even if it is the larval selectors we gave them.
On a side note, Joy Latten has reported to see the same behavior while
using ipsec-tools.
Thanks!
Tyler Hicks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-12 1:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-11 21:34 [IPSEC] RFC 4301 PFP Support Tyler Hicks
2007-12-12 1:52 ` Herbert Xu
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).