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

Содержание

Журнал

Понедельник (06/01/09)

/dev/pts/0
16:47:23
#ssh 192.168.15.254
   untagged 11
   tagged 13
   exit
vlan 108
   name "VLAN108"
   untagged 21
   tagged 25
   exit
ip route 0.0.0.0 0.0.0.0 10.0.35.1
ip route 192.168.102.0 255.255.255.0 192.168.15.3
ip route 192.168.107.0 255.255.255.0 192.168.15.13
ip route 192.168.106.0 255.255.255.0 192.168.15.11
ip route 192.168.104.0 255.255.255.0 192.168.15.7
ip route 192.168.108.0 255.255.255.0 192.168.15.15
ip ssh
password manager
password operator
прошло 12 минут
/dev/pts/8
17:00:20
#screen -x
/dev/pts/20
17:05:59
#screen -x
/dev/pts/12
17:15:33
#ssh root@10.0.15.254
ssh: connect to host 10.0.15.254 port 22: No route to host
/dev/pts/26
17:15:43
#screen -x
/dev/pts/18
17:22:27
#screen -x
/dev/pts/30
17:22:50
#pkill ssh

/dev/tty1
17:23:44
#screen -ls
17:23:46
#screen -x
17:24:02
#ls -l
итого 3320
drwxr-xr-x 2 root root    4096 Май 25 16:40 17179869184
drwxr-xr-x 2 root root    4096 Май 25 16:40 345448
drwxr-xr-x 2 root root    4096 Май 25 16:40 345789358
-rw-r--r-- 1 root root       0 Май 29 14:52 ABCABCf
-rw-r--r-- 1 root root       0 Май 29 14:50 ABCABC:gff
-rw-r--r-- 1 root root       0 Май 29 14:50 ABCfff
-rw-r--r-- 1 root root 3024896 Июн  1 10:34 etc.iso
-rw-r--r-- 1 root root       0 Май 26 18:22 F
-rw-r--r-- 1 root root       0 Май 26 18:22 F.1
...
-rw-r--r-- 1 root root       0 Май 26 18:22 F.7
-rw-r--r-- 1 root root       0 Май 26 18:22 F.8
-rw-r--r-- 1 root root       0 Май 26 18:22 F.9
-rw-r--r-- 1 root root       0 Май 29 14:50 ffff
-rw-r--r-- 1 root root       0 Май 29 14:52 fffffff
-rw-r--r-- 1 root root      12 Май 25 14:47 file
-rw-r--r-- 1 root root   54606 Май 29 10:24 iceweasel.dot
-rw-r--r-- 1 root root      12 Май 25 14:47 last-ping
-rw-r--r-- 1 root root    4737 Май 29 10:19 screen.dot
-rw-r--r-- 1 root root  271894 Май 29 10:20 screen.png
17:24:12
#screen -ls
17:24:19
#kill 3755

17:24:27
#screen -ls
17:24:35
#screen -x
17:24:37
#screen
/dev/pts/0
17:24:38
#alias echo='echo no echo'

17:29:10
#/etc/init.d/ssh restart
Restarting OpenBSD Secure Shell server: sshd.
/dev/pts/7
17:29:19
#screen -x
/dev/pts/5
17:29:19
#screen -x
/dev/pts/3
17:29:20
#screen -x
/dev/pts/9
17:29:31
#screen -x
/dev/pts/0
17:33:03
#ыÑssh root@192.168.15.254
Connection to 192.168.15.254 closed by remote host.
/dev/pts/15
17:34:52
#screen -x
/dev/pts/17
17:37:53
#screen -x

Вторник (06/02/09)

