📄 spi1-console.txt
字号:
klips_debug:pfkey_address_build: exttype=6 proto=0 prefixlen=0klips_debug:pfkey_address_build: found address family AF_INET.klips_debug:pfkey_address_build: found address=192.1.2.45:0.klips_debug:pfkey_address_build: successful.klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_msg_build: pfkey_msg=ABCDABCD allocated 80 bytes, &(extensions[0])=ABCDABCDklips_debug:pfkey_msg_build: copying 16 bytes from extensions[1]=ABCDABCD to=ABCDABCDklips_debug:pfkey_msg_build: copying 24 bytes from extensions[5]=ABCDABCD to=ABCDABCDklips_debug:pfkey_msg_build: copying 24 bytes from extensions[6]=ABCDABCD to=ABCDABCDklips_debug:pfkey_msg_build: extensions permitted=00001c7b, seen=00000063, required=00000063.klips_debug:pfkey_upmsg: allocating 80 bytes...klips_debug:pfkey_upmsg: ...allocated at ABCDABCDklips_debug:pfkey_add_parse: sending up add reply message for satype=3(ESP) to socket=ABCDABCD succeeded.klips_debug:pfkey_add_parse: successful for SA: esp0x12345678@192.1.2.45klips_debug:pfkey_release: sock=ABCDABCD sk=ABCDABCDklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_remove_socket: .klips_debug:pfkey_remove_socket: succeeded.klips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_release: succeeded.west:~# ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto tun --src 192.1.2.23 --dst 192.1.2.45 --ip4klips_debug:pfkey_create: sock=ABCDABCD type:3 state:1 flags:0 protocol:2klips_debug:pfkey_create: sock->fasync_list=00000000 sk->sleep=ABCDABCDklips_debug:pfkey_insert_socket: sk=ABCDABCDklips_debug:pfkey_list_insert_socket: socketp=ABCDABCDklips_debug:pfkey_create: Socket sock=ABCDABCD sk=ABCDABCD initialised.klips_debug:pfkey_sendmsg: .klips_debug:pfkey_sendmsg: msg sent for parsing.klips_debug:pfkey_msg_interp: parsing message ver=2, type=3, errno=0, satype=9(IPIP), len=10, res=0, seq=1, pid=987.klips_debug:pfkey_alloc_ipsec_sa: allocated tdb struct=ABDCABCDklips_debug:pfkey_msg_interp: allocated extr->tdb=ABCDABCDklips_debug:pfkey_msg_interp: satype 9 lookups to proto=4.klips_debug:pfkey_msg_interp: processing ext 1 ABCDABCD with processor ABCDABCDklips_debug:pfkey_sa_process: .klips_debug:pfkey_msg_interp: processing ext 5 ABCDABCD with processor ABCDABCDklips_debug:pfkey_address_process:klips_debug:pfkey_address_process: found address family=2, AF_INET, 192.1.2.23.klips_debug:pfkey_address_process: found src address.klips_debug:pfkey_address_process: successful.klips_debug:pfkey_msg_interp: processing ext 6 ABCDABCD with processor ABCDABCDklips_debug:pfkey_address_process:klips_debug:pfkey_address_process: found address family=2, AF_INET, 192.1.2.45.klips_debug:pfkey_address_process: found dst address.klips_debug:pfkey_address_process: tdb_said.dst set to 192.1.2.45.klips_debug:pfkey_address_process: successful.klips_debug:pfkey_msg_interp: parsing message type 3 with msg_parser ABCDABCDklips_debug:pfkey_add_parse: .klips_debug:pfkey_add_parse: existing Tunnel Descriptor Block not found (this is good) for SAtun0x12345678@192.1.2.45, in-bound, allocating.klips_debug:pfkey_ipsec_sa_init: (pfkey defined) called for SA:tun0x12345678@192.1.2.45klips_debug:pfkey_ipsec_sa_init: calling init routine of IPIPklips_debug:pfkey_ipsec_sa_init: (pfkey defined) IPIP tdb set for 192.1.2.23->192.1.2.45.klips_debug:pfkey_msg_hdr_build:klips_debug:pfkey_msg_hdr_build: on_entry &pfkey_ext=ABCDABCD pfkey_ext=ABCDABCD *pfkey_ext=ABCDABCDklips_debug:pfkey_msg_hdr_build: on_exit &pfkey_ext=ABCDABCD pfkey_ext=ABCDABCD *pfkey_ext=ABCDABCDklips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_sa_build: spi=12345678 replay=0 sa_state=1 auth=0 encrypt=0 flags=1klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_address_build: exttype=5 proto=0 prefixlen=0klips_debug:pfkey_address_build: found address family AF_INET.klips_debug:pfkey_address_build: found address=192.1.2.23:0.klips_debug:pfkey_address_build: successful.klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_address_build: exttype=6 proto=0 prefixlen=0klips_debug:pfkey_address_build: found address family AF_INET.klips_debug:pfkey_address_build: found address=192.1.2.45:0.klips_debug:pfkey_address_build: successful.klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_msg_build: pfkey_msg=ABCDABCD allocated 80 bytes, &(extensions[0])=ABCDABCDklips_debug:pfkey_msg_build: copying 16 bytes from extensions[1]=ABCDABCD to=ABCDABCDklips_debug:pfkey_msg_build: copying 24 bytes from extensions[5]=ABCDABCD to=ABCDABCDklips_debug:pfkey_msg_build: copying 24 bytes from extensions[6]=ABCDABCD to=ABCDABCDklips_debug:pfkey_msg_build: extensions permitted=00001c7b, seen=00000063, required=00000063.klips_debug:pfkey_upmsg: allocating 80 bytes...klips_debug:pfkey_upmsg: ...allocated at ABCDABCDklips_debug:pfkey_add_parse: sending up add reply message for satype=9(IPIP) to socket=ABCDABCD succeeded.klips_debug:pfkey_add_parse: successful for SA: tun0x12345678@192.1.2.45klips_debug:pfkey_release: sock=ABCDABCD sk=ABCDABCDklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_remove_socket: .klips_debug:pfkey_remove_socket: succeeded.klips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_destroy_socket: STUFFklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_list_remove_socket: removing sock=ABCDABCDklips_debug:pfkey_release: succeeded.west:~# ipsec spigrp inet 192.1.2.45 0x12345678 tun inet 192.1.2.45 0x12345678 e sp klips_debug:pfkey_create: sock=ABCDABCD type:3 state:1 flags:0 protocol:2klips_debug:pfkey_create: sock->fasync_list=00000000 sk->sleep=ABCDABCDklips_debug:pfkey_insert_socket: sk=ABCDABCDklips_debug:pfkey_list_insert_socket: socketp=ABCDABCDklips_debug:pfkey_create: Socket sock=ABCDABCD sk=ABCDABCD initialised.klips_debug:pfkey_sendmsg: .klips_debug:pfkey_sendmsg: msg sent for parsing.klips_debug:pfkey_msg_interp: parsing message ver=2, type=13, errno=0, satype=9(IPIP), len=13, res=0, seq=1, pid=987.klips_debug:pfkey_alloc_ipsec_sa: allocated tdb struct=ABDCABCDklips_debug:pfkey_msg_interp: allocated extr->tdb=ABCDABCDklips_debug:pfkey_msg_interp: satype 9 lookups to proto=4.klips_debug:pfkey_msg_interp: processing ext 1 ABCDABCD with processor ABCDABCDklips_debug:pfkey_sa_process: .klips_debug:pfkey_msg_interp: processing ext 6 ABCDABCD with processor ABCDABCDklips_debug:pfkey_address_process:klips_debug:pfkey_address_process: found address family=2, AF_INET, 192.1.2.45.klips_debug:pfkey_address_process: found dst address.klips_debug:pfkey_address_process: tdb_said.dst set to 192.1.2.45.klips_debug:pfkey_address_process: successful.klips_debug:pfkey_msg_interp: processing ext 18 ABCDABCD with processor ABCDABCDklips_debug:pfkey_x_satype_process: .klips_debug:pfkey_alloc_ipsec_sa: allocated tdb struct=ABDCABCDklips_debug:pfkey_x_satype_process: protocol==50 decoded from satype==3(ESP).klips_debug:pfkey_msg_interp: processing ext 19 ABCDABCD with processor ABCDABCDklips_debug:pfkey_sa_process: .klips_debug:pfkey_alloc_ipsec_sa: tdb struct already allocatedklips_debug:pfkey_msg_interp: processing ext 20 ABCDABCD with processor ABCDABCDklips_debug:pfkey_address_process:klips_debug:pfkey_address_process: found address family=2, AF_INET, 192.1.2.45.klips_debug:pfkey_address_process: found 2nd dst address.klips_debug:pfkey_alloc_ipsec_sa: tdb struct already allocatedklips_debug:pfkey_address_process: tdb_said.dst set to 192.1.2.45.klips_debug:pfkey_address_process: successful.klips_debug:pfkey_msg_interp: parsing message type 13 with msg_parser ABCDABCDklips_debug:pfkey_x_grpsa_parse: .klips_debug:pfkey_msg_hdr_build:klips_debug:pfkey_msg_hdr_build: on_entry &pfkey_ext=ABCDABCD pfkey_ext=ABCDABCD *pfkey_ext=ABCDABCDklips_debug:pfkey_msg_hdr_build: on_exit &pfkey_ext=ABCDABCD pfkey_ext=ABCDABCD *pfkey_ext=ABCDABCDklips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_sa_build: spi=12345678 replay=0 sa_state=0 auth=0 encrypt=0 flags=0klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_address_build: exttype=6 proto=0 prefixlen=0klips_debug:pfkey_address_build: found address family AF_INET.klips_debug:pfkey_address_build: found address=192.1.2.45:0.klips_debug:pfkey_address_build: successful.klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_x_satype_build:klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_sa_build: spi=12345678 replay=0 sa_state=0 auth=0 encrypt=0 flags=0klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_address_build: exttype=20 proto=0 prefixlen=0klips_debug:pfkey_address_build: found address family AF_INET.klips_debug:pfkey_address_build: found address=192.1.2.45:0.klips_debug:pfkey_address_build: successful.klips_debug:pfkey_safe_build: error=0klips_debug:pfkey_safe_build:success.klips_debug:pfkey_msg_build: pfkey_msg=ABCDABCD allocated 104 bytes, &(extensions[0])=ABCDABCD
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -