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

Содержание

Журнал

Вторник (12/16/08)

/dev/pts/4
12:29:03
#mkfs.ext3 image
mke2fs 1.40.6 (09-Feb-2008)
image is not a block special device.
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
25688 inodes, 102400 blocks
5120 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=67371008
13 block groups
8192 blocks per group, 8192 fragments per group
1976 inodes per group
Superblock backups stored on blocks:
        8193, 24577, 40961, 57345, 73729
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
12:29:08
#mount -o loop image /mnt

12:29:18
#which date
/bin/date
12:29:37
#cp /bin/date /mnt/

12:29:43
#/mnt/date
Tue Dec 16 10:29:45 UTC 2008
12:29:45
#mount -o remount,noexec /mnt

12:29:58
#/mnt/date
l3script: /mnt/date: Permission denied
12:30:00
#/lib/ld-linux.so.2 /mnt/date
/mnt/date: error while loading shared libraries: /mnt/date: failed to map segment from shared object: Operation not permitted
12:34:59
#vi /tmp/d
--- /dev/null	2008-12-14 14:19:20.116332575 +0000
+++ /tmp/d	2008-12-16 10:38:14.000000000 +0000
@@ -0,0 +1,19 @@
+
+eth0      Link encap:Ethernet  HWaddr 00:16:3e:04:02:71  
+          inet addr:10.0.35.71  Bcast:10.255.255.255  Mask:255.0.0.0
+          inet6 addr: fe80::216:3eff:fe04:271/64 Scope:Link
+          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
+          RX PACKETS:5132548 ERRORS:0 DROPPED:0 OVERRUNS:0 FRAME:0
+          TX PACKETS:3207047 ERRORS:0 DROPPED:0 OVERRUNS:0 CARRIER:0
+          collisions:0 txqueuelen:1000 
+          RX bytes:589230758 (561.9 MiB)  TX bytes:1918627612 (1.7 GiB)
+
+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:97 errors:0 dropped:0 overruns:0 frame:0
+          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
+          collisions:0 txqueuelen:0 
+          RX bytes:29799 (29.1 KiB)  TX bytes:29799 (29.1 KiB)
+
12:38:14
#l3mass_upload /home/user/ids-network-part.png
Uploaded file name is 1159830598755099-1229415638_1229423913_ids-network-part.png
Upload complete
/var/www/xguru/l3shot/1159830598755099-1229415638_1229423913_ids-network-part.png
screenshot id 1159830598755099-1229415638_1229423913_ids-network-part.png
12:38:34
#l3mass_upload /home/user/vi.png
Uploaded file name is 1159830598755099-1229415638_1229424164_vi.png
Upload complete
/var/www/xguru/l3shot/1159830598755099-1229415638_1229424164_vi.png
screenshot id 1159830598755099-1229415638_1229424164_vi.png
12:42:45
#cd

12:43:40
#tcpdump -i eth0 -n arp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
10:47:14.071498 arp who-has 10.0.100.49 tell 10.0.1.42
10:47:14.191055 arp who-has 10.0.10.222 tell 10.0.10.41
10:47:14.203077 arp who-has 10.0.66.1 tell 10.0.1.3
10:47:14.206540 arp who-has 10.0.81.1 tell 10.0.1.9
10:47:14.706633 arp who-has 10.0.48.1 tell 10.0.1.9
10:47:14.778989 arp who-has 10.0.49.2 tell 10.0.1.9
10:47:14.806399 arp who-has 192.168.200.213 tell 192.168.200.2
10:47:14.806983 arp who-has 192.168.200.100 tell 192.168.200.2
...
10:47:39.864932 arp who-has 10.0.82.1 tell 10.0.1.9
10:47:40.708682 arp who-has 10.0.82.1 tell 10.0.1.9
10:47:40.860829 arp who-has 10.0.13.2 (ff:ff:ff:ff:ff:ff) tell 10.0.13.2
10:47:41.157713 arp who-has 10.0.1.5 (ff:ff:ff:ff:ff:ff) tell 10.0.1.5
10:47:41.350887 arp who-has 10.0.100.32 tell 10.0.1.9
10:47:41.562054 arp who-has 192.168.200.222 tell 192.168.200.4
10:47:41.708730 arp who-has 10.0.82.1 tell 10.0.1.9
140 packets captured
140 packets received by filter
0 packets dropped by kernel
12:47:41
#tcpdump -i eth0 -n arp > arp.log
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
387 packets captured
387 packets received by filter
0 packets dropped by kernel
12:48:54
#cat arp.log | sed 's/(.*)//' | less
12:49:51
#cat arp.log | sed 's/(.*)//' | awk '{print $6" -> "$4}' | less
12:51:40
#cat arp.log | sed 's/(.*)//' | awk '{print $6" -> "$4";"
-u | grep -v : | grep -v '^ -' > arp.dot
12:51:58
#vi arp.dot
12:52:23
#vi arp.dot
12:52:33
#vi arp.dot
--- /tmp/l3-saved-7843.28084.4638	2008-12-16 10:52:35.000000000 +0000
+++ arp.dot	2008-12-16 10:52:51.000000000 +0000
@@ -1,3 +1,4 @@
+digraph G {
 10x0x1x1 -> 10x0x1x44;
 10x0x1x1 -> 10x0x15x1;
 10x0x1x1 -> 10x0x21x1;
@@ -96,3 +97,4 @@
 192x168x200x2 -> 192x168x200x213;
 192x168x200x249 -> 192x168x200x222;
 192x168x200x4 -> 192x168x200x222;
+}
12:52:51
#apt-get install graphviz
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python2.4-minimal python2.4 libttf2 cpp-4.2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  ttf-liberation
Suggested packages:
  graphviz-doc
