📄 spi1-console.txt
字号:
Starting UML PATH/start.shspawn PATH singleLinux version XXXXOn node 0 totalpages: 8192Kernel command line:Calibrating delay loop... XXXX bogomipsDentry-cache hash table entries: NUMBERSInode-cache hash table entries: NUMBERSMount-cache hash table entries: NUMBERSBuffer-cache hash table entries: NUMBERSPage-cache hash table entries: NUMEBRSPOSIX conformance testing by UNIFIXLinux NET4.0 for Linux 2.4Based upon Swansea University Computer Society NET3.039Initializing RT netlink socketStarting kswapdVFS: Diskquotas version dquot_6.4.0 initializeddevfs: VERSION Richard Gooch (rgooch@atnf.csiro.au)devfs: boot_options Qpty: 256 Unix98 ptys configuredSLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).loop: loaded (max 8 devices)PPP generic driver version VERSIONUniversal TUN/TAP device driver VERSIONNET4: Linux TCP/IP 1.0 for NET4.0IP Protocols: ICMP, UDP, TCPIP: routing cache hash table of 512 buckets, 4KbytesTCP: Hash tables configured (established 2048 bind 2048)IPv4 over IPv4 tunneling driverGRE over IPv4 tunneling driverNET4: Unix domain sockets 1.0/SMP for Linux NET4.0.Mounted devfs on /devINIT: version 2.78 bootingActivating swap...Calculating module dependanciesdone.Loading modules: LISTChecking all file systems...Parallelizing fsck version 1.18 (11-Nov-1999)Setting kernel variables.Mounting local filesystems.../dev/shm on /tmp type tmpfs (rw)/dev/shm on /var/run type tmpfs (rw)devpts on /dev/pts type devpts (rw,mode=0622)none on /usr/share type hostfs (ro)Enabling packet forwarding: done.Configuring network interfaces: done.Cleaning: /tmp /var/lock /var/run.Initializing random number generator... done.Recovering nvi editor sessions... done.Give root password for maintenance(or type Control-D for normal startup): west:~# klogd -c 4 -x -f /tmp/klog.logwest:~# TZ=GMT export TZwest:~# ipsec spi --clearwest:~# ipsec eroute --clearwest:~# enckey=0x4043434545464649494a4a4c4c4f4f515152525454575758west:~# ipsec klipsdebug --set pfkeywest:~# ipsec klipsdebug --set rcvwest:~# ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto esp --src 192.1.2.23 --esp 3des-md5-96 --enckey $enckey --authkey 0x87658765876587658765876587658765west:~# ipsec spi --af inet --edst 192.1.2.45 --spi 0x12345678 --proto tun --src 192.1.2.23 --dst 192.1.2.45 --ip4west:~# ipsec spigrp inet 192.1.2.45 0x12345678 tun inet 192.1.2.45 0x12345678 esp west:~# ipsec tncfg --attach --virtual ipsec0 --physical eth1west:~# ifconfig ipsec0 inet 192.1.2.45 netmask 0xffffff00 broadcast 192.1.2.255 upwest:~# ipsec lookwest NOWipsec0->eth1 mtu=16260(1500)->1500esp0x12345678@192.1.2.45 ESP_3DES_HMAC_MD5: dir=in src=192.1.2.23 iv_bits=64bits iv=0xDEADF00DDEADF00D alen=128 aklen=128 eklen=192 life(c,s,h)= refcount=4 ref=4tun0x12345678@192.1.2.45 IPIP: dir=in src=192.1.2.23 life(c,s,h)= refcount=4 ref=5Destination Gateway Genmask Flags MSS Window irtt Ifacewest:~# route add -host 192.0.2.1 gw 192.1.2.23 dev ipsec0west:~# kill `cat /var/run/klogd.pid`; cat /tmp/klog.logklogd 1.3-3#33.1, log source = /proc/kmsg started.west:~# haltINIT: Switching to runlevel: 0INIT: Sending processes the TERM signalwest:~# INIT: Sending processes the KILL signalStopping domain name service: named.Stopping internet superserver: inetd.Stopping portmap daemon: portmap.ipsec_setup: Stopping FreeS/WAN IPsec...ipsec_setup: stop ordered, but IPsec does not appear to be running!ipsec_setup: doing cleanup anyway...IPSEC EVENT: KLIPS device ipsec0 shut down.Stopping system log daemon: klogd syslogd.Sending all processes the TERM signal... done.Sending all processes the KILL signal... done.Unmounting remote filesystems... done.Deactivating swap... done.Unmounting local filesystems... done.Power down.klips_debug:pfkey_x_debug_process: setklips_debug:pfkey_msg_interp: parsing message type 16(x-debug) with msg_parser 0pDEADF00D.klips_debug:pfkey_x_msg_debug_parse: .klips_debug:pfkey_release: sock=0pDEADF00D sk=0pDEADF00Dklips_debug:pfkey_destroy_socket: .klips_debug:pfkey_remove_socket: .klips_debug:pfkey_remove_socket: succeeded.klips_debug:pfkey_destroy_socket: pfkey_remove_socket called.klips_debug:pfkey_destroy_socket: sk(0pDEADF00D)->(&0pDEADF00D)receive_queue.{next=0pDEADF00D,prev=0pDEADF00D}.klips_debug:pfkey_destroy_socket: destroyed.klips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_release: succeeded.klips_debug:pfkey_create: sock=0pDEADF00D type:3 state:1 flags:0 protocol:2klips_debug:pfkey_create: sock->fasync_list=0pDEADF00D sk->sleep=0pDEADF00D.klips_debug:pfkey_insert_socket: sk=0pDEADF00Dklips_debug:pfkey_list_insert_socket: allocating 8 bytes for socketp=0pDEADF00Dklips_debug:pfkey_create: Socket sock=0pDEADF00D sk=0pDEADF00D initialised.klips_debug:pfkey_sendmsg: .klips_debug:pfkey_sendmsg: allocating 72 bytes for downward message.klips_debug:pfkey_sendmsg: msg sent for parsing.klips_debug:pfkey_msg_interp: parsing message ver=2, type=16, errno=0, satype=0(UNKNOWN), len=9, res=0, seq=1, pid=987.klips_debug:pfkey_msg_interp: allocated extr->ips=0pDEADF00D.klips_debug:pfkey_msg_parse: parsing message ver=2, type=16(x-debug), errno=0, satype=0(UNKNOWN), len=9, res=0, seq=1, pid=987.klips_debug:pfkey_msg_parse: remain=7 ext_type=25(X-set-debug) ext_len=7 parsing ext 0pDEADF00D with parser pfkey_x_ext_debug_parse.klips_debug:pfkey_msg_parse: extensions permitted=02000001, seen=02000001, required=02000001.klips_debug:pfkey_msg_interp: processing ext 25 0pDEADF00D with processor 0pDEADF00D.klips_debug:pfkey_x_debug_process: .klips_debug:pfkey_x_debug_process: setklips_debug:pfkey_msg_interp: parsing message type 16(x-debug) with msg_parser 0pDEADF00D.klips_debug:pfkey_x_msg_debug_parse: .klips_debug:pfkey_release: sock=0pDEADF00D sk=0pDEADF00Dklips_debug:pfkey_destroy_socket: .klips_debug:pfkey_remove_socket: .klips_debug:pfkey_remove_socket: succeeded.klips_debug:pfkey_destroy_socket: pfkey_remove_socket called.klips_debug:pfkey_destroy_socket: sk(0pDEADF00D)->(&0pDEADF00D)receive_queue.{next=0pDEADF00D,prev=0pDEADF00D}.klips_debug:pfkey_destroy_socket: destroyed.klips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_list_remove_socket: removing sock=0pDEADF00Dklips_debug:pfkey_release: succeeded.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -