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

Содержание

Журнал

Вторник (12/18/12)

/dev/pts/0
14:31:06
#ls -l /usr/local/etc/rc.d/xinetd
-r-xr-xr-x  1 root  wheel  511 Dec 18 15:31 /usr/local/etc/rc.d/xinetd
14:31:06
#ls -l /usr/local/etc/rc.d/xinetd
-r-xr-xr-x  1 root  wheel  511 Dec 18 15:31 /usr/local/etc/rc.d/xinetd
14:31:41
#shutdown -r now
Shutdown NOW!
shutdown: [pid 16217]
прошла 31 минута
/dev/pts/0
15:03:26
#ls /usr/local/etc/
bash_completion.d       man.d                   trafshow                xinetd.d
devd                    pam.d                   trafshow.dist           xml2Conf.sh
fonts                   pango                   xinetd.conf
gtk-2.0                 rc.d                    xinetd.conf~
15:03:43
#ls /usr/local/etc/xinetd.d
chargen
15:03:47
#vimsr/local/etc/xinetd.d/chargen
# This file generated by xconv.pl, included with the xinetd
# package.  xconv.pl was written by Rob Braun (bbraun@synack.net)
#
# The file is merely a translation of your inetd.conf file into
# the equivalent in xinetd.conf syntax.  xinetd has many
# features that may not be taken advantage of with this translation.
# Please refer to the xinetd.conf man page for more information
        type       = INTERNAL
# on howido properl= chargen-streamtd.
        socket_type = stream
        protocol    = tcp
        wait        = no
        user        = root
        desable     = no
# The defaults section sets some information for all services
}
service chargen
{
"/usr/local/etc/xinetd.d/chargen" 22L, 655C
15:04:02
#~
Dec 18 15:58:03 freebsd1 xinetd[1470]: Service ssh failed to start and is deactivated.
Dec 18 15:58:03 freebsd1 xinetd[1470]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 15:58:03 freebsd1 xinetd[1470]: Started working: 1 available service
Dec 18 16:02:11 freebsd1 xinetd[1470]: Starting reconfiguration
Dec 18 16:02:11 freebsd1 xinetd[1470]: bad service attribute: desable [file=/usr/local/etc/xinetd.d/chargen] [line=20]
Dec 18 16:02:11 freebsd1 xinetd[1470]: Swapping defaults
Dec 18 16:02:11 freebsd1 xinetd[1470]: readjusting service chargen-stream
Dec 18 16:02:11 freebsd1 xinetd[1470]: bind failed (Address already in use (errno = 48)). service = ssh
Dec 18 16:02:11 freebsd1 xinetd[1470]: Service ssh failed to start and is deactivated.
Dec 18 16:02:11 freebsd1 xinetd[1470]: Reconfigured: new=0 old=1 dropped=0 (services)
15:04:15
#vim /usr/local/etc/xinetd.d/chargen
--- /tmp/l3-saved-1538.19305.31557	2012-12-18 16:04:59.000000000 +0200
+++ /usr/local/etc/xinetd.d/chargen	2012-12-18 16:05:44.000000000 +0200
@@ -17,6 +17,6 @@
 	protocol    = tcp
 	wait        = no
 	user        = root
-	desable     = no 
+	disable     =no 
 }
 
15:05:44
#xinetd stop
Usage: xinetd [-d] [-f config_file] [-filelog filename] [-syslog facility] [-reuse] [-limit proc_limit] [-pidfile filename] [-logprocs limit] [-shutdownprocs limit] [-cc interval]
15:05:49
#/usr/local/etc/rc.d/xinetd stop
Stopping xinetd.
15:05:49
#/usr/local/etc/rc.d/xinetd stop
Stopping xinetd.
15:05:49
#/usr/local/etc/rc.d/xinetd stop
Stopping xinetd.
15:05:49
#/usr/local/etc/rc.d/xinetd stop
Stopping xinetd.
15:06:17
#/usr/local/etc/rc.d/xinetd start
Starting xinetd.
15:06:21
#tail /var/log/messages
Dec 18 16:02:11 freebsd1 xinetd[1470]: Swapping defaults
Dec 18 16:02:11 freebsd1 xinetd[1470]: readjusting service chargen-stream
Dec 18 16:02:11 freebsd1 xinetd[1470]: bind failed (Address already in use (errno = 48)). service = ssh
Dec 18 16:02:11 freebsd1 xinetd[1470]: Service ssh failed to start and is deactivated.
Dec 18 16:02:11 freebsd1 xinetd[1470]: Reconfigured: new=0 old=1 dropped=0 (services)
Dec 18 16:06:17 freebsd1 xinetd[1470]: Exiting...
Dec 18 16:06:21 freebsd1 xinetd[1648]: bind failed (Address already in use (errno = 48)). service = ssh
Dec 18 16:06:21 freebsd1 xinetd[1648]: Service ssh failed to start and is deactivated.
Dec 18 16:06:21 freebsd1 xinetd[1648]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 16:06:21 freebsd1 xinetd[1648]: Started working: 1 available service
15:06:30
#vim /usr/local/etc/xinetd.conf
--- /tmp/l3-saved-1538.9573.9097	2012-12-18 16:06:55.000000000 +0200
+++ /usr/local/etc/xinetd.conf	2012-12-18 16:07:13.000000000 +0200
@@ -37,14 +37,3 @@
 
 includedir /usr/local/etc/xinetd.d
 
-service ssh
-{
-	flags       = NAMEINARGS
-	socket_type = stream
-	protocol    = tcp
-	wait        = no
-	user        = root
-	server      = /usr/sbin/sshd
-	server_args = sshd -i -4 
-}
-
15:07:13
#killall -1 xinetd

15:07:21
#tail /var/log/messages
Dec 18 16:02:11 freebsd1 xinetd[1470]: Reconfigured: new=0 old=1 dropped=0 (services)
Dec 18 16:06:17 freebsd1 xinetd[1470]: Exiting...
Dec 18 16:06:21 freebsd1 xinetd[1648]: bind failed (Address already in use (errno = 48)). service = ssh
Dec 18 16:06:21 freebsd1 xinetd[1648]: Service ssh failed to start and is deactivated.
Dec 18 16:06:21 freebsd1 xinetd[1648]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 16:06:21 freebsd1 xinetd[1648]: Started working: 1 available service
Dec 18 16:07:21 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:07:21 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:07:21 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:07:21 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
15:07:21
#tail /var/log/messages
Dec 18 16:02:11 freebsd1 xinetd[1470]: Reconfigured: new=0 old=1 dropped=0 (services)
Dec 18 16:06:17 freebsd1 xinetd[1470]: Exiting...
Dec 18 16:06:21 freebsd1 xinetd[1648]: bind failed (Address already in use (errno = 48)). service = ssh
Dec 18 16:06:21 freebsd1 xinetd[1648]: Service ssh failed to start and is deactivated.
Dec 18 16:06:21 freebsd1 xinetd[1648]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 16:06:21 freebsd1 xinetd[1648]: Started working: 1 available service
Dec 18 16:07:21 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:07:21 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:07:21 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:07:21 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
15:07:21
#tail /var/log/messages
Dec 18 16:02:11 freebsd1 xinetd[1470]: Reconfigured: new=0 old=1 dropped=0 (services)
Dec 18 16:06:17 freebsd1 xinetd[1470]: Exiting...
Dec 18 16:06:21 freebsd1 xinetd[1648]: bind failed (Address already in use (errno = 48)). service = ssh
Dec 18 16:06:21 freebsd1 xinetd[1648]: Service ssh failed to start and is deactivated.
Dec 18 16:06:21 freebsd1 xinetd[1648]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 16:06:21 freebsd1 xinetd[1648]: Started working: 1 available service
Dec 18 16:07:21 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:07:21 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:07:21 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:07:21 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
15:07:21
#tail /var/log/messages
Dec 18 16:02:11 freebsd1 xinetd[1470]: Reconfigured: new=0 old=1 dropped=0 (services)
Dec 18 16:06:17 freebsd1 xinetd[1470]: Exiting...
Dec 18 16:06:21 freebsd1 xinetd[1648]: bind failed (Address already in use (errno = 48)). service = ssh
Dec 18 16:06:21 freebsd1 xinetd[1648]: Service ssh failed to start and is deactivated.
Dec 18 16:06:21 freebsd1 xinetd[1648]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 16:06:21 freebsd1 xinetd[1648]: Started working: 1 available service
Dec 18 16:07:21 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:07:21 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:07:21 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:07:21 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
15:07:29
#ls /usr/local/etc/xinetd.d/
chargen         chargen~
15:08:17
#ls -l r/local/etc/xinetd.d/
total 4
-rw-r--r--  1 root  wheel  654 Dec 18 16:05 chargen
-rw-r--r--  1 root  wheel  655 Dec 18 15:54 chargen~
15:08:17
#ls -l r/local/etc/xinetd.d/
total 4
-rw-r--r--  1 root  wheel  654 Dec 18 16:05 chargen
-rw-r--r--  1 root  wheel  655 Dec 18 15:54 chargen~
15:08:17
#ls -l r/local/etc/xinetd.d/
total 4
-rw-r--r--  1 root  wheel  654 Dec 18 16:05 chargen
-rw-r--r--  1 root  wheel  655 Dec 18 15:54 chargen~
15:08:17
#ls -l r/local/etc/xinetd.d/
total 4
-rw-r--r--  1 root  wheel  654 Dec 18 16:05 chargen
-rw-r--r--  1 root  wheel  655 Dec 18 15:54 chargen~
15:08:30
#vimsr/local/etc/xinetd.d/chargen
# package.  xconv.pl was written by Rob Braun (bbraun@synack.net)
#
# The file is merely a translation of your inetd.conf file into
# the equivalent in xinetd.conf syntax.  xinetd has many
# features that may not be taken advantage of with this translation.
# Please refer to the xinetd.conf man page for more information
        type       = INTERNAL
# on howido properl= chargen-streamtd.
        socket_type = stream
        protocol    = tcp
...
~
~
~
~
~
~
~
~
~
"/usr/local/etc/xinetd.d/chargen" 22L, 655C written
15:09:05
#killall -1 xinetd\
> quit
No matching processes were found
15:09:16
#killall -1 xinetd

15:09:16
#killall -1 xinetd

15:09:16
#killall -1 xinetd

15:09:16
#killall -1 xinetd

15:09:22
#tail /var/log/messages
Dec 18 16:06:21 freebsd1 xinetd[1648]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 16:06:21 freebsd1 xinetd[1648]: Started working: 1 available service
Dec 18 16:07:21 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:07:21 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:07:21 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:07:21 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
Dec 18 16:09:22 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:09:22 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:09:22 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:09:22 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
15:09:28
#tail -far/log/messages
Dec 18 16:06:21 freebsd1 xinetd[1648]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Dec 18 16:06:21 freebsd1 xinetd[1648]: Started working: 1 available service
Dec 18 16:07:21 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:07:21 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:07:21 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:07:21 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
Dec 18 16:09:22 freebsd1 xinetd[1648]: Starting reconfiguration
Dec 18 16:09:22 freebsd1 xinetd[1648]: Swapping defaults
Dec 18 16:09:22 freebsd1 xinetd[1648]: readjusting service chargen-stream
Dec 18 16:09:22 freebsd1 xinetd[1648]: Reconfigured: new=0 old=1 dropped=0 (services)
^C
15:10:10
#sockstat
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xinetd     1648  0  tcp4   *:19                  *:*
root     xinetd     1648  7  dgram  -> /var/run/logpriv
root     sshd       1397  3  tcp4   192.168.13.21:22      192.168.15.101:49225
root     sshd       1331  3  tcp4   192.168.13.21:22      192.168.15.101:49224
smmsp    sendmail   1244  3  dgram  -> /var/run/log
root     sendmail   1240  3  dgram  -> /var/run/logpriv
root     sendmail   1240  4  tcp4   127.0.0.1:25          *:*
root     sshd       1232  3  tcp6   *:22                  *:*
root     sshd       1232  4  tcp4   *:22                  *:*
root     syslogd    943   4  dgram  /var/run/log
root     syslogd    943   5  dgram  /var/run/logpriv
root     syslogd    943   6  udp6   *:514                 *:*
root     syslogd    943   7  udp4   *:514                 *:*
root     devd       777   4  stream /var/run/devd.pipe
root     moused     746   4  stream /var/run/devd.pipe
15:10:22
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xinetd     1648  0  tcp4   *:19                  *:*
root     sshd       1397  3  tcp4   192.168.13.21:22      192.168.15.101:49225
root     sshd       1331  3  tcp4   192.168.13.21:22      192.168.15.101:49224
root     sendmail   1240  4  tcp4   127.0.0.1:25          *:*
root     sshd       1232  4  tcp4   *:22                  *:*
root     syslogd    943   7  udp4   *:514                 *:*
15:10:22
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xinetd     1648  0  tcp4   *:19                  *:*
root     sshd       1397  3  tcp4   192.168.13.21:22      192.168.15.101:49225
root     sshd       1331  3  tcp4   192.168.13.21:22      192.168.15.101:49224
root     sendmail   1240  4  tcp4   127.0.0.1:25          *:*
root     sshd       1232  4  tcp4   *:22                  *:*
root     syslogd    943   7  udp4   *:514                 *:*
15:10:22
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xinetd     1648  0  tcp4   *:19                  *:*
root     sshd       1397  3  tcp4   192.168.13.21:22      192.168.15.101:49225
root     sshd       1331  3  tcp4   192.168.13.21:22      192.168.15.101:49224
root     sendmail   1240  4  tcp4   127.0.0.1:25          *:*
root     sshd       1232  4  tcp4   *:22                  *:*
root     syslogd    943   7  udp4   *:514                 *:*
15:10:22
#sockstat -4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xinetd     1648  0  tcp4   *:19                  *:*
root     sshd       1397  3  tcp4   192.168.13.21:22      192.168.15.101:49225
root     sshd       1331  3  tcp4   192.168.13.21:22      192.168.15.101:49224
root     sendmail   1240  4  tcp4   127.0.0.1:25          *:*
root     sshd       1232  4  tcp4   *:22                  *:*
root     syslogd    943   7  udp4   *:514                 *:*
15:10:24
#sockstat -l4
USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
root     xinetd     1648  0  tcp4   *:19                  *:*
root     sendmail   1240  4  tcp4   127.0.0.1:25          *:*
root     sshd       1232  4  tcp4   *:22                  *:*
root     syslogd    943   7  udp4   *:514                 *:*
15:10:27
#man
15:11:09
#lsof | grep LISTEN
l3script: lsof: command not found
15:11:20
#lsof
l3script: lsof: command not found
15:11:20
#lsof
l3script: lsof: command not found
15:11:20
#lsof
l3script: lsof: command not found
15:11:20
#lsof
l3script: lsof: command not found
15:11:25
#make search name=lsof
make: don't know how to make search. Stop
15:11:37
#find /usr/ports/ -name lsof
/usr/ports/sysutils/lsof
^C
15:12:50
#cd /usr/ports/sysutils/lsof/

15:13:19
#make install
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
=> lsof_4.85A.freebsd.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://www.SpringDaemons.com/stas//lsof_4.85A.freebsd.tar.bz2
fetch: http://www.SpringDaemons.com/stas/lsof_4.85A.freebsd.tar.bz2: Not Found
=> Attempting to fetch http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof//lsof_4.85A.freebsd.tar.bz2
fetch: http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/lsof_4.85A.freebsd.tar.bz2: Not Found
=> Attempting to fetch ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof//lsof_4.85A.freebsd.tar.bz2
fetch: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_4.85A.freebsd.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/NEW//lsof_4.85A.freebsd.tar.bz2
...
      This port has installed the following binaries which execute with
      increased privileges.
/usr/local/sbin/lsof
      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.
      For more information, and contact details about the security
      status of this software, see the following webpage:
http://people.freebsd.org/~abe/
15:18:03
#lsof
lsof: WARNING: access /root/.lsof_freebsd1: No such file or directory
lsof: WARNING: created device cache file: /root/.lsof_freebsd1
COMMAND    PID  USER   FD   TYPE     DEVICE   SIZE/OFF   NODE NAME
kernel       0  root  cwd   VDIR       0,75        512      2 /
kernel       0  root  rtd   VDIR       0,75        512      2 /
kernel       0  root  cwd   VDIR       0,75        512      2 /
kernel       0  root  rtd   VDIR       0,75        512      2 /
kernel       0  root  cwd   VDIR       0,75        512      2 /
kernel       0  root  rtd   VDIR       0,75        512      2 /
kernel       0  root  cwd   VDIR       0,75        512      2 /
...
lsof      2423  root  rtd   VDIR       0,75        512      2 /
lsof      2423  root  txt   VREG       0,79     126872 598063 /usr/local/sbin/lsof
lsof      2423  root  txt   VREG       0,75     220628  70664 /libexec/ld-elf.so.1
lsof      2423  root  txt   VREG       0,75      32780    110 /lib/libkvm.so.5
lsof      2423  root  txt   VREG       0,75    1155172    108 /lib/libc.so.7
lsof      2423  root    0u  VCHR       0,92    0t65411     92 /dev/pts/2
lsof      2423  root    1u  VCHR       0,92    0t65411     92 /dev/pts/2
lsof      2423  root    2u  VCHR       0,92    0t65411     92 /dev/pts/2
lsof      2423  root    3r  VCHR       0,31        0t0     31 /dev/mem
lsof      2423  root    4r  VCHR       0,32 0xc3875000     32 /dev/kmem
15:18:46
#ipfw
ipfw: usage: ipfw [options]
do "ipfw -h" or "man ipfw" for details
15:18:46
#ipfw
ipfw: usage: ipfw [options]
do "ipfw -h" or "man ipfw" for details
15:18:46
#ipfw
ipfw: usage: ipfw [options]
do "ipfw -h" or "man ipfw" for details
15:18:46
#ipfw
ipfw: usage: ipfw [options]
do "ipfw -h" or "man ipfw" for details
15:26:39
#ipfw show
ipfw: getsockopt(IP_FW_GET): Protocol not available
15:27:32
#ipf
usage: ipf [-6AdDEInoPrRsvVyzZ] [-l block|pass|nomatch|state|nat] [-cc] [-F i|o|a|s|S|u] [-f filename] [-T <tuneopts>]
15:27:32
#ipf
usage: ipf [-6AdDEInoPrRsvVyzZ] [-l block|pass|nomatch|state|nat] [-cc] [-F i|o|a|s|S|u] [-f filename] [-T <tuneopts>]
15:27:32
#ipf
usage: ipf [-6AdDEInoPrRsvVyzZ] [-l block|pass|nomatch|state|nat] [-cc] [-F i|o|a|s|S|u] [-f filename] [-T <tuneopts>]
15:27:32
#ipf
usage: ipf [-6AdDEInoPrRsvVyzZ] [-l block|pass|nomatch|state|nat] [-cc] [-F i|o|a|s|S|u] [-f filename] [-T <tuneopts>]
15:28:10
#pf
l3script: pf: command not found
15:28:13
#ipfw list
ipfw: getsockopt(IP_FW_GET): Protocol not available
15:28:26
#vim /etc/de
15:28:26
#vim /etc/de
15:28:26
#vim /etc/defaults/rc.conf
15:30:51
#GPT boot success/failure reporting.
. /etc/rc.subr
. /etc/network.subr
afexists inet6
ipv6_available=$?
########fwcmd="/sbin/ipfw -q"
        ;;
# Set quiet mode if requested
*)      fwcmd="/sbin/ipfw"
#       ;;
esac ${firewall_quiet} in
...
# For a more advanced treatment of Internet Security read:
#
#       Firewalls and Internet Security: Repelling the Wily Hacker, 2nd Edition
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
        ;;
*)      if [ -r "${firewall_type}" ]; then
                ${fwcmd} ${firewall_flags} ${firewall_type}
        fi
        ;;
esac
15:30:51
#GPT boot success/failure reporting.
. /etc/rc.subr
. /etc/network.subr
afexists inet6
ipv6_available=$?
########fwcmd="/sbin/ipfw -q"
        ;;
# Set quiet mode if requested
*)      fwcmd="/sbin/ipfw"
#       ;;
esac ${firewall_quiet} in
...
# For a more advanced treatment of Internet Security read:
#
#       Firewalls and Internet Security: Repelling the Wily Hacker, 2nd Edition
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
        ;;
*)      if [ -r "${firewall_type}" ]; then
                ${fwcmd} ${firewall_flags} ${firewall_type}
        fi
        ;;
esac
15:30:51
#GPT boot success/failure reporting.
. /etc/rc.subr
. /etc/network.subr
afexists inet6
ipv6_available=$?
########fwcmd="/sbin/ipfw -q"
        ;;
