[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 03149) Re: [Ipsec-tools-devel] Issues on calling racoon in Linux kernel 2.6
- To: a.kasparas@xxxxxx
- Subject: (usagi-users 03149) Re: [Ipsec-tools-devel] Issues on calling racoon in Linux kernel 2.6
- From: Park Lee <parklee_sel@xxxxxxxxx>
- Date: Thu, 25 Nov 2004 06:49:50 -0800 (PST)
- Cc: ipsec-tools-devel@xxxxxxxxxxxxxxxxxxxxx, usagi-users@xxxxxxxxxxxxxx, ipsec@xxxxxxxxxxxxxxxxx
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=KdnhTyea/s6/Xb3SwZluxJDM3UX550DdZd1TQI+YFBnd8PnW4YRJ3EZKYYdz/FOTAo1NxU2mu+4mz3KWuSKAOpd7Z2qBNprbRlxZHsjBCJeiiQwqNfz2r9RItoxNKIYJxYIPnjRSGiH5vI4+4RvgnmpHtZ5hdvPG0fF8cL+kpWw= ;
- Reply-to: usagi-users@xxxxxxxxxxxxxx
- Resent-date: Fri, 26 Nov 2004 00:23:46 +0900
- Resent-from: sekiya@xxxxxxxxxxxxxx
- Resent-message-id: <200411260023.FMLAAB15170.usagi-users@linux-ipv6.org>
- Resent-to: usagi-users@xxxxxxxxxxxxxx (moderated)
On Fri, 19 Nov 2004 at 08:52, Aidas Kasparas wrote:
>
> Park Lee wrote:
> > Then, Where is the code in the source code of Linux kernel 2.6
> > to call racoon?
> > ......
>
> The code is at net/key/af_key.c . It implements PF_KEY protocol.
> Requests to establish a SA are sent to every program, which have
> open PF_KEY socket and requested to receive such requests. Basis
> for PF_KEY protocol is documented in RFC 2367, but linux kernel
> and racoon implement extended version of that spec (I don't know
> better documentation for extensions than source).
In net/key/af_key.c, there is a function pfkey_send_acquire(). I think this function is used by kernel to send the PF_KEY SADB_ACQUIRE message to racoon. But, It seems that in kernel source there is no other functions who call this one.
Then, How is pfkey_send_acquire() used by kernel? and Eventually How is the SADB_ACQUIRE message sent by kernel in IPv4 when no security associations currently exist for IPsec to use? Is it begins in the xfrm_find_bundle() function which is called by xfrm_lookup() function (in net/xfrm/xfrm_policy.c)?
Thank you.
Do you Yahoo!?
Meet the all-new My Yahoo! ? Try it today!