[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: isakmpd question



"Jack Xiao" <jack_xiao99@hotmail.com> moved upon the face of the 'Net and spake thusly:

> Hi Group,
>
> I am doing some debug work on isakmpd and not clear about what's in iov[]
> during pf_key_v2_read() and pf_key_v2_write(). Anyone who can give me a
> detail explanation will be appreciated.

There's an increasingly-outdated internet draft on the format of
PF_KEY protocol family messages.

The best source of information is the kernel header file
"sys/net/pfkeyv2.h".   All the structures are defined there.

Here is a program that lets you spy on the messages sent between
isakmpd and the kernel, analogous to tcpdump but for PF_KEY traffic:

        <http://pobox.com/~listjunkie/keydump.tar.gz>

--cjb