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

Содержание

Журнал

Среда (02/14/07)

14:27:19
#tcpdump port 53
14:57:08.903218 IP fbsd1.net.nt.59666 > serzh.net.nt.domain: . ack 1 win 33304 <nop,nop,timestamp 20133305 64493572>
14:57:08.903425 IP fbsd1.net.nt.59666 > serzh.net.nt.domain: P 1:27(26) ack 1 win 33304 <nop,nop,timestamp 20133306 64493572> 48270 AXFR? net.nt. (24)
14:57:08.903607 IP serzh.net.nt.domain > fbsd1.net.nt.59666: . ack 27 win 46 <nop,nop,timestamp 64493572 20133306>
14:57:08.909261 IP serzh.net.nt.domain > fbsd1.net.nt.59666: . 1:1449(1448) ack 27 win 46 <nop,nop,timestamp 64493574 20133306> 48270* 263/0/0[|domain]
14:57:08.909365 IP serzh.net.nt.domain > fbsd1.net.nt.59666: . 1449:2897(1448) ack 27 win 46 <nop,nop,timestamp 64493574 20133306> 1 [b2&3=0x1] [52096a] [164q] [4n] [49320au][|domain]
14:57:08.909407 IP fbsd1.net.nt.59666 > serzh.net.nt.domain: . ack 2897 win 31856 <nop,nop,timestamp 20133312 64493574>
14:57:08.909488 IP fbsd1.net.nt.59666 > serzh.net.nt.domain: . ack 2897 win 33304 <nop,nop,timestamp 20133312 64493574>
14:57:08.909864 IP serzh.net.nt.domain > fbsd1.net.nt.59666: . 2897:4345(1448) ack 27 win 46 <nop,nop,timestamp 64493574 20133312> 4 op8 NXRRSet$ [4302q][|domain]
14:57:08.909975 IP serzh.net.nt.domain > fbsd1.net.nt.59666: . 4345:5793(1448) ack 27 win 46 <nop,nop,timestamp 64493574 20133312> 42187- [1216q][|domain]
14:57:08.910003 IP serzh.net.nt.domain > fbsd1.net.nt.59666: P 5793:6218(425) ack 27 win 46 <nop,nop,timestamp 64493574 20133312> 3072+ [42187a] [256q] [32768n] [1216au][|domain]
...
15:23:34.758921 IP fbsd1.net.nt.61401 > serzh.net.nt.domain:  46956+ A? fbsd1.net.nt. (30)
15:23:34.759481 IP serzh.net.nt.domain > fbsd1.net.nt.61401:  46956* 1/1/1 A fbsd1.net.nt (76)
15:23:34.759787 IP fbsd1.net.nt.50511 > serzh.net.nt.domain:  46957+ AAAA? fbsd1.net.nt. (30)
15:23:34.760249 IP serzh.net.nt.domain > fbsd1.net.nt.50511:  46957* 0/1/0 (72)
15:24:36.882689 IP fbsd1.net.nt.53839 > linux.nt.domain:  51174+ [1au] A? dobro.nt. (37)
15:24:36.883469 IP linux.nt.domain > fbsd1.net.nt.53839:  51174* 1/1/1 A 10.0.35.1 (67)
^C
263 packets captured
17800 packets received by filter
0 packets dropped by kernel
прошло 67 минут
15:34:58
#cd /etc/n
namedb/         network.subr    nsmb.conf
netconfig       networks        nsswitch.conf
netstart        newsyslog.conf  ntp/
15:34:58
#cd /etc/namedb

15:35:09
#ee d
15:35:09
#ee d
15:35:09
#ee db
15:35:18
#ee db.howler.dobro.nt
15:37:59
#top
last pid: 10824;  load averages:  3.39,  2.07,  1.70    up 0+06:23:33  15:44:37
               5           1
88 processes97.8 running 0.0 sleepin 2.2 stopped   0.0              0.0
                                                                  8
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 118M Active, 313M Inact, 109M Wired, 504K Cache, 110M Buf, 449M Free
                        4                                2 19.97
S8842 2007M Total, 2007M4Free    900K  7636           7:06 19.97
 9144                   5        812K  7568           6:21 19.87
                        4                                6 19.82
...
 1058 user          3  20  -76 12356K  8512K kserel   0:41  0.00% artsd
 1052 user          1  96    0 30372K 26140K select   0:33  0.00% kdeinit
 1015 user          1  96    0  3556K  2256K select   0:22  0.00% gam_server
 9723 user          4  20    0 48752K 40820K kserel   0:09  0.00% firefox-bin
  530 root          1  96    0  1344K   800K select   0:08  0.00% moused
 1050 user          1  96    0 34940K 30120K select   0:07  0.00% kdeinit
 1048 user          1  96    0 26492K 21584K select   0:07  0.00% kdeinit
 1243 user          1  96    0  7272K  5224K select   0:05  0.00% centericq
 1068 user          1  96    0 24976K 20136K select   0:03  0.00% kdeinit
 1078 user          1  96    0 30512K 25424K select   0:02  0.00% korgac
