~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to testing/pluto/dpd-05/west-console.txt

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
west:~#
 
56
 klogd -c 4 -x -f /tmp/klog.log
 
57
west:~#
 
58
 TESTNAME=dpd-05
 
59
west:~#
 
60
 source /testing/pluto/bin/westlocal.sh
 
61
west:~#
 
62
 iptables -F INPUT 
 
63
west:~#
 
64
 iptables -F OUTPUT
 
65
west:~#
 
66
 ipsec setup start
 
67
ipsec_setup: Starting Openswan IPsec VERSION
 
68
west:~#
 
69
 sleep 5
 
70
west:~#
 
71
 ipsec auto --add west-east
 
72
west:~#
 
73
 ping -q -c 8 -n 192.1.2.23
 
74
PING 192.1.2.23 (192.1.2.23): 56 data bytes
 
75
 
 
76
--- 192.1.2.23 ping statistics ---
 
77
8 packets transmitted, 8 packets received, 0% packet loss
 
78
round-trip min/avg/max = 3.1/4.5/9.26 ms
 
79
west:~#
 
80
 ipsec auto --up west-east
 
81
112 "west-east" #1: STATE_AGGR_I1: initiate
 
82
003 "west-east" #1: received Vendor ID payload [Dead Peer Detection]
 
83
004 "west-east" #1: STATE_AGGR_I2: sent AI2, ISAKMP SA established
 
84
117 "west-east" #2: STATE_QUICK_I1: initiate
 
85
004 "west-east" #2: STATE_QUICK_I2: sent QI2, IPsec SA established
 
86
west:~#
 
87
 echo "Tunnel should be up"
 
88
Tunnel should be up
 
89
west:~#
 
90
 ipsec eroute
 
91
0          192.1.2.45/32      -> 192.1.2.23/32      => tun0x1002@192.1.2.23
 
92
west:~#
 
93
 sleep 15
 
94
west:~#
 
95
 echo "Setting up block"
 
96
Setting up block
 
97
west:~#
 
98
 iptables -I INPUT -s 192.1.2.23/32 -d 0/0 -j DROP
 
99
west:~#
 
100
 iptables -I OUTPUT -d 192.1.2.23/32 -s 0/0 -j DROP
 
101
west:~#
 
102
 sleep 10
 
103
west:~#
 
104
 ipsec eroute
 
105
0          192.1.2.45/32      -> 192.1.2.23/32      => tun0x1002@192.1.2.23
 
106
west:~#
 
107
 sleep 10
 
108
west:~#
 
109
 ipsec eroute
 
110
0          192.1.2.45/32      -> 192.1.2.23/32      => %trap
 
111
west:~#
 
112
 sleep 10
 
113
west:~#
 
114
 echo "Tunnel should be down on West, not East"
 
115
Tunnel should be down on West, not East
 
116
west:~#
 
117
 ipsec eroute
 
118
0          192.1.2.45/32      -> 192.1.2.23/32      => %trap
 
119
west:~#
 
120
 echo "Removing block"
 
121
Removing block
 
122
west:~#
 
123
 iptables -D INPUT -s 192.1.2.23/32 -d 0/0 -j DROP
 
124
west:~#
 
125
 iptables -D OUTPUT -d 192.1.2.23/32 -s 0/0 -j DROP
 
126
west:~#
 
127
 ping -q -c 8 -n 192.1.2.23
 
128
PING 192.1.2.23 (192.1.2.23): 56 data bytes
 
129
 
 
130
--- 192.1.2.23 ping statistics ---
 
131
8 packets transmitted, 7 packets received, 12% packet loss
 
132
round-trip min/avg/max = 3.1/4.5/9.26 ms
 
133
west:~#
 
134
 echo "Tunnel should be up"
 
135
Tunnel should be up
 
136
west:~#
 
137
 ipsec eroute
 
138
16         192.1.2.45/32      -> 192.1.2.23/32      => tun0x1004@192.1.2.23
 
139
west:~#
 
140
 echo end
 
141
end
 
142
west:~#
 
143
 
 
144
 
 
145
west:~#
 
146
 echo end
 
147
end
 
148
west:~#
 
149
 ipsec setup stop
 
150
IPSEC EVENT: KLIPS device ipsec0 shut down.
 
151
ipsec_setup: Stopping Openswan IPsec...
 
152
west:~#
 
153
 kill `cat /var/run/klogd.pid`; cat /tmp/klog.log
 
154
klogd 1.3-3#33.1, log source = /proc/kmsg started.
 
155
west:~#
 
156
 halt -p -f
 
157
Power down.
 
158