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

Содержание

Журнал

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

/dev/pts/5
09:51:49
#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:07:e9:3c:2c:ba
          inet addr:192.168.15.3  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe3c:2cba/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22557 (22.0 KiB)  TX bytes:17826 (17.4 KiB)
eth0.102  Link encap:Ethernet  HWaddr 00:07:e9:3c:2c:ba
          inet addr:192.168.102.1  Bcast:192.168.102.255  Mask:255.255.255.0
...
          collisions:0 txqueuelen:0
          RX bytes:782 (782.0 B)  TX bytes:468 (468.0 B)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
/dev/pts/6
09:51:49
#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:07:e9:3c:2c:ba
          inet addr:192.168.15.3  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::207:e9ff:fe3c:2cba/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:205 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22557 (22.0 KiB)  TX bytes:17826 (17.4 KiB)
eth0.102  Link encap:Ethernet  HWaddr 00:07:e9:3c:2c:ba
          inet addr:192.168.102.1  Bcast:192.168.102.255  Mask:255.255.255.0
...
          collisions:0 txqueuelen:0
          RX bytes:782 (782.0 B)  TX bytes:468 (468.0 B)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
/dev/pts/5
09:51:52
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
/dev/pts/6
09:51:52
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
прошло 17 минут
/dev/pts/8
10:09:25
#tcdump -i eth0.102 -n
bash: tcdump: command not found
10:09:47
#tcpdump -i eth0.102 -n
10:09:55.699050 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 16592:16784, ack 1, win 239, options [nop,nop,TS val 218743 ecr 56041], length 192
10:09:55.699165 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 16784, win 1002, options [nop,nop,TS val 56041 ecr 218743], length 0
10:09:55.699345 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 16784:16976, ack 1, win 239, options [nop,nop,TS val 218743 ecr 56041], length 192
10:09:55.699463 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 16976, win 1002, options [nop,nop,TS val 56041 ecr 218743], length 0
10:09:55.699642 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 16976:17168, ack 1, win 239, options [nop,nop,TS val 218743 ecr 56041], length 192
10:09:55.699760 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 17168, win 1002, options [nop,nop,TS val 56041 ecr 218743], length 0
10:09:55.699937 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 17168:17360, ack 1, win 239, options [nop,nop,TS val 218743 ecr 56041], length 192
10:09:55.700061 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 17360, win 1002, options [nop,nop,TS val 56041 ecr 218743], length 0
10:09:55.700233 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 17360:17552, ack 1, win 239, options [nop,nop,TS val 218743 ecr 56041], length 192
10:09:55.700360 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 17552, win 1002, options [nop,nop,TS val 56041 ecr 218743], length 0
...
10:09:55.721478 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 31616, win 1002, options [nop,nop,TS val 56046 ecr 218748], length 0
10:09:55.721630 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 31616:31824, ack 1, win 239, options [nop,nop,TS val 218748 ecr 56046], length 208
10:09:55.721778 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 31824, win 1002, options [nop,nop,TS val 56046 ecr 218748], length 0
10:09:55.721930 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 31824:32016, ack 1, win 239, options [nop,nop,TS val 218748 ecr 56046], length 192
10:09:55.722199 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 32016:32224, ack 1, win 239, options [nop,nop,TS val 218748 ecr 56046], length 208
10:09:55.722456 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 32224:32416, ack 1, win 239, options [nop,nop,TS val 218749 ecr 56046], length 192
10:09:55.722718 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 32416:32624, ack 1, win 239, options [nop,nop,TS val 218749 ecr 56046], length 208
10:09:55.722732 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 32416, win 1002, options [nop,nop,TS val 56047 ecr 218748], length 0
10:09:55.722824 IP 192.168.102.2.45485 > 192.168.102.1.22: Flags [.], ack 32624, win 1002, options [nop,nop,TS val 56047 ecr 218749], length 0
10:09:55.723034 IP 192.168.102.1.22 > 192.168.102.2.45485: Flags [P.], seq 32624:32816, ack 1, win 239, options [nop,nop,TS val 218749 ecr 56047], length 192
/dev/pts/8
10:11:17
#tcpdump -i eth0.102 -n not port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0.102, link-type EN10MB (Ethernet), capture size 96 bytes
10:11:25.884008 IP 192.168.102.1 > 192.168.102.2: ICMP echo request, id 15378, seq 1, length 64
10:11:25.884110 IP 192.168.102.2 > 192.168.102.1: ICMP echo reply, id 15378, seq 1, length 64
10:11:26.885341 IP 192.168.102.1 > 192.168.102.2: ICMP echo request, id 15378, seq 2, length 64
10:11:26.885423 IP 192.168.102.2 > 192.168.102.1: ICMP echo reply, id 15378, seq 2, length 64
10:11:27.884340 IP 192.168.102.1 > 192.168.102.2: ICMP echo request, id 15378, seq 3, length 64
10:11:27.884439 IP 192.168.102.2 > 192.168.102.1: ICMP echo reply, id 15378, seq 3, length 64
10:11:28.883343 IP 192.168.102.1 > 192.168.102.2: ICMP echo request, id 15378, seq 4, length 64
10:11:28.883439 IP 192.168.102.2 > 192.168.102.1: ICMP echo reply, id 15378, seq 4, length 64
...
10:12:23.521748 IP 192.168.102.2 > 192.168.102.1: ICMP echo request, id 7185, seq 1, length 64
10:12:23.521783 IP 192.168.102.1 > 192.168.102.2: ICMP echo reply, id 7185, seq 1, length 64
10:12:24.520663 IP 192.168.102.2 > 192.168.102.1: ICMP echo request, id 7185, seq 2, length 64
10:12:24.520694 IP 192.168.102.1 > 192.168.102.2: ICMP echo reply, id 7185, seq 2, length 64
10:12:25.519581 IP 192.168.102.2 > 192.168.102.1: ICMP echo request, id 7185, seq 3, length 64
10:12:25.519613 IP 192.168.102.1 > 192.168.102.2: ICMP echo reply, id 7185, seq 3, length 64
^C
32 packets captured
32 packets received by filter
0 packets dropped by kernel
/dev/pts/5
10:20:26
#mii-tool --help
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
       -V, --version               display version information
       -v, --verbose               more verbose output
       -R, --reset                 reset MII to poweron state
       -r, --restart               restart autonegotiation
       -w, --watch                 monitor for link status changes
       -l, --log                   with -w, write events to syslog
       -A, --advertise=media,...   advertise only specified media
       -F, --force=media           force specified media technology
media: 1000baseTx-HD, 1000baseTx-FD,
       100baseT4, 100baseTx-FD, 100baseTx-HD,
       10baseT-FD, 10baseT-HD,
       (to advertise both HD and FD) 1000baseTx, 100baseTx, 10baseT
/dev/pts/6
10:20:26
#mii-tool --help
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
       -V, --version               display version information
       -v, --verbose               more verbose output
       -R, --reset                 reset MII to poweron state
       -r, --restart               restart autonegotiation
       -w, --watch                 monitor for link status changes
       -l, --log                   with -w, write events to syslog
       -A, --advertise=media,...   advertise only specified media
       -F, --force=media           force specified media technology
media: 1000baseTx-HD, 1000baseTx-FD,
       100baseT4, 100baseTx-FD, 100baseTx-HD,
       10baseT-FD, 10baseT-HD,
       (to advertise both HD and FD) 1000baseTx, 100baseTx, 10baseT
/dev/pts/5
10:20:33
#mii-tool -A 100baseTx-FD
restarting autonegotiation...
/dev/pts/6
10:20:33
#mii-tool -A 100baseTx-FD
restarting autonegotiation...
/dev/pts/5
10:21:12
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
/dev/pts/6
10:21:12
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
/dev/pts/5
10:21:15
#mii-tool -F 100baseTx-FD

/dev/pts/6
10:21:15
#mii-tool -F 100baseTx-FD

/dev/pts/5
10:21:37
#mii-tool eth0
eth0: 100 Mbit, full duplex, no link
/dev/pts/6
10:21:37
#mii-tool eth0
eth0: 100 Mbit, full duplex, no link
/dev/pts/5
10:21:39
#mii-tool -F 10baseT-FD

/dev/pts/6
10:21:39
#mii-tool -F 10baseT-FD

/dev/pts/5
10:21:58
#mii-tool eth0
eth0: 10 Mbit, full duplex, link ok
/dev/pts/6
10:21:58
#mii-tool eth0
eth0: 10 Mbit, full duplex, link ok
/dev/pts/5
10:22:00
#mii-tool eth0
eth0: 10 Mbit, full duplex, link ok
/dev/pts/6
10:22:00
#mii-tool eth0
eth0: 10 Mbit, full duplex, link ok
/dev/pts/5
10:22:17
#mii-tool eth0 -к
mii-tool: invalid option -- 'Ð'
mii-tool: invalid option -- 'º'
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
       -V, --version               display version information
       -v, --verbose               more verbose output
       -R, --reset                 reset MII to poweron state
       -r, --restart               restart autonegotiation
       -w, --watch                 monitor for link status changes
       -l, --log                   with -w, write events to syslog
       -A, --advertise=media,...   advertise only specified media
       -F, --force=media           force specified media technology
media: 1000baseTx-HD, 1000baseTx-FD,
       100baseT4, 100baseTx-FD, 100baseTx-HD,
       10baseT-FD, 10baseT-HD,
       (to advertise both HD and FD) 1000baseTx, 100baseTx, 10baseT
/dev/pts/6
10:22:17
#mii-tool eth0 -к
mii-tool: invalid option -- 'Ð'
mii-tool: invalid option -- 'º'
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
       -V, --version               display version information
       -v, --verbose               more verbose output
       -R, --reset                 reset MII to poweron state
       -r, --restart               restart autonegotiation
       -w, --watch                 monitor for link status changes
       -l, --log                   with -w, write events to syslog
       -A, --advertise=media,...   advertise only specified media
       -F, --force=media           force specified media technology
media: 1000baseTx-HD, 1000baseTx-FD,
       100baseT4, 100baseTx-FD, 100baseTx-HD,
       10baseT-FD, 10baseT-HD,
       (to advertise both HD and FD) 1000baseTx, 100baseTx, 10baseT
/dev/pts/5
10:24:57
#mii-tool eth0 -Ðr
restarting autonegotiation...
/dev/pts/6
10:24:57
#mii-tool eth0 -Ðr
restarting autonegotiation...
/dev/pts/5
10:25:00
#mii-tool eth0
eth0: no link
/dev/pts/6
10:25:00
#mii-tool eth0
eth0: no link
/dev/pts/5
10:25:02
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
/dev/pts/6
10:25:02
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
10:25:05
#ьmidiag
bash: midiag: command not found
/dev/pts/5
10:25:05
#ьmidiag
bash: midiag: command not found
10:26:58
#apt-file update
Downloading complete file http://127.0.0.1:9999/debian/dists/sid/Contents-i386.gz
/dev/pts/6
10:26:58
#apt-file update
Downloading complete file http://127.0.0.1:9999/debian/dists/sid/Contents-i386.gz
/dev/pts/5
10:28:18
#apt-file search mii
hwb: /usr/share/doc/hwb/html/connector/network/mii.html
iceape-dev: /usr/include/iceape/transformiix/nsIXFormsUtilityService.h
iceape-dev: /usr/include/iceape/transformiix/nsIXFormsXPathEvaluator.h
icedove: /usr/lib/icedove/components/libtransformiix.so
icedove-dbg: /usr/lib/debug/usr/lib/icedove/components/libtransformiix.so
icedove-dev: /usr/include/icedove/transformiix/nsIXFormsUtilityService.h
icedove-dev: /usr/include/icedove/transformiix/nsIXFormsXPathEvaluator.h
iceowl: /usr/lib/iceowl/components/libtransformiix.so
iceowl-dev: /usr/include/iceowl/transformiix/nsIXFormsUtilityService.h
iceowl-dev: /usr/include/iceowl/transformiix/nsIXFormsXPathEvaluator.h
...
wmii2-doc: /usr/share/doc/wmii2-doc/pdf/beginnersguide-en.pdf.gz
wmii2-doc: /usr/share/doc/wmii2-doc/pdf/beginnersguide-es.pdf.gz
wmii2-doc: /usr/share/doc/wmii2-doc/pdf/beginnersguide-it.pdf.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-de.ps.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-en.ps.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-es.ps.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-it.ps.gz
yorick-data: /usr/share/yorick/i/fermii.i
zsh: /usr/share/zsh/functions/Completion/Linux/_mii-tool
zsh-beta: /usr/share/zsh-beta/functions/Completion/Linux/_mii-tool
/dev/pts/6
10:28:18
#apt-file search mii
hwb: /usr/share/doc/hwb/html/connector/network/mii.html
iceape-dev: /usr/include/iceape/transformiix/nsIXFormsUtilityService.h
iceape-dev: /usr/include/iceape/transformiix/nsIXFormsXPathEvaluator.h
icedove: /usr/lib/icedove/components/libtransformiix.so
icedove-dbg: /usr/lib/debug/usr/lib/icedove/components/libtransformiix.so
icedove-dev: /usr/include/icedove/transformiix/nsIXFormsUtilityService.h
icedove-dev: /usr/include/icedove/transformiix/nsIXFormsXPathEvaluator.h
iceowl: /usr/lib/iceowl/components/libtransformiix.so
iceowl-dev: /usr/include/iceowl/transformiix/nsIXFormsUtilityService.h
iceowl-dev: /usr/include/iceowl/transformiix/nsIXFormsXPathEvaluator.h
...
wmii2-doc: /usr/share/doc/wmii2-doc/pdf/beginnersguide-en.pdf.gz
wmii2-doc: /usr/share/doc/wmii2-doc/pdf/beginnersguide-es.pdf.gz
wmii2-doc: /usr/share/doc/wmii2-doc/pdf/beginnersguide-it.pdf.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-de.ps.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-en.ps.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-es.ps.gz
wmii2-doc: /usr/share/doc/wmii2-doc/ps/beginnersguide-it.ps.gz
yorick-data: /usr/share/yorick/i/fermii.i
zsh: /usr/share/zsh/functions/Completion/Linux/_mii-tool
zsh-beta: /usr/share/zsh-beta/functions/Completion/Linux/_mii-tool
/dev/pts/5
10:28:34
#apt-get install mii-diag
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
Suggested packages:
  nictools-pci nictools-nopci
