i have problem with ipsec on mandrake 9.2 kernel-2.4.22.10mdk-1-1mdk and freeswan-2.01-1mdk, when i start ipsec, i've got this error message
22 11:56:06 barbucha ipsec_setup: /usr/lib/ipsec/eroute: pfkey write failed, returning -1 with errno=22.
any idea?
thanks jakub urban
full log:
říj 22 11:56:05 barbucha ipsec_setup: Starting FreeS/WAN IPsec 2.01...
říj 22 11:56:06 barbucha ipsec_setup: Using /lib/modules/2.4.22-10mdk/kernel/net/ipsec/ipsec.o.gz
Oct 22 11:56:06 barbucha kernel: klips_info:ipsec_init: KLIPS startup, FreeS/WAN IPSec version: super-freeswan-1.99.8
Oct 22 11:56:06 barbucha /etc/hotplug/net.agent: register event not handled
Oct 22 11:56:06 barbucha /etc/hotplug/net.agent: register event not handled
Oct 22 11:56:06 barbucha kernel: klips_info:ipsec_alg_init: KLIPS alg v=0.8.1-0 (EALG_MAX=255, AALG_MAX=15)
Oct 22 11:56:06 barbucha kernel: klips_info:ipsec_alg_init: calling ipsec_alg_static_init()
Oct 22 11:56:06 barbucha /etc/hotplug/net.agent: register event not handled
Oct 22 11:56:06 barbucha /etc/hotplug/net.agent: register event not handled
říj 22 11:56:06 barbucha ipsec_setup: KLIPS debug `none'
říj 22 11:56:06 barbucha ipsec_setup: /usr/lib/ipsec/eroute: pfkey write failed, returning -1 with errno=22.
říj 22 11:56:06 barbucha ipsec_setup: Invalid argument, check kernel log messages for specifics.
říj 22 11:56:06 barbucha ipsec_setup: KLIPS ipsec0 on eth0 213.235.184.30/255.255.255.252 broadcast 213.235.184.31
říj 22 11:56:06 barbucha ipsec_setup: ...FreeS/WAN IPsec started
říj 22 11:56:06 barbucha ipsec__plutorun: 003 ERROR: "klient1": pfkey write() of SADB_X_ADDFLOW message 5 for flow %trap failed. Errno 22: Invalid argument
říj 22 11:56:06 barbucha ipsec__plutorun: 025 "klient1": could not route
říj 22 11:56:06 barbucha ipsec__plutorun: ...could not route conn "klient1"
říj 22 11:56:06 barbucha ipsec__plutorun: 104 "klient1" #1: STATE_MAIN_I1: initiate
říj 22 11:56:06 barbucha ipsec__plutorun: ...could not start conn "klient1"
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