15:44:37
#pkill perl5

15:45:07
#pkill perl5

15:45:09
#top
last pid: 10951;  load averages:  0.12,  0.23,  0.75    up 0+06:37:35  15:58:39
83 processes 0.9 running 0.0 sleepin 0.4 stopped   0.0             98.7
       1
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 100M Active, 311M Inact, 110M Wired, 504K Cache, 110M Buf, 466M Free
Swap: 2007M Total, 2007M Free
  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
  980 user          1  96    0   155M 28092K select   2:40  1.61% Xorg
 1040 user          1  96    0 29200K 23828K select   1:30  0.00% kdeinit
 1073 user          1  96    0 32032K 25704K select   1:01  0.00% kdeinit
...
 1050 user          1  96    0 34940K 30120K select   0:07  0.00% kdeinit
 1048 user          1  96    0 26492K 21584K select   0:07  0.00% kdeinit
 1243 user          1  96    0  7272K  5224K select   0:06  0.00% centericq
 1068 user          1  96    0 24976K 20136K select   0:03  0.00% kdeinit
 1078 user          1  96    0 30512K 25424K select   0:02  0.00% korgac
 1060 user          1  96    0 25656K 20820K select   0:02  0.00% kdeinit
 9121 root          1  96    0  6260K  3324K select   0:01  0.00% sshd
 1065 user          1  96    0 24720K 19492K select   0:01  0.00% kdeinit
 9253 root          1  96    0  2128K  1796K select   0:01  0.00% screen
 5611 root          1  96    0  1348K   904K select   0:01  0.00% script
прошло 13 минут
15:58:39
#tcpdump -s
tcpdump version 3.9.4
libpcap version 0.9.4
Usage: tcpdump [-aAdDeflLnNOpqRStuUvxX] [-c count] [ -C file_size ]
                [ -E algo:secret ] [ -F file ] [ -i interface ] [ -M secret ]
                [ -r file ] [ -s snaplen ] [ -T type ] [ -w file ]
                [ -W filecount ] [ -y datalinktype ] [ -Z user ]
                [ expression ]
прошло 48 минут
16:47:00
#top
last pid: 13772;  load averages:  0.67,  0.50,  0.28    up 0+07:51:53  17:12:57
89             1           6
88 processes 1.5 running 0.0 sleepin 1.1 stopped   0.4             97.0
      20          311          13                                 4
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 119M Active, 311M Inact, 113M Wired, 504K Cache, 110M Buf, 445M Free
 259                    8       9500K  8152K nanslp   8:23 76.22% perl5.8.8
S 980 2007M Total, 200796Free    155M 28092K select   3:17  0.00% Xorg
  980 user          4  20      67232K 58440K kserel   2:24  0.00% firefox-bin
 1043 user          1  96      29200K 23828K select   1:49  0.00% kdeinit
...
 1015 user          1  96    0  3560K  2260K select   0:27  0.00% gam_server
  530 root          1  96    0  1344K   800K select   0:09  0.00% moused
 1048 user          1  96    0 26528K 21620K select   0:08  0.00% kdeinit
 1050 user          1  96    0 34940K 30120K select   0:08  0.00% kdeinit
 1243 user          1  96    0  7272K  5224K select   0:06  0.00% centericq
 1068 user          1  96    0 24976K 20136K select   0:04  0.00% kdeinit
12782 user          1  96    0 26820K 22568K select   0:02  0.00% ktron
 9119 root          1  96    0  6276K  3324K select   0:02  0.00% sshd
 1060 user          1  96    0 25884K 21056K select   0:02  0.00% kdeinit
 1078 user          1  96    0 30512K 25424K select   0:02  0.00% korgac
прошло >2 часов
/dev/ttyp0
19:27:54
#hostname
starone.howler.net.nt
19:27:57
#vim /etc/mail/local-host-names
19:28:26
#ls
.bash_history   .gstreamer-0.8  .lesshst        .qt             ports-supfile
.bash_profile   .k5login        .lilalo         .ssh            stable-supfile
.bashrc         .kde            .login          .viminfo        tmp2
.cshrc          .l3rc           .lsof_fbsd1     .vimrc          xorg.conf.new
.fonts.cache-1  .l3rc.orig      .profile        install
19:28:33
#cd /etc/mail/