The following NEW packages will be installed:
  mii-diag
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 19.0kB of archives.
After this operation, 57.3kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main mii-diag 2.11-2 [19.0kB]
Fetched 19.0kB in 0s (228kB/s)
Selecting previously deselected package mii-diag.
(Reading database ... 55411 files and directories currently installed.)
Unpacking mii-diag (from .../mii-diag_2.11-2_i386.deb) ...
Processing triggers for man-db ...
Setting up mii-diag (2.11-2) ...
/dev/pts/6
10:28:34
#apt-get install mii-diag
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
Suggested packages:
  nictools-pci nictools-nopci
The following NEW packages will be installed:
  mii-diag
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 19.0kB of archives.
After this operation, 57.3kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main mii-diag 2.11-2 [19.0kB]
Fetched 19.0kB in 0s (228kB/s)
Selecting previously deselected package mii-diag.
(Reading database ... 55411 files and directories currently installed.)
Unpacking mii-diag (from .../mii-diag_2.11-2_i386.deb) ...
Processing triggers for man-db ...
Setting up mii-diag (2.11-2) ...
/dev/pts/5
10:29:10
#mii-diag eth0
Basic registers of MII PHY #0:  3100 792d 02a8 0380 0de1 c1e1 000d 2801.
 The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised c1e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   End of basic transceiver information.
/dev/pts/6
10:29:10
#mii-diag eth0
Basic registers of MII PHY #0:  3100 792d 02a8 0380 0de1 c1e1 000d 2801.
 The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
 Basic mode control register 0x3100: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised c1e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
   End of basic transceiver information.
/dev/pts/5
10:29:34
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
/dev/pts/6
10:29:34
#mii-tool eth0
eth0: negotiated 1000baseT-FD flow-control, link ok
/dev/pts/5
10:29:55
#lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
/dev/pts/6
10:29:55
#lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
/dev/pts/5
10:31:12
#find /sys -name \*01:01.0\*
/sys/devices/pci0000:00/0000:00:03.0/0000:01:01.0
/sys/bus/pci/devices/0000:01:01.0
/sys/bus/pci/drivers/e1000/0000:01:01.0
/dev/pts/6
10:31:12
#find /sys -name \*01:01.0\*
/sys/devices/pci0000:00/0000:00:03.0/0000:01:01.0
/sys/bus/pci/devices/0000:01:01.0
/sys/bus/pci/drivers/e1000/0000:01:01.0
/dev/pts/5
10:31:57
#find /sys -name \*01:01.0\* | grep driver
/sys/bus/pci/drivers/e1000/0000:01:01.0
/dev/pts/6
10:31:57
#find /sys -name \*01:01.0\* | grep driver
/sys/bus/pci/drivers/e1000/0000:01:01.0
/dev/pts/5
10:32:24
#modinfo e1000
filename:       /lib/modules/2.6.29-2-686/kernel/drivers/net/e1000/e1000.ko
version:        7.3.21-k3-NAPI
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, <linux.nics@intel.com>
srcversion:     B63893FA4766AF8E0455964
alias:          pci:v00008086d000010B5sv*sd*bc*sc*i*
alias:          pci:v00008086d00001099sv*sd*bc*sc*i*
alias:          pci:v00008086d0000108Asv*sd*bc*sc*i*
alias:          pci:v00008086d0000107Csv*sd*bc*sc*i*
...
parm:           XsumRX:Disable or enable Receive Checksum offload (array of int)
parm:           TxIntDelay:Transmit Interrupt Delay (array of int)
parm:           TxAbsIntDelay:Transmit Absolute Interrupt Delay (array of int)
parm:           RxIntDelay:Receive Interrupt Delay (array of int)
parm:           RxAbsIntDelay:Receive Absolute Interrupt Delay (array of int)
parm:           InterruptThrottleRate:Interrupt Throttling Rate (array of int)
parm:           SmartPowerDownEnable:Enable PHY smart power down (array of int)
parm:           KumeranLockLoss:Enable Kumeran lock loss workaround (array of int)
parm:           copybreak:Maximum size of packet that is copied to a new buffer on receive (uint)
parm:           debug:Debug level (0=none,...,16=all) (int)
/dev/pts/6
10:32:24
#modinfo e1000
filename:       /lib/modules/2.6.29-2-686/kernel/drivers/net/e1000/e1000.ko
version:        7.3.21-k3-NAPI
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, <linux.nics@intel.com>
srcversion:     B63893FA4766AF8E0455964
alias:          pci:v00008086d000010B5sv*sd*bc*sc*i*
alias:          pci:v00008086d00001099sv*sd*bc*sc*i*
alias:          pci:v00008086d0000108Asv*sd*bc*sc*i*
alias:          pci:v00008086d0000107Csv*sd*bc*sc*i*
...
parm:           XsumRX:Disable or enable Receive Checksum offload (array of int)
parm:           TxIntDelay:Transmit Interrupt Delay (array of int)
parm:           TxAbsIntDelay:Transmit Absolute Interrupt Delay (array of int)
parm:           RxIntDelay:Receive Interrupt Delay (array of int)
parm:           RxAbsIntDelay:Receive Absolute Interrupt Delay (array of int)
parm:           InterruptThrottleRate:Interrupt Throttling Rate (array of int)
parm:           SmartPowerDownEnable:Enable PHY smart power down (array of int)
parm:           KumeranLockLoss:Enable Kumeran lock loss workaround (array of int)
parm:           copybreak:Maximum size of packet that is copied to a new buffer on receive (uint)
parm:           debug:Debug level (0=none,...,16=all) (int)
/dev/pts/5
10:36:31
#apt-get install ethtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  ethtool
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 68.4kB of archives.
After this operation, 262kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main ethtool 6+20090307-1 [68.4kB]
Fetched 68.4kB in 0s (573kB/s)
Selecting previously deselected package ethtool.
(Reading database ... 55416 files and directories currently installed.)
Unpacking ethtool (from .../ethtool_6+20090307-1_i386.deb) ...
Processing triggers for man-db ...
Setting up ethtool (6+20090307-1) ...
/dev/pts/6
10:36:31
#apt-get install ethtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  ethtool
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 68.4kB of archives.
After this operation, 262kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main ethtool 6+20090307-1 [68.4kB]
Fetched 68.4kB in 0s (573kB/s)
Selecting previously deselected package ethtool.
(Reading database ... 55416 files and directories currently installed.)
Unpacking ethtool (from .../ethtool_6+20090307-1_i386.deb) ...
Processing triggers for man-db ...
Setting up ethtool (6+20090307-1) ...
/dev/pts/5
10:36:51
#ethtool
ethtool: bad command line argument(s)
For more information run ethtool -h
/dev/pts/6
10:36:51
#ethtool
ethtool: bad command line argument(s)
For more information run ethtool -h
/dev/pts/5
10:37:26
#ethtool --help
ethtool version 6git
Usage:
ethtool DEVNAME Display standard information about device
        ethtool -s|--change DEVNAME     Change generic options
                [ speed %%d ]
                [ duplex half|full ]
                [ port tp|aui|bnc|mii|fibre ]
                [ autoneg on|off ]
                [ advertise %%x ]
                [ phyad %%d ]
