[Openswan dev] Debugging kernel interface in Openswan

Paul Wouters paul at xelerance.com
Tue Sep 27 11:22:03 EDT 2011

On Tue, 27 Sep 2011, SaRaVanAn wrote:

>      I want to use gdb for basic understanding of kernel interface(kernel_netlink.c) code in Openswan. My aim is to find
> 1) Which API's will be called for updating security policy database and Security association database?

Those all go via the kernel_ops structs, specific to kernel_* via kernel.c

> 2) When it will be called?

When an IKE policy change succeeded.

> 3) Which sequence it will be called?

See the RFCs or the pluto state machine code.

> Could you please tell me which executable(binary) I need to run in GDB for exploring the Openswan kernel interface code?

pluto is the IKE daemon


More information about the Dev mailing list