19:28:39
#ls
Makefile                freebsd.mc              mailertable.sample
README                  freebsd.submit.cf       sendmail.cf
access.sample           freebsd.submit.mc       submit.cf
aliases                 helpfile                virtusertable.sample
aliases.db              local-host-names
freebsd.cf              mailer.conf
19:28:40
#/etc/rc.d/sendmail restart
Stopping sendmail.
Starting sendmail.
19:29:03
#dig dom1.net.nt mx
; <<>> DiG 9.3.4 <<>> dom1.net.nt mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14050
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;dom1.net.nt.                   IN      MX
;; ANSWER SECTION:
dom1.net.nt.            10800   IN      MX      10 myhost.dom1.net.nt.
;; AUTHORITY SECTION:
dom1.net.nt.            10800   IN      NS      myhost.dom1.net.nt.
;; ADDITIONAL SECTION:
myhost.dom1.net.nt.     10800   IN      A       192.168.16.22
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb 14 19:29:15 2007
;; MSG SIZE  rcvd: 82
19:29:15
#mail user@myhost.dom1.net.nt
Subject: TEST starone
sd
.
EOT
19:29:44
#less /var/log/maillog
19:29:44
#less /var/log/maillog
19:29:57
#mail -u user
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/user": 0 messages
& q
19:30:54
#mail user@myhost.dom1.net.nt
Subject: TEST 4
e
.
EOT
19:32:44
#su - user

19:32:50
$exit

19:32:52
#su - user
^C
[user@starone ~]$
[user@starone ~]$
[user@starone ~]$ mail
No mail for user
[user@starone ~]$ mail
No mail for user
[user@starone ~]$ logout
19:34:05
#/etc/rc.d/sendmail restart
Stopping sendmail.
Starting sendmail.
19:34:12
#mail -u user
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/user": 0 messages
& a
& q
19:34:41
#vim local-host-names
19:36:01
#telnet 192.168.16.21 25
Trying 192.168.16.21...
Connected to starone.howler.net.nt.
Escape character is '^]'.
220 starone.howler.net.nt ESMTP Sendmail 8.13.8/8.13.8; Wed, 14 Feb 2007 19:36:15 +0200 (EET)
^]
telnet> q
Connection closed.
19:36:23
#mail -u user
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/user": 0 messages
& q
19:37:11
#vim /etc/xinetd.conf
90a91
> 	disable = yes
19:38:58
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd.
Starting xinetd.
19:39:13
#mail -u user
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/user": 0 messages
& q
19:39:32
#tail /var/log/maillog
maillog        maillog.1.bz2  maillog.3.bz2
maillog.0.bz2  maillog.2.bz2  maillog.4.bz2
19:39:32
#tail /var/log/maillog
Feb 14 19:32:44 starone sendmail[1127]: l1EHWiwC001127: from=root, size=47, class=0, nrcpts=1, msgid=<200702141732.l1EHWiwC001127@starone.howler.net.nt>, relay=root@localhost
Feb 14 19:32:44 starone sm-mta[1133]: l1EHWiUp001133: from=<root@starone.howler.net.nt>, size=392, class=0, nrcpts=1, msgid=<200702141732.l1EHWiwC001127@starone.howler.net.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Feb 14 19:32:44 starone sendmail[1127]: l1EHWiwC001127: to=user@myhost.dom1.net.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l1EHWiUp001133 Message accepted for delivery)
Feb 14 19:32:44 starone sm-mta[1135]: l1EHWiUp001133: to=<user@myhost.dom1.net.nt>, ctladdr=<root@starone.howler.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30392, relay=myhost.dom1.net.nt. [192.168.16.22], dsn=2.0.0, stat=Sent (l1EHXO6b001336 Message accepted for delivery)
Feb 14 19:33:29 starone sm-mta[1241]: l1EHXTEU001241: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
Feb 14 19:34:12 starone sm-mta[1263]: starting daemon (8.13.8): SMTP+queueing@00:30:00
Feb 14 19:34:35 starone sm-mta[1273]: l1EHYZQl001273: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
Feb 14 19:36:23 starone sm-mta[1298]: l1EHaFSG001298: starone.howler.net.nt [192.168.16.21] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Feb 14 19:37:23 starone sm-mta[1310]: l1EHbNqt001310: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
Feb 14 19:39:18 starone sm-mta[1348]: l1EHdIUq001348: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
19:39:39
#vim /etc/hosts.allow
20c20
< #ALL : ALL : allow
---
> ALL : ALL : allow
19:40:08
#tail /var/log/maillog
Feb 14 19:32:44 starone sendmail[1127]: l1EHWiwC001127: from=root, size=47, class=0, nrcpts=1, msgid=<200702141732.l1EHWiwC001127@starone.howler.net.nt>, relay=root@localhost
Feb 14 19:32:44 starone sm-mta[1133]: l1EHWiUp001133: from=<root@starone.howler.net.nt>, size=392, class=0, nrcpts=1, msgid=<200702141732.l1EHWiwC001127@starone.howler.net.nt>, proto=ESMTP, daemon=IPv4, relay=localhost [127.0.0.1]
Feb 14 19:32:44 starone sendmail[1127]: l1EHWiwC001127: to=user@myhost.dom1.net.nt, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30047, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (l1EHWiUp001133 Message accepted for delivery)
Feb 14 19:32:44 starone sm-mta[1135]: l1EHWiUp001133: to=<user@myhost.dom1.net.nt>, ctladdr=<root@starone.howler.net.nt> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30392, relay=myhost.dom1.net.nt. [192.168.16.22], dsn=2.0.0, stat=Sent (l1EHXO6b001336 Message accepted for delivery)
Feb 14 19:33:29 starone sm-mta[1241]: l1EHXTEU001241: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
Feb 14 19:34:12 starone sm-mta[1263]: starting daemon (8.13.8): SMTP+queueing@00:30:00
Feb 14 19:34:35 starone sm-mta[1273]: l1EHYZQl001273: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
Feb 14 19:36:23 starone sm-mta[1298]: l1EHaFSG001298: starone.howler.net.nt [192.168.16.21] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4
Feb 14 19:37:23 starone sm-mta[1310]: l1EHbNqt001310: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
Feb 14 19:39:18 starone sm-mta[1348]: l1EHdIUq001348: tcpwrappers (myhost.dom1.net.nt, 192.168.16.22) rejection
19:40:10
#mail -u user
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/user": 1 message 1 new
>N  1 user@myhost.dom1.net  Wed Feb 14 19:40  22/971   "w"
&
Message 1:
From user@myhost.dom1.net.nt Wed Feb 14 19:40:17 2007
Date: Wed, 14 Feb 2007 19:40:56 +0200 (EET)
From: User User <user@myhost.dom1.net.nt>
To: user@starone.howler.net.nt
Subject: w
w
& q
"/var/mail/user" complete
19:40:30
#ls -l
total 250
-rw-r--r--  1 root  wheel   6809 Nov 16 04:11 Makefile
-rw-r--r--  1 root  wheel   2896 Nov 16 04:11 README
-rw-r--r--  1 root  wheel    407 Nov 16 04:11 access.sample
-rw-r--r--  1 root  wheel   1618 Nov 16 04:11 aliases
-rw-r-----  1 root  wheel  16384 Feb  9 18:52 aliases.db
-rw-r--r--  1 root  wheel  57955 Nov 16 04:11 freebsd.cf
-rw-r--r--  1 root  wheel   4117 Nov 16 04:11 freebsd.mc
-r--r--r--  1 root  wheel  40430 Nov 16 04:11 freebsd.submit.cf
-r--r--r--  1 root  wheel    899 Nov 16 04:11 freebsd.submit.mc
-r--r--r--  1 root  wheel   5594 Nov 16 04:11 helpfile
-rw-r--r--  1 root  wheel     36 Feb 14 19:28 local-host-names
-rw-r--r--  1 root  wheel    400 Nov 16 04:11 mailer.conf
-rw-r--r--  1 root  wheel    243 Nov 16 04:11 mailertable.sample
-rw-r--r--  1 root  wheel  57955 Nov 16 04:11 sendmail.cf
-r--r--r--  1 root  wheel  40430 Nov 16 04:11 submit.cf
-rw-r--r--  1 root  wheel    569 Nov 16 04:11 virtusertable.sample
19:40:36
#hostname
starone.howler.net.nt
19:50:21
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 6 messages 6 new
>N  1 root@fbsd1.unix.nt    Sat Feb 10 03:02  42/1273  "fbsd1.unix.nt securit"
 N  2 root@fbsd1.unix.nt    Sat Feb 10 03:02  73/2413  "fbsd1.unix.nt daily r"
 N  3 root@fbsd1.unix.nt    Sat Feb 10 04:15  23/762   "fbsd1.unix.nt weekly "
 N  4 root@fbsd1.unix.nt    Sun Feb 11 03:02 146/9828  "fbsd1.unix.nt securit"
 N  5 root@fbsd1.unix.nt    Sun Feb 11 03:02  71/2412  "fbsd1.unix.nt daily r"
 N  6 root@myhost.dom1.net  Wed Feb 14 19:50  22/985   "test REAL"
& 6
Message 6:
From root@myhost.dom1.net.nt Wed Feb 14 19:50:58 2007
Date: Wed, 14 Feb 2007 19:51:38 +0200 (EET)
From: Charlie Root <root@myhost.dom1.net.nt>
To: root@starone.howler.net.nt
Subject: test REAL
real
& q
Saved 1 message in mbox
Held 5 messages in /var/mail/root
19:51:14
#vim local-host-names
19:53:16
#make
cp freebsd.mc starone.howler.net.nt.mc
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/   /usr/share/sendmail/cf/m4/cf.m4 starone.howler.net.nt.mc > starone.howler.net.nt.cf
cp freebsd.submit.mc starone.howler.net.nt.submit.mc
/usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/   /usr/share/sendmail/cf/m4/cf.m4 starone.howler.net.nt.submit.mc > starone.howler.net.nt.submit.cf
19:53:20
#cp starone.howler.net.nt.cf sendmail.cf

19:53:46
#/etc/rc.d/sendmail restart
Stopping sendmail.
Starting sendmail.
19:54:00
#mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/mail/root": 5 messages 5 unread
>U  1 root@fbsd1.unix.nt    Sat Feb 10 03:02  43/1283  "fbsd1.unix.nt securit"
 U  2 root@fbsd1.unix.nt    Sat Feb 10 03:02  74/2423  "fbsd1.unix.nt daily r"
 U  3 root@fbsd1.unix.nt    Sat Feb 10 04:15  24/772   "fbsd1.unix.nt weekly "
 U  4 root@fbsd1.unix.nt    Sun Feb 11 03:02 147/9838  "fbsd1.unix.nt securit"
 U  5 root@fbsd1.unix.nt    Sun Feb 11 03:02  72/2422  "fbsd1.unix.nt daily r"
& q
Held 5 messages in /var/mail/root
19:54:14
#mail root@myhost.dom1.net.nt
Subject: RE REAL
rereal
.
EOT
CLAMAV
20:01:46
#cd usr/ports/security/clamav
bash: cd: usr/ports/security/clamav: No such file or directory
20:01:50
#cd /usr/ports/security/clamav

20:01:53
#make install
 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2 -fno-strict-aliasing -pipe -MT url.lo -MD -MP -MF .deps/url.Tpo -c url.c -o url.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H   -I../include  -I../lib    -I../lib     -O2 -fno-strict-aliasing -pipe -MT dict.lo -MD -MP -MF ".deps/dict.Tpo" -c -o dict.lo dict.c;  then mv -f ".deps/dict.Tpo" ".deps/dict.Plo"; else rm -f ".deps/dict.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2 -fno-strict-aliasing -pipe -MT dict.lo -MD -MP -MF .deps/dict.Tpo -c dict.c  -fPIC -DPIC -o .libs/dict.o
 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2 -fno-strict-aliasing -pipe -MT dict.lo -MD -MP -MF .deps/dict.Tpo -c dict.c -o dict.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H   -I../include  -I../lib    -I../lib     -O2 -fno-strict-aliasing -pipe -MT if2ip.lo -MD -MP -MF ".deps/if2ip.Tpo" -c -o if2ip.lo if2ip.c;  then mv -f ".deps/if2ip.Tpo" ".deps/if2ip.Plo"; else rm -f ".deps/if2ip.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2 -fno-strict-aliasing -pipe -MT if2ip.lo -MD -MP -MF .deps/if2ip.Tpo -c if2ip.c  -fPIC -DPIC -o .libs/if2ip.o
 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2 -fno-strict-aliasing -pipe -MT if2ip.lo -MD -MP -MF .deps/if2ip.Tpo -c if2ip.c -o if2ip.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H   -I../include  -I../lib    -I../lib     -O2 -fno-strict-aliasing -pipe -MT speedcheck.lo -MD -MP -MF ".deps/speedcheck.Tpo" -c -o speedcheck.lo speedcheck.c;  then mv -f ".deps/speedcheck.Tpo" ".deps/speedcheck.Plo"; else rm -f ".deps/speedcheck.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2 -fno-strict-aliasing -pipe -MT speedcheck.lo -MD -MP -MF .deps/speedcheck.Tpo -c speedcheck.c  -fPIC -DPIC -o .libs/speedcheck.o
 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -O2 -fno-strict-aliasing -pipe -MT speedcheck.lo -MD -MP -MF .deps/speedcheck.Tpo -c speedcheck.c -o speedcheck.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H   -I../include  -I../lib    -I../lib     -O2 -fno-strict-aliasing -pipe -MT ldap.lo -MD -MP -MF ".deps/ldap.Tpo" -c -o ldap.lo ldap.c;  then mv -f ".deps/ldap.Tpo" ".deps/ldap.Plo"; else rm -f ".deps/ldap.Tpo"; exit 1; fi
прошло 10 минут
20:11:54
#FORCE_PKG_REGISTER=yes make install
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-info.c  -fPIC -DPIC -o .libs/zzip-info.o
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-info.c -o zzip-info.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack  -I/usr/local/include   -I/usr/include -I/usr/local/include  -O2 -fno-strict-aliasing -pipe  -DUNRAR3 -c -o zzip-io.lo `test -f 'zziplib/zzip-io.c' || echo './'`zziplib/zzip-io.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-io.c  -fPIC -DPIC -o .libs/zzip-io.o
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-io.c -o zzip-io.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack  -I/usr/local/include   -I/usr/include -I/usr/local/include  -O2 -fno-strict-aliasing -pipe  -DUNRAR3 -c -o zzip-stat.lo `test -f 'zziplib/zzip-stat.c' || echo './'`zziplib/zzip-stat.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-stat.c  -fPIC -DPIC -o .libs/zzip-stat.o
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-stat.c -o zzip-stat.o >/dev/null 2>&1
/bin/sh /usr/local/bin/libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack  -I/usr/local/include   -I/usr/include -I/usr/local/include  -O2 -fno-strict-aliasing -pipe  -DUNRAR3 -c -o zzip-zip.lo `test -f 'zziplib/zzip-zip.c' || echo './'`zziplib/zzip-zip.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-zip.c  -fPIC -DPIC -o .libs/zzip-zip.o
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -I./mspack -I/usr/local/include -I/usr/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DUNRAR3 -c zziplib/zzip-zip.c -o zzip-zip.o >/dev/null 2>&1
прошло 18 минут
20:30:13
#clamscan -r -l testoutput.txt
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/md5.h: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/str.c: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/str.h: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/upx.c: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/upx.h: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/uuencode.c: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/uuencode.h: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/chmunpack.c: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/chmunpack.h: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/strrcpy.c: OK
...
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/fsg.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/line.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/untar.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/special.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/binhex.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/is_tar.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/tnef.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/uuencode.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/.libs/libclamav.so.1: OK
^C
20:40:08
#clamscan -r -l testoutput.txt
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/pe.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/pe.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/cabd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/cabd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/lzxd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/lzxd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/mszipd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/mszipd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/qtmd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/qtmd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/system.o: OK
20:40:08
#clamscan -r -l testoutput.txt
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/pe.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/pe.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/cabd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/cabd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/lzxd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/lzxd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/mszipd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/mszipd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/qtmd.o: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/qtmd.lo: OK
/usr/ports/security/clamav/work/clamav-0.88.7/libclamav/system.o: OK
/dev/ttyp2
20:40:26
#top
last pid: 35903;  load averages:  0.82,  0.37,  0.27    up 0+01:13:43  20:40:37
30 processes:  2 running, 28 sleeping
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 48M Active, 82M Inact, 93M Wired, 110M Buf, 764M Free
Swap: 2007M Total, 2007M Free
  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
35838 root          1 121    0 34124K 30992K RUN      0:18 81.69% clamscan
  961 root          1   8    0  8680K  7460K nanslp   1:35 10.55% perl5.8.8
35848 root          1   8    0  8416K  7208K nanslp   0:00  0.61% perl5.8.8
 1139 user          1   8    0  8740K  7444K nanslp   0:25  0.05% perl5.8.8
...
  997 root          1   8    0  3348K  2228K wait     0:00  0.00% bash
  729 bind          1  96    0  4180K  3288K select   0:00  0.00% named
 1514 root          1  96    0  3512K  3052K select   0:00  0.00% sendmail
35839 root          1  96    0  6260K  3300K select   0:00  0.00% sshd
35842 root          1  96    0  1348K   904K select   0:00  0.00% script
  667 root          1  96    0  1404K  1064K select   0:00  0.00% syslogd
35884 root          1   8    0  3280K  2136K wait     0:00  0.00% bash
  902 root          1   8    0  1396K  1112K nanslp   0:00  0.00% cron
 1342 root          1  96    0  1656K  1400K select   0:00  0.00% xinetd
35903 root          1  96    0  2296K  1504K RUN      0:00  0.00% top
Mime
20:40:49
#cd /usr/ports/mail/p5-Mail-SpamAssassin

