ipsec_pf_key man page

ipsec_pf_key ā€” lists PF_KEY sockets registered with KLIPS


cat /proc/net/pf_key


Note that pf_key is only supported on the KLIPS and MAST stacks. It is not supported on any other stack.


/proc/net/pf_key is a read-only file that lists the presently open PF_KEY sockets on the local system and their parameters.

Each line lists one PF_KEY socket. A table entry consists of:


c3b8c140 3553 0 c0599818 c05997fc 0 0 0 0 1 0 15 0 2 0 0 0 65535 0.103232 00000000 00000003 01

shows that there is one pf_key socket set up that starts at c3b8c140, whose owning process has PID 3553, the socket is not dead, its wait queue is at c0599818, whose owning socket is at c05997fc, with no other sockets in the chain, no errors, no destructor, it is a reused socket that has not been zapped, from protocol family 15 (PF_KEY), local port number 0, protocol socket version 2, no memory allocated to transmit, receive or option queues, a send buffer of almost 64kB, a timestamp of 0.103232, no flags set, type 3, in state 1.



See Also

ipsec(8), ipsec_eroute(5), ipsec_spi(5), ipsec_spigrp(5), ipsec_klipsdebug(5), ipsec_tncfg(8), ipsec_version(5)


Written for the Linux FreeS/WAN project <http://www.freeswan.org/> by Richard Guy Briggs.


Paul Wouters

placeholder to suppress warning

Referenced By

ipsec_eroute(5), ipsec_klipsdebug(5), ipsec_spi(5), ipsec_spigrp(5), ipsec_tncfg(5), ipsec_trap_count(5), ipsec_trap_sendcount(5), ipsec_version(5).

01/15/2019 libreswan Executable programs