/l3/users/12-03-2007/nt-lnet/linux1.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 :27 |
|
#ls
db.0 db.255 db.life.net.nt db.root named.conf.local rndc.key db.127 db.empty db.local named.conf named.conf.options zones.rfc1918 |
#vim named.conf
24a25,29 > zone "life.net.nt" { > type master; > file "/etc/bind/db.life.net.nt"; > }; > |
#/etc/init.d/bind9 restart
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#tail /var/log/daemon.log
Mar 15 10:13:28 linux1 named[5191]: listening on IPv4 interface eth0, 192.168.16.1#53 Mar 15 10:13:28 linux1 named[5191]: command channel listening on 127.0.0.1#953 Mar 15 10:13:28 linux1 named[5191]: command channel listening on ::1#953 Mar 15 10:13:28 linux1 named[5191]: zone 0.in-addr.arpa/IN: loaded serial 1 Mar 15 10:13:28 linux1 named[5191]: zone 127.in-addr.arpa/IN: loaded serial 1 Mar 15 10:13:28 linux1 named[5191]: zone 255.in-addr.arpa/IN: loaded serial 1 Mar 15 10:13:28 linux1 named[5191]: zone localhost/IN: loaded serial 1 Mar 15 10:13:28 linux1 named[5191]: /etc/bind/db.life.net.nt:7: using RFC 1035 TTL semantics Mar 15 10:13:28 linux1 named[5191]: zone life.net.nt/IN: loaded serial 2007150300 Mar 15 10:13:28 linux1 named[5191]: running |
#vim /etc/resolv.conf
|
#host roman
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library roman.life.net.nt has address 192.168.16.1 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#host host2
host2.life.net.nt has address 192.168.16.2 |
#ping mail.ru
ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ... PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=108 ms --- mail.ru ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 108.859/108.859/108.859/0.000 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping ya.ru
ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ... PING ya.ru (87.250.251.8) 56(84) bytes of data. 64 bytes from ya.ru (87.250.251.8): icmp_seq=1 ttl=53 time=109 ms --- ya.ru ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 109.549/109.549/109.549/0.000 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#host linux.nt
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Host linux.nt not found: 3(NXDOMAIN) y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping 10.0.35.1
ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ... PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data. 64 bytes from 10.0.35.1: icmp_seq=1 ttl=63 time=0.554 ms --- 10.0.35.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.554/0.554/0.554/0.000 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#host net.nt
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library net.nt has address 10.0.17.1 net.nt mail is handled by 10 serzh.net.nt. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#host serzh.net.nt
ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ... ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library serzh.net.nt is an alias for net.nt. net.nt has address 10.0.17.1 net.nt mail is handled by 10 serzh.net.nt. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#host 192.168.16.15
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library 15.16.168.192.in-addr.arpa domain name pointer serzh.net.nt. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#host mail.ru
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library mail.ru has address 194.67.57.26 mail.ru mail is handled by 10 mxs.mail.ru. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ls
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library db.0 db.255 db.life.net.nt db.root named.conf.local rndc.key db.127 db.empty db.local named.conf named.conf.options zones.rfc1918 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#vim named.conf
24a25,28 > > > //_++++++++++++++++++++++++++++++++++++++++++++ > 29a34,42 > > zone "16.168.192.in-addr.arpa" { > type master; > file "/etc/bind/db.16.168.192"; > }; > > //+++++++++++++++++++++++++++++++++++++++++++++== > > |
#vim /etc/bind/db.16.168.192
|
#host roman
roman.life.net.nt has address 192.168.16.1 |
#host 192.168.16.1
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library 1.16.168.192.in-addr.arpa domain name pointer linux1.net.nt. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#rndc reload
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library server reload successful y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#rndc status
ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library number of zones: 6 ... soa queries in progress: 0 query logging is OFF recursive clients: 0/1000 tcp clients: 0/100 server is up and running y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#vim /etc/bind/db.16.168.192
|
#host 192.168.16.1
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Host 1.16.168.192.in-addr.arpa not found: 2(SERVFAIL) y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#less /var/log/daemon.log
|
#vim /etc/bind/db.16.168.192
8c8 < life.net.nt. NS roman.life.net.nt. --- > NS roman.life.net.nt. |
#rndc reload
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library server reload successful y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#rndc status
number of zones: 6 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is OFF recursive clients: 0/1000 tcp clients: 0/100 server is up and running |
#less /var/log/daemon.log
|
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer roman.16.168.192.in-addr.arpa. |
#vim /etc/bind/db.16.168.192
11,20c11,20 < 1 PTR roman < 2 PTR host2 < 3 PTR host3 < 4 PTR host4 < 5 PTR host5 < 6 PTR host6 < 7 PTR host7 < 8 PTR host8 < 9 PTR host9 < 10 PTR host10 --- > 1 PTR roman.life.net.nt. > 2 PTR host2.life.net.nt. > 3 PTR host3.life.net.nt. > 4 PTR host4.life.net.nt. > 5 PTR host5.life.net.nt. > 6 PTR host6.life.net.nt. > 7 PTR host7.life.net.nt. > 8 PTR host8.life.net.nt. > 9 PTR host9.life.net.nt. > 10 PTR host10.life.net.nt. |
#vim /etc/bind/db.16.168.192
2c2 < @ SOA roman.life.net.nt. user.roman.life.net.nt. 2007031500 ( --- > @ SOA roman.life.net.nt. user.roman.life.net.nt. 2007031501 ( |
#rndc reload
server reload successful |
#host 192.168.16.1
1.16.168.192.in-addr.arpa domain name pointer roman.life.net.nt. |
#host roman.life.net.nt.
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library roman.life.net.nt has address 192.168.16.1 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig life.net.nt mx
;; QUESTION SECTION: ;life.net.nt. IN MX ;; ANSWER SECTION: life.net.nt. 10800 IN MX 5 roman.life.net.nt. ;; AUTHORITY SECTION: life.net.nt. 10800 IN NS roman.life.net.nt. ;; ADDITIONAL SECTION: roman.life.net.nt. 10800 IN A 192.168.16.1 ;; Query time: 38 msec ;; SERVER: 192.168.16.1#53(192.168.16.1) ;; WHEN: Thu Mar 15 10:33:05 2007 ;; MSG SIZE rcvd: 81 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig life.net.nt ns
; <<>> DiG 9.3.4 <<>> life.net.nt ns ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27253 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;life.net.nt. IN NS ;; ANSWER SECTION: life.net.nt. 10800 IN NS roman.life.net.nt. ;; ADDITIONAL SECTION: roman.life.net.nt. 10800 IN A 192.168.16.1 ;; Query time: 34 msec ;; SERVER: 192.168.16.1#53(192.168.16.1) ;; WHEN: Thu Mar 15 10:33:11 2007 ;; MSG SIZE rcvd: 65 |
#vim /etc/bind/named.conf
31a32,33 > allow-query { 192.168.16.0; 127.0.0.1; }; > allow-transfer { 192.168.16.0; 127.0.0.1; }; 39a42,44 > > > |
#/etc/init.d/bind9 restart
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#less /var/log/daemon.log
|
#vim /etc/bind/named.conf
|
#vim /etc/bind/named.conf.options
20c20 < --- > listen-on { 192.168.16.1; }; |
#netstat -lnp | grep bind
ii libgssapi2 0.10-4 A mechanism-switch gssapi library ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ... ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#netstat -lnp | grep named
tcp 0 0 192.168.16.1:53 0.0.0.0:* LISTEN 6159/named tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 6159/named tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 6159/named tcp6 0 0 :::53 :::* LISTEN 6159/named tcp6 0 0 ::1:953 :::* LISTEN 6159/named udp 0 0 0.0.0.0:32788 0.0.0.0:* 6159/named udp 0 0 192.168.16.1:53 0.0.0.0:* 6159/named udp 0 0 127.0.0.1:53 0.0.0.0:* 6159/named udp6 0 0 :::32789 :::* 6159/named udp6 0 0 :::53 :::* 6159/named |
#netstat -lnp | grep :53
ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library ... tcp6 0 0 :::53 :::* LISTEN 6159/named udp 0 0 192.168.16.1:53 0.0.0.0:* 6159/named udp 0 0 127.0.0.1:53 0.0.0.0:* 6159/named udp 0 0 0.0.0.0:5353 0.0.0.0:* 2608/avahi-daemon: udp6 0 0 :::53 :::* 6159/named y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#/etc/init.d/bind9 restart
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#netstat -lnp | grep :53
tcp 0 0 192.168.16.1:53 0.0.0.0:* LISTEN 6310/named tcp 0 0 127.0.0.1:53945 0.0.0.0:* LISTEN 2425/python tcp6 0 0 :::53 :::* LISTEN 6310/named udp 0 0 192.168.16.1:53 0.0.0.0:* 6310/named udp 0 0 0.0.0.0:5353 0.0.0.0:* 2608/avahi-daemon: udp6 0 0 :::53 :::* 6310/named |
#vim /etc/bind/named.conf.options
20c20 < listen-on { 192.168.16.1; }; --- > // listen-on { 192.168.16.1; }; |
#/etc/init.d/bind9 restart
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library Stopping domain name service...: bind. Starting domain name service...: bind. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig @10.0.35.1 linux.nt
;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16983 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;linux.nt. IN A ;; ANSWER SECTION: linux.nt. 10800000 IN A 10.0.35.1 ;; AUTHORITY SECTION: linux.nt. 10800000 IN NS linux.nt. ;; Query time: 17 msec ;; SERVER: 10.0.35.1#53(10.0.35.1) ;; WHEN: Thu Mar 15 10:39:20 2007 ;; MSG SIZE rcvd: 56 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig @10.0.35.1 axfr
A.ROOT-SERVERS.NET. 131010 IN A 198.41.0.4 B.ROOT-SERVERS.NET. 131010 IN A 192.228.79.201 C.ROOT-SERVERS.NET. 131010 IN A 192.33.4.12 D.ROOT-SERVERS.NET. 131010 IN A 128.8.10.90 E.ROOT-SERVERS.NET. 131010 IN A 192.203.230.10 F.ROOT-SERVERS.NET. 131010 IN A 192.5.5.241 G.ROOT-SERVERS.NET. 131010 IN A 192.112.36.4 H.ROOT-SERVERS.NET. 131010 IN A 128.63.2.53 I.ROOT-SERVERS.NET. 131010 IN A 192.36.148.17 J.ROOT-SERVERS.NET. 131010 IN A 192.58.128.30 ... M.ROOT-SERVERS.NET. 131010 IN A 202.12.27.33 ;; Query time: 72 msec ;; SERVER: 10.0.35.1#53(10.0.35.1) ;; WHEN: Thu Mar 15 10:39:31 2007 ;; MSG SIZE rcvd: 436 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig linux.nt @10.0.35.1 axfr
ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ... ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library ; <<>> DiG 9.3.4 <<>> linux.nt @10.0.35.1 axfr ; (1 server found) ;; global options: printcmd ; Transfer failed. y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dig net.nt @serzh.net.nt axfr
linux20.net.nt. 10800000 IN A 192.168.16.20 linux3.net.nt. 10800000 IN A 192.168.16.3 linux4.net.nt. 10800000 IN A 192.168.16.4 linux5.net.nt. 10800000 IN A 192.168.16.5 linux6.net.nt. 10800000 IN A 192.168.16.6 linux7.net.nt. 10800000 IN A 192.168.16.7 linux8.net.nt. 10800000 IN A 192.168.16.8 linux9.net.nt. 10800000 IN A 192.168.16.9 m01.net.nt. 10800000 IN CNAME fbsd1.net.nt. m02.net.nt. 10800000 IN CNAME fbsd2.net.nt. ... net.nt. 10800000 IN SOA net.nt. clint.net.nt. 2007010921 36000 3600 604800 3600 ;; Query time: 337 msec ;; SERVER: 10.0.17.1#53(10.0.17.1) ;; WHEN: Thu Mar 15 10:40:06 2007 ;; XFR size: 263 records (messages 1) y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#vim named.conf
28a29,35 > zone "net.nt" { > type slave; > masters 192.168.16.15; > file "db.net.nt"; > }; > > |
#ls -l /var/cache/bind/
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library итого 0 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#rndc reload
rndc: 'reload' failed: unexpected token |
#less /var/log/daemon.log
|
#vim named.conf
31c31 < masters 192.168.16.15; --- > masters { 192.168.16.15; }; |
#rndc reload
server reload successful |
#ls -l /var/cache/bind/
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library итого 8 -rw-r--r-- 1 bind bind 7036 2007-03-15 10:42 db.net.nt y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#vim named.conf.options
|
#ls -l /var/cache/bind/
|
#less /var/cache/bind/db.net.nt
|
#apt-cache search dnsspoof
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library dsniff - Various tools to sniff network traffic for cleartext insecurities y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#apt-get install dsniff
libnids1.20 НОВЫЕ пакеты, которые будут установлены: dsniff libnids1.20 обновлено 0, установлено 2 новых пакетов, для удаления отмечено 0 пакетов, и 111 пакетов не обновлено. Необходимо скачать 141kБ архивов. После распаковки объем занятого дискового пространства возрастёт на 471kB. Хотите продолжить [Д/н]? y Получено:1 http://192.168.16.15 etch/main libnids1.20 1.20-4 [21,6kB] Получено:2 http://192.168.16.15 etch/main dsniff 2.4b1+debian-15 [119kB] Получено 141kB за 0s (677kB/c) ... Распаковывается пакет libnids1.20 (из файла .../libnids1.20_1.20-4_i386.deb)... Выбор ранее не выбранного пакета dsniff. Распаковывается пакет dsniff (из файла .../dsniff_2.4b1+debian-15_i386.deb)... Настраивается пакет libnids1.20 (1.20-4) ... Настраивается пакет dsniff (2.4b1+debian-15) ... y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dsniff --help
ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ... dsniff: invalid option -- - Version: 2.4 Usage: dsniff [-cdmn] [-i interface | -p pcapfile] [-s snaplen] [-f services] [-t trigger[,...]] [-r|-w savefile] [expression] y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#man dsniff
|
#ds
dselect dsniff |
#dsniff -i eth1
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library dsniff: listening on eth1 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library ... 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=97.1 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=96.1 ms --- mail.ru ping statistics --- 3 packets transmitted, 2 received, 33% packet loss, time 2005ms rtt min/avg/max/mdev = 96.176/96.679/97.182/0.503 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=97.1 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=96.1 ms --- mail.ru ping statistics --- 3 packets transmitted, 2 received, 33% packet loss, time 2005ms rtt min/avg/max/mdev = 96.176/96.679/97.182/0.503 ms |
#ping mail.ru
64 bytes from mail.ru (194.67.57.26): icmp_seq=54 ttl=112 time=108 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=56 ttl=112 time=96.2 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=57 ttl=112 time=95.9 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=58 ttl=112 time=96.3 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=59 ttl=112 time=96.3 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=60 ttl=112 time=96.3 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=61 ttl=112 time=109 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=62 ttl=112 time=146 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=63 ttl=112 time=100 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=64 ttl=112 time=247 ms ... 64 bytes from mail.ru (194.67.57.26): icmp_seq=67 ttl=112 time=95.6 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=68 ttl=112 time=105 ms --- mail.ru ping statistics --- 68 packets transmitted, 66 received, 2% packet loss, time 67139ms rtt min/avg/max/mdev = 95.259/110.056/247.471/27.636 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=179 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=184 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=3 ttl=112 time=190 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=4 ttl=112 time=95.9 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=5 ttl=112 time=116 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=6 ttl=112 time=96.6 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=7 ttl=112 time=97.0 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=8 ttl=112 time=100 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=9 ttl=112 time=98.4 ms ... 64 bytes from mail.ru (194.67.57.26): icmp_seq=62 ttl=112 time=146 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=63 ttl=112 time=100 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=64 ttl=112 time=247 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=65 ttl=112 time=98.3 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=66 ttl=112 time=96.4 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=67 ttl=112 time=95.6 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=68 ttl=112 time=105 ms --- mail.ru ping statistics --- 68 packets transmitted, 66 received, 2% packet loss, time 67139ms rtt min/avg/max/mdev = 95.259/110.056/247.471/27.636 ms |
#dsniff -i eth1 mail.ru
dsniff: nids_init: |
#dsniff -i eth1 mail.ru
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library dsniff: nids_init: y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#man dsniff
|
#dnss
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library dnssec-keygen dnssec-signzone dnsspoof y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dnsspoof --help
dnsspoof: invalid option -- - Version: 2.4 Usage: dnsspoof [-i interface] [-f hostsfile] [expression] |
#dnsspoof -i eth1
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library dnsspoof: libnet_get_ipaddr4(): ioctl(): Cannot assign requested address y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dnsspoof -i eth1 mail.ru
dnsspoof: libnet_get_ipaddr4(): ioctl(): Cannot assign requested address |
#man dnsspoof
|
#vim /usr/share/dsniff/dnsspoof.hosts
48a49 > 192.168.16.1 mail.ru |
#dnsspoof -i eth1 -f /usr/share/dsniff/dnsspoof.hosts
ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library dnsspoof: libnet_get_ipaddr4(): ioctl(): Cannot assign requested address y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#dnsspoof -f /usr/share/dsniff/dnsspoof.hosts
ii libgstreamer-plugins 0.10.10-4 GStreamer libraries from the "base" set ii libgstreamer0.10-0 0.10.10-2 Core GStreamer libraries and elements ii libgtk2-perl 1.140-1 Perl interface to the 2.x series of the Gimp Toolkit lib ii libgtk2.0-0 2.8.20-5 The GTK+ graphical user interface library ii libgtk2.0-bin 2.8.20-5 The programs for the GTK+ graphical user interface libra ii libgtk2.0-common 2.8.20-5 Common files for the GTK+ graphical user interface libra ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ... ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ii libgutenprint2 5.0.0-3 runtime for the Gutenprint printer driver library dnsspoof: listening on eth0 [udp dst port 53 and not src 192.168.16.1] y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ssh clint@192.168.16.15
~ ~ ~ ~ ~ ~ ~ ~ Ñ ~ ~ ... ~ ~ ~ "/tmp/123" 2L, 48C запиÑано ÑÑ clint~$ vim /tmp/123 y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
ii libgtkhtml2-0 2.11.0-3 HTML rendering/editing library - runtime files. (for GNO ii libgtkhtml3.8-15 3.12.1-2 HTML rendering/editing library - runtime files ii libgtkmm-2.4-1c2a 2.8.8-1 C++ wrappers for GTK+ 2.4 (shared libraries) ii libgtksourceview-com 1.8.3-1 common files for the GTK+ syntax highlighting widget ii libgtksourceview1.0- 1.8.3-1 shared libraries for the GTK+ syntax highlighting widget ii libgtkspell0 2.0.10-3+b1 a spell-checking addon for GTK's TextView widget ii libgtop2-7 2.14.4-3 gtop system monitoring library ii libgtop2-common 2.14.4-3 common files for the gtop system monitoring library ii libgucharmap4 1.6.0-1 Unicode browser widget library (shared library) ii libguile-ltdl-1 1.6.8-6 Guile's patched version of libtool's libltdl ... 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=99.7 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=116 ms --- mail.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 99.728/108.087/116.446/8.359 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=99.7 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=116 ms --- mail.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 99.728/108.087/116.446/8.359 ms |
#vim /etc/resolv.conf
7c7 < nameserver 192.168.16.1 --- > nameserver 192.168.16.15 |
#vim /etc/resolv.conf
|
#ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=97.7 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=98.8 ms --- mail.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1003ms rtt min/avg/max/mdev = 97.762/98.324/98.887/0.643 ms |
#ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=97.7 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=98.8 ms --- mail.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1003ms rtt min/avg/max/mdev = 97.762/98.324/98.887/0.643 ms |
#ping mail.ru
~ ~ ~ ~ ~ ~ ~ "/tmp/123" [Новый] 1L, 24C записано сь clint~$ sudo dnsspoof -f /tmp/123 dnsspoof: listening on eth0 [udp dst port 53 and not src 10.0.17.1] ... 64 bytes from mail.ru (194.67.57.26): icmp_seq=6 ttl=112 time=100 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=7 ttl=112 time=96.1 ms --- mail.ru ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6017ms rtt min/avg/max/mdev = 96.109/101.737/109.383/5.064 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=100 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=109 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=3 ttl=112 time=99.1 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=4 ttl=112 time=96.9 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=5 ttl=112 time=109 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=6 ttl=112 time=100 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=7 ttl=112 time=96.1 ms --- mail.ru ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6017ms rtt min/avg/max/mdev = 96.109/101.737/109.383/5.064 ms |
#ping mail.ru
1 127.0.0.16.15 *.mail.ru ~ PING mail.ru (194.67.57.26) 56(84) bytes of data. ~ 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=117 ms ~ 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=107 ms ~ ~ ~ --- mail.ru ping statistics --- ... ~ ~ ~ ~ -- ÐÐÐÐÐÐ -- - 1,9 ÐеÑÑ y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
PING mail.ru (194.67.57.26) 56(84) bytes of data. 64 bytes from mail.ru (194.67.57.26): icmp_seq=1 ttl=112 time=117 ms 64 bytes from mail.ru (194.67.57.26): icmp_seq=2 ttl=112 time=107 ms --- mail.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 107.427/112.468/117.509/5.041 ms |
#ping mail.ru
~ "/tmp/123" 1L, 19C записано сь clint~$ sudo dnsspoof -i eth1 -f /tmp/123 dnsspoof: listening on eth1 [udp dst port 53 and not src 192.168.16.15] 192.168.16.1.32794 > 192.168.16.15.53: 10408+ A? mail.ru 192.168.16.1.32796 > 192.168.16.15.53: 59882+ A? mail.ru 192.168.16.1.32796 > 192.168.16.15.53: 52942+ A? mail.ru PING mail.ru (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.079 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.054 ms ... 64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.056 ms 64 bytes from localhost (127.0.0.1): icmp_seq=7 ttl=64 time=0.056 ms --- mail.ru ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6037ms rtt min/avg/max/mdev = 0.046/0.057/0.079/0.011 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
PING mail.ru (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.079 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.054 ms 64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.056 ms 64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.055 ms 64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.046 ms 64 bytes from localhost (127.0.0.1): icmp_seq=6 ttl=64 time=0.056 ms 64 bytes from localhost (127.0.0.1): icmp_seq=7 ttl=64 time=0.056 ms --- mail.ru ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6037ms rtt min/avg/max/mdev = 0.046/0.057/0.079/0.011 ms |
#ping mail.ru
~ ~ ~ ~ ~ ~ ~ "/tmp/123" 1L, 19C записано сь clint~$ sudo dnsspoof -i eth1 -f /tmp/123 dnsspoof: listening on eth1 [udp dst port 53 and not src 192.168.16.15] ... 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.053 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.052 ms --- mail.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.052/0.052/0.053/0.007 ms y manipula ii python-sip4 4.4.5-4 Python/C++ bindings generator runt ime librar ii python-vte 0.12.2-4 Python bindings for the VTE widget set |
#ping mail.ru
PING mail.ru (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.053 ms 64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.052 ms --- mail.ru ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.052/0.052/0.053/0.007 ms |
#dd if=/dev/zero of=test.img bs=512 count=1024
|
Время первой команды журнала | 10:12:21 2007- 3-15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 10:56:00 2007- 3-15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 13.86 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.00 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 0.73 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 2.31 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду 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