20:41:00
#make install
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
20:41:00
#make install
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
/dev/ttyp0
20:41:13
#vim /usr/local/etc/clamd.conf
20:41:13
#vim /usr/local/etc/clamd.conf
20:42:47
#chown -R mailnull:mailnull /var/run/clamav/
cp Socket6.bs blib/arch/auto/Socket6/Socket6.bs
chmod 644 blib/arch/auto/Socket6/Socket6.bs
===>  Installing for p5-Socket6-0.19
===>   p5-Socket6-0.19 depends on file: /usr/local/bin/perl5.8.8 - found
===>   Generating temporary packing list
===>  Checking if net/p5-Socket6 already installed
Installing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Socket6/Socket6.so
Installing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Socket6/Socket6.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib/perl5/site_perl/5.8.8/mach/Socket6.pm
Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Socket6/.packlist
20:42:47
#chown -R mailnull:mailnull /var/run/clamav/
chmod 644 blib/arch/auto/Socket6/Socket6.bs
===>  Installing for p5-Socket6-0.19
===>   p5-Socket6-0.19 depends on file: /usr/local/bin/perl5.8.8 - found
===>   Generating temporary packing list
===>  Checking if net/p5-Socket6 already installed
Installing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Socket6/Socket6.so
Installing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Socket6/Socket6.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib/perl5/site_perl/5.8.8/mach/Socket6.pm
Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Socket6/.packlist
===>   Registering installation for p5-Socket6-0.19
20:42:54
#chown -R mailnull:mailnull /var/log/clamav/

20:42:54
#chown -R mailnull:mailnull /var/log/clamav/

20:42:59
#freshclam
install  -o root -g wheel -m 444 /usr/ports/dns/p5-Net-DNS/work/Net-DNS-0.59/TODO /usr/local/share/doc/p5-Net-DNS
===>   Compressing manual pages for p5-Net-DNS-0.59
===>   Registering installation for p5-Net-DNS-0.59
===>   Returning to build of p5-Mail-SpamAssassin-3.1.7_3
===>   p5-Mail-SpamAssassin-3.1.7_3 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/HTML/Parser.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.8.8/mach/HTML/Parser.pm in /usr/ports/www/p5-HTML-Parser
===>  Vulnerability check disabled, database not found
=> HTML-Parser-3.56.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/HTML/.
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:42:59
#freshclam
install  -o root -g wheel -m 444 /usr/ports/dns/p5-Net-DNS/work/Net-DNS-0.59/TODO /usr/local/share/doc/p5-Net-DNS
===>   Compressing manual pages for p5-Net-DNS-0.59
===>   Registering installation for p5-Net-DNS-0.59
===>   Returning to build of p5-Mail-SpamAssassin-3.1.7_3
===>   p5-Mail-SpamAssassin-3.1.7_3 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/HTML/Parser.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.8.8/mach/HTML/Parser.pm in /usr/ports/www/p5-HTML-Parser
===>  Vulnerability check disabled, database not found
=> HTML-Parser-3.56.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/HTML/.
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:42:59
#freshclam
install  -o root -g wheel -m 444 /usr/ports/dns/p5-Net-DNS/work/Net-DNS-0.59/TODO /usr/local/share/doc/p5-Net-DNS
===>   Compressing manual pages for p5-Net-DNS-0.59
===>   Registering installation for p5-Net-DNS-0.59
===>   Returning to build of p5-Mail-SpamAssassin-3.1.7_3
===>   p5-Mail-SpamAssassin-3.1.7_3 depends on file: /usr/local/lib/perl5/site_perl/5.8.8/mach/HTML/Parser.pm - not found
===>    Verifying install for /usr/local/lib/perl5/site_perl/5.8.8/mach/HTML/Parser.pm in /usr/ports/www/p5-HTML-Parser
===>  Vulnerability check disabled, database not found
=> HTML-Parser-3.56.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/HTML/.
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:43:11
#/usr/local/etc/rc.d/clamav-
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
clamav-clamd      clamav-freshclam  clamav-milter
20:43:11
#/usr/local/etc/rc.d/clamav-clamd restart

20:43:11
#/usr/local/etc/rc.d/clamav-
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
clamav-clamd      clamav-freshclam  clamav-milter
20:43:11
#/usr/local/etc/rc.d/clamav-clamd restart

