road:~#
 ipsec setup stop
ipsec_setup: Stopping Openswan IPsec...
ipsec_setup: stop ordered, but IPsec appears to be already stopped!
ipsec_setup: doing cleanup anyway...
road:~#
 umount /var/tmp; mount /var/tmp
road:~#
 umount /usr/local; mount /usr/local
road:~#
 hostname road.uml.freeswan.org
road:~#
 ifconfig eth0 inet 192.1.3.194
road:~#
 route delete -net default 
SIOCDELRT: No such process
road:~#
 route add -net default gw 192.1.3.254
road:~#
 netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.1.3.0       0.0.0.0         255.255.255.0   U         0 0          0 eth0
0.0.0.0         192.1.3.254     0.0.0.0         UG        0 0          0 eth0
road:~#
 export TESTNAME=xauth-pluto-12
road:~#
 source /testing/pluto/bin/roadlocal.sh
road:~#
 ipsec setup start
ipsec_setup: Starting Openswan IPsec VERSION
road:~#
 echo done
done
road:~#
 ipsec auto --replace modecfg-road--eastnet-psk
road:~#
 ipsec whack --xauthname 'use3' --xauthpass 'use1pass' --name modecfg-road--eastnet-psk --initiate 
003 "modecfg-road--eastnet-psk" #1: multiple transforms were set in aggressive mode. Only first one used.
003 "modecfg-road--eastnet-psk" #1: transform (5,2,2,0) ignored.
002 "modecfg-road--eastnet-psk" #1: initiating Aggressive Mode #1, connection "modecfg-road--eastnet-psk"
003 "modecfg-road--eastnet-psk" #1: multiple transforms were set in aggressive mode. Only first one used.
003 "modecfg-road--eastnet-psk" #1: transform (5,2,2,0) ignored.
112 "modecfg-road--eastnet-psk" #1: STATE_AGGR_I1: initiate
003 "modecfg-road--eastnet-psk" #1: received Vendor ID payload [Dead Peer Detection]
002 "modecfg-road--eastnet-psk" #1: Aggressive mode peer ID is ID_FQDN: '@east'
002 "modecfg-road--eastnet-psk" #1: Aggressive mode peer ID is ID_FQDN: '@east'
002 "modecfg-road--eastnet-psk" #1: transition from state STATE_AGGR_I1 to state STATE_AGGR_I2
004 "modecfg-road--eastnet-psk" #1: STATE_AGGR_I2: sent AI2, ISAKMP SA established {auth=OAKLEY_PRESHARED_KEY cipher=oakley_3des_cbc_192 prf=oakley_sha group=modp1536}
041 "modecfg-road--eastnet-psk" #1: modecfg-road--eastnet-psk prompt for Username:
040 "modecfg-road--eastnet-psk" #1: modecfg-road--eastnet-psk prompt for Password:
002 "modecfg-road--eastnet-psk" #1: XAUTH: Answering XAUTH challenge with user='use3'
002 "modecfg-road--eastnet-psk" #1: transition from state STATE_XAUTH_I0 to state STATE_XAUTH_I1
004 "modecfg-road--eastnet-psk" #1: STATE_XAUTH_I1: XAUTH client - awaiting CFG_set
002 "modecfg-road--eastnet-psk" #1: XAUTH: Successfully Authenticated
002 "modecfg-road--eastnet-psk" #1: transition from state STATE_XAUTH_I0 to state STATE_XAUTH_I1
004 "modecfg-road--eastnet-psk" #1: STATE_XAUTH_I1: XAUTH client - awaiting CFG_set
002 "modecfg-road--eastnet-psk" #1: setting client address to 192.0.2.209/32
002 "modecfg-road--eastnet-psk" #1: setting ip source address to 192.0.2.209/32
002 "modecfg-road--eastnet-psk" #1: transition from state STATE_XAUTH_I1 to state STATE_MAIN_I4
004 "modecfg-road--eastnet-psk" #1: STATE_MAIN_I4: ISAKMP SA established
002 "modecfg-road--eastnet-psk" #2: initiating Quick Mode PSK+ENCRYPT+TUNNEL+PFS+UP+AGGRESSIVE
117 "modecfg-road--eastnet-psk" #2: STATE_QUICK_I1: initiate
002 "modecfg-road--eastnet-psk" #2: transition from state STATE_QUICK_I1 to state STATE_QUICK_I2
004 "modecfg-road--eastnet-psk" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode
road:~#
 echo done.
done.
road:~#
 

road:~#

