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

Содержание

Журнал

Пятница (07/31/09)

/dev/ttype
21:42:09
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd.
Starting xinetd.
21:42:09
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd.
Starting xinetd.
21:42:15
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:15
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:15
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:19
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:19
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:19
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:21
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:21
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:21
#tail /var/log/messages
Jul 31 22:36:09 fbsd6 xinetd[16932]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16933]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16934]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16935]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[16936]: warning: can't get client address: Bad file descriptor
Jul 31 22:36:09 fbsd6 xinetd[14593]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
Jul 31 22:36:27 fbsd6 xinetd[14593]: Activating service chargen
Jul 31 22:42:15 fbsd6 xinetd[14593]: Exiting...
Jul 31 22:42:15 fbsd6 xinetd[17032]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Jul 31 22:42:15 fbsd6 xinetd[17032]: Started working: 2 available services
21:42:22
#nc 192.168.16.26 19
KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345
LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456
MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./01234567
NOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345678
OPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789
PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:
QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;
RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<
STUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=
TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=>
...
wxyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a
xyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab
yz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc
z{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd
{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde
|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef
}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
21:42:22
#nc 192.168.16.26 19
KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345
LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456
MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./01234567
NOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345678
OPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789
PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:
QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;
RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<
STUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=
TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=>
...
wxyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a
xyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab
yz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc
z{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd
{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde
|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef
}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
21:42:22
#nc 192.168.16.26 19
KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345
LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456
MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./01234567
NOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345678
OPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789
PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:
QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;
RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<
STUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=
TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=>
...
wxyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a
xyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab
yz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc
z{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd
{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde
|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef
}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
21:42:30
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-8642.6199.5049	2009-07-31 22:42:40.000000000 +0300
+++ /usr/local/etc/xinetd.conf	2009-07-31 22:42:51.000000000 +0300
@@ -44,7 +44,7 @@
 disable = no
 	socket_type = stream
 	protocol    = tcp
-	wait        = no
+	wait        = yes
 	user        = root
 	type        = INTERNAL
 	id          = time-dgram
21:42:30
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-8642.13976.3308	2009-07-31 22:44:44.000000000 +0300
+++ /usr/local/etc/xinetd.conf	2009-07-31 22:45:01.000000000 +0300
@@ -44,7 +44,7 @@
 disable = no
 	socket_type = stream
 	protocol    = tcp
-	wait        = yes
+	wait        = no
 	user        = root
 	type        = INTERNAL
 	id          = time-dgram
21:42:30
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-8642.13976.3308	2009-07-31 22:44:44.000000000 +0300
+++ /usr/local/etc/xinetd.conf	2009-07-31 22:45:01.000000000 +0300
@@ -44,7 +44,7 @@
 disable = no
 	socket_type = stream
 	protocol    = tcp
-	wait        = yes
+	wait        = no
 	user        = root
 	type        = INTERNAL
 	id          = time-dgram
21:42:51
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd.
Starting xinetd.
21:42:51
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd.
Starting xinetd.
21:42:51
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd.
Starting xinetd.
21:42:54
#nc 192.168.16.26 19

21:42:54
#nc 192.168.16.26 19

21:42:54
#nc 192.168.16.26 19

21:42:57
#tail /var/log/messages
Jul 31 22:42:57 fbsd6 xinetd[17158]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17159]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17160]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17161]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17162]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17163]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17164]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17165]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17166]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17108]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
21:42:57
#tail /var/log/messages
Jul 31 22:42:57 fbsd6 xinetd[17158]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17159]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17160]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17161]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17162]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17163]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17164]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17165]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17166]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17108]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
21:42:57
#tail /var/log/messages
Jul 31 22:42:57 fbsd6 xinetd[17158]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17159]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17160]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17161]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17162]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17163]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17164]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17165]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17166]: warning: can't get client address: Bad file descriptor
Jul 31 22:42:57 fbsd6 xinetd[17108]: Deactivating service chargen due to excessive incoming connections.  Restarting in 10 seconds.
21:43:15
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-8642.13976.3308	2009-07-31 22:44:44.000000000 +0300
+++ /usr/local/etc/xinetd.conf	2009-07-31 22:45:01.000000000 +0300
@@ -44,7 +44,7 @@
 disable = no
 	socket_type = stream
 	protocol    = tcp
-	wait        = yes
+	wait        = no
 	user        = root
 	type        = INTERNAL
 	id          = time-dgram
21:43:15
#vim /usr/local/etc/xinetd.conf
21:43:15
#vim /usr/local/etc/xinetd.conf
21:45:01
#vim /usr/local/etc/xinetd.conf
21:45:01
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-8642.25636.23901	2009-07-31 22:45:33.000000000 +0300
+++ /usr/local/etc/xinetd.conf	2009-07-31 22:46:46.000000000 +0300
@@ -44,7 +44,7 @@
 disable = no
 	socket_type = stream
 	protocol    = tcp
-	wait        = no
+	wait        = yes
 	user        = root
 	type        = INTERNAL
 	id          = time-dgram
21:45:01
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-8642.25636.23901	2009-07-31 22:45:33.000000000 +0300
+++ /usr/local/etc/xinetd.conf	2009-07-31 22:46:46.000000000 +0300
@@ -44,7 +44,7 @@
 disable = no
 	socket_type = stream
 	protocol    = tcp
-	wait        = no
+	wait        = yes
 	user        = root
 	type        = INTERNAL
 	id          = time-dgram
21:45:06
#{
Stopping xinetd.
Starting xinetd.
21:45:06
#{
Stopping xinetd.
Starting xinetd.
21:45:06
#{
Stopping xinetd.
Starting xinetd.
21:45:09
#nc 192.168.16.26 19
KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345
LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456
MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./01234567
NOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345678
OPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789
PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:
QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;
RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<
STUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=
TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=>
...
wxyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a
xyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab
yz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc
z{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd
{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde
|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef
}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
21:45:09
#nc 192.168.16.26 19
KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345
LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456
MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./01234567
NOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345678
OPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789
PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:
QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;
RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<
STUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=
TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=>
...
wxyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a
xyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab
yz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc
z{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd
{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde
|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef
}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
21:45:09
#nc 192.168.16.26 19
KLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345
LMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456
MNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./01234567
NOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./012345678
OPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789
PQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:
QRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;
RSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<
STUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=
TUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}!"#$%&'()*+,-./0123456789:;<=>
...
wxyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a
xyz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`ab
yz{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc
z{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcd
{|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcde
|}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdef
}!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghi
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefgh
21:45:13
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-8642.25636.23901	2009-07-31 22:45:33.000000000 +0300
+++ /usr/local/etc/xinetd.conf	2009-07-31 22:46:46.000000000 +0300
@@ -44,7 +44,7 @@
 disable = no
 	socket_type = stream
 	protocol    = tcp
-	wait        = no
+	wait        = yes
 	user        = root
 	type        = INTERNAL
 	id          = time-dgram
21:45:13
#vim /usr/local/etc/xinetd.conf
21:45:13
#vim /usr/local/etc/xinetd.conf
/dev/ttyp2
21:50:49
#host 192.168.16.26
26.16.168.192.in-addr.arpa domain name pointer fbsd26.net.nt.
21:50:49
#host 192.168.16.26
26.16.168.192.in-addr.arpa domain name pointer fbsd26.net.nt.
21:50:49
#host 192.168.16.26
26.16.168.192.in-addr.arpa domain name pointer fbsd26.net.nt.
21:50:57
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26
21:50:57
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26
21:50:57
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26
21:51:07
#nc fbsd26.net.nt

21:51:07
#nc fbsd26.net.nt

21:51:07
#nc fbsd26.net.nt

21:51:18
#vim /usr/local/etc/xinetd.conf
21:51:18
#vim /usr/local/etc/xinetd.conf
21:51:18
#vim /usr/local/etc/xinetd.conf
21:52:31
#dig -x92.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4091
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10800   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 156 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:35 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30280
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10796   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:35 2009
;; MSG SIZE  rcvd: 106
21:52:31
#dig -x92.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4091
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10800   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 156 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:35 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30280
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10796   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:35 2009
;; MSG SIZE  rcvd: 106
21:52:31
#dig -x92.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4091
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10800   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 156 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:35 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30280
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10796   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:35 2009
;; MSG SIZE  rcvd: 106
21:52:35
#dig @192.168.16.254 fbsd6.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd6.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45409
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;fbsd6.net.nt.                  IN      A
;; AUTHORITY SECTION:
net.nt.                 604800  IN      SOA     debian.net.nt. root.debian.net.nt. 13 604800 86400 2419200 604800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:49 2009
;; MSG SIZE  rcvd: 78
21:52:35
#dig @192.168.16.254 fbsd6.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd6.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45409
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;fbsd6.net.nt.                  IN      A
;; AUTHORITY SECTION:
net.nt.                 604800  IN      SOA     debian.net.nt. root.debian.net.nt. 13 604800 86400 2419200 604800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:49 2009
;; MSG SIZE  rcvd: 78
21:52:35
#dig @192.168.16.254 fbsd6.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd6.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45409
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;fbsd6.net.nt.                  IN      A
;; AUTHORITY SECTION:
net.nt.                 604800  IN      SOA     debian.net.nt. root.debian.net.nt. 13 604800 86400 2419200 604800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:52:49 2009
;; MSG SIZE  rcvd: 78
21:52:49
#cat /etc/resolv.conf
search net.nt unix.nt
nameserver 192.168.16.254
nameserver 10.0.17.1
nameserver 10.0.35.1
21:52:49
#cat /etc/resolv.conf
search net.nt unix.nt
nameserver 192.168.16.254
nameserver 10.0.17.1
nameserver 10.0.35.1
21:52:49
#cat /etc/resolv.conf
search net.nt unix.nt
nameserver 192.168.16.254
nameserver 10.0.17.1
nameserver 10.0.35.1
21:52:55
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26
21:52:55
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26
21:52:55
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26
21:53:02
#dig @192.168.16.254 fbsd2.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd26.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4567
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;fbsd26.net.nt.                 IN      A
;; ANSWER SECTION:
fbsd26.net.nt.          604800  IN      A       192.168.16.26
;; AUTHORITY SECTION:
net.nt.                 604800  IN      NS      debian.net.nt.
;; ADDITIONAL SECTION:
debian.net.nt.          604800  IN      A       192.168.16.254
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:53:07 2009
;; MSG SIZE  rcvd: 84
21:53:02
#dig @192.168.16.254 fbsd2.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd26.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4567
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;fbsd26.net.nt.                 IN      A
;; ANSWER SECTION:
fbsd26.net.nt.          604800  IN      A       192.168.16.26
;; AUTHORITY SECTION:
net.nt.                 604800  IN      NS      debian.net.nt.
;; ADDITIONAL SECTION:
debian.net.nt.          604800  IN      A       192.168.16.254
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:53:07 2009
;; MSG SIZE  rcvd: 84
21:53:02
#dig @192.168.16.254 fbsd2.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd26.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4567
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;fbsd26.net.nt.                 IN      A
;; ANSWER SECTION:
fbsd26.net.nt.          604800  IN      A       192.168.16.26
;; AUTHORITY SECTION:
net.nt.                 604800  IN      NS      debian.net.nt.
;; ADDITIONAL SECTION:
debian.net.nt.          604800  IN      A       192.168.16.254
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:53:07 2009
;; MSG SIZE  rcvd: 84
21:53:07
#vim /etc/rc.conf
--- /tmp/l3-saved-1144.3312.21279	2009-07-31 22:53:18.000000000 +0300
+++ /etc/rc.conf	2009-07-31 22:53:24.000000000 +0300
@@ -17,6 +17,6 @@
 hostname="fbsd6.net.nt"
 ifconfig_re0="inet 192.168.16.26   netmask 255.255.255.0"
 defailtrouter="192.168.16.254"
-hostname="fbsd6.net.nt"
+hostname="fbsd26.net.nt"
 
 
21:53:07
#vim /etc/rc.conf
--- /tmp/l3-saved-1144.3312.21279	2009-07-31 22:53:18.000000000 +0300
+++ /etc/rc.conf	2009-07-31 22:53:24.000000000 +0300
@@ -17,6 +17,6 @@
 hostname="fbsd6.net.nt"
 ifconfig_re0="inet 192.168.16.26   netmask 255.255.255.0"
 defailtrouter="192.168.16.254"
-hostname="fbsd6.net.nt"
+hostname="fbsd26.net.nt"
 
 
21:53:07
#vim /etc/rc.conf
--- /tmp/l3-saved-1144.3312.21279	2009-07-31 22:53:18.000000000 +0300
+++ /etc/rc.conf	2009-07-31 22:53:24.000000000 +0300
@@ -17,6 +17,6 @@
 hostname="fbsd6.net.nt"
 ifconfig_re0="inet 192.168.16.26   netmask 255.255.255.0"
 defailtrouter="192.168.16.254"
-hostname="fbsd6.net.nt"
+hostname="fbsd26.net.nt"
 
 
21:53:24
#hostname
fbsd6.net.nt
21:53:24
#hostname
fbsd6.net.nt
21:53:24
#hostname
fbsd6.net.nt
21:53:32
#vim /etc/hosts
--- /tmp/l3-saved-1144.3020.31075	2009-07-31 22:53:37.000000000 +0300
+++ /etc/hosts	2009-07-31 22:53:50.000000000 +0300
@@ -1,4 +1,4 @@
 ::1                     localhost.net.nt localhost
 127.0.0.1               localhost.net.nt localhost
-192.168.16.26          fbsd6.net.nt fbsd6
-192.168.16.26          fbsd6.net.nt.
+192.168.16.26          fbsd26.net.nt fbsd6
+192.168.16.26          fbsd26.net.nt.
21:53:32
#vim /etc/hosts
--- /tmp/l3-saved-1144.3020.31075	2009-07-31 22:53:37.000000000 +0300
+++ /etc/hosts	2009-07-31 22:53:50.000000000 +0300
@@ -1,4 +1,4 @@
 ::1                     localhost.net.nt localhost
 127.0.0.1               localhost.net.nt localhost
-192.168.16.26          fbsd6.net.nt fbsd6
-192.168.16.26          fbsd6.net.nt.
+192.168.16.26          fbsd26.net.nt fbsd6
+192.168.16.26          fbsd26.net.nt.
21:53:32
#vim /etc/hosts
--- /tmp/l3-saved-1144.3020.31075	2009-07-31 22:53:37.000000000 +0300
+++ /etc/hosts	2009-07-31 22:53:50.000000000 +0300
@@ -1,4 +1,4 @@
 ::1                     localhost.net.nt localhost
 127.0.0.1               localhost.net.nt localhost
-192.168.16.26          fbsd6.net.nt fbsd6
-192.168.16.26          fbsd6.net.nt.
+192.168.16.26          fbsd26.net.nt fbsd6
+192.168.16.26          fbsd26.net.nt.
21:53:50
#vim /etc/hosts
--- /tmp/l3-saved-1144.26950.24252	2009-07-31 22:53:51.000000000 +0300
+++ /etc/hosts	2009-07-31 22:53:58.000000000 +0300
@@ -1,4 +1,4 @@
 ::1                     localhost.net.nt localhost
 127.0.0.1               localhost.net.nt localhost
-192.168.16.26          fbsd26.net.nt fbsd6
+192.168.16.26          fbsd26.net.nt fbsd26
 192.168.16.26          fbsd26.net.nt.
21:53:50
#vim /etc/hosts
--- /tmp/l3-saved-1144.26950.24252	2009-07-31 22:53:51.000000000 +0300
+++ /etc/hosts	2009-07-31 22:53:58.000000000 +0300
@@ -1,4 +1,4 @@
 ::1                     localhost.net.nt localhost
 127.0.0.1               localhost.net.nt localhost
-192.168.16.26          fbsd26.net.nt fbsd6
+192.168.16.26          fbsd26.net.nt fbsd26
 192.168.16.26          fbsd26.net.nt.
21:53:50
#vim /etc/hosts
--- /tmp/l3-saved-1144.26950.24252	2009-07-31 22:53:51.000000000 +0300
+++ /etc/hosts	2009-07-31 22:53:58.000000000 +0300
@@ -1,4 +1,4 @@
 ::1                     localhost.net.nt localhost
 127.0.0.1               localhost.net.nt localhost
-192.168.16.26          fbsd26.net.nt fbsd6
+192.168.16.26          fbsd26.net.nt fbsd26
 192.168.16.26          fbsd26.net.nt.
21:53:59
#dig @192.168.16.254 fbsd26.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd26.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20651
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;fbsd26.net.nt.                 IN      A
;; ANSWER SECTION:
fbsd26.net.nt.          604800  IN      A       192.168.16.26
;; AUTHORITY SECTION:
net.nt.                 604800  IN      NS      debian.net.nt.
;; ADDITIONAL SECTION:
debian.net.nt.          604800  IN      A       192.168.16.254
;; Query time: 1 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:04 2009
;; MSG SIZE  rcvd: 84
21:53:59
#dig @192.168.16.254 fbsd26.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd26.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20651
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;fbsd26.net.nt.                 IN      A
;; ANSWER SECTION:
fbsd26.net.nt.          604800  IN      A       192.168.16.26
;; AUTHORITY SECTION:
net.nt.                 604800  IN      NS      debian.net.nt.
;; ADDITIONAL SECTION:
debian.net.nt.          604800  IN      A       192.168.16.254
;; Query time: 1 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:04 2009
;; MSG SIZE  rcvd: 84
21:53:59
#dig @192.168.16.254 fbsd26.net.nt
; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 fbsd26.net.nt
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20651
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;fbsd26.net.nt.                 IN      A
;; ANSWER SECTION:
fbsd26.net.nt.          604800  IN      A       192.168.16.26
;; AUTHORITY SECTION:
net.nt.                 604800  IN      NS      debian.net.nt.
;; ADDITIONAL SECTION:
debian.net.nt.          604800  IN      A       192.168.16.254
;; Query time: 1 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:04 2009
;; MSG SIZE  rcvd: 84
21:54:04
#dig -x @192.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38268
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10702   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:13 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17873
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10698   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:13 2009
;; MSG SIZE  rcvd: 106
21:54:04
#dig -x @192.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38268
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10702   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:13 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17873
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10698   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:13 2009
;; MSG SIZE  rcvd: 106
21:54:04
#dig -x @192.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38268
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10702   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:13 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17873
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10698   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:13 2009
;; MSG SIZE  rcvd: 106
21:54:13
#ifconfig

21:54:13
#ifconfig

21:54:13
#ifconfig

21:54:23
#nc 192.168.16.26 19

21:54:23
#nc 192.168.16.26 19

21:54:23
#nc 192.168.16.26 19

21:54:31
#less /var/log/messages
21:54:31
#less /var/log/messages
21:54:31
#less /var/log/messages
21:54:52
#dig -x @192.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38940
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10657   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:57 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 36160
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10653   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:57 2009
;; MSG SIZE  rcvd: 106
21:54:52
#dig -x @192.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38940
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10657   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:57 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 36160
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10653   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:57 2009
;; MSG SIZE  rcvd: 106
21:54:52
#dig -x @192.168.16.254 192.168.16.26
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 38940
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;254.16.168.\@192.in-addr.arpa. IN      PTR
;; AUTHORITY SECTION:
in-addr.arpa.           10657   IN      SOA     a.root-servers.net. dns-ops.arin.net. 2009073104 1800 900 691200 10800
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:57 2009
...
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 36160
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;192.168.16.26.                 IN      A
;; AUTHORITY SECTION:
.                       10653   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009073101 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 192.168.16.254#53(192.168.16.254)
;; WHEN: Fri Jul 31 22:54:57 2009
;; MSG SIZE  rcvd: 106
21:54:57
#vim /etc/nsswitch.conf
21:54:57
#vim /etc/nsswitch.conf
21:54:57
#vim /etc/nsswitch.conf

Файлы

  • /etc/resolv.conf
  • /etc/resolv.conf
    >
    search net.nt unix.nt
    nameserver 192.168.16.254
    nameserver 10.0.17.1
    nameserver 10.0.35.1
    

    Статистика

    Время первой команды журнала21:42:09 2009- 7-31
    Время последней команды журнала21:54:57 2009- 7-31
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %14.85
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 0.21
    Количество командных строк в единицу времени, команда/мин 7.89
    Частота использования команд
    vim27|==========================| 26.73%
    dig18|=================| 17.82%
    nc15|==============| 14.85%
    tail12|===========| 11.88%
    host9|========| 8.91%
    /usr/local/etc/rc.d/xinetd5|====| 4.95%
    ifconfig3|==| 2.97%
    less3|==| 2.97%
    cat3|==| 2.97%
    hostname3|==| 2.97%
    {3|==| 2.97%
    ____
    *) Интервалы неактивности длительностью 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$