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:~#
 named
east:~#
 TESTNAME=vpn-dns-01
east:~#
 mkdir -p /tmp/$TESTNAME
east:~#
 cp /testing/pluto/$TESTNAME/east.conf  /tmp/$TESTNAME/ipsec.conf
east:~#
 cp /etc/ipsec.secrets                  /tmp/$TESTNAME
east:~#
 mkdir -p /tmp/$TESTNAME/ipsec.d/policies
east:~#
 cp /etc/ipsec.d/policies/* /tmp/$TESTNAME/ipsec.d/policies
east:~#
 IPSEC_CONFS=/tmp/$TESTNAME export IPSEC_CONFS
east:~#
 ipsec setup start
ipsec_setup: Starting FreeS/WAN IPsec VERSION
east:~#
 /testing/pluto/bin/wait-until-pluto-started
east:~#
 dig eastkey.uml.freeswan.org. key

; <<>> DiG VERSION<<>> eastkey.uml.freeswan.org. key
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12345
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;eastkey.uml.freeswan.org.	IN	KEY

;; ANSWER SECTION:
eastkey.uml.freeswan.org. 604800 IN	KEY	16896 4 1 AQN3cn11FrBVbZhWGwRnFDAf8O9FHBmBIyIvmvt0kfkI2UGDDq8k+vYg RkwBZDviLd1p3SkL30LzuV0rqG3vBriqaAUUGoCQ0UMgsuX+k01bROLs qGB1QNXYvYiPLsnoDhKd2Gx9MUMHEjwwEZeyskMT5k91jvoAZvdEkg+9 h7urbJ+kRQ4e+IHkMUrreDGwGVptV/hYQVCD54RZep6xp5ymaKRCDgMp zWvlzO80fP7JDjSZf9LI/MMu6c+qwXIKnWoNha75IhFyLWniVczxK2Rd hmMhLsi0kC0CoOwWDSIEOb+5zbECDjjud+SF5tT8qRCWnSomX8jtbCdZ 50WraQlL

;; Query time: 25 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: DATE
;; MSG SIZE  rcvd: SIZE

east:~#
 dig westtxt.uml.freeswan.org. txt

; <<>> DiG VERSION<<>> westtxt.uml.freeswan.org. txt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12345
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;westtxt.uml.freeswan.org.	IN	TXT

;; ANSWER SECTION:
westtxt.uml.freeswan.org. 604800 IN	TXT	"X-IPsec-Server(10)=@westtxt.uml.freeswan.org. " "AQNzGEFs18VKT00sA+4p+GUKn9C55PYuPQca6C+9Qhj0jfMdQnTRTDLeI+lp9TnidHH7fVpq+PkfiF2LHlZtDwMurLlwzbNOghlEYKfQ080WlOTTUAmOLhAzH28MF70q3hzq0m5fCaVZWtxcV+LfHWdxceCkjBUSaTFtR2W12urFCBz+SB3+OM33aeIbfHxmck2yzhJ8xyMods5kF3ek/RZlFvgN8VqBdcFVrZwTh0mXDCGN12HNFixL6FzQ1jQ" "KerKBbjb0m/IPqugvpVPWVIUajUpLMEmi1FAXc1mFZE9x1SFuSr0NzYIu2ZaHfvsAZY5oN+I+R2oC67fUCjgxY+t7"

;; Query time: 25 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: DATE
;; MSG SIZE  rcvd: SIZE

east:~#
 ipsec whack --debug-control
east:~#
 : BAD/KEY - will fail
east:~#
 ipsec auto $SHOW --add    westnet-eastnet-bad-key
028 failure to fetch key for @eastbad.uml.freeswan.org from DNS: RR of type TXT for eastbad.uml.freeswan.org. was not found
028 failure to fetch key for @eastbad.uml.freeswan.org from DNS: RR of type KEY for eastbad.uml.freeswan.org. was not found
east:~#
 ipsec auto $SHOW --delete westnet-eastnet-bad-key
021 no connection named "westnet-eastnet-bad-key"
east:~#
 : TXT/BAD - will fail
east:~#
 ipsec auto $SHOW --add    westnet-eastnet-txt-bad
028 failure to fetch key for @westbad.uml.freeswan.org from DNS: RR of type TXT for westbad.uml.freeswan.org. was not found
028 failure to fetch key for @westbad.uml.freeswan.org from DNS: RR of type KEY for westbad.uml.freeswan.org. was not found
east:~#
 ipsec auto $SHOW --delete westnet-eastnet-txt-bad
021 no connection named "westnet-eastnet-txt-bad"
east:~#
 : KEY/KEY
east:~#
 ipsec auto $SHOW --add    westnet-eastnet-key-key
east:~#
 ipsec auto $SHOW --delete westnet-eastnet-key-key
east:~#
 : KEY/TXT
east:~#
 ipsec auto $SHOW --add    westnet-eastnet-key-txt
east:~#
 ipsec auto $SHOW --delete westnet-eastnet-key-txt
east:~#
 : TXT/TXT
east:~#
 ipsec auto $SHOW --add    westnet-eastnet-txt-txt
east:~#
 ipsec auto $SHOW --delete westnet-eastnet-txt-txt
east:~#
 : TXT/KEY
east:~#
 ipsec auto $SHOW --add    westnet-eastnet-txt-key
east:~#
 ipsec auto $SHOW --delete westnet-eastnet-txt-key
east:~#
east:~#
 ipsec setup stop
ipsec_setup: Stopping FreeS/WAN IPsec...
IPSEC EVENT: KLIPS device ipsec0 shut down.
east:~#
 kill `cat /var/run/klogd.pid`; cat /tmp/klog.log
klogd 1.3-3#33.1, log source = /proc/kmsg started.
east:~#
 halt -p -f
Power down.