...
        ethtool -p|--identify DEVNAME   Show visible port identification (e.g. blinking)
               [ TIME-IN-SECONDS ]
        ethtool -t|--test DEVNAME       Execute adapter self test
               [ online | offline ]
        ethtool -S|--statistics DEVNAME Show adapter statistics
        ethtool -n|--show-nfc DEVNAME   Show Rx network flow classificationoptions
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 ]
        ethtool -N|--config-nfc DEVNAME Configure Rx network flow classification options
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 p|m|v|t|s|d|f|n|r... ]
        ethtool -h|--help DEVNAME       Show this help
/dev/pts/6
10:37:26
#ethtool --help
ethtool version 6git
Usage:
ethtool DEVNAME Display standard information about device
        ethtool -s|--change DEVNAME     Change generic options
                [ speed %%d ]
                [ duplex half|full ]
                [ port tp|aui|bnc|mii|fibre ]
                [ autoneg on|off ]
                [ advertise %%x ]
                [ phyad %%d ]
...
        ethtool -p|--identify DEVNAME   Show visible port identification (e.g. blinking)
               [ TIME-IN-SECONDS ]
        ethtool -t|--test DEVNAME       Execute adapter self test
               [ online | offline ]
        ethtool -S|--statistics DEVNAME Show adapter statistics
        ethtool -n|--show-nfc DEVNAME   Show Rx network flow classificationoptions
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 ]
        ethtool -N|--config-nfc DEVNAME Configure Rx network flow classification options
                [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 p|m|v|t|s|d|f|n|r... ]
        ethtool -h|--help DEVNAME       Show this help