# Set quiet mode if requested
*)      fwcmd="/sbin/ipfw"
#       ;;
esac ${firewall_quiet} in
...
# For a more advanced treatment of Internet Security read:
#
#       Firewalls and Internet Security: Repelling the Wily Hacker, 2nd Edition
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
        ;;
*)      if [ -r "${firewall_type}" ]; then
                ${fwcmd} ${firewall_flags} ${firewall_type}
        fi
        ;;
esac
15:30:51
#GPT boot success/failure reporting.
. /etc/rc.subr
. /etc/network.subr
afexists inet6
ipv6_available=$?
########fwcmd="/sbin/ipfw -q"
        ;;
# Set quiet mode if requested
*)      fwcmd="/sbin/ipfw"
#       ;;
esac ${firewall_quiet} in
...
# For a more advanced treatment of Internet Security read:
#
#       Firewalls and Internet Security: Repelling the Wily Hacker, 2nd Edition
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
        ;;
*)      if [ -r "${firewall_type}" ]; then
                ${fwcmd} ${firewall_flags} ${firewall_type}
        fi
        ;;
esac
15:30:51
#GPT boot success/failure reporting.
. /etc/rc.subr
. /etc/network.subr
afexists inet6
ipv6_available=$?
########fwcmd="/sbin/ipfw -q"
        ;;
# Set quiet mode if requested
*)      fwcmd="/sbin/ipfw"
#       ;;
esac ${firewall_quiet} in
...
# For a more advanced treatment of Internet Security read:
#
#       Firewalls and Internet Security: Repelling the Wily Hacker, 2nd Edition
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
        ;;
*)      if [ -r "${firewall_type}" ]; then
                ${fwcmd} ${firewall_flags} ${firewall_type}
        fi
        ;;
esac
15:30:51
#GPT boot success/failure reporting.
. /etc/rc.subr
. /etc/network.subr
afexists inet6
ipv6_available=$?
########fwcmd="/sbin/ipfw -q"
        ;;
# Set quiet mode if requested
*)      fwcmd="/sbin/ipfw"
#       ;;
esac ${firewall_quiet} in
...
# For a more advanced treatment of Internet Security read:
#
#       Firewalls and Internet Security: Repelling the Wily Hacker, 2nd Edition
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
        ;;
*)      if [ -r "${firewall_type}" ]; then
                ${fwcmd} ${firewall_flags} ${firewall_type}
        fi
        ;;
esac
15:30:51
#GPT boot success/failure reporting.
. /etc/rc.subr
. /etc/network.subr
afexists inet6
ipv6_available=$?
########fwcmd="/sbin/ipfw -q"
        ;;
