OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / openswan / testing / pluto / psk-pluto-04 / road-console.txt
1 Starting UML PATH/start.sh
2 spawn PATH single
3 Linux version XXXX
4 On node 0 totalpages: 8192
5 Kernel command line:
6 Calibrating delay loop... XXXX bogomips
7 Dentry-cache hash table entries: NUMBERS
8 Inode-cache hash table entries: NUMBERS
9 Mount-cache hash table entries: NUMBERS
10 Buffer-cache hash table entries: NUMBERS
11 Page-cache hash table entries: NUMEBRS
12 POSIX conformance testing by UNIFIX
13 Linux NET4.0 for Linux 2.4
14 Based upon Swansea University Computer Society NET3.039
15 Initializing RT netlink socket
16 Starting kswapd
17 VFS: Diskquotas version dquot_6.4.0 initialized
18 devfs: VERSION Richard Gooch (rgooch@atnf.csiro.au)
19 devfs: boot_options Q
20 pty: 256 Unix98 ptys configured
21 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
22 loop: loaded (max 8 devices)
23 PPP generic driver version VERSION
24 Universal TUN/TAP device driver VERSION
25
26 NET4: Linux TCP/IP 1.0 for NET4.0
27 IP Protocols: ICMP, UDP, TCP
28 IP: routing cache hash table of 512 buckets, 4Kbytes
29 TCP: Hash tables configured (established 2048 bind 2048)
30 IPv4 over IPv4 tunneling driver
31 GRE over IPv4 tunneling driver
32 NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
33 Mounted devfs on /dev
34 INIT: version 2.78 booting
35 Activating swap...
36 Calculating module dependancies
37 done.
38 Loading modules: LIST
39
40 Checking all file systems...
41 Parallelizing fsck version 1.18 (11-Nov-1999)
42 Setting kernel variables.
43 Mounting local filesystems...
44 /dev/shm on /tmp type tmpfs (rw)
45 /dev/shm on /var/run type tmpfs (rw)
46 devpts on /dev/pts type devpts (rw,mode=0622)
47 none on /usr/share type hostfs (ro)
48 Enabling packet forwarding: done.
49 Configuring network interfaces: done.
50 Cleaning: /tmp /var/lock /var/run.
51 Initializing random number generator... done.
52 Recovering nvi editor sessions... done.
53 Give root password for maintenance
54 (or type Control-D for normal startup): 
55 road:~#
56  klogd -c 4 -x -f /tmp/klog.log
57 road:~#
58  ipsec setup stop
59 ipsec_setup: Stopping Openswan IPsec...
60 ipsec_setup: stop ordered, but IPsec appears to be already stopped!
61 ipsec_setup: doing cleanup anyway...
62 road:~#
63  umount /usr/local; mount /usr/local
64 road:~#
65  hostname road.uml.freeswan.org
66 road:~#
67  ifconfig eth0 inet 192.1.3.194
68 road:~#
69  route delete -net default 
70 SIOCDELRT: No such process
71 road:~#
72  route add -net default gw 192.1.3.254
73 road:~#
74  netstat -rn
75 Kernel IP routing table
76 Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
77 192.1.3.0       0.0.0.0         255.255.255.0   U         0 0          0 eth0
78 0.0.0.0         192.1.3.254     0.0.0.0         UG        0 0          0 eth0
79 road:~#
80  TESTNAME=psk-pluto-01
81 road:~#
82  source /testing/pluto/bin/roadlocal.sh
83 road:~#
84  ipsec setup start
85 ipsec_setup: Starting Openswan IPsec VERSION
86 road:~#
87  ipsec auto --add road--eastnet-psk
88 road:~#
89  echo done
90 done
91 road:~#
92  ipsec whack --debug-all
93 road:~#
94  ipsec auto --up road--eastnet-psk 
95 003 "road--eastnet-psk" #1: multiple transforms were set in aggressive mode. Only first one used.
96 003 "road--eastnet-psk" #1: transform (5,2,2,0) ignored.
97 003 "road--eastnet-psk" #1: multiple transforms were set in aggressive mode. Only first one used.
98 003 "road--eastnet-psk" #1: transform (5,2,2,0) ignored.
99 112 "road--eastnet-psk" #1: STATE_AGGR_I1: initiate
100 003 "road--eastnet-psk" #1: received Vendor ID payload [Dead Peer Detection]
101 004 "road--eastnet-psk" #1: STATE_AGGR_I2: sent AI2, ISAKMP SA established
102 117 "road--eastnet-psk" #2: STATE_QUICK_I1: initiate
103 004 "road--eastnet-psk" #2: STATE_QUICK_I2: sent QI2, IPsec SA established
104 road:~#
105  echo done.
106 done.
107 road:~#
108  
109
110 road:~#
111  ipsec look
112 road.uml.freeswan.org NOW
113 192.1.3.194/32     -> 192.0.2.0/24       => tun0xIPIP@192.1.2.23 esp0xESPSPI@192.1.2.23
114 ipsec0->eth0 mtu=16260(9999)->1500
115 tun0xTUN#@192.1.2.23 IPIP: dir=out src=192.1.3.194 natencap=none natsport=0 natdport=0  
116 esp0xKLIPSPIK@192.1.2.23 ESP_AES_HMAC_SHA1: dir=out src=192.1.3.194 iv_bits=128bits iv=0xIVISFORRANDOM000IVISFORRANDOM000 ooowin=64 alen=160 aklen=160 eklen=128 natencap=none natsport=0 natdport=0  
117 esp0xKLIPSPIK@192.1.3.194 ESP_AES_HMAC_SHA1: dir=in  src=192.1.2.23 iv_bits=128bits iv=0xIVISFORRANDOM000IVISFORRANDOM000 ooowin=64 alen=160 aklen=160 eklen=128 natencap=none natsport=0 natdport=0  
118 tun0xTUN#@192.1.3.194 IPIP: dir=in  src=192.1.2.23 policy=192.0.2.0/24->192.1.3.194/32 flags=0x8<> natencap=none natsport=0 natdport=0  
119 Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
120 0.0.0.0         192.1.3.254     0.0.0.0         UG       99 0          0 eth0
121 192.0.2.0       192.1.3.254     255.255.255.0   UG       99 0          0 ipsec0
122 192.1.3.0       0.0.0.0         255.255.255.0   U        99 0          0 eth0
123 192.1.3.0       0.0.0.0         255.255.255.0   U        99 0          0 ipsec0
124 road:~#
125 road:~#
126  ipsec setup stop
127 IPSEC EVENT: KLIPS device ipsec0 shut down.
128 ipsec_setup: Stopping Openswan IPsec...
129 road:~#
130  kill `cat /var/run/klogd.pid`; cat /tmp/klog.log
131 klogd 1.3-3#33.1, log source = /proc/kmsg started.
132 road:~#
133  halt -p -f
134 Power down.
135