#70 Address family not supported by protocol

0.6 branch
closed-invalid
nobody
5
2008-08-12
2008-08-08
soo fei
No

I'm trying to run racoon and getting the following error. The binaries came with the linux box. Any idea why the error is happening and how I can fix it?

/etc # racoon -Fd
Foreground mode.
2008-08-08 23:07:16: INFO: @(#)ipsec-tools 0.6.5 (http://ipsec-tools.sourceforge.net)
2008-08-08 23:07:16: INFO: @(#)This product linked OpenSSL 0.9.8f 11 Oct 2007 (http://www.openssl.org/)
2008-08-08 23:07:16: ERROR: libipsec failed pfkey open (Address family not supported by protocol)
racoon: something error happened while pfkey initializing.
/etc # setkey -f ipsec.conf
pfkey_open: Address family not supported by protocol
/etc # setkey
setkey @(#) ipsec-tools 0.6.5 (http://ipsec-tools.sourceforge.net)
usage: setkey [-vrk] file ...
setkey [-nvrk] -c
setkey [-nvrk] -f filename
setkey [-Palpvrk] -D
setkey [-Pv] -F
setkey [-H] -x
setkey [-V] [-h]
/etc #

Discussion

  • soo fei
    soo fei
    2008-08-12

    Logged In: YES
    user_id=2174170
    Originator: YES

    Not a bug.

    modprobe af_key

     
  • soo fei
    soo fei
    2008-08-12

    • status: open --> closed-invalid