OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / freeswan / klips / test / east-none-02 / spi1-console.txt
1 Program invoked with PATH/start.sh spi1.sh
2
3 Starting UML PATH/start.sh
4 spawn PATH single
5 tracing thread pid = XXXXX
6 Linux version XXXX
7 On node 0 totalpages: 8192
8 zone(0): 0 pages.
9 zone(1): 8192 pages.
10 zone(2): 0 pages.
11 Kernel command line:
12 Calibrating delay loop... XXXX bogomips
13 Memory: 32244k available
14 Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
15 Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
16 Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
17 Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
18 Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
19 POSIX conformance testing by UNIFIX
20 Linux NET4.0 for Linux 2.4
21 Based upon Swansea University Computer Society NET3.039
22 Initializing RT netlink socket
23 Starting kswapd
24 VFS: Diskquotas version dquot_6.4.0 initialized
25 devfs: VERSION Richard Gooch (rgooch@atnf.csiro.au)
26 devfs: boot_options Q
27 pty: 256 Unix98 ptys configured
28 block: slots and queues
29 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
30 Netdevice 0 : daemon backend- ethernet address = 10:0:0:dc:bc:ff
31
32 Netdevice 1 : daemon backend- ethernet address = 10:0:0:64:64:23
33
34 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
35 loop: loaded (max 8 devices)
36 PPP generic driver version 2.4.1
37 Universal TUN/TAP device driver 1.4 (C)1999-2001 Maxim Krasnyansky
38 NET4: Linux TCP/IP 1.0 for NET4.0
39 IP Protocols: ICMP, UDP, TCP
40 IP: routing cache hash table of 512 buckets, 4Kbytes
41 TCP: Hash tables configured (established 2048 bind 2048)
42 IPv4 over IPv4 tunneling driver
43 GRE over IPv4 tunneling driver
44 klips_info:ipsec_init: KLIPS startup, FreeS/WAN IPSec version: XXXX
45 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
46 Initializing stdio console driver
47 Initializing software serial port version 1
48 mconsole initialized on PATH
49 Mounted devfs on /dev
50 INIT: version 2.78 booting
51 Activating swap...
52 Calculating module dependancies
53 done.
54 Loading modules: LIST
55
56 Checking all file systems...
57 Parallelizing fsck version 1.18 (11-Nov-1999)
58 Setting kernel variables.
59 Mounting local filesystems...
60 /dev/ubd/1 on /usr/share type hostfs (ro,/usr/share)
61 /dev/shm on /tmp type tmpfs (rw)
62 /dev/shm on /var/run type tmpfs (rw)
63 devpts on /dev/pts type devpts (rw,mode=0622)
64 Enabling packet forwarding: done.
65 Configuring network interfaces: done.
66 Cleaning: /tmp /var/lock /var/run.
67 Initializing random number generator... done.
68 Recovering nvi editor sessions... done.
69 Give root password for maintenance
70 (or type Control-D for normal startup): 
71 east:~# TZ=GMT export TZ
72 east:~# ipsec spi --clear
73 east:~# ipsec eroute --clear
74 east:~# ipsec klipsdebug --set pfkey
75 klips_debug:pfkey_x_debug_process: set
76 klips_debug:pfkey_msg_interp: parsing message type 16 with msg_parser ABCDABCD
77 klips_debug:pfkey_x_msg_debug_parse: .
78 klips_debug:pfkey_release: sock=ABCDABCD sk=ABCDABCD
79 klips_debug:pfkey_destroy_socket: STUFF
80 klips_debug:pfkey_remove_socket: .
81 klips_debug:pfkey_remove_socket: succeeded.
82 klips_debug:pfkey_destroy_socket: STUFF
83 klips_debug:pfkey_destroy_socket: STUFF
84 klips_debug:pfkey_destroy_socket: STUFF
85 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
86 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
87 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
88 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
89 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
90 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
91 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
92 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
93 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
94 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
95 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
96 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
97 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
98 klips_debug:pfkey_release: succeeded.
99 east:~# ipsec klipsdebug --set verbose
100 klips_debug:pfkey_create: sock=ABCDABCD type:3 state:1 flags:0 protocol:2
101 klips_debug:pfkey_create: sock->fasync_list=00000000 sk->sleep=ABCDABCD
102 klips_debug:pfkey_insert_socket: sk=ABCDABCD
103 klips_debug:pfkey_list_insert_socket: socketp=ABCDABCD
104 klips_debug:pfkey_create: Socket sock=ABCDABCD sk=ABCDABCD initialised.
105 klips_debug:pfkey_sendmsg: .
106 klips_debug:pfkey_sendmsg: msg sent for parsing.
107 klips_debug:pfkey_msg_interp: parsing message ver=2, type=16, errno=0, satype=0(UNKNOWN), len=9, res=0, seq=1, pid=987.
108 klips_debug:pfkey_alloc_ipsec_sa: allocated tdb struct=ABDCABCD
109 klips_debug:pfkey_msg_interp: allocated extr->tdb=ABCDABCD
110 klips_debug:pfkey_msg_interp: processing ext 25 ABCDABCD with processor ABCDABCD
111 klips_debug:pfkey_x_debug_process: .
112 klips_debug:pfkey_x_debug_process: set
113 klips_debug:pfkey_msg_interp: parsing message type 16 with msg_parser ABCDABCD
114 klips_debug:pfkey_x_msg_debug_parse: .
115 klips_debug:pfkey_release: sock=ABCDABCD sk=ABCDABCD
116 klips_debug:pfkey_destroy_socket: STUFF
117 klips_debug:pfkey_remove_socket: .
118 klips_debug:pfkey_remove_socket: succeeded.
119 klips_debug:pfkey_destroy_socket: STUFF
120 klips_debug:pfkey_destroy_socket: STUFF
121 klips_debug:pfkey_destroy_socket: STUFF
122 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
123 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
124 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
125 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
126 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
127 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
128 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
129 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
130 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
131 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
132 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
133 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
134 klips_debug:pfkey_list_remove_socket: removing sock=ABCDABCD
135 klips_debug:pfkey_release: succeeded.
136 east:~# ipsec tncfg --attach --virtual ipsec0 --physical eth1
137 east:~# ifconfig ipsec0 inet 192.1.2.23 netmask 0xffffff00 broadcast 192.1.2.255  up
138 east:~# arp -s 192.1.2.45 10:00:00:64:64:45
139 east:~# arp -s 192.1.2.254 10:00:00:64:64:45
140 east:~# ipsec look
141 east NOW
142 ipsec0->eth1 mtu=16260(1500)->1500
143 Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
144 east:~# route add -host 192.0.1.1 gw 192.1.2.45 dev ipsec0
145 east:~# ipsec ikeping --verbose --wait 2 --inet 192.0.1.1 192.0.1.1 192.0.1.1 19 2.0.1.1
146 Sending packet to 192.0.1.1/500
147 Sending packet to 192.0.1.1/500
148 Sending packet to 192.0.1.1/500
149 Sending packet to 192.0.1.1/500
150 east:~# nbd: module cleaned up.
151