# Set quiet mode if requested
*)      fwcmd="/sbin/ipfw"
#       ;;
esac ${firewall_quiet} in
...
# For a more advanced treatment of Internet Security read:
#
#       Firewalls and Internet Security: Repelling the Wily Hacker, 2nd Edition
[Uu][Nn][Kk][Nn][Oo][Ww][Nn])
        ;;
*)      if [ -r "${firewall_type}" ]; then
                ${fwcmd} ${firewall_flags} ${firewall_type}
        fi
        ;;
esac
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:31:48
#vim /etc/defaults/rc.conf
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:04
#GPT boot success/failure reporting.
geli_devices=""         # List of devices to automatically attach in addition to
                        # GELI devices listed in /etc/fstab.
geli_tries=""           # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use.
#geli_devices="da1 mirror/home"
#geli_da1_flags="-p -k /etc/geli/da1.keys"
#geli_da1_autodetach="NO"                       # swap partitions.
...
varmfs="AUTO"           # Set to YES to always create an mfs /var, NO to never
varsize="32m"           # Size of mfs /var if created
varmfs_flags="-S"       # Extra mount options for the mfs /var
populate_var="AUTO"     # Set to YES to always (re)populate /var, NO to never
cleanvar_enable="YES"   # Clean the /var directory
local_startup="/usr/local/etc/rc.d" # startup script dirs.
script_name_sep=" "     # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
# ZFS support
zfs_enable="NO"         # Set to YES to automatically mount ZFS file systems
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:37:23
#GPT boot success/failure reporting.
gptboot_enable="YES"    # GPT boot success/failure reporting.
# Experimental - test before enabling
gbde_autoattach_all="NO" # YES automatically mounts gbde devices from fstab
gbde_devices="NO"       # Devices to automatically attach (list, or AUTO)
gbde_attach_attempts="3"# GELI devices listed in /etc/fstab.ing gbde devices
geli_tries="""/etc"     # If empty, kern.geom.eli.tries will be used.evice.
geli_default_flags=""   # Default flags for geli(8).
                        # Providers are marked as such when all file systems are
geli_autodetach="YES"   # mounted.cally detach on last close.
# Example use."         # List of devices to automatically attach in addition to
...
synchronous_dhclient="NO"       # Start dhclient directly on configured
                                # interfaces during startup.
defaultroute_delay="30"         # Time to wait for a default route on a DHCP interface.
wpa_supplicant_program="/usr/sbin/wpa_supplicant"
wpa_supplicant_flags="-s"       # Extra flags to pass to wpa_supplicant
wpa_supplicant_conf_file="/etc/wpa_supplicant.conf"
#
firewall_enable="NO"            # Set to YES to enable firewall functionality
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
firewall_type="UNKNOWN"         # Firewall type (see /etc/rc.firewall)
15:38:58
#Set to YES to suppress rule display

15:38:58
#Set to YES to suppress rule display

Статистика

Время первой команды журнала14:31:06 2012-12-18
Время последней команды журнала15:38:58 2012-12-18
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %16.83
Процент синтаксически неверно набранных команд, % 4.95
Суммарное время работы с терминалом *, час 0.60
Количество командных строк в единицу времени, команда/мин 2.80
Частота использования команд
GPT25|========================| 24.51%
vim14|=============| 13.73%
ls9|========| 8.82%
tail7|======| 6.86%
sockstat6|=====| 5.88%
ipfw6|=====| 5.88%
lsof6|=====| 5.88%
killall6|=====| 5.88%
/usr/local/etc/rc.d/xinetd5|====| 4.90%
ipf4|===| 3.92%
vimsr/local/etc/xinetd.d/chargen2|=| 1.96%
make2|=| 1.96%
Set2|=| 1.96%
man1|| 0.98%
cd1|| 0.98%
shutdown1|| 0.98%
grep1|| 0.98%
~1|| 0.98%
xinetd1|| 0.98%
find1|| 0.98%
pf1|| 0.98%
____
*) Интервалы неактивности длительностью 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$