/l3/users/27-07-2009/nt-fbsdnet/fbsd6.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 |
|
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd. Starting xinetd. |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd. Starting xinetd. |
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd. Starting xinetd. |
#/usr/local/etc/rc.d/xinetd restart
Stopping xinetd. Starting xinetd. |
#nc 192.168.16.26 19
|
#nc 192.168.16.26 19
|
#nc 192.168.16.26 19
|
#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. |
#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. |
#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. |
#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 |
#vim /usr/local/etc/xinetd.conf
|
#vim /usr/local/etc/xinetd.conf
|
#vim /usr/local/etc/xinetd.conf
|
#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 |
#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 |
#{
Stopping xinetd. Starting xinetd. |
#{
Stopping xinetd. Starting xinetd. |
#{
Stopping xinetd. Starting xinetd. |
#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 |
#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 |
#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 |
#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 |
#vim /usr/local/etc/xinetd.conf
|
#vim /usr/local/etc/xinetd.conf
|
#host 192.168.16.26
26.16.168.192.in-addr.arpa domain name pointer fbsd26.net.nt. |
#host 192.168.16.26
26.16.168.192.in-addr.arpa domain name pointer fbsd26.net.nt. |
#host 192.168.16.26
26.16.168.192.in-addr.arpa domain name pointer fbsd26.net.nt. |
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26 |
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26 |
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26 |
#nc fbsd26.net.nt
|
#nc fbsd26.net.nt
|
#nc fbsd26.net.nt
|
#vim /usr/local/etc/xinetd.conf
|
#vim /usr/local/etc/xinetd.conf
|
#vim /usr/local/etc/xinetd.conf
|
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#cat /etc/resolv.conf
search net.nt unix.nt nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#cat /etc/resolv.conf
search net.nt unix.nt nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#cat /etc/resolv.conf
search net.nt unix.nt nameserver 192.168.16.254 nameserver 10.0.17.1 nameserver 10.0.35.1 |
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26 |
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26 |
#host fbsd26.net.nt
fbsd26.net.nt has address 192.168.16.26 |
#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 |
#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 |
#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 |
#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" |
#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" |
#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" |
#hostname
fbsd6.net.nt |
#hostname
fbsd6.net.nt |
#hostname
fbsd6.net.nt |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#ifconfig
|
#ifconfig
|
#ifconfig
|
#nc 192.168.16.26 19
|
#nc 192.168.16.26 19
|
#nc 192.168.16.26 19
|
#less /var/log/messages
|
#less /var/log/messages
|
#less /var/log/messages
|
#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 |
#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 |
#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 |
#vim /etc/nsswitch.conf
|
#vim /etc/nsswitch.conf
|
#vim /etc/nsswitch.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 | |||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008