...
0 upgraded, 2 newly installed, 0 to remove and 373 not upgraded.
Need to get 1408kB of archives.
After this operation, 2781kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://10.0.35.1 sid/main graphviz 2.20.2-3 [402kB]
Err http://10.0.35.1 sid/main ttf-liberation 1.04.92.dfsg-4
  404 Not Found
Fetched 402kB in 0s (791kB/s)
Failed to fetch http://10.0.35.1:9999/debian/pool/main/t/ttf-liberation/ttf-liberation_1.04.92.dfsg-4_all.deb  404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
12:53:00
#apt-get update
Get:1 http://10.0.35.1 sid Release.gpg [189B]
Get:2 http://10.0.35.1 sid Release [80.6kB]
Ign http://10.0.35.1 sid/main Packages/DiffIndex
Ign http://10.0.35.1 sid/main Packages
Get:3 http://10.0.35.1 sid/main Packages [7407kB]
Fetched 7488kB in 7s (1003kB/s)
Reading package lists... Done
12:53:20
#apt-get install graphviz
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python2.4-minimal python2.4 libttf2 cpp-4.2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  ttf-liberation
Suggested packages:
  graphviz-doc
...
Get:1 http://10.0.35.1 sid/main ttf-liberation 1.04.93-1 [1007kB]
Fetched 1007kB in 6s (161kB/s)
Selecting previously deselected package graphviz.
(Reading database ... 40210 files and directories currently installed.)
Unpacking graphviz (from .../graphviz_2.20.2-3_i386.deb) ...
Selecting previously deselected package ttf-liberation.
Unpacking ttf-liberation (from .../ttf-liberation_1.04.93-1_all.deb) ...
Setting up graphviz (2.20.2-3) ...
Setting up ttf-liberation (1.04.93-1) ...
Updating fontconfig cache for /usr/share/fonts/truetype/ttf-liberation
12:53:55
#less /etc/services
12:56:46
#neato -Tpng -o arp.png arp.dot
Warning: arp.dot:25: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:26: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:26: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:27: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:27: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:28: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:28: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:29: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:29: ambiguous "10x" splits into two names: "10" and "x"
Warning: arp.dot:30: ambiguous "10x" splits into two names: "10" and "x"
...
Warning: arp.dot:95: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:95: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:96: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:96: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:97: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:97: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:98: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:98: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:99: ambiguous "192x" splits into two names: "192" and "x"
Warning: arp.dot:99: ambiguous "192x" splits into two names: "192" and "x"
12:57:19
#vi arp.dot
--- /tmp/l3-saved-7843.9156.23039	2008-12-16 10:57:28.000000000 +0000
+++ arp.dot	2008-12-16 10:58:29.000000000 +0000
@@ -1,100 +1,100 @@
 digraph G {
-10x0x1x1 -> 10x0x1x44;
-10x0x1x1 -> 10x0x15x1;
-10x0x1x1 -> 10x0x21x1;
-10x0x1x1 -> 10x0x54x1;
-10x0x1x1 -> 10x0x63x1;
-10x0x1x121 -> 10x0x1x9;
-10x0x1x123 -> 10x0x1x4;
-10x0x1x123 -> 10x0x1x7;
-10x0x1x123 -> 10x0x18x1;
-10x0x1x124 -> 10x0x1x4;
-10x0x1x124 -> 10x0x100x1;
-10x0x1x2 -> 10x0x1x6;
-10x0x1x3 -> 10x0x1x6;
-10x0x1x3 -> 10x0x19x1;
-10x0x1x3 -> 10x0x38x2;
-10x0x1x3 -> 10x0x42x1;
-10x0x1x3 -> 10x0x53x1;
-10x0x1x3 -> 10x0x83x1;
-10x0x1x4 -> 10x0x1x6;
-10x0x1x4 -> 10x0x15x1;
-10x0x1x4 -> 10x0x21x1;
-10x0x1x4 -> 10x0x73x1;
-10x0x1x4 -> 10x0x83x1;
-10x0x1x42 -> 10x0x1x6;
-10x0x1x42 -> 10x0x31x1;
-10x0x1x42 -> 10x0x54x1;
-10x0x1x42 -> 10x0x78x1;
-10x0x1x5 -> 10x0x1x5;
-10x0x1x7 -> 10x0x1x44;
-10x0x1x7 -> 10x0x100x49;
-10x0x1x7 -> 10x0x27x1;
-10x0x1x9 -> 10x0x1x1;
-10x0x1x9 -> 10x0x1x2;
-10x0x1x9 -> 10x0x1x3;
-10x0x1x9 -> 10x0x1x4;
-10x0x1x9 -> 10x0x1x86;
-10x0x1x9 -> 10x0x100x32;
-10x0x1x9 -> 10x0x100x41;
-10x0x1x9 -> 10x0x14x170;
-10x0x1x9 -> 10x0x14x171;
-10x0x1x9 -> 10x0x14x1;
-10x0x1x9 -> 10x0x15x1;
-10x0x1x9 -> 10x0x18x1;
-10x0x1x9 -> 10x0x20x1;
-10x0x1x9 -> 10x0x28x2;
-10x0x1x9 -> 10x0x45x1;
-10x0x1x9 -> 10x0x48x1;
-10x0x1x9 -> 10x0x49x2;
-10x0x1x9 -> 10x0x56x1;
-10x0x1x9 -> 10x0x64x1;
-10x0x1x9 -> 10x0x81x1;
-10x0x1x9 -> 10x0x82x1;
-10x0x10x21 -> 10x0x10x222;
-10x0x10x22 -> 10x0x1x1;
-10x0x10x23 -> 10x0x10x222;
-10x0x10x28 -> 10x0x10x222;
-10x0x10x31 -> 10x0x1x1;
-10x0x10x33 -> 10x0x1x1;
-10x0x10x38 -> 10x0x1x1;
-10x0x10x43 -> 10x0x10x222;
-10x0x10x47 -> 10x0x10x222;
-10x0x10x80 -> 10x0x1x1;
-10x0x10x80 -> 10x0x1x4;
-10x0x10x80 -> 10x0x1x7;
-10x0x10x80 -> 10x0x10x222;
-10x0x10x80 -> 10x0x10x80;
-10x0x100x1 -> 10x0x1x124;
-10x0x100x30 -> 10x0x1x3;
-10x0x100x30 -> 10x0x1x4;
-10x0x100x30 -> 10x0x2x1;
-10x0x100x8 -> 10x0x1x1;
-10x0x13x2 -> 10x0x13x2;
-10x0x14x1 -> 10x0x1x42;
-10x0x14x1 -> 10x0x1x9;
-10x0x14x1 -> 10x0x2x1;
-10x0x14x170 -> 10x0x1x9;
-10x0x14x171 -> 10x0x1x4;
-10x0x14x171 -> 10x0x1x9;
-10x0x18x1 -> 10x0x1x123;
-10x0x18x1 -> 10x0x1x7;
-10x0x18x1 -> 10x0x1x9;
-10x0x2x1 -> 10x0x59x1;
-10x0x2x1 -> 10x0x75x1;
-10x0x2x2 -> 10x0x30x1;
-10x0x2x2 -> 10x0x47x1;
-10x0x2x2 -> 10x0x59x1;
-10x0x20x1 -> 10x0x1x9;
-10x0x28x6 -> 10x0x28x9;
-10x0x28x6 -> 10x0x83x1;
-10x0x35x1 -> 10x0x35x71;
-10x0x35x61 -> 10x0x35x1;
-10x0x35x71 -> 10x0x1x7;
-10x0x54x1 -> 10x0x1x2;
-192x168x200x150 -> 192x168x200x222;
-192x168x200x2 -> 192x168x200x100;
-192x168x200x2 -> 192x168x200x213;
-192x168x200x249 -> 192x168x200x222;
-192x168x200x4 -> 192x168x200x222;
+x10x0x1x1 -> x10x0x1x44;
+x10x0x1x1 -> x10x0x15x1;
+x10x0x1x1 -> x10x0x21x1;
+x10x0x1x1 -> x10x0x54x1;
+x10x0x1x1 -> x10x0x63x1;
+x10x0x1x121 -> x10x0x1x9;
+x10x0x1x123 -> x10x0x1x4;
+x10x0x1x123 -> x10x0x1x7;
+x10x0x1x123 -> x10x0x18x1;
+x10x0x1x124 -> x10x0x1x4;
+x10x0x1x124 -> x10x0x100x1;
+x10x0x1x2 -> x10x0x1x6;
+x10x0x1x3 -> x10x0x1x6;
+x10x0x1x3 -> x10x0x19x1;
+x10x0x1x3 -> x10x0x38x2;
+x10x0x1x3 -> x10x0x42x1;
+x10x0x1x3 -> x10x0x53x1;
+x10x0x1x3 -> x10x0x83x1;
+x10x0x1x4 -> x10x0x1x6;
+x10x0x1x4 -> x10x0x15x1;
+x10x0x1x4 -> x10x0x21x1;
+x10x0x1x4 -> x10x0x73x1;
+x10x0x1x4 -> x10x0x83x1;
+x10x0x1x42 -> x10x0x1x6;
+x10x0x1x42 -> x10x0x31x1;
+x10x0x1x42 -> x10x0x54x1;
+x10x0x1x42 -> x10x0x78x1;
+x10x0x1x5 -> x10x0x1x5;
+x10x0x1x7 -> x10x0x1x44;
+x10x0x1x7 -> x10x0x100x49;
+x10x0x1x7 -> x10x0x27x1;
+x10x0x1x9 -> x10x0x1x1;
+x10x0x1x9 -> x10x0x1x2;
+x10x0x1x9 -> x10x0x1x3;
+x10x0x1x9 -> x10x0x1x4;
+x10x0x1x9 -> x10x0x1x86;
+x10x0x1x9 -> x10x0x100x32;
+x10x0x1x9 -> x10x0x100x41;
+x10x0x1x9 -> x10x0x14x170;
+x10x0x1x9 -> x10x0x14x171;
+x10x0x1x9 -> x10x0x14x1;
+x10x0x1x9 -> x10x0x15x1;
+x10x0x1x9 -> x10x0x18x1;
+x10x0x1x9 -> x10x0x20x1;
+x10x0x1x9 -> x10x0x28x2;
+x10x0x1x9 -> x10x0x45x1;
+x10x0x1x9 -> x10x0x48x1;
+x10x0x1x9 -> x10x0x49x2;
+x10x0x1x9 -> x10x0x56x1;
+x10x0x1x9 -> x10x0x64x1;
+x10x0x1x9 -> x10x0x81x1;
+x10x0x1x9 -> x10x0x82x1;
+x10x0x10x21 -> x10x0x10x222;
+x10x0x10x22 -> x10x0x1x1;
+x10x0x10x23 -> x10x0x10x222;
+x10x0x10x28 -> x10x0x10x222;
+x10x0x10x31 -> x10x0x1x1;
+x10x0x10x33 -> x10x0x1x1;
+x10x0x10x38 -> x10x0x1x1;
+x10x0x10x43 -> x10x0x10x222;
+x10x0x10x47 -> x10x0x10x222;
+x10x0x10x80 -> x10x0x1x1;
+x10x0x10x80 -> x10x0x1x4;
+x10x0x10x80 -> x10x0x1x7;
+x10x0x10x80 -> x10x0x10x222;
+x10x0x10x80 -> x10x0x10x80;
+x10x0x100x1 -> x10x0x1x124;
+x10x0x100x30 -> x10x0x1x3;
+x10x0x100x30 -> x10x0x1x4;
+x10x0x100x30 -> x10x0x2x1;
+x10x0x100x8 -> x10x0x1x1;
+x10x0x13x2 -> x10x0x13x2;
+x10x0x14x1 -> x10x0x1x42;
+x10x0x14x1 -> x10x0x1x9;
+x10x0x14x1 -> x10x0x2x1;
+x10x0x14x170 -> x10x0x1x9;
+x10x0x14x171 -> x10x0x1x4;
+x10x0x14x171 -> x10x0x1x9;
+x10x0x18x1 -> x10x0x1x123;
+x10x0x18x1 -> x10x0x1x7;
+x10x0x18x1 -> x10x0x1x9;
+x10x0x2x1 -> x10x0x59x1;
+x10x0x2x1 -> x10x0x75x1;
+x10x0x2x2 -> x10x0x30x1;
+x10x0x2x2 -> x10x0x47x1;
+x10x0x2x2 -> x10x0x59x1;
+x10x0x20x1 -> x10x0x1x9;
+x10x0x28x6 -> x10x0x28x9;
+x10x0x28x6 -> x10x0x83x1;
+x10x0x35x1 -> x10x0x35x71;
+x10x0x35x61 -> x10x0x35x1;
+x10x0x35x71 -> x10x0x1x7;
+x10x0x54x1 -> x10x0x1x2;
+x192x168x200x150 -> x192x168x200x222;
+x192x168x200x2 -> x192x168x200x100;
+x192x168x200x2 -> x192x168x200x213;
+x192x168x200x249 -> x192x168x200x222;
+x192x168x200x4 -> x192x168x200x222;
 }