20:43:37
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:43:37
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:43:39
#/usr/local/etc/rc.d/clamav-* restart
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
20:43:39
#/usr/local/etc/rc.d/clamav-* restart
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
20:43:50
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:43:50
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:43:54
#tail /var/log/messages
cp URI/pop.pm blib/lib/URI/pop.pm
Feb 14 19:27:32 starone named[729]: command channel listening on 127.0.0.1#953
Feb 14 19:27:32 starone named[729]: command channel listening on ::1#953
Feb 14 19:27:32 starone named[729]: running
Feb 14 19:27:32 starone xinetd[776]: missing service keyword [file=/usr/local/etc/xinetd.conf] [line=1]
Feb 14 19:27:32 starone xinetd[776]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Feb 14 19:27:32 starone xinetd[776]: Started working: 6 available services
Feb 14 19:39:13 starone xinetd[776]: Exiting...
Feb 14 19:39:13 starone xinetd[1342]: missing service keyword [file=/usr/local/etc/xinetd.conf] [line=1]
Feb 14 19:39:13 starone xinetd[1342]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Feb 14 19:39:13 starone xinetd[1342]: Started working: 5 available services
20:43:54
#tail /var/log/messages
cp URI/pop.pm blib/lib/URI/pop.pm
Feb 14 19:27:32 starone named[729]: command channel listening on 127.0.0.1#953
Feb 14 19:27:32 starone named[729]: command channel listening on ::1#953
Feb 14 19:27:32 starone named[729]: running
Feb 14 19:27:32 starone xinetd[776]: missing service keyword [file=/usr/local/etc/xinetd.conf] [line=1]
Feb 14 19:27:32 starone xinetd[776]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Feb 14 19:27:32 starone xinetd[776]: Started working: 6 available services
Feb 14 19:39:13 starone xinetd[776]: Exiting...
Feb 14 19:39:13 starone xinetd[1342]: missing service keyword [file=/usr/local/etc/xinetd.conf] [line=1]
Feb 14 19:39:13 starone xinetd[1342]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Feb 14 19:39:13 starone xinetd[1342]: Started working: 5 available services
20:44:04
#freshclam
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:44:04
#freshclam
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:44:10
#ls -l /var/log/clamav/freshclam.log
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
ls: /var/log/clamav/freshclam.log: No such file or directory
20:44:10
#ls -l /var/log/clamav/freshclam.log
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
ls: /var/log/clamav/freshclam.log: No such file or directory
20:44:27
#touch /var/log/clamav/freshclam.log

20:44:27
#touch /var/log/clamav/freshclam.log

20:44:44
#touch /var/log/clamav/freshclam.log

20:44:44
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:44:44
#touch /var/log/clamav/freshclam.log

20:44:44
#freshclam
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).
ERROR: Problem with internal logger.
20:44:47
#ls -l /var/log/clamav/freshclam.log
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
-rw-r--r--  1 mailnull  mailnull  0 Feb 14 20:44 /var/log/clamav/freshclam.log
20:44:47
#ls -l /var/log/clamav/freshclam.log
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
-rw-r--r--  1 mailnull  mailnull  0 Feb 14 20:44 /var/log/clamav/freshclam.log
20:44:57
#chown -R mailnull:mailnul /var/log/clamav/freshclam.log
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
20:44:57
#chown -R mailnull:mailnul /var/log/clamav/freshclam.log
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
20:44:57
#chown -R clamav /var/log/clamav/freshclam.log
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm
20:44:57
#chown -R clamav /var/log/clamav/freshclam.log
cp URI/rlogin.pm blib/lib/URI/rlogin.pm
cp URI/news.pm blib/lib/URI/news.pm
cp URI/urn/isbn.pm blib/lib/URI/urn/isbn.pm
cp URI/ssh.pm blib/lib/URI/ssh.pm
cp URI/http.pm blib/lib/URI/http.pm
cp URI/rsync.pm blib/lib/URI/rsync.pm
cp URI/https.pm blib/lib/URI/https.pm
cp URI/file/Win32.pm blib/lib/URI/file/Win32.pm
cp URI/ldaps.pm blib/lib/URI/ldaps.pm
cp URI/snews.pm blib/lib/URI/snews.pm
cp URI/pop.pm blib/lib/URI/pop.pm

Статистика

Время первой команды журнала14:27:19 2007- 2-14
Время последней команды журнала20:44:57 2007- 2-14
Количество командных строк в журнале98
Процент команд с ненулевым кодом завершения, %24.49
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 1.68
Количество командных строк в единицу времени, команда/мин 0.97
Частота использования команд
freshclam11|===========| 11.00%
mail10|==========| 10.00%
chown8|========| 8.00%
vim7|=======| 7.00%
ls7|=======| 7.00%
cd6|======| 6.00%
tail5|=====| 5.00%
touch4|====| 4.00%
top4|====| 4.00%
make4|====| 4.00%
ee4|====| 4.00%
/etc/rc.d/sendmail3|===| 3.00%
clamscan3|===| 3.00%
/usr/local/etc/rc.d/clamav-clamd2|==| 2.00%
tcpdump2|==| 2.00%
/usr/local/etc/rc.d/clamav-2|==| 2.00%
pkill2|==| 2.00%
#^2|==| 2.00%
less2|==| 2.00%
/usr/local/etc/rc.d/clamav-*2|==| 2.00%
hostname2|==| 2.00%
su2|==| 2.00%
dig1|=| 1.00%
telnet1|=| 1.00%
cp1|=| 1.00%
FORCE_PKG_REGISTER=yes1|=| 1.00%
exit1|=| 1.00%
/usr/local/etc/rc.d/xinetd1|=| 1.00%
____
*) Интервалы неактивности длительностью 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$