/dev/pts/5
10:37:30
#ping --help
ping: invalid option -- '-'
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
            [-M mtu discovery hint] [-S sndbuf]
            [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
/dev/pts/6
10:37:30
#ping --help
ping: invalid option -- '-'
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
            [-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
            [-M mtu discovery hint] [-S sndbuf]
            [ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
/dev/pts/5
10:46:23
#ping -f 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data.
...........................................................................................................................................................................................................................................................................................................................................................................................................^C
--- 192.168.15.254 ping statistics ---
6729 packets transmitted, 6334 received, 5% packet loss, time 36413ms
rtt min/avg/max/mdev = 2.159/4.873/64.123/2.993 ms, pipe 6, ipg/ewma 5.412/5.867 ms
/dev/pts/6
10:46:23
#ping -f 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data.
...........................................................................................................................................................................................................................................................................................................................................................................................................^C
--- 192.168.15.254 ping statistics ---
6729 packets transmitted, 6334 received, 5% packet loss, time 36413ms
rtt min/avg/max/mdev = 2.159/4.873/64.123/2.993 ms, pipe 6, ipg/ewma 5.412/5.867 ms
/dev/pts/5
10:47:32
#ping -f -s 1400 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 1400(1428) bytes of data.
..............................................................................................................................................................................................................................................................................................................................................................................................................^C
--- 192.168.15.254 ping statistics ---
1877 packets transmitted, 633 received, 66% packet loss, time 22233ms
rtt min/avg/max/mdev = 3.807/18.896/203.340/36.752 ms, pipe 17, ipg/ewma 11.851/59.908 ms
/dev/pts/6
10:47:32
#ping -f -s 1400 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 1400(1428) bytes of data.
..............................................................................................................................................................................................................................................................................................................................................................................................................^C
--- 192.168.15.254 ping statistics ---
1877 packets transmitted, 633 received, 66% packet loss, time 22233ms
rtt min/avg/max/mdev = 3.807/18.896/203.340/36.752 ms, pipe 17, ipg/ewma 11.851/59.908 ms
/dev/pts/5
10:49:11
#ping -f -s 1400 192.168.15.11
PING 192.168.15.11 (192.168.15.11) 1400(1428) bytes of data.
...^C
--- 192.168.15.11 ping statistics ---
5719 packets transmitted, 5716 received, 0% packet loss, time 15837ms
rtt min/avg/max/mdev = 2.525/2.678/5.301/0.091 ms, ipg/ewma 2.769/2.678 ms
/dev/pts/6
10:49:11
#ping -f -s 1400 192.168.15.11
PING 192.168.15.11 (192.168.15.11) 1400(1428) bytes of data.
...^C
--- 192.168.15.11 ping statistics ---
5719 packets transmitted, 5716 received, 0% packet loss, time 15837ms
rtt min/avg/max/mdev = 2.525/2.678/5.301/0.091 ms, ipg/ewma 2.769/2.678 ms
/dev/pts/5
10:49:58
#ping -f -s 1400 10.0.35.100
PING 10.0.35.100 (10.0.35.100) 1400(1428) bytes of data.
...............................................................................................................................................................................................................................................................................................................................................................................................................^
--- 10.0.35.100 ping statistics ---
3405 packets transmitted, 2306 received, 32% packet loss, time 20291ms
rtt min/avg/max/mdev = 2.854/2.990/3.417/0.129 ms, ipg/ewma 5.961/3.126 ms
/dev/pts/6
10:49:58
#ping -f -s 1400 10.0.35.100
PING 10.0.35.100 (10.0.35.100) 1400(1428) bytes of data.
...............................................................................................................................................................................................................................................................................................................................................................................................................^
--- 10.0.35.100 ping statistics ---
3405 packets transmitted, 2306 received, 32% packet loss, time 20291ms
rtt min/avg/max/mdev = 2.854/2.990/3.417/0.129 ms, ipg/ewma 5.961/3.126 ms
/dev/pts/5
10:50:50
#ping -f 10.0.35.120
PING 10.0.35.120 (10.0.35.120) 56(84) bytes of data.
..............................................................................................................................................................................................................................................................................................................................................................................................................E.
--- 10.0.35.120 ping statistics ---
6685 packets transmitted, 0 received, +6218 errors, 100% packet loss, time 12691ms
, pipe 3
/dev/pts/6
10:50:50
#ping -f 10.0.35.120
PING 10.0.35.120 (10.0.35.120) 56(84) bytes of data.
..............................................................................................................................................................................................................................................................................................................................................................................................................E.
--- 10.0.35.120 ping statistics ---
6685 packets transmitted, 0 received, +6218 errors, 100% packet loss, time 12691ms
, pipe 3
/dev/pts/5
10:51:11
#apt-cache search icmp tunnel
icmptx - Tunnel IP over ICMP
ptunnel - Tunnel TCP connections over ICMP packets
/dev/pts/6
10:51:11
#apt-cache search icmp tunnel
icmptx - Tunnel IP over ICMP
ptunnel - Tunnel TCP connections over ICMP packets
/dev/pts/5
10:54:18
#apt-cache search scapy
python-scapy - Packet generator/sniffer and network scanner/discovery
/dev/pts/6
10:54:18
#apt-cache search scapy
python-scapy - Packet generator/sniffer and network scanner/discovery
/dev/pts/5
11:02:37
#apt-cache search python-scapy
python-scapy - Packet generator/sniffer and network scanner/discovery
/dev/pts/6
11:02:37
#apt-cache search python-scapy
python-scapy - Packet generator/sniffer and network scanner/discovery
/dev/pts/5
11:03:32
#apt-get install python-scapy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
Suggested packages:
  imagemagick python-gnuplot python-crypto python-pyx ebtables python-visual sox xpdf gv
The following NEW packages will be installed:
  python-scapy
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 131kB of archives.
After this operation, 741kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main python-scapy 2.0.0.5-1 [131kB]
Fetched 131kB in 17s (7425B/s)
Selecting previously deselected package python-scapy.
(Reading database ... 55428 files and directories currently installed.)
Unpacking python-scapy (from .../python-scapy_2.0.0.5-1_all.deb) ...
Processing triggers for man-db ...
Setting up python-scapy (2.0.0.5-1) ...
Processing triggers for python-support ...
/dev/pts/6
11:03:32
#apt-get install python-scapy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
Suggested packages:
  imagemagick python-gnuplot python-crypto python-pyx ebtables python-visual sox xpdf gv
The following NEW packages will be installed:
  python-scapy
0 upgraded, 1 newly installed, 0 to remove and 20 not upgraded.
Need to get 131kB of archives.
After this operation, 741kB of additional disk space will be used.
Get:1 http://127.0.0.1 sid/main python-scapy 2.0.0.5-1 [131kB]
Fetched 131kB in 17s (7425B/s)
Selecting previously deselected package python-scapy.
(Reading database ... 55428 files and directories currently installed.)
Unpacking python-scapy (from .../python-scapy_2.0.0.5-1_all.deb) ...
Processing triggers for man-db ...
Setting up python-scapy (2.0.0.5-1) ...
Processing triggers for python-support ...
/dev/pts/5
11:04:42
#dpkg -L python-scapy | grep bin
/usr/bin
/usr/bin/scapy
/dev/pts/6
11:04:42
#dpkg -L python-scapy | grep bin
/usr/bin
/usr/bin/scapy
/dev/pts/5
11:04:51
#scapy
Welcome to Scapy (2.0.0.5 beta)
>>> help
Type help() for interactive help, or help(object) for help about object.
>>> help()
Welcome to Python 2.5!  This is the online help utility.
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://www.python.org/doc/tut/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".
...
Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
help> quit
You are now leaving help and returning to the Python interpreter.
If you want to ask for help on a particular object directly from the
interpreter, you can type "help(object)".  Executing "help('string')"
has the same effect as typing a particular string at the help> prompt.
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>> quit()
/dev/pts/6
11:04:51
#scapy
Welcome to Scapy (2.0.0.5 beta)
>>> help
Type help() for interactive help, or help(object) for help about object.
>>> help()
Welcome to Python 2.5!  This is the online help utility.
If this is your first time using Python, you should definitely check out
the tutorial on the Internet at http://www.python.org/doc/tut/.
Enter the name of any module, keyword, or topic to get help on writing
Python programs and using Python modules.  To quit this help utility and
return to the interpreter, just type "quit".
...
Enter any module name to get more help.  Or, type "modules spam" to search
for modules whose descriptions contain the word "spam".
help> quit
You are now leaving help and returning to the Python interpreter.
If you want to ask for help on a particular object directly from the
interpreter, you can type "help(object)".  Executing "help('string')"
has the same effect as typing a particular string at the help> prompt.
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>> quit()
прошло 10 минут
/dev/pts/5
11:14:58
#mtr crimea-board.info
                                                      My traceroute  [v0.75]
                                                                                                         Tue Jun  2 11:17:29 2009
linux4 (0.0.0.0)
Keys:  Help   Display mode   Restart statistics   Order of fields   quit                 Packets               Pings
                                                                                       Loss%   Snt   Last   Avg  Best  Wrst StDev
 Host                                                                                   0.0%   136    0.7   1.4   0.7  57.2   5.2
    10.0.35.1                                                                           0.0%   136    0.2   0.2   0.2   0.5   0.0
 2. 192.168.70.1                                                                       93.3%   136   67.6  18.9   5.7  67.6  20.0
 3. ip.194.150.93.65.veer.net.ua                                                       94.8%   136  106.8  32.4   7.6 106.8  36.2
 4. uplink-uaix.veer.net.ua                                                             0.0%   136   15.6  84.1   8.1 630.1 103.6
 5. 217.27.155.29.sitel.com.ua                                                          0.0%   136   16.3  95.4   6.8 714.4 126.7
 6. itsystems-10G-gw.ix.net.ua                                                          0.0%   135   29.5 109.2   9.1 216.0  43.7
 7. 195.3.245.137                                                                       0.0%   135   26.5 106.4  21.9 250.0 126.0
 8. 193.238.110.93                                                                      0.0%   135   29.8 112.6  23.9 560.3 128.0
 9. 193.238.109.57                                                                      0.0%   135   46.1 129.4  22.7 488.7 140.9
10. crimea-board.info                                                                   0.0%   135   38.1 131.4  23.8 729.4 136.1
11. ???                                                                                             747.2 117.7       747.2 132.6
                                                                                                    688.7 131.8       648.5 126.5
/dev/pts/6
11:14:58
#mtr crimea-board.info
                                                      My traceroute  [v0.75]
                                                                                                         Tue Jun  2 11:17:29 2009
linux4 (0.0.0.0)
Keys:  Help   Display mode   Restart statistics   Order of fields   quit                 Packets               Pings
                                                                                       Loss%   Snt   Last   Avg  Best  Wrst StDev
 Host                                                                                   0.0%   136    0.7   1.4   0.7  57.2   5.2
    10.0.35.1                                                                           0.0%   136    0.2   0.2   0.2   0.5   0.0
 2. 192.168.70.1                                                                       93.3%   136   67.6  18.9   5.7  67.6  20.0
 3. ip.194.150.93.65.veer.net.ua                                                       94.8%   136  106.8  32.4   7.6 106.8  36.2
 4. uplink-uaix.veer.net.ua                                                             0.0%   136   15.6  84.1   8.1 630.1 103.6
 5. 217.27.155.29.sitel.com.ua                                                          0.0%   136   16.3  95.4   6.8 714.4 126.7
 6. itsystems-10G-gw.ix.net.ua                                                          0.0%   135   29.5 109.2   9.1 216.0  43.7
 7. 195.3.245.137                                                                       0.0%   135   26.5 106.4  21.9 250.0 126.0
 8. 193.238.110.93                                                                      0.0%   135   29.8 112.6  23.9 560.3 128.0
 9. 193.238.109.57                                                                      0.0%   135   46.1 129.4  22.7 488.7 140.9
10. crimea-board.info                                                                   0.0%   135   38.1 131.4  23.8 729.4 136.1
11. ???                                                                                             747.2 117.7       747.2 132.6
                                                                                                    688.7 131.8       648.5 126.5
/dev/pts/5
11:20:43
#traceroute -I -U crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.856 ms  1.081 ms  1.291 ms
 2  10.0.35.1 (10.0.35.1)  0.141 ms  0.110 ms  0.167 ms
 3  * * *
 4  * * *
 5  uplink-uaix.veer.net.ua (194.150.92.14)  16.728 ms  16.716 ms  16.687 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  16.618 ms  16.516 ms  16.445 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  16.350 ms  15.704 ms  23.072 ms
 8  195.3.245.137 (195.3.245.137)  32.842 ms  27.434 ms  35.733 ms
 9  193.238.110.93 (193.238.110.93)  41.798 ms  41.784 ms  41.747 ms
10  193.238.109.57 (193.238.109.57)  48.716 ms  56.154 ms  56.146 ms
11  crimea-board.info (193.238.109.9)  134.073 ms  124.263 ms  114.697 ms
/dev/pts/6
11:20:43
#traceroute -I -U crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.856 ms  1.081 ms  1.291 ms
 2  10.0.35.1 (10.0.35.1)  0.141 ms  0.110 ms  0.167 ms
 3  * * *
 4  * * *
 5  uplink-uaix.veer.net.ua (194.150.92.14)  16.728 ms  16.716 ms  16.687 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  16.618 ms  16.516 ms  16.445 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  16.350 ms  15.704 ms  23.072 ms
 8  195.3.245.137 (195.3.245.137)  32.842 ms  27.434 ms  35.733 ms
 9  193.238.110.93 (193.238.110.93)  41.798 ms  41.784 ms  41.747 ms
10  193.238.109.57 (193.238.109.57)  48.716 ms  56.154 ms  56.146 ms
11  crimea-board.info (193.238.109.9)  134.073 ms  124.263 ms  114.697 ms
/dev/pts/5
11:21:11
#traceroute -U crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.852 ms  1.081 ms  1.293 ms
 2  10.0.35.1 (10.0.35.1)  0.147 ms  0.172 ms  0.144 ms
 3  * * *
 4  * * *
 5  uplink-uaix.veer.net.ua (194.150.92.14)  59.039 ms  59.031 ms  59.043 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  12.683 ms  58.820 ms  58.758 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  58.779 ms  58.085 ms  57.246 ms
 8  195.3.245.137 (195.3.245.137)  57.238 ms  94.579 ms  48.281 ms
 9  193.238.110.93 (193.238.110.93)  48.241 ms  48.199 ms  48.160 ms
10  193.238.109.57 (193.238.109.57)  48.058 ms  48.080 ms  48.043 ms
11  crimea-board.info (193.238.109.9)  112.200 ms  112.173 ms  64.209 ms
/dev/pts/6
11:21:11
#traceroute -U crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  0.852 ms  1.081 ms  1.293 ms
 2  10.0.35.1 (10.0.35.1)  0.147 ms  0.172 ms  0.144 ms
 3  * * *
 4  * * *
 5  uplink-uaix.veer.net.ua (194.150.92.14)  59.039 ms  59.031 ms  59.043 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  12.683 ms  58.820 ms  58.758 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  58.779 ms  58.085 ms  57.246 ms
 8  195.3.245.137 (195.3.245.137)  57.238 ms  94.579 ms  48.281 ms
 9  193.238.110.93 (193.238.110.93)  48.241 ms  48.199 ms  48.160 ms
10  193.238.109.57 (193.238.109.57)  48.058 ms  48.080 ms  48.043 ms
11  crimea-board.info (193.238.109.9)  112.200 ms  112.173 ms  64.209 ms
/dev/pts/5
11:21:22
#traceroute -I crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  1.080 ms  1.359 ms  1.596 ms
 2  10.0.35.1 (10.0.35.1)  0.243 ms  0.260 ms  0.261 ms
 3  * * *
 4  * * *
 5  uplink-uaix.veer.net.ua (194.150.92.14)  21.991 ms  21.988 ms  22.044 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  21.966 ms  21.720 ms  21.745 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  21.640 ms  20.339 ms  20.269 ms
 8  195.3.245.137 (195.3.245.137)  37.123 ms  28.421 ms  37.499 ms
 9  193.238.110.93 (193.238.110.93)  37.505 ms  37.494 ms  37.485 ms
10  193.238.109.57 (193.238.109.57)  37.455 ms  37.444 ms  37.421 ms
11  crimea-board.info (193.238.109.9)  37.409 ms  27.754 ms  34.792 ms
/dev/pts/6
11:21:22
#traceroute -I crimea-board.info
traceroute to crimea-board.info (193.238.109.9), 30 hops max, 60 byte packets
 1  192.168.15.254 (192.168.15.254)  1.080 ms  1.359 ms  1.596 ms
 2  10.0.35.1 (10.0.35.1)  0.243 ms  0.260 ms  0.261 ms
 3  * * *
 4  * * *
 5  uplink-uaix.veer.net.ua (194.150.92.14)  21.991 ms  21.988 ms  22.044 ms
 6  217.27.155.29.sitel.com.ua (217.27.155.29)  21.966 ms  21.720 ms  21.745 ms
 7  itsystems-10G-gw.ix.net.ua (195.35.65.57)  21.640 ms  20.339 ms  20.269 ms
 8  195.3.245.137 (195.3.245.137)  37.123 ms  28.421 ms  37.499 ms
 9  193.238.110.93 (193.238.110.93)  37.505 ms  37.494 ms  37.485 ms
10  193.238.109.57 (193.238.109.57)  37.455 ms  37.444 ms  37.421 ms
11  crimea-board.info (193.238.109.9)  37.409 ms  27.754 ms  34.792 ms
/dev/pts/5
11:21:33
#tracepath
bash: tracepath: command not found
/dev/pts/6
11:21:33
#tracepath
bash: tracepath: command not found
/dev/pts/5
11:23:37
#apt-file search trace
libace-dev: /usr/include/ace/os_include/os_trace.h
libace-doc: /usr/share/doc/libace-doc/examples/Misc/test_trace.cpp
libactivesupport-ruby1.8: /usr/lib/ruby/1.8/active_support/backtrace_cleaner.rb
libactivesupport-ruby1.9: /usr/lib/ruby/1.9.0/active_support/backtrace_cleaner.rb
libafterimage-dev: /usr/include/libAfterBase/trace.h
liballegro-doc: /usr/share/man/man3/al_trace.3alleg.gz
liballegro-doc: /usr/share/man/man3/register_trace_handler.3alleg.gz
liballegro-doc: /usr/share/man/man3/retrace_count.3alleg.gz
libapache-dbi-perl: /usr/share/doc/libapache-dbi-perl/traces.txt.gz
libapache2-mod-perl2-dev: /usr/include/apache2/modperl_trace.h
...
libnspr4-dev: /usr/include/nspr/prtrace.h
libocamlbricks-ocaml-dev: /usr/share/doc/libocamlbricks-ocaml-dev/html/api/code_ATTMemo.memo.trace.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/Http_client.trace.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/Http_client.trace_call.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/type_Http_client.trace.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/type_Http_client.trace_call.html
libomniorb4-dev: /usr/include/omniORB4/tracedthread.h
libopencascade-modeling-dev: /usr/include/opencascade/TopOpeBRepDS_traceDSX.hxx
libopencascade-modeling-dev: /usr/include/opencascade/TopOpeBRep_traceSIFF.hxx
libopencascade-visualization-dev: /usr/include/opencascade/OpenGl_traces.h
/dev/pts/6
11:23:37
#apt-file search trace
libace-dev: /usr/include/ace/os_include/os_trace.h
libace-doc: /usr/share/doc/libace-doc/examples/Misc/test_trace.cpp
libactivesupport-ruby1.8: /usr/lib/ruby/1.8/active_support/backtrace_cleaner.rb
libactivesupport-ruby1.9: /usr/lib/ruby/1.9.0/active_support/backtrace_cleaner.rb
libafterimage-dev: /usr/include/libAfterBase/trace.h
liballegro-doc: /usr/share/man/man3/al_trace.3alleg.gz
liballegro-doc: /usr/share/man/man3/register_trace_handler.3alleg.gz
liballegro-doc: /usr/share/man/man3/retrace_count.3alleg.gz
libapache-dbi-perl: /usr/share/doc/libapache-dbi-perl/traces.txt.gz
libapache2-mod-perl2-dev: /usr/include/apache2/modperl_trace.h
...
libnspr4-dev: /usr/include/nspr/prtrace.h
libocamlbricks-ocaml-dev: /usr/share/doc/libocamlbricks-ocaml-dev/html/api/code_ATTMemo.memo.trace.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/Http_client.trace.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/Http_client.trace_call.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/type_Http_client.trace.html
libocamlnet-ocaml-doc: /usr/share/doc/libocamlnet-ocaml-doc/html-main/type_Http_client.trace_call.html
libomniorb4-dev: /usr/include/omniORB4/tracedthread.h
libopencascade-modeling-dev: /usr/include/opencascade/TopOpeBRepDS_traceDSX.hxx
libopencascade-modeling-dev: /usr/include/opencascade/TopOpeBRep_traceSIFF.hxx
libopencascade-visualization-dev: /usr/include/opencascade/OpenGl_traces.h
/dev/pts/5
11:24:31
#apt-file search trace | grep bin
apt-forktracer: /usr/bin/apt-forktracer
auditd: /sbin/autrace
autotrace: /usr/bin/autotrace
bacula-common: /usr/sbin/btraceback
blktrace: /usr/sbin/blktrace
blktrace: /usr/sbin/btrace
dans-gdal-scripts: /usr/bin/gdal_trace_outline
dbndns: /usr/bin/dnstrace
dbndns: /usr/bin/dnstracesort
djbdns: /usr/bin/dnstrace
...
xen-utils-3.2-1: /usr/lib/xen-3.2-1/bin/xentrace_setsize
xen-utils-common: /usr/sbin/xentrace
xen-utils-common: /usr/sbin/xentrace_format
xen-utils-common: /usr/sbin/xentrace_setmask
xen-utils-common: /usr/sbin/xentrace_setsize
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace_format
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace_setmask
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace_setsize
xtrace: /usr/bin/xtrace
/dev/pts/6
11:24:31
#apt-file search trace | grep bin
apt-forktracer: /usr/bin/apt-forktracer
auditd: /sbin/autrace
autotrace: /usr/bin/autotrace
bacula-common: /usr/sbin/btraceback
blktrace: /usr/sbin/blktrace
blktrace: /usr/sbin/btrace
dans-gdal-scripts: /usr/bin/gdal_trace_outline
dbndns: /usr/bin/dnstrace
dbndns: /usr/bin/dnstracesort
djbdns: /usr/bin/dnstrace
...
xen-utils-3.2-1: /usr/lib/xen-3.2-1/bin/xentrace_setsize
xen-utils-common: /usr/sbin/xentrace
xen-utils-common: /usr/sbin/xentrace_format
xen-utils-common: /usr/sbin/xentrace_setmask
xen-utils-common: /usr/sbin/xentrace_setsize
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace_format
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace_setmask
xen-utils-unstable: /usr/lib/xen-unstable/bin/xentrace_setsize
xtrace: /usr/bin/xtrace
/dev/pts/5
11:25:09
#apt-file search ping | grep bin
aoetools: /sbin/aoeping
arping: /usr/sbin/arping
bcfg2-server: /usr/sbin/bcfg2-ping-sweep
beagle: /usr/bin/beagle-ping
beagle: /usr/share/beagle/webinterface/mappings.xml
bluez: /usr/bin/l2ping
camping: /usr/bin/camping
ctdb: /usr/bin/ping_pong
dhcping: /usr/sbin/dhcping
dnet-progs: /usr/bin/dnping
...
ssmping: /usr/bin/ssmping
ssmping: /usr/bin/ssmpingd
texlive-base-bin: /usr/bin/a2ping
texlive-base-bin: /usr/share/man/man1/a2ping.1.gz
xmltv-util: /usr/bin/tv_remove_some_overlapping
xymon: /usr/lib/hobbit/server/bin/hobbitping
zapping: /usr/bin/zapping
zapping: /usr/bin/zapping_remote
zapping: /usr/bin/zapping_setup_fb
zapping: /usr/sbin/zapping_setup_fb
/dev/pts/6
11:25:09
#apt-file search ping | grep bin
aoetools: /sbin/aoeping
arping: /usr/sbin/arping
bcfg2-server: /usr/sbin/bcfg2-ping-sweep
beagle: /usr/bin/beagle-ping
beagle: /usr/share/beagle/webinterface/mappings.xml
bluez: /usr/bin/l2ping
camping: /usr/bin/camping
ctdb: /usr/bin/ping_pong
dhcping: /usr/sbin/dhcping
dnet-progs: /usr/bin/dnping
...
ssmping: /usr/bin/ssmping
ssmping: /usr/bin/ssmpingd
texlive-base-bin: /usr/bin/a2ping
texlive-base-bin: /usr/share/man/man1/a2ping.1.gz
xmltv-util: /usr/bin/tv_remove_some_overlapping
xymon: /usr/lib/hobbit/server/bin/hobbitping
zapping: /usr/bin/zapping
zapping: /usr/bin/zapping_remote
zapping: /usr/bin/zapping_setup_fb
zapping: /usr/sbin/zapping_setup_fb
прошло 12 минут
/dev/pts/5
11:38:00
#ssh 192.168.102.2
The authenticity of host '192.168.102.2 (192.168.102.2)' can't be established.
RSA key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.102.2' (RSA) to the list of known hosts.
root@192.168.102.2's password:
Permission denied, please try again.
root@192.168.102.2's password:
Linux linux4 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jun  1 14:32:48 2009 from linux3.unix.nt
/dev/pts/6
11:38:00
#ssh 192.168.102.2
The authenticity of host '192.168.102.2 (192.168.102.2)' can't be established.
RSA key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.102.2' (RSA) to the list of known hosts.
root@192.168.102.2's password:
Permission denied, please try again.
root@192.168.102.2's password:
Linux linux4 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Jun  1 14:32:48 2009 from linux3.unix.nt
/dev/pts/5
11:44:57
#tcpdump -i eth0 not port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
11:45:43.827291 LLDP, name ProCurve Switch 3400cl-48G, length 166
        [|LLDP]
^C
1 packets captured
1 packets received by filter
0 packets dropped by kernel
/dev/pts/6
11:44:57
#tcpdump -i eth0 not port 22
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
11:45:43.827291 LLDP, name ProCurve Switch 3400cl-48G, length 166
        [|LLDP]
^C
1 packets captured
1 packets received by filter
0 packets dropped by kernel

Статистика

Время первой команды журнала09:51:49 2009- 6- 2
Время последней команды журнала11:44:57 2009- 6- 2
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, % 9.90
Процент синтаксически неверно набранных команд, % 4.95
Суммарное время работы с терминалом *, час 1.89
Количество командных строк в единицу времени, команда/мин 0.89
Частота использования команд
mii-tool28|=========================| 25.69%
ping12|===========| 11.01%
apt-file10|=========| 9.17%
grep8|=======| 7.34%
traceroute6|=====| 5.50%
apt-get6|=====| 5.50%
apt-cache6|=====| 5.50%
tcpdump4|===| 3.67%
ethtool4|===| 3.67%
find4|===| 3.67%
ifconfig2|=| 1.83%
dpkg2|=| 1.83%
modinfo2|=| 1.83%
tracepath2|=| 1.83%
ьmidiag2|=| 1.83%
lspci2|=| 1.83%
scapy2|=| 1.83%
mtr2|=| 1.83%
mii-diag2|=| 1.83%
ssh2|=| 1.83%
tcdump1|| 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$