/l3/users/eb/2009/linux7/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 |
|
#/etc/init.d/openvpn restart
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#ping 10.0.35.100
PING 10.0.35.100 (10.0.35.100) 56(84) bytes of data. 64 bytes from 10.0.35.100: icmp_seq=1 ttl=62 time=0.257 ms 64 bytes from 10.0.35.100: icmp_seq=2 ttl=62 time=0.218 ms 64 bytes from 10.0.35.100: icmp_seq=3 ttl=62 time=0.220 ms 64 bytes from 10.0.35.100: icmp_seq=4 ttl=62 time=0.222 ms 64 bytes from 10.0.35.100: icmp_seq=5 ttl=62 time=0.221 ms ^C --- 10.0.35.100 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3998ms rtt min/avg/max/mdev = 0.218/0.227/0.257/0.022 ms |
#ping 10.0.35.100
PING 10.0.35.100 (10.0.35.100) 56(84) bytes of data. 64 bytes from 10.0.35.100: icmp_seq=1 ttl=62 time=0.257 ms 64 bytes from 10.0.35.100: icmp_seq=2 ttl=62 time=0.218 ms 64 bytes from 10.0.35.100: icmp_seq=3 ttl=62 time=0.220 ms 64 bytes from 10.0.35.100: icmp_seq=4 ttl=62 time=0.222 ms 64 bytes from 10.0.35.100: icmp_seq=5 ttl=62 time=0.221 ms ^C --- 10.0.35.100 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3998ms rtt min/avg/max/mdev = 0.218/0.227/0.257/0.022 ms |
#ping mail.ru
PING mail.ru (194.67.57.226) 56(84) bytes of data. ^C --- mail.ru ping statistics --- 8 packets transmitted, 0 received, 100% packet loss, time 7055ms |
#ping mail.ru
PING mail.ru (194.67.57.226) 56(84) bytes of data. ^C --- mail.ru ping statistics --- 8 packets transmitted, 0 received, 100% packet loss, time 7055ms |
#ping freetalk.org.ua
PING freetalk.org.ua (62.80.163.43) 56(84) bytes of data. ^C --- freetalk.org.ua ping statistics --- 43 packets transmitted, 0 received, 100% packet loss, time 42334ms |
#ping freetalk.org.ua
PING freetalk.org.ua (62.80.163.43) 56(84) bytes of data. ^C --- freetalk.org.ua ping statistics --- 43 packets transmitted, 0 received, 100% packet loss, time 42334ms |
#traceroute freetalk.org.ua
traceroute to freetalk.org.ua (62.80.163.43), 30 hops max, 60 byte packets 1 192.168.204.1 (192.168.204.1) 0.841 ms 1.251 ms 1.397 ms 2 10.0.35.1 (10.0.35.1) 0.340 ms 0.333 ms 0.325 ms 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 *^C |
#traceroute freetalk.org.ua
traceroute to freetalk.org.ua (62.80.163.43), 30 hops max, 60 byte packets 1 192.168.204.1 (192.168.204.1) 0.841 ms 1.251 ms 1.397 ms 2 10.0.35.1 (10.0.35.1) 0.340 ms 0.333 ms 0.325 ms 3 * * * 4 * * * 5 * * * 6 * * * 7 * * * 8 *^C |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#netstat -rm
netstat: invalid option -- 'm' usage: netstat [-vWeenNcCF] [<Af>] -r netstat {-V|--version|-h|--help} netstat [-vWnNcaeol] [<Socket> ...] netstat { [-vWeenNac] -i | [-cWnNe] -M | -s } -r, --route display routing table -i, --interfaces display interface table -g, --groups display multicast group memberships -s, --statistics display networking statistics (like SNMP) -M, --masquerade display masqueraded connections -v, --verbose be verbose ... -a, --all, --listening display all sockets (default: connected) -o, --timers display timers -F, --fib display Forwarding Information Base (default) -C, --cache display routing cache instead of FIB <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet List of possible address families (which support routing): inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25) netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP) x25 (CCITT X.25) |
#netstat -rm
netstat: invalid option -- 'm' usage: netstat [-vWeenNcCF] [<Af>] -r netstat {-V|--version|-h|--help} netstat [-vWnNcaeol] [<Socket> ...] netstat { [-vWeenNac] -i | [-cWnNe] -M | -s } -r, --route display routing table -i, --interfaces display interface table -g, --groups display multicast group memberships -s, --statistics display networking statistics (like SNMP) -M, --masquerade display masqueraded connections -v, --verbose be verbose ... -a, --all, --listening display all sockets (default: connected) -o, --timers display timers -F, --fib display Forwarding Information Base (default) -C, --cache display routing cache instead of FIB <Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom <AF>=Use '-6|-4' or '-A <af>' or '--<af>'; default: inet List of possible address families (which support routing): inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25) netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP) x25 (CCITT X.25) |
#netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 172.16.3.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 192.168.103.0 172.16.3.2 255.255.255.0 UG 0 0 0 tun0 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.104.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.104 192.168.204.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.204 0.0.0.0 192.168.204.1 0.0.0.0 UG 0 0 0 eth0.204 |
#netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 172.16.3.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 192.168.103.0 172.16.3.2 255.255.255.0 UG 0 0 0 tun0 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.104.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.104 192.168.204.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.204 0.0.0.0 192.168.204.1 0.0.0.0 UG 0 0 0 eth0.204 |
#netstat -r
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 172.16.3.2 * 255.255.255.255 UH 0 0 0 tun0 192.168.103.0 172.16.3.2 255.255.255.0 UG 0 0 0 tun0 192.168.15.0 * 255.255.255.0 U 0 0 0 eth0 192.168.104.0 * 255.255.255.0 U 0 0 0 eth0.104 192.168.204.0 * 255.255.255.0 U 0 0 0 eth0.204 default 192.168.204.1 0.0.0.0 UG 0 0 0 eth0.204 |
#netstat -r
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 172.16.3.2 * 255.255.255.255 UH 0 0 0 tun0 192.168.103.0 172.16.3.2 255.255.255.0 UG 0 0 0 tun0 192.168.15.0 * 255.255.255.0 U 0 0 0 eth0 192.168.104.0 * 255.255.255.0 U 0 0 0 eth0.104 192.168.204.0 * 255.255.255.0 U 0 0 0 eth0.204 default 192.168.204.1 0.0.0.0 UG 0 0 0 eth0.204 |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.16.3.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 192.168.103.0 172.16.3.2 255.255.255.0 UG 0 0 0 tun0 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.104.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.104 192.168.204.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.204 0.0.0.0 192.168.204.1 0.0.0.0 UG 0 0 0 eth0.204 |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.16.3.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 192.168.103.0 172.16.3.2 255.255.255.0 UG 0 0 0 tun0 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.104.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.104 192.168.204.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0.204 0.0.0.0 192.168.204.1 0.0.0.0 UG 0 0 0 eth0.204 |
#traceroute 10.0.35.1
traceroute to 10.0.35.1 (10.0.35.1), 30 hops max, 60 byte packets 1 192.168.204.1 (192.168.204.1) 1.202 ms 1.392 ms 1.628 ms 2 10.0.35.1 (10.0.35.1) 0.324 ms 0.313 ms 0.300 ms |
#traceroute 10.0.35.1
traceroute to 10.0.35.1 (10.0.35.1), 30 hops max, 60 byte packets 1 192.168.204.1 (192.168.204.1) 1.202 ms 1.392 ms 1.628 ms 2 10.0.35.1 (10.0.35.1) 0.324 ms 0.313 ms 0.300 ms |
#ping 10.0.35.1
64 bytes from 10.0.35.1: icmp_seq=474 ttl=63 time=0.235 ms 64 bytes from 10.0.35.1: icmp_seq=475 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=476 ttl=63 time=0.226 ms 64 bytes from 10.0.35.1: icmp_seq=477 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=478 ttl=63 time=0.224 ms 64 bytes from 10.0.35.1: icmp_seq=479 ttl=63 time=0.224 ms 64 bytes from 10.0.35.1: icmp_seq=480 ttl=63 time=0.223 ms 64 bytes from 10.0.35.1: icmp_seq=481 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=482 ttl=63 time=0.224 ms 64 bytes from 10.0.35.1: icmp_seq=483 ttl=63 time=0.226 ms ... 64 bytes from 10.0.35.1: icmp_seq=613 ttl=63 time=0.227 ms 64 bytes from 10.0.35.1: icmp_seq=614 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=615 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=616 ttl=63 time=0.236 ms 64 bytes from 10.0.35.1: icmp_seq=617 ttl=63 time=0.234 ms 64 bytes from 10.0.35.1: icmp_seq=618 ttl=63 time=0.225 ms ^C --- 10.0.35.1 ping statistics --- 618 packets transmitted, 618 received, 0% packet loss, time 616993ms rtt min/avg/max/mdev = 0.185/0.226/0.307/0.009 ms |
#ping 10.0.35.1
64 bytes from 10.0.35.1: icmp_seq=474 ttl=63 time=0.235 ms 64 bytes from 10.0.35.1: icmp_seq=475 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=476 ttl=63 time=0.226 ms 64 bytes from 10.0.35.1: icmp_seq=477 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=478 ttl=63 time=0.224 ms 64 bytes from 10.0.35.1: icmp_seq=479 ttl=63 time=0.224 ms 64 bytes from 10.0.35.1: icmp_seq=480 ttl=63 time=0.223 ms 64 bytes from 10.0.35.1: icmp_seq=481 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=482 ttl=63 time=0.224 ms 64 bytes from 10.0.35.1: icmp_seq=483 ttl=63 time=0.226 ms ... 64 bytes from 10.0.35.1: icmp_seq=613 ttl=63 time=0.227 ms 64 bytes from 10.0.35.1: icmp_seq=614 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=615 ttl=63 time=0.225 ms 64 bytes from 10.0.35.1: icmp_seq=616 ttl=63 time=0.236 ms 64 bytes from 10.0.35.1: icmp_seq=617 ttl=63 time=0.234 ms 64 bytes from 10.0.35.1: icmp_seq=618 ttl=63 time=0.225 ms ^C --- 10.0.35.1 ping statistics --- 618 packets transmitted, 618 received, 0% packet loss, time 616993ms rtt min/avg/max/mdev = 0.185/0.226/0.307/0.009 ms |
#w
18:51:53 up 9:21, 5 users, load average: 0,00, 0,00, 0,00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT user tty7 :0 09:32 9:21m 2:34 0.37s x-session-manag user pts/0 :0.0 09:32 2:02 0.40s 0.31s script -f -c ba user pts/4 :0.0 17:11 1:03m 0.28s 0.28s script -f -c ba root pts/9 linux6.unix.nt 18:10 0.00s 0.00s 0.00s script -f -c ba user pts/8 :0.0 17:52 55:20 0.04s 0.04s ssh root@10.0.3 |
#traceroute 192.168.104.8
traceroute to 192.168.104.8 (192.168.104.8), 30 hops max, 60 byte packets 1 192.168.104.8 (192.168.104.8) 0.187 ms 0.165 ms 0.151 ms |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:09:15 linux7 ovpn-server[30821]: event_wait : Interrupted system call (code=4) Jun 3 19:09:15 linux7 ovpn-server[30821]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:09:16 linux7 ovpn-server[30821]: SIGTERM[hard,] received, process exiting Jun 3 19:09:17 linux7 ovpn-server[31081]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:09:17 linux7 ovpn-server[31081]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:09:17 linux7 ovpn-server[31081]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:09:17 linux7 kernel: [34716.693883] tun0: Disabled Privacy Extensions Jun 3 19:09:17 linux7 ovpn-server[31081]: TUN/TAP device tun0 opened Jun 3 19:09:17 linux7 ovpn-server[31081]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:09:17 linux7 ovpn-server[31087]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:09:22 linux7 ovpn-server[31087]: TCP connection established with 192.168.203.2:54150 Jun 3 19:09:22 linux7 ovpn-server[31087]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:09:22 linux7 ovpn-server[31087]: TCPv4_SERVER link remote: 192.168.203.2:54150 Jun 3 19:09:22 linux7 ovpn-server[31087]: Peer Connection Initiated with 192.168.203.2:54150 Jun 3 19:09:23 linux7 ovpn-server[31087]: Initialization Sequence Completed ^C |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:09:15 linux7 ovpn-server[30821]: event_wait : Interrupted system call (code=4) Jun 3 19:09:15 linux7 ovpn-server[30821]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:09:16 linux7 ovpn-server[30821]: SIGTERM[hard,] received, process exiting Jun 3 19:09:17 linux7 ovpn-server[31081]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:09:17 linux7 ovpn-server[31081]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:09:17 linux7 ovpn-server[31081]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:09:17 linux7 kernel: [34716.693883] tun0: Disabled Privacy Extensions Jun 3 19:09:17 linux7 ovpn-server[31081]: TUN/TAP device tun0 opened Jun 3 19:09:17 linux7 ovpn-server[31081]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:09:17 linux7 ovpn-server[31087]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:09:22 linux7 ovpn-server[31087]: TCP connection established with 192.168.203.2:54150 Jun 3 19:09:22 linux7 ovpn-server[31087]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:09:22 linux7 ovpn-server[31087]: TCPv4_SERVER link remote: 192.168.203.2:54150 Jun 3 19:09:22 linux7 ovpn-server[31087]: Peer Connection Initiated with 192.168.203.2:54150 Jun 3 19:09:23 linux7 ovpn-server[31087]: Initialization Sequence Completed ^C |
#ping 192.168.103.1
PING 192.168.103.1 (192.168.103.1) 56(84) bytes of data. From 10.0.35.1 icmp_seq=1 Time to live exceeded 64 bytes from 192.168.103.1: icmp_seq=2 ttl=64 time=2956 ms 64 bytes from 192.168.103.1: icmp_seq=3 ttl=64 time=1948 ms 64 bytes from 192.168.103.1: icmp_seq=4 ttl=64 time=941 ms 64 bytes from 192.168.103.1: icmp_seq=5 ttl=64 time=0.326 ms 64 bytes from 192.168.103.1: icmp_seq=6 ttl=64 time=0.428 ms 64 bytes from 192.168.103.1: icmp_seq=7 ttl=64 time=0.303 ms 64 bytes from 192.168.103.1: icmp_seq=8 ttl=64 time=0.297 ms ^C --- 192.168.103.1 ping statistics --- 8 packets transmitted, 7 received, +1 errors, 12% packet loss, time 7015ms rtt min/avg/max/mdev = 0.297/835.386/2956.176/1104.412 ms, pipe 3 |
#ping 192.168.103.1
PING 192.168.103.1 (192.168.103.1) 56(84) bytes of data. From 10.0.35.1 icmp_seq=1 Time to live exceeded 64 bytes from 192.168.103.1: icmp_seq=2 ttl=64 time=2956 ms 64 bytes from 192.168.103.1: icmp_seq=3 ttl=64 time=1948 ms 64 bytes from 192.168.103.1: icmp_seq=4 ttl=64 time=941 ms 64 bytes from 192.168.103.1: icmp_seq=5 ttl=64 time=0.326 ms 64 bytes from 192.168.103.1: icmp_seq=6 ttl=64 time=0.428 ms 64 bytes from 192.168.103.1: icmp_seq=7 ttl=64 time=0.303 ms 64 bytes from 192.168.103.1: icmp_seq=8 ttl=64 time=0.297 ms ^C --- 192.168.103.1 ping statistics --- 8 packets transmitted, 7 received, +1 errors, 12% packet loss, time 7015ms rtt min/avg/max/mdev = 0.297/835.386/2956.176/1104.412 ms, pipe 3 |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:10:27 linux7 ovpn-server[31087]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:10:30 linux7 ovpn-server[31087]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:10:30 linux7 ovpn-server[31087]: SIGTERM[hard,init_instance] received, process exiting Jun 3 19:10:31 linux7 ovpn-server[31174]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:10:31 linux7 ovpn-server[31174]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:10:31 linux7 ovpn-server[31174]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:10:31 linux7 kernel: [34791.522035] tun0: Disabled Privacy Extensions Jun 3 19:10:31 linux7 ovpn-server[31174]: TUN/TAP device tun0 opened Jun 3 19:10:31 linux7 ovpn-server[31174]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:10:31 linux7 ovpn-server[31180]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:10:32 linux7 ovpn-server[31180]: TCP connection established with 192.168.203.2:54153 Jun 3 19:10:32 linux7 ovpn-server[31180]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:10:32 linux7 ovpn-server[31180]: TCPv4_SERVER link remote: 192.168.203.2:54153 Jun 3 19:10:32 linux7 ovpn-server[31180]: Peer Connection Initiated with 192.168.203.2:54153 Jun 3 19:10:34 linux7 ovpn-server[31180]: Initialization Sequence Completed ^C |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:10:27 linux7 ovpn-server[31087]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:10:30 linux7 ovpn-server[31087]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:10:30 linux7 ovpn-server[31087]: SIGTERM[hard,init_instance] received, process exiting Jun 3 19:10:31 linux7 ovpn-server[31174]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:10:31 linux7 ovpn-server[31174]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:10:31 linux7 ovpn-server[31174]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:10:31 linux7 kernel: [34791.522035] tun0: Disabled Privacy Extensions Jun 3 19:10:31 linux7 ovpn-server[31174]: TUN/TAP device tun0 opened Jun 3 19:10:31 linux7 ovpn-server[31174]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:10:31 linux7 ovpn-server[31180]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:10:32 linux7 ovpn-server[31180]: TCP connection established with 192.168.203.2:54153 Jun 3 19:10:32 linux7 ovpn-server[31180]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:10:32 linux7 ovpn-server[31180]: TCPv4_SERVER link remote: 192.168.203.2:54153 Jun 3 19:10:32 linux7 ovpn-server[31180]: Peer Connection Initiated with 192.168.203.2:54153 Jun 3 19:10:34 linux7 ovpn-server[31180]: Initialization Sequence Completed ^C |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:10:49 linux7 ovpn-server[31180]: event_wait : Interrupted system call (code=4) Jun 3 19:10:49 linux7 ovpn-server[31180]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:10:49 linux7 ovpn-server[31180]: SIGTERM[hard,] received, process exiting Jun 3 19:10:50 linux7 ovpn-server[31224]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:10:50 linux7 ovpn-server[31224]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:10:50 linux7 ovpn-server[31224]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:10:50 linux7 kernel: [34810.476580] tun0: Disabled Privacy Extensions Jun 3 19:10:50 linux7 ovpn-server[31224]: TUN/TAP device tun0 opened ... Jun 3 19:13:28 linux7 kernel: [34968.622561] tun0: Disabled Privacy Extensions Jun 3 19:13:28 linux7 ovpn-server[31230]: TUN/TAP device tun0 opened Jun 3 19:13:28 linux7 ovpn-server[31230]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:13:28 linux7 ovpn-server[31230]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:13:33 linux7 ovpn-server[31230]: TCP connection established with 192.168.203.2:54158 Jun 3 19:13:33 linux7 ovpn-server[31230]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:13:33 linux7 ovpn-server[31230]: TCPv4_SERVER link remote: 192.168.203.2:54158 Jun 3 19:13:33 linux7 ovpn-server[31230]: Peer Connection Initiated with 192.168.203.2:54158 Jun 3 19:13:35 linux7 ovpn-server[31230]: Initialization Sequence Completed ^C |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:10:49 linux7 ovpn-server[31180]: event_wait : Interrupted system call (code=4) Jun 3 19:10:49 linux7 ovpn-server[31180]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:10:49 linux7 ovpn-server[31180]: SIGTERM[hard,] received, process exiting Jun 3 19:10:50 linux7 ovpn-server[31224]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:10:50 linux7 ovpn-server[31224]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:10:50 linux7 ovpn-server[31224]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:10:50 linux7 kernel: [34810.476580] tun0: Disabled Privacy Extensions Jun 3 19:10:50 linux7 ovpn-server[31224]: TUN/TAP device tun0 opened ... Jun 3 19:13:28 linux7 kernel: [34968.622561] tun0: Disabled Privacy Extensions Jun 3 19:13:28 linux7 ovpn-server[31230]: TUN/TAP device tun0 opened Jun 3 19:13:28 linux7 ovpn-server[31230]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:13:28 linux7 ovpn-server[31230]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:13:33 linux7 ovpn-server[31230]: TCP connection established with 192.168.203.2:54158 Jun 3 19:13:33 linux7 ovpn-server[31230]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:13:33 linux7 ovpn-server[31230]: TCPv4_SERVER link remote: 192.168.203.2:54158 Jun 3 19:13:33 linux7 ovpn-server[31230]: Peer Connection Initiated with 192.168.203.2:54158 Jun 3 19:13:35 linux7 ovpn-server[31230]: Initialization Sequence Completed ^C |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:14:14 linux7 ovpn-server[31230]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:14:16 linux7 ovpn-server[31230]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:14:16 linux7 ovpn-server[31230]: SIGTERM[hard,init_instance] received, process exiting Jun 3 19:14:17 linux7 ovpn-server[31346]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:14:17 linux7 ovpn-server[31346]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:14:17 linux7 ovpn-server[31346]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:14:17 linux7 kernel: [35017.249261] tun0: Disabled Privacy Extensions Jun 3 19:14:17 linux7 ovpn-server[31346]: TUN/TAP device tun0 opened ... Jun 3 19:36:27 linux7 kernel: [36347.557894] tun0: Disabled Privacy Extensions Jun 3 19:36:27 linux7 ovpn-server[31354]: TUN/TAP device tun0 opened Jun 3 19:36:27 linux7 ovpn-server[31354]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:36:27 linux7 ovpn-server[31354]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:36:30 linux7 ovpn-server[31354]: TCP connection established with 192.168.203.2:50693 Jun 3 19:36:30 linux7 ovpn-server[31354]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:36:30 linux7 ovpn-server[31354]: TCPv4_SERVER link remote: 192.168.203.2:50693 Jun 3 19:36:31 linux7 ovpn-server[31354]: Peer Connection Initiated with 192.168.203.2:50693 Jun 3 19:36:31 linux7 ovpn-server[31354]: Initialization Sequence Completed ^C |
#/etc/init.d/openvpn restart;tail -f /var/log/syslog
Stopping virtual private network daemon: server. Starting virtual private network daemon: server. Jun 3 19:14:14 linux7 ovpn-server[31230]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:14:16 linux7 ovpn-server[31230]: /sbin/ifconfig tun0 0.0.0.0 Jun 3 19:14:16 linux7 ovpn-server[31230]: SIGTERM[hard,init_instance] received, process exiting Jun 3 19:14:17 linux7 ovpn-server[31346]: OpenVPN 2.1_rc15 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] built on May 1 2009 Jun 3 19:14:17 linux7 ovpn-server[31346]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Jun 3 19:14:17 linux7 ovpn-server[31346]: /usr/sbin/openvpn-vulnkey -q linux7.key Jun 3 19:14:17 linux7 kernel: [35017.249261] tun0: Disabled Privacy Extensions Jun 3 19:14:17 linux7 ovpn-server[31346]: TUN/TAP device tun0 opened ... Jun 3 19:36:27 linux7 kernel: [36347.557894] tun0: Disabled Privacy Extensions Jun 3 19:36:27 linux7 ovpn-server[31354]: TUN/TAP device tun0 opened Jun 3 19:36:27 linux7 ovpn-server[31354]: /sbin/ifconfig tun0 172.16.3.1 pointopoint 172.16.3.2 mtu 1500 Jun 3 19:36:27 linux7 ovpn-server[31354]: Listening for incoming TCP connection on [undef]:443 Jun 3 19:36:30 linux7 ovpn-server[31354]: TCP connection established with 192.168.203.2:50693 Jun 3 19:36:30 linux7 ovpn-server[31354]: TCPv4_SERVER link local (bound): [undef]:443 Jun 3 19:36:30 linux7 ovpn-server[31354]: TCPv4_SERVER link remote: 192.168.203.2:50693 Jun 3 19:36:31 linux7 ovpn-server[31354]: Peer Connection Initiated with 192.168.203.2:50693 Jun 3 19:36:31 linux7 ovpn-server[31354]: Initialization Sequence Completed ^C |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
Added VLAN with VID == 214 to IF -:eth0:- |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
Added VLAN with VID == 214 to IF -:eth0:- |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#ping 192.168.214.1
PING 192.168.214.1 (192.168.214.1) 56(84) bytes of data. 64 bytes from 192.168.214.1: icmp_seq=1 ttl=64 time=5.19 ms 64 bytes from 192.168.214.1: icmp_seq=2 ttl=64 time=0.750 ms 64 bytes from 192.168.214.1: icmp_seq=3 ttl=64 time=0.615 ms ^C --- 192.168.214.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.615/2.187/5.196/2.128 ms |
#ping 192.168.214.1
PING 192.168.214.1 (192.168.214.1) 56(84) bytes of data. 64 bytes from 192.168.214.1: icmp_seq=1 ttl=64 time=5.19 ms 64 bytes from 192.168.214.1: icmp_seq=2 ttl=64 time=0.750 ms 64 bytes from 192.168.214.1: icmp_seq=3 ttl=64 time=0.615 ms ^C --- 192.168.214.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.615/2.187/5.196/2.128 ms |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 default via 192.168.204.1 dev eth0.204 |
#traceroute 10.0.35.1
traceroute to 10.0.35.1 (10.0.35.1), 30 hops max, 60 byte packets 1 192.168.204.1 (192.168.204.1) 1.188 ms 1.433 ms 1.682 ms 2 10.0.35.1 (10.0.35.1) 0.381 ms 0.369 ms 0.357 ms |
#traceroute 10.0.35.1
traceroute to 10.0.35.1 (10.0.35.1), 30 hops max, 60 byte packets 1 192.168.204.1 (192.168.204.1) 1.188 ms 1.433 ms 1.682 ms 2 10.0.35.1 (10.0.35.1) 0.381 ms 0.369 ms 0.357 ms |
#traceroute 10.0.35.1
traceroute to 10.0.35.1 (10.0.35.1), 30 hops max, 60 byte packets 1 192.168.204.1 (192.168.204.1) 1.364 ms 1.749 ms 1.939 ms 2 10.0.35.1 (10.0.35.1) 0.340 ms 0.328 ms 0.315 ms |
#ping -I eth0.214 192.168.204.1
PING 192.168.204.1 (192.168.204.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=1 Destination Host Unreachable From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable From 192.168.214.2 icmp_seq=7 Destination Host Unreachable From 192.168.214.2 icmp_seq=8 Destination Host Unreachable From 192.168.214.2 icmp_seq=9 Destination Host Unreachable From 192.168.214.2 icmp_seq=10 Destination Host Unreachable From 192.168.214.2 icmp_seq=11 Destination Host Unreachable From 192.168.214.2 icmp_seq=12 Destination Host Unreachable ^C --- 192.168.204.1 ping statistics --- 15 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14078ms , pipe 3 |
#ping -I eth0.214 192.168.204.1
PING 192.168.204.1 (192.168.204.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=1 Destination Host Unreachable From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable From 192.168.214.2 icmp_seq=7 Destination Host Unreachable From 192.168.214.2 icmp_seq=8 Destination Host Unreachable From 192.168.214.2 icmp_seq=9 Destination Host Unreachable From 192.168.214.2 icmp_seq=10 Destination Host Unreachable From 192.168.214.2 icmp_seq=11 Destination Host Unreachable From 192.168.214.2 icmp_seq=12 Destination Host Unreachable ^C --- 192.168.204.1 ping statistics --- 15 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14078ms , pipe 3 |
#ping -I eth0.204 10.0.35.1
PING 10.0.35.1 (10.0.35.1) from 192.168.204.2 eth0.204: 56(84) bytes of data. 64 bytes from 10.0.35.1: icmp_seq=1 ttl=63 time=0.235 ms 64 bytes from 10.0.35.1: icmp_seq=2 ttl=63 time=0.227 ms 64 bytes from 10.0.35.1: icmp_seq=3 ttl=63 time=0.226 ms ^C --- 10.0.35.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.226/0.229/0.235/0.013 ms |
#ping -I eth0.204 10.0.35.1
PING 10.0.35.1 (10.0.35.1) from 192.168.204.2 eth0.204: 56(84) bytes of data. 64 bytes from 10.0.35.1: icmp_seq=1 ttl=63 time=0.235 ms 64 bytes from 10.0.35.1: icmp_seq=2 ttl=63 time=0.227 ms 64 bytes from 10.0.35.1: icmp_seq=3 ttl=63 time=0.226 ms ^C --- 10.0.35.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.226/0.229/0.235/0.013 ms |
#ping -I eth0.214 10.0.35.1
PING 10.0.35.1 (10.0.35.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=1 Destination Host Unreachable From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable From 192.168.214.2 icmp_seq=7 Destination Host Unreachable From 192.168.214.2 icmp_seq=8 Destination Host Unreachable From 192.168.214.2 icmp_seq=9 Destination Host Unreachable ... From 192.168.214.2 icmp_seq=52 Destination Host Unreachable From 192.168.214.2 icmp_seq=53 Destination Host Unreachable From 192.168.214.2 icmp_seq=54 Destination Host Unreachable From 192.168.214.2 icmp_seq=55 Destination Host Unreachable From 192.168.214.2 icmp_seq=56 Destination Host Unreachable From 192.168.214.2 icmp_seq=57 Destination Host Unreachable ^C --- 10.0.35.1 ping statistics --- 59 packets transmitted, 0 received, +57 errors, 100% packet loss, time 58311ms , pipe 3 |
#ping -I eth0.214 10.0.35.1
PING 10.0.35.1 (10.0.35.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=1 Destination Host Unreachable From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable From 192.168.214.2 icmp_seq=7 Destination Host Unreachable From 192.168.214.2 icmp_seq=8 Destination Host Unreachable From 192.168.214.2 icmp_seq=9 Destination Host Unreachable ... From 192.168.214.2 icmp_seq=52 Destination Host Unreachable From 192.168.214.2 icmp_seq=53 Destination Host Unreachable From 192.168.214.2 icmp_seq=54 Destination Host Unreachable From 192.168.214.2 icmp_seq=55 Destination Host Unreachable From 192.168.214.2 icmp_seq=56 Destination Host Unreachable From 192.168.214.2 icmp_seq=57 Destination Host Unreachable ^C --- 10.0.35.1 ping statistics --- 59 packets transmitted, 0 received, +57 errors, 100% packet loss, time 58311ms , pipe 3 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 |
#ping -I eth0.214 10.0.35.1
PING 10.0.35.1 (10.0.35.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable From 192.168.214.2 icmp_seq=7 Destination Host Unreachable ^C --- 10.0.35.1 ping statistics --- 9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8025ms , pipe 3 |
#ping -I eth0.214 10.0.35.1
PING 10.0.35.1 (10.0.35.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable From 192.168.214.2 icmp_seq=7 Destination Host Unreachable ^C --- 10.0.35.1 ping statistics --- 9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8025ms , pipe 3 |
#ip ro add default via eth0.214 table 214
Error: an inet address is expected rather than "eth0.214". |
#ip ro add default via eth0.214 table 214
Error: an inet address is expected rather than "eth0.214". |
#ip ro del default via 192.168.214.1 table 214
RTNETLINK answers: No such process |
#ip ro del default via 192.168.214.1 table 214
RTNETLINK answers: No such process |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 |
#ip ro
172.16.3.2 dev tun0 proto kernel scope link src 172.16.3.1 192.168.103.0/24 via 172.16.3.2 dev tun0 192.168.214.0/24 dev eth0.214 proto kernel scope link src 192.168.214.2 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.7 192.168.104.0/24 dev eth0.104 proto kernel scope link src 192.168.104.7 192.168.204.0/24 dev eth0.204 proto kernel scope link src 192.168.204.2 |
#ip rule sh
0: from all lookup local 32764: from 192.168.204.2 lookup 204 32765: from 192.168.214.2 lookup 214 32766: from all lookup main 32767: from all lookup default |
#ip rule sh
0: from all lookup local 32764: from 192.168.204.2 lookup 204 32765: from 192.168.214.2 lookup 214 32766: from all lookup main 32767: from all lookup default |
#ping 192.168.214.1
PING 192.168.214.1 (192.168.214.1) 56(84) bytes of data. 64 bytes from 192.168.214.1: icmp_seq=1 ttl=64 time=0.651 ms 64 bytes from 192.168.214.1: icmp_seq=2 ttl=64 time=0.633 ms 64 bytes from 192.168.214.1: icmp_seq=3 ttl=64 time=0.614 ms 64 bytes from 192.168.214.1: icmp_seq=4 ttl=64 time=0.642 ms 64 bytes from 192.168.214.1: icmp_seq=5 ttl=64 time=0.617 ms 64 bytes from 192.168.214.1: icmp_seq=6 ttl=64 time=0.635 ms 64 bytes from 192.168.214.1: icmp_seq=7 ttl=64 time=0.635 ms ^C --- 192.168.214.1 ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 5999ms rtt min/avg/max/mdev = 0.614/0.632/0.651/0.026 ms |
#ping 192.168.214.1
PING 192.168.214.1 (192.168.214.1) 56(84) bytes of data. 64 bytes from 192.168.214.1: icmp_seq=1 ttl=64 time=0.651 ms 64 bytes from 192.168.214.1: icmp_seq=2 ttl=64 time=0.633 ms 64 bytes from 192.168.214.1: icmp_seq=3 ttl=64 time=0.614 ms 64 bytes from 192.168.214.1: icmp_seq=4 ttl=64 time=0.642 ms 64 bytes from 192.168.214.1: icmp_seq=5 ttl=64 time=0.617 ms 64 bytes from 192.168.214.1: icmp_seq=6 ttl=64 time=0.635 ms 64 bytes from 192.168.214.1: icmp_seq=7 ttl=64 time=0.635 ms ^C --- 192.168.214.1 ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 5999ms rtt min/avg/max/mdev = 0.614/0.632/0.651/0.026 ms |
#ping 192.168.204.1
PING 192.168.204.1 (192.168.204.1) 56(84) bytes of data. 64 bytes from 192.168.204.1: icmp_seq=1 ttl=64 time=3.36 ms 64 bytes from 192.168.204.1: icmp_seq=2 ttl=64 time=0.944 ms 64 bytes from 192.168.204.1: icmp_seq=3 ttl=64 time=0.976 ms 64 bytes from 192.168.204.1: icmp_seq=4 ttl=64 time=0.638 ms ^C --- 192.168.204.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 0.638/1.479/3.361/1.095 ms |
#ping 192.168.204.1
PING 192.168.204.1 (192.168.204.1) 56(84) bytes of data. 64 bytes from 192.168.204.1: icmp_seq=1 ttl=64 time=3.36 ms 64 bytes from 192.168.204.1: icmp_seq=2 ttl=64 time=0.944 ms 64 bytes from 192.168.204.1: icmp_seq=3 ttl=64 time=0.976 ms 64 bytes from 192.168.204.1: icmp_seq=4 ttl=64 time=0.638 ms ^C --- 192.168.204.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 0.638/1.479/3.361/1.095 ms |
#ping -I eth0.214 192.168.204.1
PING 192.168.204.1 (192.168.204.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=1 Destination Host Unreachable From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable ^C --- 192.168.204.1 ping statistics --- 7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6030ms , pipe 3 |
#ping -I eth0.214 192.168.204.1
PING 192.168.204.1 (192.168.204.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. From 192.168.214.2 icmp_seq=1 Destination Host Unreachable From 192.168.214.2 icmp_seq=2 Destination Host Unreachable From 192.168.214.2 icmp_seq=3 Destination Host Unreachable From 192.168.214.2 icmp_seq=4 Destination Host Unreachable From 192.168.214.2 icmp_seq=5 Destination Host Unreachable From 192.168.214.2 icmp_seq=6 Destination Host Unreachable ^C --- 192.168.204.1 ping statistics --- 7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6030ms , pipe 3 |
#ping -I eth0.204 192.168.204.1
PING 192.168.204.1 (192.168.204.1) from 192.168.204.2 eth0.204: 56(84) bytes of data. 64 bytes from 192.168.204.1: icmp_seq=1 ttl=64 time=0.651 ms 64 bytes from 192.168.204.1: icmp_seq=2 ttl=64 time=0.623 ms ^C --- 192.168.204.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.623/0.637/0.651/0.014 ms |
#ping -I eth0.204 192.168.204.1
PING 192.168.204.1 (192.168.204.1) from 192.168.204.2 eth0.204: 56(84) bytes of data. 64 bytes from 192.168.204.1: icmp_seq=1 ttl=64 time=0.651 ms 64 bytes from 192.168.204.1: icmp_seq=2 ttl=64 time=0.623 ms ^C --- 192.168.204.1 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.623/0.637/0.651/0.014 ms |
#ping -I eth0.204 192.168.214.1
PING 192.168.214.1 (192.168.214.1) from 192.168.204.2 eth0.204: 56(84) bytes of data. ^C --- 192.168.214.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1008ms |
#ping -I eth0.204 192.168.214.1
PING 192.168.214.1 (192.168.214.1) from 192.168.204.2 eth0.204: 56(84) bytes of data. ^C --- 192.168.214.1 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 1008ms |
#ping -I eth0.214 192.168.214.1
PING 192.168.214.1 (192.168.214.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. 64 bytes from 192.168.214.1: icmp_seq=1 ttl=64 time=0.959 ms 64 bytes from 192.168.214.1: icmp_seq=2 ttl=64 time=0.634 ms 64 bytes from 192.168.214.1: icmp_seq=3 ttl=64 time=0.637 ms 64 bytes from 192.168.214.1: icmp_seq=4 ttl=64 time=0.626 ms ^C --- 192.168.214.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms rtt min/avg/max/mdev = 0.626/0.714/0.959/0.141 ms |
#ping -I eth0.214 192.168.214.1
PING 192.168.214.1 (192.168.214.1) from 192.168.214.2 eth0.214: 56(84) bytes of data. 64 bytes from 192.168.214.1: icmp_seq=1 ttl=64 time=0.959 ms 64 bytes from 192.168.214.1: icmp_seq=2 ttl=64 time=0.634 ms 64 bytes from 192.168.214.1: icmp_seq=3 ttl=64 time=0.637 ms 64 bytes from 192.168.214.1: icmp_seq=4 ttl=64 time=0.626 ms ^C --- 192.168.214.1 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2999ms rtt min/avg/max/mdev = 0.626/0.714/0.959/0.141 ms |
Время первой команды журнала | 18:30:32 2009- 6- 3 | ||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 20:03:15 2009- 6- 3 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 24.75 | ||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.55 | ||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.09 | ||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008