Журнал лабораторных работ

Содержание

Журнал

Среда (06/03/09)

/dev/pts/2
18:30:32
#/etc/init.d/openvpn restart
Stopping virtual private network daemon: server.
Starting virtual private network daemon: server.
/dev/pts/1
18:32:32
#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
/dev/pts/2
18:32:32
#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
/dev/pts/1
18:32:35
#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
/dev/pts/2
18:32:35
#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
/dev/pts/1
18:34:27
#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
/dev/pts/2
18:34:27
#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
/dev/pts/1
18:34:40
#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
/dev/pts/2
18:34:40
#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
/dev/pts/1
18:35:41
#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
/dev/pts/2
18:35:41
#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
/dev/pts/1
18:35:58
#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
/dev/pts/2
18:35:58
#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
/dev/pts/1
18:36:43
#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)
/dev/pts/2
18:36:43
#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)
/dev/pts/1
18:41:53
#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
/dev/pts/2
18:41:53
#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
/dev/pts/1
18:41:56
#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
/dev/pts/2
18:41:56
#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
/dev/pts/1
18:42:01
#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
/dev/pts/2
18:42:01
#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
/dev/pts/1
18:42:27
#iptables -t nat -A POSTROUTING -o eth0.204 -j MASQUERADE

/dev/pts/2
18:42:27
#iptables -t nat -A POSTROUTING -o eth0.204 -j MASQUERADE

/dev/pts/1
18:45:21
#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
/dev/pts/2
18:45:21
#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
/dev/pts/1
18:49:39
#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
/dev/pts/2
18:49:39
#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
/dev/pts/9
18:51:50
#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
18:51:53
#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
прошло 17 минут
/dev/pts/1
19:09:06
#/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
/dev/pts/2
19:09:06
#/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
/dev/pts/6
19:09:52
#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
/dev/pts/5
19:09:52
#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
/dev/pts/1
19:10:28
#/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
/dev/pts/2
19:10:28
#/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
/dev/pts/1
19:10:42
#/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
/dev/pts/2
19:10:42
#/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
/dev/pts/1
19:14:14
#/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
/dev/pts/2
19:14:14
#/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
прошло 22 минуты
/dev/pts/6
19:36:35
#ssh 192.168.15.254
Connection to 192.168.15.254 closed by remote host.
/dev/pts/5
19:36:35
#ssh 192.168.15.254
Connection to 192.168.15.254 closed by remote host.
/dev/pts/1
19:40:59
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
Added VLAN with VID == 214 to IF -:eth0:-
/dev/pts/2
19:40:59
#~ +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
Added VLAN with VID == 214 to IF -:eth0:-
/dev/pts/1
19:45:32
#ifconfig eth0.214 192.168.214.2

/dev/pts/2
19:45:32
#ifconfig eth0.214 192.168.214.2

/dev/pts/1
19:45:48
#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
/dev/pts/2
19:45:48
#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
/dev/pts/1
19:45:50
#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
/dev/pts/2
19:45:50
#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
/dev/pts/6
19:47:06
#ssh 192.168.15.254
Connection to 192.168.15.254 closed by remote host.
/dev/pts/5
19:47:06
#ssh 192.168.15.254
Connection to 192.168.15.254 closed by remote host.
/dev/pts/1
19:47:34
#~ +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
/dev/pts/2
19:47:34
#~ +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
/dev/pts/1
19:49:04
#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
/dev/pts/2
19:49:04
#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
/dev/pts/9
19:50:07
#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
/dev/pts/1
19:53:08
#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
/dev/pts/2
19:53:08
#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
/dev/pts/1
19:56:04
#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
/dev/pts/2
19:56:04
#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
/dev/pts/1
19:56:37
#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
/dev/pts/2
19:56:37
#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
/dev/pts/1
19:57:40
#ip ro del default

/dev/pts/2
19:57:40
#ip ro del default

/dev/pts/1
19:58:02
#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
/dev/pts/2
19:58:02
#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
/dev/pts/1
19:58:06
#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
/dev/pts/2
19:58:06
#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
/dev/pts/1
19:58:18
#ip ro add default via eth0.214 table 214
Error: an inet address is expected rather than "eth0.214".
/dev/pts/2
19:58:18
#ip ro add default via eth0.214 table 214
Error: an inet address is expected rather than "eth0.214".
/dev/pts/1
19:59:18
#ip ro add default dev eth0.214 table 214

/dev/pts/2
19:59:18
#ip ro add default dev eth0.214 table 214

/dev/pts/1
19:59:32
#ip ro del default dev eth0.214 table 214

/dev/pts/2
19:59:32
#ip ro del default dev eth0.214 table 214

/dev/pts/1
19:59:47
#ip ro del default via 192.168.214.1 table 214
RTNETLINK answers: No such process
/dev/pts/2
19:59:47
#ip ro del default via 192.168.214.1 table 214
RTNETLINK answers: No such process
/dev/pts/1
20:00:13
#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
/dev/pts/2
20:00:13
#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
/dev/pts/1
20:00:41
#ip ro add default via 192.168.204.1 table 204

/dev/pts/2
20:00:41
#ip ro add default via 192.168.204.1 table 204

/dev/pts/1
20:00:48
#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
/dev/pts/2
20:00:48
#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
/dev/pts/1
20:00:59
#ip rule add from 192.168.214.2 lookup 214

/dev/pts/2
20:00:59
#ip rule add from 192.168.214.2 lookup 214

/dev/pts/1
20:01:41
#ip rule add from 192.168.204.2 lookup 204

/dev/pts/2
20:01:41
#ip rule add from 192.168.204.2 lookup 204

/dev/pts/1
20:01:54
#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
/dev/pts/2
20:01:54
#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
/dev/pts/1
20:02:03
#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
/dev/pts/2
20:02:03
#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
/dev/pts/1
20:02:26
#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
/dev/pts/2
20:02:26
#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
/dev/pts/1
20:02:35
#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
/dev/pts/2
20:02:35
#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
/dev/pts/1
20:02:56
#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
/dev/pts/2
20:02:56
#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
/dev/pts/1
20:03:02
#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
/dev/pts/2
20:03:02
#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
/dev/pts/1
20:03:08
#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
/dev/pts/2
20:03:08
#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
/dev/pts/1
20:03:15
#ping 10.0.35.1
connect: Network is unreachable

Статистика

Время первой команды журнала18:30:32 2009- 6- 3
Время последней команды журнала20:03:15 2009- 6- 3
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %24.75
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 1.55
Количество командных строк в единицу времени, команда/мин 1.09
Частота использования команд
ping33|==============================| 30.28%
ip30|===========================| 27.52%
/etc/init.d/openvpn9|========| 8.26%
tail8|=======| 7.34%
traceroute8|=======| 7.34%
netstat6|=====| 5.50%
~4|===| 3.67%
ssh4|===| 3.67%
ifconfig2|=| 1.83%
iptables2|=| 1.83%
route2|=| 1.83%
w1|| 0.92%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ 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
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$