📄 road-console.txt
字号:
Starting UML PATH/start.shspawn PATH singleLinux version XXXXOn node 0 totalpages: 8192Kernel command line:Calibrating delay loop... XXXX bogomipsDentry-cache hash table entries: NUMBERSInode-cache hash table entries: NUMBERSMount-cache hash table entries: NUMBERSBuffer-cache hash table entries: NUMBERSPage-cache hash table entries: NUMEBRSPOSIX conformance testing by UNIFIXLinux NET4.0 for Linux 2.4Based upon Swansea University Computer Society NET3.039Initializing RT netlink socketStarting kswapdVFS: Diskquotas version dquot_6.4.0 initializeddevfs: VERSION Richard Gooch (rgooch@atnf.csiro.au)devfs: boot_options Qpty: 256 Unix98 ptys configuredSLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).loop: loaded (max 8 devices)PPP generic driver version VERSIONUniversal TUN/TAP device driver VERSIONNET4: Linux TCP/IP 1.0 for NET4.0IP Protocols: ICMP, UDP, TCPIP: routing cache hash table of 512 buckets, 4KbytesTCP: Hash tables configured (established 2048 bind 2048)IPv4 over IPv4 tunneling driverGRE over IPv4 tunneling driverNET4: Unix domain sockets 1.0/SMP for Linux NET4.0.Mounted devfs on /devINIT: version 2.78 bootingActivating swap...Calculating module dependanciesdone.Loading modules: LISTChecking 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): road:~# klogd -c 4 -x -f /tmp/klog.logroad:~# hostname road.uml.freeswan.orgroad:~# ifconfig eth0 inet 192.1.3.213road:~# route delete -net default SIOCDELRT: No such processroad:~# route add -net default gw 192.1.3.254road:~# netstat -rneKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface192.1.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth00.0.0.0 192.1.3.254 0.0.0.0 UG 0 0 0 eth0road:~# namedroad:~# sleep 2road:~# /testing/pluto/bin/look-for-txt 213.3.1.192.in-addr.arpa. AQNxbOBmDLOOK-FOR-TXT FOUND AQNxbOBmDroad:~# TESTNAME=myid-road-04road:~# source /testing/pluto/bin/roadlocal.shroad:~# ipsec setup startipsec_setup: Starting Openswan IPsec VERSIONroad:~# /testing/pluto/oe-road-01/policy-wait.shroad:~# echo donedoneroad:~# : turn on debuggingroad:~# ipsec whack --debug-control --debug-oppo --debug-dnsroad:~# : check out configroad:~# ipsec eroute0 0.0.0.0/0 -> 0.0.0.0/0 => %trap0 192.1.3.213/32 -> 0.0.0.0/0 => %trap0 192.1.3.213/32 -> 192.0.2.2/32 => %trap0 192.1.3.213/32 -> 192.1.2.129/32 => %pass0 192.1.3.213/32 -> 192.1.2.130/32 => %pass0 192.1.3.213/32 -> 192.1.2.254/32 => %passroad:~# ping -c 4 -n 192.0.2.2PING 192.0.2.2 (192.0.2.2): 56 data bytes64 bytes from 192.0.2.2: icmp_seq=0 ttl=257 time=999 ms64 bytes from 192.0.2.2: icmp_seq=1 ttl=257 time=999 ms64 bytes from 192.0.2.2: icmp_seq=2 ttl=257 time=999 ms64 bytes from 192.0.2.2: icmp_seq=3 ttl=257 time=999 ms--- 192.0.2.2 ping statistics ---4 packets transmitted, 4 packets received, 0% packet lossround-trip min/avg/max = 3.1/4.5/9.26 msroad:~# : transfer some dataroad:~# nc -w 5 192.0.2.2 2 | wc -l 831road:~# ipsec eroute | grep -l tun(standard input)road:~# : check if eroute owner is the same as newest IPSECroad:~# if ipsec whack --status | grep 'newest IPSEC' | grep 'eroute owner' >/dev/null; then echo newest is eroute owner; else echo two SAs alive; finewest is eroute ownerroad:~# road:~# : check out the myid that I concluded withroad:~# ipsec auto --status | grep '%myid ='000 %myid = 192.1.3.213road:~#road:~# ipsec setup stopIPSEC EVENT: KLIPS device ipsec0 shut down.ipsec_setup: Stopping Openswan IPsec...road:~# kill `cat /var/run/klogd.pid`; cat /tmp/klog.logklogd 1.3-3#33.1, log source = /proc/kmsg started.road:~# halt -p -fPower down.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -