📄 west-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): west:~# klogd -c 4 -x -f /tmp/klog.logwest:~# ping -n -c 4 192.0.2.254PING 192.0.2.254 (192.0.2.254): 56 data bytes64 bytes from 192.0.2.254: icmp_seq=0 ttl=257 time=999 ms64 bytes from 192.0.2.254: icmp_seq=1 ttl=257 time=999 ms64 bytes from 192.0.2.254: icmp_seq=2 ttl=257 time=999 ms64 bytes from 192.0.2.254: icmp_seq=3 ttl=257 time=999 ms--- 192.0.2.254 ping statistics ---4 packets transmitted, 4 packets received, 0% packet lossround-trip min/avg/max = 3.1/4.5/9.26 mswest:~# iptables -A INPUT -i eth1 -s 192.0.2.0/24 -j DROPwest:~# ping -n -c 4 192.0.2.254PING 192.0.2.254 (192.0.2.254): 56 data bytes--- 192.0.2.254 ping statistics ---4 packets transmitted, 0 packets received, 100% packet losswest:~# TESTNAME=aggr-pluto-02west:~# source /testing/pluto/bin/westlocal.shwest:~# ipsec setup startipsec_setup: Starting Openswan IPsec VERSIONwest:~# ipsec auto --add westnet-eastnet-aggr-pskwest:~# /testing/pluto/basic-pluto-01/eroutewait.sh trapwest:~# ipsec auto --up westnet-eastnet-aggr-psk112 "westnet-eastnet-aggr-psk" #1: STATE_AGGR_I1: initiate004 "westnet-eastnet-aggr-psk" #1: STATE_AGGR_I2: sent AI2, ISAKMP SA established117 "westnet-eastnet-aggr-psk" #2: STATE_QUICK_I1: initiate004 "westnet-eastnet-aggr-psk" #2: STATE_QUICK_I2: sent QI2, IPsec SA establishedwest:~# echo donedonewest:~# ipsec lookwest NOW0.0.0.0/0 -> 0.0.0.0/0 => %trap192.0.1.0/24 -> 192.0.2.0/24 => tun0xIPIP@192.1.2.23 esp0xESPSPI@192.1.2.23ipsec0->eth1 mtu=16260(9999)->1500tun0xTUN#@192.1.2.23 IPIP: dir=out src=192.1.2.45 esp0xKLIPSPIK@192.1.2.23 ESP_3DES_HMAC_MD5: dir=out src=192.1.2.45 iv_bits=64bits iv=0xIVISFORRANDOM000 ooowin=64 alen=128 aklen=128 eklen=192 esp0xKLIPSPIK@192.1.2.45 ESP_3DES_HMAC_MD5: dir=in src=192.1.2.23 iv_bits=64bits iv=0xIVISFORRANDOM000 ooowin=64 alen=128 aklen=128 eklen=192 tun0xTUN#@192.1.2.45 IPIP: dir=in src=192.1.2.23 policy=192.0.2.0/24->192.0.1.0/24 flags=0x8<> Destination Gateway Genmask Flags MSS Window irtt Iface0.0.0.0 192.1.2.254 0.0.0.0 UG 99 0 0 eth10.0.0.0 192.1.2.254 128.0.0.0 UG 99 0 0 ipsec0128.0.0.0 192.1.2.254 128.0.0.0 UG 99 0 0 ipsec0192.0.2.0 192.1.2.23 255.255.255.0 UG 99 0 0 ipsec0192.1.2.0 0.0.0.0 255.255.255.0 U 99 0 0 eth1192.1.2.0 0.0.0.0 255.255.255.0 U 99 0 0 ipsec0west:~# echo donedonewest:~# west:~# ipsec lookwest NOW0.0.0.0/0 -> 0.0.0.0/0 => %trap192.0.1.0/24 -> 192.0.2.0/24 => tun0xIPIP@192.1.2.23 esp0xESPSPI@192.1.2.23ipsec0->eth1 mtu=16260(9999)->1500tun0xTUN#@192.1.2.23 IPIP: dir=out src=192.1.2.45 esp0xKLIPSPIK@192.1.2.23 ESP_3DES_HMAC_MD5: dir=out src=192.1.2.45 iv_bits=64bits iv=0xIVISFORRANDOM000 ooowin=64 alen=128 aklen=128 eklen=192 tun0xTUN#@192.1.2.23 IPIP: dir=out src=192.1.2.45 esp0xKLIPSPIK@192.1.2.23 ESP_3DES_HMAC_MD5: dir=out src=192.1.2.45 iv_bits=64bits iv=0xIVISFORRANDOM000 ooowin=64 alen=128 aklen=128 eklen=192 esp0xKLIPSPIK@192.1.2.45 ESP_3DES_HMAC_MD5: dir=in src=192.1.2.23 iv_bits=64bits iv=0xIVISFORRANDOM000 ooowin=64 alen=128 aklen=128 eklen=192 tun0xTUN#@192.1.2.45 IPIP: dir=in src=192.1.2.23 policy=192.0.2.0/24->192.0.1.0/24 flags=0x8<> Destination Gateway Genmask Flags MSS Window irtt Iface0.0.0.0 192.1.2.254 0.0.0.0 UG 99 0 0 eth10.0.0.0 192.1.2.254 128.0.0.0 UG 99 0 0 ipsec0128.0.0.0 192.1.2.254 128.0.0.0 UG 99 0 0 ipsec0192.0.2.0 192.1.2.23 255.255.255.0 UG 99 0 0 ipsec0192.1.2.0 0.0.0.0 255.255.255.0 U 99 0 0 eth1192.1.2.0 0.0.0.0 255.255.255.0 U 99 0 0 ipsec0west:~#west:~# ipsec setup stopIPSEC EVENT: KLIPS device ipsec0 shut down.ipsec_setup: Stopping Openswan IPsec...west:~# kill `cat /var/run/klogd.pid`; cat /tmp/klog.logklogd 1.3-3#33.1, log source = /proc/kmsg started.west:~# halt -p -fPower down.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -