Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[Users] pfkey write failed returning -1 with errno=22

From: kchen <kchen(at)seu.edu.cn>
Date: Wed Apr 30 2003 - 01:58:00 EDT


config setup
# THIS SETTING MUST BE CORRECT or almost nothing will work;
# %defaultroute is okay for most simple cases.
 interfaces=%defaultroute
# Debug-logging controls: "none" for (almost) none, "all" for lots.

 klipsdebug=none
 plutodebug=none

# Use auto= parameters in conn descriptions to control startup actions.
 plutoload=%search
 plutostart=%search
# Close down old connection when new one using same ID shows up.
 uniqueids=yes

# defaults for subsequent connection descriptions # (these defaults will soon go away)
conn %default

        keyingtries=0
        disablearrivalcheck=no
        authby=rsasig
        leftrsasigkey=%dnsondemand
        rightrsasigkey=%dnsondemand
conn mysample
        # left security gateway (public-network address)
        left=202.119.11.102
        leftnexthop=202.119.11.1
        right=202.119.11.201
        rightnexthop=202.119.11.1
        spi=0x300
        esp=3des-md5-96
        espenckey=0x579268d5_0f8d171d_c5d2f6ac_7a0c3edf_a6351a70_95af8808
        espauthkey=0x9d62cb69_3a282755_63947589_5863574c

[root@FreeSwan etc]# ipsec manual --up mysample /usr/local/lib/ipsec/spi --label mysample: pfkey write failed, returning -1 with errno=22 Invalid argument, check kernel log messages for specifics.  

My os is redhat 9.0 freeswan is Linux FreeS/WAN U1.99/K2.00-rc4 Can somebody help me?



Users mailing list
Users@lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users Received on Thu May 1 21:41:57 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:01:29 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library