/dev/pts/2
09:48:52
#screen -x
/dev/pts/6
09:51:11
#screen -ls
09:51:23
#screen -x
прошло 13 минут
/dev/pts/6
10:04:43
#screen -x
/dev/pts/8
10:05:01
#screen -x
прошло 10 минут
/dev/pts/10
10:15:44
#screen -x
/dev/pts/12
10:16:50
#screen -x
/dev/pts/14
10:17:56
#screen -x
/dev/pts/16
10:17:57
#screen -x
/dev/pts/18
10:17:58
#!scre
[root@linux0:~]# w
 10:18:13 up 19:09, 11 users,  load average: 0,11, 0,03, 0,01
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/2    linux9.unix.nt   09:48   24:49   0.00s  0.00s script -f -c ba
root     pts/6    192.168.106.2    10:04   13:29   0.01s  0.01s script -f -c ba
root     pts/8    linux11.unix.nt  10:05   13:05   0.00s  0.00s script -f -c ba
root     pts/10   linux13.unix.nt  10:15    5.00s  0.01s  0.01s script -f -c ba
root     pts/14   linux3.unix.nt   10:17   14.00s  0.00s  0.00s script -f -c ba
root     pts/16   192.168.103.2    10:17    9.00s  0.00s  0.00s script -f -c ba
root     pts/18   linux15.unix.nt  10:17    4.00s  0.01s  0.01s script -f -c ba
root     pts/20   192.168.105.2    10:18    0.00s  0.02s  0.02s script -f -c ba
root     pts/12   192.168.102.2    10:16   29.00s  0.00s  0.00s script -f -c ba
root     pts/0    :pts/2:S.0       Mon17    0.00s  0.01s  0.01s script -f -c /b-
root     pts/3    linux6.unix.nt   Mon17   22:57   0.00s  0.00s script -f -c ba
/dev/pts/20
10:18:00
#screen -x
/dev/pts/0
10:18:13
#w
 10:19:42 up 19:11, 13 users,  load average: 0,04, 0,03, 0,01
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/2    linux9.unix.nt   09:48   26:18   0.00s  0.00s script -f -c ba
root     pts/6    192.168.106.2    10:04   14:58   0.01s  0.01s script -f -c ba
root     pts/8    linux11.unix.nt  10:05   14:34   0.00s  0.00s script -f -c ba
root     pts/10   linux13.unix.nt  10:15    1:34   0.01s  0.01s script -f -c ba
root     pts/14   linux3.unix.nt   10:17    1:43   0.00s  0.00s script -f -c ba
root     pts/16   192.168.103.2    10:17    1:38   0.00s  0.00s script -f -c ba
root     pts/18   linux15.unix.nt  10:17    1:33   0.01s  0.01s script -f -c ba
root     pts/20   192.168.105.2    10:18    1:29   0.02s  0.02s script -f -c ba
root     pts/22   linux7.unix.nt   10:19   31.00s  0.00s  0.00s script -f -c ba
root     pts/24   192.168.107.2    10:19    0.00s  0.00s  0.00s script -f -c ba
root     pts/12   192.168.102.2    10:16    1:58   0.00s  0.00s script -f -c ba
root     pts/0    :pts/2:S.0       Mon17    0.00s  0.01s  0.01s script -f -c /b
root     pts/3    linux6.unix.nt   Mon17   24:26   0.00s  0.00s script -f -c ba
/dev/pts/22
10:19:11
#tcpdump -i eth0
10:22:56.747397 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 31008:31216, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 208
10:22:56.747443 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 31216:31408, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 192
10:22:56.747459 IP linux7.unix.nt.53958 > 10.0.35.100.ssh: Flags [.], ack 30592, win 1002, options [nop,nop,TS val 199380 ecr 17243909], length 0
10:22:56.747497 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 31408:31616, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 208
10:22:56.747549 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 31616:31824, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 208
10:22:56.747595 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 31824:32032, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 208
10:22:56.747641 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 32032:32240, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 208
10:22:56.747675 IP linux7.unix.nt.53958 > 10.0.35.100.ssh: Flags [.], ack 31616, win 1002, options [nop,nop,TS val 199380 ecr 17243909], length 0
10:22:56.747693 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 32240:32432, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 192
10:22:56.747740 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 32432:32640, ack 1, win 857, options [nop,nop,TS val 17243909 ecr 199380], length 208
...
10:22:56.777322 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 57472:57680, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 208
10:22:56.777368 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 57680:57888, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 208
10:22:56.777413 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 57888:58080, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 192
10:22:56.777454 IP linux7.unix.nt.53958 > 10.0.35.100.ssh: Flags [.], ack 57472, win 1002, options [nop,nop,TS val 199388 ecr 17243916], length 0
10:22:56.777472 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 58080:58288, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 208
10:22:56.777519 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 58288:58496, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 208
10:22:56.777565 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 58496:58704, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 208
10:22:56.777611 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 58704:58912, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 208
10:22:56.777650 IP linux7.unix.nt.53958 > 10.0.35.100.ssh: Flags [.], ack 58288, win 1002, options [nop,nop,TS val 199388 ecr 17243916], length 0
10:22:56.777664 IP 10.0.35.100.ssh > linux7.unix.nt.53958: Flags [P.], seq 58912:59120, ack 1, win 857, options [nop,nop,TS val 17243916 ecr 199388], length 208
/dev/pts/24
10:19:29
#screen -x
/dev/pts/0
10:19:42
#w
 10:26:07 up 19:17, 15 users,  load average: 0,02, 0,03, 0,00
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/2    linux9.unix.nt   09:48   32:43   0.00s  0.00s script -f -c ba
root     pts/6    192.168.106.2    10:04   21:23   0.01s  0.01s script -f -c ba
root     pts/8    linux11.unix.nt  10:05   20:59   0.00s  0.00s script -f -c ba
root     pts/10   linux13.unix.nt  10:15    7:59   0.01s  0.01s script -f -c ba
root     pts/14   linux3.unix.nt   10:17    8:08   0.00s  0.00s script -f -c ba
root     pts/16   192.168.103.2    10:17    8:03   0.00s  0.00s script -f -c ba
root     pts/18   linux15.unix.nt  10:17    7:58   0.01s  0.01s script -f -c ba
root     pts/20   192.168.105.2    10:18    7:54   0.02s  0.02s script -f -c ba
root     pts/22   linux7.unix.nt   10:19    1.00s  0.17s  0.00s script -f -c ba
root     pts/24   192.168.107.2    10:19    6:25   0.00s  0.00s script -f -c ba
root     pts/26   192.168.104.8    10:19    6:16   0.01s  0.01s script -f -c ba
root     pts/28   192.168.108.2    10:24    0.00s  0.00s  0.00s script -f -c ba
root     pts/12   192.168.102.2    10:16   16.00s  0.00s  0.00s script -f -c ba
root     pts/0    :pts/2:S.0       Mon17    0.00s  0.01s  0.01s script -f -c /b
root     pts/3    linux6.unix.nt   Mon17   30:51   0.00s  0.00s script -f -c ba
/dev/pts/26
10:19:51
#screen -x
/dev/pts/28
10:23:15
#tcpdump -i eth0 -n
10:23:27.847180 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 31136, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
10:23:27.847183 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 31552, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
10:23:27.847224 IP 10.0.35.100.22 > 192.168.108.2.33194: Flags [P.], seq 34240:34448, ack 1, win 857, options [nop,nop,TS val 17251683 ecr 742186], length 208
10:23:27.847230 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 31760, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
10:23:27.847234 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 31968, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
10:23:27.847264 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 32176, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
10:23:27.847299 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 32384, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
10:23:27.847311 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 32592, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
10:23:27.847321 IP 10.0.35.100.22 > 192.168.108.2.33194: Flags [P.], seq 34448:34656, ack 1, win 857, options [nop,nop,TS val 17251683 ecr 742186], length 208
10:23:27.847345 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 32800, win 1002, options [nop,nop,TS val 742186 ecr 17251683], length 0
...
10:23:27.851571 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 46368, win 1002, options [nop,nop,TS val 742187 ecr 17251683], length 0
10:23:27.851574 IP 10.0.35.100.22 > 192.168.108.2.33194: Flags [P.], seq 46976:47168, ack 1, win 857, options [nop,nop,TS val 17251683 ecr 742187], length 192
10:23:27.851635 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 46576, win 1002, options [nop,nop,TS val 742187 ecr 17251683], length 0
10:23:27.851649 IP 10.0.35.100.22 > 192.168.108.2.33194: Flags [P.], seq 47168:47376, ack 1, win 857, options [nop,nop,TS val 17251683 ecr 742187], length 208
10:23:27.851667 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 46768, win 1002, options [nop,nop,TS val 742187 ecr 17251683], length 0
10:23:27.851721 IP 10.0.35.100.22 > 192.168.108.2.33194: Flags [P.], seq 47376:47584, ack 1, win 857, options [nop,nop,TS val 17251683 ecr 742187], length 208
10:23:27.851739 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 46976, win 1002, options [nop,nop,TS val 742187 ecr 17251683], length 0
10:23:27.851782 IP 10.0.35.100.22 > 192.168.108.2.33194: Flags [P.], seq 47584:47776, ack 1, win 857, options [nop,nop,TS val 17251683 ecr 742187], length 192
10:23:27.851827 IP 192.168.108.2.33194 > 10.0.35.100.22: Flags [.], ack 47168, win 1002, options [nop,nop,TS val 742187 ecr 17251683], length 0
10:23:27.851849 IP 10.0.35.100.22 > 192.168.108.2.33194: Flags [P.], seq 47776:47984, ack 1, win 857, options [nop,nop,TS val 17251683 ecr 742187], length 208
/dev/pts/22
10:23:24
#tcpdump -i eth0 host 192.168.15.6
tcpdump: verbose output suppres