12:58:29
#neato -Tpng -o arp.png arp.dot

12:58:31
#gqview arp.png
(gqview:31723): Gtk-WARNING **: cannot open display:
12:58:38
#neato -Tpng -o /home/user/arp.png arp.dot

12:59:10
#vi arp.dot
--- /tmp/l3-saved-7843.3353.19155	2008-12-16 10:59:42.000000000 +0000
+++ arp.dot	2008-12-16 10:59:51.000000000 +0000
@@ -1,4 +1,5 @@
 digraph G {
+edge [len=2];
 x10x0x1x1 -> x10x0x1x44;
 x10x0x1x1 -> x10x0x15x1;
 x10x0x1x1 -> x10x0x21x1;
12:59:51
#neato -Tpng -o /home/user/arp.png arp.dot

12:59:53
#l3mass_upload /home/user/arp.png
Uploaded file name is 1159830598755099-1229415638_1229425381_arp.png
Upload complete
/var/www/xguru/l3shot/1159830598755099-1229415638_1229425381_arp.png
screenshot id 1159830598755099-1229415638_1229425381_arp.png
13:03:05
#apt-cache dotty syslog-ng > /tmp/syslog.dot

13:03:43
#dot -Tpng -o /home/user/syslog-deps.png /tmp/syslog.dot

13:04:02
#l3mass_upload /home/user/syslog-deps.png
Uploaded file name is 1159830598755099-1229415638_1229425519_syslog-deps.png
Upload complete
/var/www/xguru/l3shot/1159830598755099-1229415638_1229425519_syslog-deps.png
screenshot id 1159830598755099-1229415638_1229425519_syslog-deps.png
13:12:12
#date
Tue Dec 16 11:12:13 UTC 2008
13:12:13
#neato -Tpng -o /home/user/syslog-deps.png /tmp/syslog.dot

13:12:54
#vi /tmp/syslog.dot
--- /tmp/l3-saved-7843.32182.13462	2008-12-16 11:13:23.000000000 +0000
+++ /tmp/syslog.dot	2008-12-16 11:13:35.000000000 +0000
@@ -1,4 +1,5 @@
 digraph packages {
+edge[len=1];
 concentrate=true;
 size="30,40";
 "syslog-ng" -> "libc6";
13:13:35
#neato -Tpng -o /home/user/syslog-deps.png /tmp/syslog.dot

13:13:37
#vi /tmp/syslog.dot
--- /tmp/l3-saved-7843.27870.9497	2008-12-16 11:13:52.000000000 +0000
+++ /tmp/syslog.dot	2008-12-16 11:14:00.000000000 +0000
@@ -1,5 +1,5 @@
 digraph packages {
-edge[len=1];
+edge[len=2];
 concentrate=true;
 size="30,40";
 "syslog-ng" -> "libc6";
13:14:00
#neato -Tpng -o /home/user/syslog-deps.png /tmp/syslog.dot

13:14:01
#l3mass_upload /home/user/syslog-deps.png
Uploaded file name is 1159830598755099-1229415638_1229426147_syslog-deps.png
Upload complete
/var/www/xguru/l3shot/1159830598755099-1229415638_1229426147_syslog-deps.png
screenshot id 1159830598755099-1229415638_1229426147_syslog-deps.png
13:15:48
#date
Tue Dec 16 11:15:52 UTC 2008
прошло 62 минуты
/dev/pts/1
14:18:38
#ls /tmp/
gconfd-user  keyring-GHh0Y7  orbit-user  ssh-NEpbmH1658
14:18:52
#ls /
bin   dev  home    lib         media  opt   root  selinux  sys  usr
boot  etc  initrd  lost+found  mnt    proc  sbin  srv      tmp  var
14:18:58
#ls /home/user/
Desktop               one-server-for-one-service.xcf    syslog-deps.png
akula.xcf             osdn2008-xen-drbd-chubin          syslog-ng.png
arp.png               osdn2008-xen-drbd-chubin.tar.bz2  syslog.xcf
flower.png            rmrf.png                          upload_xcf
gnu-screen.xcf        spasibo.png                       uploaded
ids-network-part.png  start.xcf                         vi.png
ids-network-part.xcf  suid.png
14:19:03
#uptime
 12:19:07 up  1:01,  2 users,  load average: 0.04, 0.01, 0.00
14:19:07
#atq

14:19:30
#apt-cache search arping
arping - sends IP and/or ARP pings (to the MAC address)
gtkmorph - Digital image warp and morph (gtk)
gtkmorph-example - digital image warp and morph, examples
iputils-arping - Tool to send ICMP echo requests to an ARP address
libmorph - digital image warping library
libmorph-dev - digital image warping library (development files)
python-scapy - Packet generator/sniffer and network scanner/discovery
xmorph - digital image warp and morph (x11)
14:21:21
#apt-get install arping
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python2.4-minimal python2.4 libttf2 cpp-4.2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libnet1
The following NEW packages will be installed:
  arping libnet1
...
Get:1 http://10.0.35.1 sid/main libnet1 1.1.2.1-4 [55.4kB]
Get:2 http://10.0.35.1 sid/main arping 2.08-1 [23.4kB]
Fetched 78.8kB in 0s (1202kB/s)
Selecting previously deselected package libnet1.
(Reading database ... 40299 files and directories currently installed.)
Unpacking libnet1 (from .../libnet1_1.1.2.1-4_i386.deb) ...
Selecting previously deselected package arping.
Unpacking arping (from .../arping_2.08-1_i386.deb) ...
Setting up libnet1 (1.1.2.1-4) ...
Setting up arping (2.08-1) ...
14:21:35
#arping 10.0.35.1
ARPING 10.0.35.1
42 bytes from 00:16:3e:04:00:01 (10.0.35.1): index=0 time=120.163 usec
42 bytes from 00:16:3e:04:00:01 (10.0.35.1): index=1 time=180.006 usec
--- 10.0.35.1 statistics ---
2 packets transmitted, 2 packets received,   0% unanswered
14:22:28
#arping 10.0.35.2
ARPING 10.0.35.2
--- 10.0.35.2 statistics ---
2 packets transmitted, 0 packets received, 100% unanswered
14:22:32
#arping 10.0.35.3
ARPING 10.0.35.3
--- 10.0.35.3 statistics ---
2 packets transmitted, 0 packets received, 100% unanswered
14:22:36
#arping 10.0.35.4
ARPING 10.0.35.4
--- 10.0.35.4 statistics ---
2 packets transmitted, 0 packets received, 100% unanswered
14:22:39
#arping 10.0.35.10
ARPING 10.0.35.10
42 bytes from 00:16:3e:04:00:02 (10.0.35.10): index=0 time=190.020 usec
42 bytes from 00:16:3e:04:00:02 (10.0.35.10): index=1 time=185.966 usec
--- 10.0.35.10 statistics ---
2 packets transmitted, 2 packets received,   0% unanswered
14:22:43
#man arping
14:23:07
#for i in {1..255}
> do
> arping -c1 10.0.35.$i >& /dev/null && echo 10.0.35.$i
> done
10.0.35.1
10.0.35.9
10.0.35.10
10.0.35.15
10.0.35.16
10.0.35.61
10.0.35.62
10.0.35.63
10.0.35.64
10.0.35.111
[1]+  Stopped                 arping -c1 10.0.35.$i >&/dev/null
14:26:31
#kill %1
[1]+  Terminated              arping -c1 10.0.35.$i >&/dev/null
14:26:47
#10.0.35.201
[133]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[138]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[142]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[143]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[144]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[145]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[146]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[147]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[148]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[149]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
...
[246]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[247]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[248]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[249]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[250]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[251]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[252]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[253]   Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[254]-  Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
[255]+  Exit 1                  arping -c1 10.0.35.$i >&/dev/null && echo 10.0.35.$i
14:31:52
#ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:16:3e:04:02:71
          inet addr:10.0.35.71  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::216:3eff:fe04:271/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:153745 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94557 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13780593 (13.1 MiB)  TX bytes:224958114 (214.5 MiB)
14:32:40
#arp -an
? (10.0.1.7) at 00:18:71:79:F8:9A [ether] on eth0
? (10.0.35.62) at 00:16:35:7D:81:EE [ether] on eth0
? (10.0.35.15) at 00:22:64:34:33:56 [ether] on eth0
? (10.0.35.61) at 00:14:C2:05:A2:0E [ether] on eth0
? (10.0.35.64) at 00:14:C2:05:A3:38 [ether] on eth0
? (10.0.35.1) at 00:16:3E:04:00:01 [ether] on eth0
? (10.0.35.63) at 00:14:C2:05:A2:60 [ether] on eth0
14:33:08
#apt-get install bridge-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python2.4-minimal python2.4 libttf2 cpp-4.2
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  bridge-utils
0 upgraded, 1 newly installed, 0 to remove and 376 not upgraded.
Need to get 31.2kB of archives.
After this operation, 111kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main bridge-utils 1.4-5 [31.2kB]
Fetched 31.2kB in 0s (394kB/s)
Selecting previously deselected package bridge-utils.
(Reading database ... 40320 files and directories currently installed.)
Unpacking bridge-utils (from .../bridge-utils_1.4-5_i386.deb) ...
Setting up bridge-utils (1.4-5) ...
14:34:51
#brctl addbr br0

14:35:09
#brctl addif br0 eth0

14:35:25
#brctl addif br0 eth1

14:35:34
## http://xgu.ru/wiki/Linux_Bridge

14:36:53
## http://xgu.ru/wiki/Linux_Bonding

прошло 16 минут
14:53:21
#l3mass_upload /home/user/yersinia.png
Uploaded file name is 17833602743910090-1229429917_1229432008_yersinia.png
Upload complete
/var/www/xguru/l3shot/17833602743910090-1229429917_1229432008_yersinia.png
screenshot id 17833602743910090-1229429917_1229432008_yersinia.png
14:53:48
#date
Tue Dec 16 12:53:57 UTC 2008
14:53:57
#date
Tue Dec 16 12:54:08 UTC 2008
14:55:18
#passwd
.ICEauthority        .gimp-2.4/           .recently-used.xbel
.Xauthority          .gnome2/             .ssh/
.adobe/              .gqview/             .thumbnails/
.bash_history        .hushlogin           .vlc/
.bash_profile        .java/               .vnc/
.bashrc              .l3rc                .wireshark/
.cache/              .lesshst             .xsession-errors
.config/             .lilalo/             Desktop/
.dbus/               .local/              arp.dot
.dmrc                .macromedia/         arp.log
.gconf/              .mozilla/            arp.png
.gconfd/             .profile             pic1.xcf
14:55:18
#. /etc/bash_completion.d/
l3script: .: /etc/bash_completion.d/: is a directory
14:57:00
#vi /etc/apt/sources.list
--- /tmp/l3-saved-1801.16321.21948	2008-12-16 12:57:07.000000000 +0000
+++ /etc/apt/sources.list	2008-12-16 12:57:17.000000000 +0000
@@ -1,2 +1,3 @@
 #deb http://debian.org.ua/debian sid main
 deb http://10.0.35.1:9999/debian sid main
+deb http://10.0.35.1:9999/debian etch main
14:57:17
#apt-get update
0% [Working]
Hit http://10.0.35.1 sid Release.gpg
Get:1 http://10.0.35.1 etch Release.gpg [386B]
Hit http://10.0.35.1 sid Release
Get:2 http://10.0.35.1 etch Release [58.2kB]
Ign http://10.0.35.1 sid/main Packages/DiffIndex
Ign http://10.0.35.1 etch/main Packages
Ign http://10.0.35.1 sid/main Packages
Get:3 http://10.0.35.1 etch/main Packages [5624kB]
Hit http://10.0.35.1 sid/main Packages
Fetched 5683kB in 6s (878kB/s)
Reading package lists... Done
14:57:37
#apt-get install bash-completion
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python2.4-minimal python2.4 libttf2 cpp-4.2
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  bash-completion
0 upgraded, 1 newly installed, 0 to remove and 376 not upgraded.
Need to get 89.2kB of archives.
After this operation, 459kB of additional disk space will be used.
Get:1 http://10.0.35.1 sid/main bash-completion 20080705 [89.2kB]
Fetched 89.2kB in 0s (1465kB/s)
Selecting previously deselected package bash-completion.
(Reading database ... 40344 files and directories currently installed.)
Unpacking bash-completion (from .../bash-completion_20080705_all.deb) ...
Setting up bash-completion (20080705) ...
14:58:14
#. /etc/bash_completion

14:58:23
#vi /root/.bashrc
--- /tmp/l3-saved-1801.31462.26682	2008-12-16 12:58:32.000000000 +0000
+++ /root/.bashrc	2008-12-16 12:58:39.000000000 +0000
@@ -17,5 +17,6 @@
 
 
 #screen -x || screen
+. ~/.bashrc
 
 [ $0 == l3script ] && . /root/.lilalo/l3bashrc && _l3_start
14:58:39
#modprobe bonding

14:59:10
#ifconfig -a | less
14:59:17
#apt-cache search linux bonding

14:59:37
#apt-cache search bonding
ifenslave - Attach and detach slave interfaces to a bonding device
ifenslave-2.6 - Attach and detach slave interfaces to a bonding device
14:59:41
#apt-get install ifenslave
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python2.4-minimal python2.4 libttf2 cpp-4.2
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  ifenslave-2.6
The following NEW packages will be installed:
  ifenslave ifenslave-2.6
...
Get:1 http://10.0.35.1 sid/main ifenslave-2.6 1.1.0-11 [12.4kB]
Get:2 http://10.0.35.1 sid/main ifenslave 2 [1268B]
Fetched 13.7kB in 0s (20.5kB/s)
Selecting previously deselected package ifenslave-2.6.
(Reading database ... 40383 files and directories currently installed.)
Unpacking ifenslave-2.6 (from .../ifenslave-2.6_1.1.0-11_i386.deb) ...
Selecting previously deselected package ifenslave.
Unpacking ifenslave (from .../archives/ifenslave_2_all.deb) ...
Setting up ifenslave-2.6 (1.1.0-11) ...
Setting up ifenslave (2) ...
14:59:53
#ifenslave
ifenslave      ifenslave-2.6
14:59:53
#ifenslave bond0 eth0

15:00:05
#ifenslave
Usage: ifenslave [-f] <master-if> <slave-if> [<slave-if>...]
       ifenslave -d   <master-if> <slave-if> [<slave-if>...]
       ifenslave -c   <master-if> <slave-if>
       ifenslave --help
15:00:12
#ifconfig eth0 noarp
noarp: Unknown host
ifconfig: `--help' gives usage information.
прошло 39 минут
15:40:07
#ifconfig eth0 -arp

15:40:32
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:04:02:71
          inet addr:10.0.35.71  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::216:3eff:fe04:271/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:723708 errors:0 dropped:0 overruns:0 frame:0
          TX packets:573549 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:62687704 (59.7 MiB)  TX bytes:1225465392 (1.1 GiB)
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:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3820 (3.7 KiB)  TX bytes:3820 (3.7 KiB)
15:41:05
#ifconfig eth0 arp

15:41:23
#ifconfig eth0 -arp

15:41:28
#arp -an
? (10.0.35.61) at 00:14:C2:05:A2:0E [ether] on eth0
? (192.168.15.5) at 00:16:3E:05:00:01 [ether] on eth0
? (10.0.35.64) at 00:14:C2:05:A3:38 [ether] on eth0
? (10.0.35.63) at 00:14:C2:05:A2:60 [ether] on eth0
? (10.0.1.7) at <incomplete> on eth0
? (10.0.35.1) at 00:16:3E:04:00:01 [ether] on eth0
? (10.0.35.62) at 00:16:35:7D:81:EE [ether] on eth0
? (10.0.35.15) at 00:22:64:34:33:56 [ether] on eth0
15:41:40
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
64 bytes from 10.0.35.1: icmp_seq=1 ttl=64 time=0.117 ms
--- 10.0.35.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.117/0.117/0.117/0.000 ms
15:41:52
#ping 10.0.35.61
PING 10.0.35.61 (10.0.35.61) 56(84) bytes of data.
64 bytes from 10.0.35.61: icmp_seq=1 ttl=64 time=0.241 ms
64 bytes from 10.0.35.61: icmp_seq=2 ttl=64 time=0.195 ms
--- 10.0.35.61 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.195/0.218/0.241/0.023 ms
15:41:57
#ping 10.0.35.9
PING 10.0.35.9 (10.0.35.9) 56(84) bytes of data.
--- 10.0.35.9 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1005ms
15:42:06
#ifconfig eth0 arp

15:42:12
#ping 10.0.35.9
PING 10.0.35.9 (10.0.35.9) 56(84) bytes of data.
--- 10.0.35.9 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6006ms
15:42:20
#ping 10.0.35.9
PING 10.0.35.9 (10.0.35.9) 56(84) bytes of data.
--- 10.0.35.9 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1006ms
15:42:23
#ping 10.0.35.11
PING 10.0.35.11 (10.0.35.11) 56(84) bytes of data.
--- 10.0.35.11 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1007ms
15:42:28
#l3mass_upload /home/user/arp-spoofing.png
Uploaded file name is 17833602743910090-1229429917_1229435269_arp-spoofing.png
Upload complete
/var/www/xguru/l3shot/17833602743910090-1229429917_1229435269_arp-spoofing.png
15:47:49
#telnet 192.168.15.31 110
l3script: telnet: command not found
screenshot id 17833602743910090-1229429917_1229435269_arp-spoofing.png
15:48:19
#nc 192.168.15.31 110
+OK QPOP (version 2.53) at fbsd1.unix.nt starting.  <5136.1229428098@fbsd1.unix.nt>
USER user
+OK Password required for user.
PASS password
+OK user has 0 messages (0 octets).

Статистика

Время первой команды журнала12:29:03 2008-12-16
Время последней команды журнала15:48:19 2008-12-16
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %20.79
Процент синтаксически неверно набранных команд, % 1.98
Суммарное время работы с терминалом *, час 1.61
Количество командных строк в единицу времени, команда/мин 1.05
Частота использования команд
vi10|========| 8.77%
ifconfig8|=======| 7.02%
apt-get8|=======| 7.02%
l3mass_upload7|======| 6.14%
neato7|======| 6.14%
ping6|=====| 5.26%
date6|=====| 5.26%
arping5|====| 4.39%
less4|===| 3.51%
apt-cache4|===| 3.51%
brctl3|==| 2.63%
ifenslave3|==| 2.63%
cat3|==| 2.63%
sed3|==| 2.63%
ls3|==| 2.63%
awk2|=| 1.75%
#2|=| 1.75%
.2|=| 1.75%
arp2|=| 1.75%
tcpdump2|=| 1.75%
mount2|=| 1.75%
dot1|| 0.88%
telnet1|| 0.88%
man1|| 0.88%
passwd1|| 0.88%
cp1|| 0.88%
syslog.dot1|| 0.88%
mkfs.ext31|| 0.88%
cd1|| 0.88%
ld-linux.so.21|| 0.88%
gqview1|| 0.88%
"$4"1|| 0.88%
for1|| 0.88%
"$4}'1|| 0.88%
atq1|| 0.88%
nc1|| 0.88%
arp.log1|| 0.88%
uptime1|| 0.88%
modprobe1|| 0.88%
"1|| 0.88%
kill1|| 0.88%
10.0.35.2011|| 0.88%
which1|| 0.88%
____
*) Интервалы неактивности длительностью 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$