[Openswan dev] bug in using KEY RR for OE in openswan-2 and remaining bugs in/proc filesystem for unload/reload of ipsec.o on Openswan-2 head on 2.4.25

Paul Wouters paul at xtdnet.nl
Tue Mar 30 13:42:29 CEST 2004


On Tue, 30 Mar 2004, Paul Wouters wrote:

> All the /proc/net/ipsec/ entries, apart from klipsdebug, are missing!
> 
> It seems something is still going wrong with the /proc filesystem on 2.4.25,
> after we unload and load the ipsec.o module.

I missed the following entries in the kernel logs:

klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
IPSEC EVENT: KLIPS device ipsec0 shut down.
 
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
IPSEC EVENT: KLIPS device ipsec0 shut down.
 
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
IPSEC EVENT: KLIPS device ipsec0 shut down.
 
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
IPSEC EVENT: KLIPS device ipsec0 shut down.
 
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
IPSEC EVENT: KLIPS device ipsec0 shut down.
 
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
remove_proc_entry: net/ipsec busy, count=1
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
 
klips_info:pfkey_cleanup: shutting down PF_KEY domain sockets.
klips_info:cleanup_module: ipsec module unloaded.
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPSec stack version: cvs2002Mar12_01:19:03
de_put: deferred delete of ipsec

Note the line about remove_proc_entry and the de_put message.

Paul 



More information about the Dev mailing list