Starting UML PATH/start.sh
spawn PATH single
Linux version XXXX
On node 0 totalpages: 8192
Kernel command line:
Calibrating delay loop... XXXX bogomips
Dentry-cache hash table entries: NUMBERS
Inode-cache hash table entries: NUMBERS
Mount-cache hash table entries: NUMBERS
Buffer-cache hash table entries: NUMBERS
Page-cache hash table entries: NUMEBRS
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
devfs: VERSION Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options Q
pty: 256 Unix98 ptys configured
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
loop: loaded (max 8 devices)
PPP generic driver version VERSION
Universal TUN/TAP device driver VERSION

NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Mounted devfs on /dev
INIT: version 2.78 booting
Activating swap...
Calculating module dependancies
done.
Loading modules: LIST

Checking 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): 
east:~#
 klogd -c 4 -x -f /tmp/klog.log
east:~#
 TESTING=${TESTING:-/testing}
east:~#
 PATH=${TESTING}/pluto/bin:$PATH export PATH
east:~#
 TESTNAME=aggr-unit-01
east:~#
 export PLUTO="ipsec pluto"
east:~#
 export WHACK="ipsec whack"
east:~#
 ${TESTING}/pluto/bin/ifconfigs up
east:~#
 . CONFIG
east:~#
 cd /tmp
east:/tmp# mkdir -p $TESTNAME
east:/tmp# cd $TESTNAME
east:/tmp/aggr-unit-01# export HELPERS="--nhelpers 0 "
east:/tmp/aggr-unit-01# mkdir -p log.ref
east:/tmp/aggr-unit-01# mkdir -p log
east:/tmp/aggr-unit-01# LD=log
east:/tmp/aggr-unit-01# ln -s ${TESTING}/pluto/$TESTNAME/isakmp-aggr-psk-east.txt log.ref/pr-log
east:/tmp/aggr-unit-01# ln -s ${TESTING}/pluto/$TESTNAME/isakmp-aggr-psk-west.txt log.ref/pi-log
east:/tmp/aggr-unit-01# ln -s ${TESTING}/pluto/$TESTNAME/isakmp-aggr-psk-whack.txt log.ref/wi-log
east:/tmp/aggr-unit-01# ln -s ${TESTING}/pluto/ipsec.secrets .
east:/tmp/aggr-unit-01# ln -s ${TESTING}/pluto/ipsec.d/west .
east:/tmp/aggr-unit-01# ln -s ${TESTING}/pluto/ipsec.d/east .
east:/tmp/aggr-unit-01# ulimit -c unlimited
east:/tmp/aggr-unit-01# $DOPLUTO west >$LD/pi-log 2>&1
east:/tmp/aggr-unit-01# $DOPLUTO east >$LD/pr-log 2>&1
east:/tmp/aggr-unit-01# $DOWHACK listen
whackwest --listen
002 listening for IKE messages
002 adding interface virtual127.95.7.1/lo:w 127.95.7.1
002 loading secrets from "/tmp/aggr-unit-01/ipsec.secrets/west"
whackeast --listen
002 listening for IKE messages
002 adding interface virtual127.95.7.2/lo:e 127.95.7.2
002 loading secrets from "/tmp/aggr-unit-01/ipsec.secrets/east"
east:/tmp/aggr-unit-01# sh $TESTING/pluto/$TESTNAME/dowhack.sh 
whackwest --name isakmp-aggr-psk --psk --aggrmode --host 127.95.7.2 --ikeport 8500 --updown silly --to --updown sally --host 127.95.7.1 --ikeport 8500 --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "isakmp-aggr-psk"
whackeast --name isakmp-aggr-psk --psk --aggrmode --host 127.95.7.2 --ikeport 8500 --updown silly --to --updown sally --host 127.95.7.1 --ikeport 8500 --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "isakmp-aggr-psk"
whackwest --shutdown
002 shutting down
whackeast --shutdown
002 shutting down
east:/tmp/aggr-unit-01# $DOWHACK shutdown
whackwest --shutdown
whack: Pluto is not running (no "pluto/west/pluto.west.ctl")
RC: 1
whackeast --shutdown
whack: Pluto is not running (no "pluto/east/pluto.east.ctl")
RC: 1
east:/tmp/aggr-unit-01# export HELPERS="--nhelpers 1 "
east:/tmp/aggr-unit-01# $DOPLUTO west >$LD/pi-log 2>&1
east:/tmp/aggr-unit-01# $DOPLUTO east >$LD/pr-log 2>&1
east:/tmp/aggr-unit-01# $DOWHACK listen
whackwest --listen
002 listening for IKE messages
002 adding interface virtual127.95.7.1/lo:w 127.95.7.1
002 loading secrets from "/tmp/aggr-unit-01/ipsec.secrets/west"
whackeast --listen
002 listening for IKE messages
002 adding interface virtual127.95.7.2/lo:e 127.95.7.2
002 loading secrets from "/tmp/aggr-unit-01/ipsec.secrets/east"
east:/tmp/aggr-unit-01# sh $TESTING/pluto/$TESTNAME/dowhack.sh 
whackwest --name isakmp-aggr-psk --psk --aggrmode --host 127.95.7.2 --ikeport 8500 --updown silly --to --updown sally --host 127.95.7.1 --ikeport 8500 --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "isakmp-aggr-psk"
whackeast --name isakmp-aggr-psk --psk --aggrmode --host 127.95.7.2 --ikeport 8500 --updown silly --to --updown sally --host 127.95.7.1 --ikeport 8500 --rekeymargin 350 --ikelifetime 900 --ipseclifetime 800 --keyingtries 2
002 added connection description "isakmp-aggr-psk"
whackwest --shutdown
RC: 1
whackeast --shutdown
002 shutting down
east:/tmp/aggr-unit-01# $DOWHACK shutdown
whackwest --shutdown
RC: 1
whackeast --shutdown
whack: Pluto is not running (no "pluto/east/pluto.east.ctl")
RC: 1
east:/tmp/aggr-unit-01# ipsec setup stop
ipsec_setup: Stopping Openswan IPsec...
ipsec_setup: stop ordered, but IPsec does not appear to be running!
ipsec_setup: doing cleanup anyway...
east:/tmp/aggr-unit-01# kill `cat /var/run/klogd.pid`; cat /tmp/klog.log
klogd 1.3-3#33.1, log source = /proc/kmsg started.
east:/tmp/aggr-unit-01# halt -p -f
Power down.

