/l3/users/12-12-2011/NT-Lnet/debian3.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 |
|
#nmap -p1-1024 192.168.30.190
Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-13 16:43 EET Interesting ports on 192.168.30.190: Not shown: 1019 closed ports PORT STATE SERVICE 7/tcp open echo 19/tcp open chargen 22/tcp open ssh 37/tcp open time 111/tcp open rpcbind Nmap done: 1 IP address (1 host up) scanned in 3.36 seconds |
#man ping
|
#nmap -p1-1024 192.168.30.190
Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-13 17:04 EET |
#ping6 localhost
![]() unknown host |
#ping6 lo
![]() unknown host |
#ping
![]() ping ping6 |
#ping6 --help
![]() ping6: invalid option -- '-' Usage: ping6 [-LUdfnqrvVaAD] [-c count] [-i interval] [-w deadline] [-p pattern] [-s packetsize] [-t ttl] [-I interface] [-M pmtudisc-hint] [-S sndbuf] [-F flowlabel] [-Q tclass] [[-N nodeinfo-option] ...] [hop1 ...] destination |
#man ping6
|
#ifconfig
eth1 Link encap:Ethernet HWaddr 00:16:3e:00:01:03 inet addr:192.168.30.62 Bcast:192.168.30.63 Mask:255.255.255.192 inet6 addr: fe80::216:3eff:fe00:103/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:178035 errors:0 dropped:33 overruns:0 frame:0 TX packets:147974 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:136166427 (129.8 MiB) TX bytes:26534051 (25.3 MiB) Interrupt:10 Base address:0x8100 eth2 Link encap:Ethernet HWaddr 00:16:3e:00:02:03 ... RX bytes:19372276 (18.4 MiB) TX bytes:117006197 (111.5 MiB) Interrupt:11 Base address:0x2200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16432 errors:0 dropped:0 overruns:0 frame:0 TX packets:16432 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81170094 (77.4 MiB) TX bytes:81170094 (77.4 MiB) |
#ping6 fe80::216:3eff:fe00:203/64
![]() unknown host |
#ping6 fe80::216:3eff:fe00:203
![]() connect: Invalid argument |
#ifconfig
eth1 Link encap:Ethernet HWaddr 00:16:3e:00:01:03 inet addr:192.168.30.62 Bcast:192.168.30.63 Mask:255.255.255.192 inet6 addr: fe80::216:3eff:fe00:103/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:178185 errors:0 dropped:33 overruns:0 frame:0 TX packets:148089 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:136183713 (129.8 MiB) TX bytes:26556092 (25.3 MiB) Interrupt:10 Base address:0x8100 eth2 Link encap:Ethernet HWaddr 00:16:3e:00:02:03 ... RX bytes:19381472 (18.4 MiB) TX bytes:117016937 (111.5 MiB) Interrupt:11 Base address:0x2200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16432 errors:0 dropped:0 overruns:0 frame:0 TX packets:16432 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81170094 (77.4 MiB) TX bytes:81170094 (77.4 MiB) |
#ifconfig
![]() alternatives.log dmesg.0 installer/ news/ apt/ dmesg.1.gz kern.log pycentral.log aptitude dmesg.2.gz lastlog servicelog auth.log dmesg.3.gz lpr.log syslog boot dmesg.4.gz mail.err user.log btmp dpkg.log mail.info wtmp daemon.log exim4/ mail.log debug faillog mail.warn dmesg fsck/ messages |
#ifconfig eth0:1
eth0:1 Link encap:Ethernet HWaddr 00:16:3e:00:00:03 BROADCAST MULTICAST MTU:1500 Metric:1 Interrupt:5 Base address:0x6000 |
#ifconfig eth0:1 fe80::216:3eff:fe00:203/64
![]() fe80::216:3eff:fe00:203: Неизвестный хост ifconfig: `--help' gives usage information. |
#ifconfig --help
![]() Usage: ifconfig [-a] [-v] [-s] <interface> [[<AF>] <address>] [add <address>[/<prefixlen>]] [del <address>[/<prefixlen>]] [[-]broadcast [<address>]] [[-]pointopoint [<address>]] [netmask <address>] [dstaddr <address>] [tunnel <address>] [outfill <NN>] [keepalive <NN>] [hw <HW> <address>] [metric <NN>] [mtu <NN>] [[-]trailers] [[-]arp] [[-]allmulti] [multicast] [[-]promisc] ... arcnet (ARCnet) dlci (Frame Relay DLCI) frad (Frame Relay Access Device) sit (IPv6-in-IPv4) fddi (Fiber Distributed Data Interface) hippi (HIPPI) irda (IrLAP) ec (Econet) x25 (generic X.25) eui64 (Generic EUI-64) <AF>=Address family. Default: inet List of possible address families: unix (UNIX Domain) inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25) netrom (AMPR NET/ROM) rose (AMPR ROSE) ipx (Novell IPX) ddp (Appletalk DDP) ec (Econet) ash (Ash) x25 (CCITT X.25) |
#ifconfig
eth1 Link encap:Ethernet HWaddr 00:16:3e:00:01:03 inet addr:192.168.30.62 Bcast:192.168.30.63 Mask:255.255.255.192 inet6 addr: fe80::216:3eff:fe00:103/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:178816 errors:0 dropped:33 overruns:0 frame:0 TX packets:148600 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:136262603 (129.9 MiB) TX bytes:26637826 (25.4 MiB) Interrupt:10 Base address:0x8100 eth2 Link encap:Ethernet HWaddr 00:16:3e:00:02:03 ... RX bytes:19407882 (18.5 MiB) TX bytes:117069014 (111.6 MiB) Interrupt:11 Base address:0x2200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16432 errors:0 dropped:0 overruns:0 frame:0 TX packets:16432 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81170094 (77.4 MiB) TX bytes:81170094 (77.4 MiB) |
#ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:16:3e:00:00:03 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:5 Base address:0x6000 eth1 Link encap:Ethernet HWaddr 00:16:3e:00:01:03 inet addr:192.168.30.62 Bcast:192.168.30.63 Mask:255.255.255.192 inet6 addr: fe80::216:3eff:fe00:103/64 Scope:Link ... RX bytes:19407994 (18.5 MiB) TX bytes:117069377 (111.6 MiB) Interrupt:11 Base address:0x2200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16432 errors:0 dropped:0 overruns:0 frame:0 TX packets:16432 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81170094 (77.4 MiB) TX bytes:81170094 (77.4 MiB) |
#man trace
![]() |
#man traceroute
|
#traceroute -q 10 google.com
traceroute to google.com (173.194.70.106), 30 hops max, 60 byte packets 1 192.168.30.1 (192.168.30.1) 2.069 ms 12.954 ms 12.583 ms 12.954 ms 13.501 ms 12.301 ms * * * * 2 net.nt (192.168.16.254) 16.241 ms 15.902 ms 16.529 ms 16.181 ms 16.545 ms 16.043 ms * * * * 3 10.0.3.4 (10.0.3.4) 8.075 ms 7.690 ms 8.219 ms 7.790 ms 7.905 ms 7.493 ms 7.675 ms 6.910 ms 8.641 ms 11.029 ms 4 10.0.64.145 (10.0.64.145) 9.898 ms 9.504 ms 9.864 ms 10.185 ms 9.815 ms 9.976 ms * * * * 5 texekspert.lsr01-kiev-vlan3416.top.net.ua (77.88.206.213) 4.688 ms 5.128 ms 5.229 ms 5.523 ms 4.449 ms 2.816 ms 3.208 ms 2.921 ms 3.594 ms 3.397 ms 6 te2-0-0.lr01.kbp.l9.topnet.ua (77.88.206.6) 3.979 ms 3.677 ms 4.017 ms 3.235 ms 3.694 ms 4.640 ms 5.292 ms 4.658 ms 5.114 ms 5.127 ms 7 ar3-ge-uk-topnet.google.com (88.81.240.166) 5.607 ms 5.587 ms 4.676 ms 5.103 ms 8.314 ms 8.296 ms 8.757 ms 7.616 ms 6.412 ms 7.561 ms 8 209.85.241.54 (209.85.241.54) 5.636 ms 209.85.249.22 (209.85.249.22) 42.877 ms 209.85.241.54 (209.85.241.54) 5.581 ms 209.85.249.22 (209.85.249.22) 42.099 ms 42.612 ms 40.054 ms 43.600 ms 43.294 ms 209.85.241.54 (209.85.241.54) 4.739 ms 209.85.249.22 (209.85.249.22) 42.043 ms 9 72.14.239.60 (72.14.239.60) 46.270 ms 72.14.236.68 (72.14.236.68) 58.095 ms 72.14.239.60 (72.14.239.60) 41.360 ms 72.14.239.14 (72.14.239.14) 27.378 ms 72.14.239.60 (72.14.239.60) 40.611 ms 40.416 ms 40.746 ms 72.14.236.68 (72.14.236.68) 57.717 ms 72.14.239.60 (72.14.239.60) 39.842 ms 72.14.236.68 (72.14.236.68) 41.272 ms ... 21 * * * * * * * * * * 22 * * * * * * * * * * 23 * * * * * * * * * * 24 * * * * * * * * * * 25 * * * * * * * * * * 26 * * * * * * * * * * 27 * * * * * * * * * * 28 * * * * * * * * * * 29 * * * * * * * * * * 30 * * * * * * * * * * |
#ifconfig
eth1 Link encap:Ethernet HWaddr 00:16:3e:00:01:03 inet addr:192.168.30.62 Bcast:192.168.30.63 Mask:255.255.255.192 inet6 addr: fe80::216:3eff:fe00:103/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:180482 errors:0 dropped:33 overruns:0 frame:0 TX packets:150366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:136484640 (130.1 MiB) TX bytes:26816720 (25.5 MiB) Interrupt:10 Base address:0x8100 eth2 Link encap:Ethernet HWaddr 00:16:3e:00:02:03 ... RX bytes:19462180 (18.5 MiB) TX bytes:117231676 (111.8 MiB) Interrupt:11 Base address:0x2200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16432 errors:0 dropped:0 overruns:0 frame:0 TX packets:16432 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81170094 (77.4 MiB) TX bytes:81170094 (77.4 MiB) |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.30.192 192.168.30.126 255.255.255.192 UG 0 0 0 eth2 192.168.30.128 192.168.30.126 255.255.255.192 UG 0 0 0 eth2 192.168.30.64 0.0.0.0 255.255.255.192 U 0 0 0 eth2 192.168.30.0 0.0.0.0 255.255.255.192 U 0 0 0 eth1 0.0.0.0 192.168.30.1 0.0.0.0 UG 0 0 0 eth1 |
#traceroute -p3 ya.ru
![]() traceroute to ya.ru (87.250.251.3), 30 hops max, 60 byte packets 1 192.168.30.1 (192.168.30.1) 1.803 ms 2.101 ms 1.884 ms 2 net.nt (192.168.16.254) 11.499 ms 10.841 ms 11.029 ms 3 10.0.3.4 (10.0.3.4) 11.117 ms 11.220 ms 11.184 ms 4 10.0.64.145 (10.0.64.145) 11.271 ms 12.053 ms 12.358 ms 5 texekspert.lsr01-kiev-vlan3416.top.net.ua (77.88.206.213) 12.355 ms 12.424 ms 12.386 ms 6 yandex-10g-gw.ix.net.ua (195.35.65.88) 14.791 ms 8.915 ms 7.683 ms 7 panas-vlan601.yandex.net (87.250.233.69) 28.119 ms 63.603 ms 63.218 ms 8 l3-dante-panas.yandex.net (213.180.213.118) 24.485 ms 27.426 ms 26.750 ms 9 213.180.213.102 (213.180.213.102) 26.907 ms 26.417 ms 26.800 ms 10 l3-s3200-s1300.yandex.net (213.180.213.69) 26.167 ms 26.542 ms 26.053 ms 11 * * * 12 * * * 13 * * * 14 * * * 15 * * * 16 *^C |
#traceroute -p64235 ya.ru
traceroute to ya.ru (87.250.250.203), 30 hops max, 60 byte packets 1 192.168.30.1 (192.168.30.1) 1.780 ms 1.150 ms 1.976 ms 2 fobos.net.nt (192.168.16.254) 3.648 ms 5.917 ms 5.221 ms 3 10.0.3.4 (10.0.3.4) 4.023 ms 12.393 ms 12.338 ms 4 10.0.64.145 (10.0.64.145) 12.107 ms 11.691 ms 13.207 ms 5 texekspert.lsr01-kiev-vlan3416.top.net.ua (77.88.206.213) 12.213 ms 13.420 ms 12.649 ms 6 yandex-10g-gw.ix.net.ua (195.35.65.88) 11.912 ms 12.593 ms 11.876 ms 7 panas-vlan601.yandex.net (87.250.233.69) 34.958 ms 33.929 ms 33.332 ms 8 l3-dante-panas.yandex.net (213.180.213.118) 30.828 ms 32.158 ms 24.384 ms 9 213.180.213.102 (213.180.213.102) 33.132 ms 32.228 ms 32.180 ms 10 l3-s3600-s1300.yandex.net (213.180.213.75) 31.456 ms 30.896 ms 31.100 ms 11 www.yandex.ru (87.250.250.203) 30.307 ms 30.652 ms 29.172 ms |
#traceroute -p45654 ya.ru
traceroute to ya.ru (87.250.250.3), 30 hops max, 60 byte packets 1 192.168.30.1 (192.168.30.1) 1.959 ms 1.160 ms 1.630 ms 2 net.nt (192.168.16.254) 5.422 ms 5.493 ms 4.808 ms 3 10.0.3.4 (10.0.3.4) 4.925 ms 14.287 ms 15.782 ms 4 10.0.64.145 (10.0.64.145) 13.560 ms 12.830 ms 12.589 ms 5 texekspert.lsr01-kiev-vlan3416.top.net.ua (77.88.206.213) 12.920 ms 12.875 ms 12.751 ms 6 yandex-10g-gw.ix.net.ua (195.35.65.88) 12.848 ms 12.044 ms 11.984 ms 7 panas-vlan601.yandex.net (87.250.233.69) 34.614 ms 34.853 ms 34.940 ms 8 l3-dante-panas.yandex.net (213.180.213.118) 35.658 ms 35.677 ms 24.700 ms 9 213.180.213.102 (213.180.213.102) 26.145 ms 26.385 ms 26.512 ms 10 l3-s3600-s1300.yandex.net (213.180.213.75) 32.834 ms 32.851 ms 34.505 ms 11 www.yandex.ru (87.250.250.3) 31.663 ms 33.395 ms 33.465 ms |
#traceroute -p8987 ya.ru
![]() traceroute to ya.ru (77.88.21.3), 30 hops max, 60 byte packets 1 192.168.30.1 (192.168.30.1) 2.626 ms 1.646 ms 1.549 ms 2 fobos.net.nt (192.168.16.254) 5.281 ms 2.530 ms 4.994 ms 3 10.0.3.4 (10.0.3.4) 16.609 ms 13.541 ms 14.611 ms 4 10.0.64.145 (10.0.64.145) 12.937 ms 12.221 ms 12.377 ms 5 texekspert.lsr01-kiev-vlan3416.top.net.ua (77.88.206.213) 10.889 ms 10.907 ms 10.215 ms 6 yandex-10g-gw.ix.net.ua (195.35.65.88) 10.214 ms 8.064 ms 6.994 ms 7 panas-vlan601.yandex.net (87.250.233.69) 33.004 ms 32.785 ms 45.564 ms 8 l3-dante-panas.yandex.net (213.180.213.118) 32.609 ms 26.045 ms 28.252 ms 9 213.180.213.102 (213.180.213.102) 28.390 ms 28.639 ms 28.800 ms 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 *^C |
#traceroute -p8988 ya.ru
![]() traceroute to ya.ru (213.180.204.3), 30 hops max, 60 byte packets 1 192.168.30.1 (192.168.30.1) 2.150 ms 4.775 ms 2.440 ms 2 net.nt (192.168.16.254) 3.129 ms 2.911 ms 2.924 ms 3 10.0.3.4 (10.0.3.4) 5.561 ms 4.951 ms 6.600 ms 4 10.0.64.145 (10.0.64.145) 5.658 ms 5.060 ms 4.754 ms 5 texekspert.lsr01-kiev-vlan3416.top.net.ua (77.88.206.213) 4.075 ms 7.821 ms 6.989 ms 6 yandex-10g-gw.ix.net.ua (195.35.65.88) 6.934 ms 14.442 ms 14.613 ms 7 panas-vlan601.yandex.net (87.250.233.69) 31.515 ms 31.798 ms 31.831 ms 8 l3-dante-panas.yandex.net (213.180.213.118) 26.709 ms 26.977 ms 30.589 ms 9 213.180.213.102 (213.180.213.102) 30.484 ms 30.912 ms 31.011 ms 10 * * * 11 * * * 12 * * * 13 * * * 14 * * * 15 *^C |
#date
Втр Дек 13 17:32:08 EET 2011 |
#date
Втр Дек 13 17:32:14 EET 2011 |
#man traceroute
|
#traceroute -m 100 ya.ru
traceroute to ya.ru (213.180.193.3), 100 hops max, 60 byte packets 1 192.168.30.1 (192.168.30.1) 1.318 ms 1.727 ms 2.132 ms 2 net.nt (192.168.16.254) 3.894 ms 2.836 ms 2.967 ms 3 10.0.3.4 (10.0.3.4) 8.122 ms 7.547 ms 8.159 ms 4 10.0.64.145 (10.0.64.145) 7.544 ms 6.927 ms 7.170 ms 5 texekspert.lsr01-kiev-vlan3416.top.net.ua (77.88.206.213) 6.400 ms 7.071 ms 6.504 ms 6 yandex-10g-gw.ix.net.ua (195.35.65.88) 6.858 ms 9.288 ms 8.838 ms 7 panas-vlan601.yandex.net (87.250.233.69) 33.411 ms 33.477 ms 33.876 ms 8 l3-dante-panas.yandex.net (213.180.213.118) 24.122 ms 25.084 ms 25.538 ms 9 213.180.213.102 (213.180.213.102) 26.048 ms 26.561 ms 28.118 ms 10 * * * 11 www.yandex.ru (213.180.193.3) 27.859 ms 29.647 ms 29.424 ms |
#vim /etc/host
![]() |
#vim /etc/hosts.allow
--- /tmp/l3-saved-9744.10771.22536 2011-12-14 09:40:44.000000000 +0200 +++ /etc/hosts.allow 2011-12-14 09:41:08.000000000 +0200 @@ -10,7 +10,7 @@ # rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8) # for further information. # -#sshd : 192.168.30.1 +sshd : 192.168.30.1 chargen : 192.168.30. time : 127.0.0.1 date : 127.0.0.1 |
#ifconfig \
> eth1 Link encap:Ethernet HWaddr 00:16:3e:00:01:03 inet addr:192.168.30.62 Bcast:192.168.30.63 Mask:255.255.255.192 inet6 addr: fe80::216:3eff:fe00:103/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:285382 errors:0 dropped:33 overruns:0 frame:0 TX packets:255057 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:150303284 (143.3 MiB) TX bytes:34177111 (32.5 MiB) Interrupt:10 Base address:0x8100 ... RX bytes:24293571 (23.1 MiB) TX bytes:129899170 (123.8 MiB) Interrupt:11 Base address:0x2200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16432 errors:0 dropped:0 overruns:0 frame:0 TX packets:16432 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81170094 (77.4 MiB) TX bytes:81170094 (77.4 MiB) |
#ping 4.8
PING 4.8 (4.0.0.8) 56(84) bytes of data. 64 bytes from 4.0.0.8: icmp_req=1 ttl=51 time=114 ms 64 bytes from 4.0.0.8: icmp_req=2 ttl=51 time=113 ms 64 bytes from 4.0.0.8: icmp_req=3 ttl=51 time=114 ms ^C --- 4.8 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 113.864/114.295/114.704/0.440 ms |
#man ping
|
#traceroute --help
Usage: traceroute [ -46dFITnreAUV ] [ -f first_ttl ] [ -g gate,... ] [ -i device ] [ -m max_ttl ] [ -N squeries ] [ -p port ] [ -t tos ] [ -l flow_label ] [ -w waittime ] [ -q nqueries ] [ -s src_addr ] [ -z sendwait ] host [ packetlen ] Options: -4 Use IPv4 -6 Use IPv6 -d --debug Enable socket level debugging -F --dont-fragment Do not fragment packets -f first_ttl --first=first_ttl Start from the first_ttl hop (instead from 1) -g gate,... --gateway=gate,... ... `-F -N 1' --back Guess the number of hops in the backward path and print if it differs -V --version Print version info and exit --help Read this help and exit Arguments: + host The host to traceroute to packetlen The full packet length (default is the length of an IP header plus 40). Can be ignored or increased to a minimal allowed value |
#ifconfig
eth1 Link encap:Ethernet HWaddr 00:16:3e:00:01:03 inet addr:192.168.30.62 Bcast:192.168.30.63 Mask:255.255.255.192 inet6 addr: fe80::216:3eff:fe00:103/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:285882 errors:0 dropped:33 overruns:0 frame:0 TX packets:255440 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:150358732 (143.3 MiB) TX bytes:34254821 (32.6 MiB) Interrupt:10 Base address:0x8100 eth2 Link encap:Ethernet HWaddr 00:16:3e:00:02:03 ... RX bytes:24303993 (23.1 MiB) TX bytes:129930957 (123.9 MiB) Interrupt:11 Base address:0x2200 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16432 errors:0 dropped:0 overruns:0 frame:0 TX packets:16432 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:81170094 (77.4 MiB) TX bytes:81170094 (77.4 MiB) |
#traceroute -6 fe80::216:3eff:fe00:203
![]() traceroute to fe80::216:3eff:fe00:203 (fe80::216:3eff:fe00:203), 30 hops max, 80 byte packets connect: Недопустимый аргумент |
#traceroute -6 fe80::216:3eff:fe00:203/64
![]() fe80::216:3eff:fe00:203/64: Имя или служба не известны Cannot handle "host" cmdline arg `fe80::216:3eff:fe00:203/64' on position 1 (argc 2) |
#clear
|
#locale
LANG=ru_RU.UTF-8 LANGUAGE=ru_UA:ru LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL= |
#apt-get install netc
![]() netcat netcat-openbsd netcdf-bin netcdf-doc netcat6 netcat-traditional netcdf-dbg |
#vim /etc/services
|
#Login Host Protocol (TACACS)
SSH-2.0-OpenSSH_5.5p1 Debian-6+squeeze1 Protocol mismatch. |
#nmap fobos.net.nt
Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-14 10:21 EET Interesting ports on net.nt (192.168.16.254): Not shown: 986 closed ports PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 111/tcp open rpcbind 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3128/tcp open squid-http 5900/tcp open vnc 5901/tcp open vnc-1 5902/tcp open vnc-2 5903/tcp open vnc-3 5904/tcp open unknown 5906/tcp open unknown 5907/tcp open unknown 8002/tcp open teradataordbms Nmap done: 1 IP address (1 host up) scanned in 2.75 seconds |
#nc fobos.net.nt 594
![]() fobos.net.nt [192.168.16.254] 594 (?) : Connection refused |
#nc fobos.net.nt 5904
![]() RFB 003.008 ^C |
#nc fobos.net.nt 5906
![]() RFB 003.008 ^C |
#nc fobos.net.nt 111
![]() ^C |
#nmap fobos.net.nt
Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-14 10:22 EET Interesting ports on net.nt (192.168.16.254): Not shown: 986 closed ports PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 111/tcp open rpcbind 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3128/tcp open squid-http 5900/tcp open vnc 5901/tcp open vnc-1 5902/tcp open vnc-2 5903/tcp open vnc-3 5904/tcp open unknown 5906/tcp open unknown 5907/tcp open unknown 8002/tcp open teradataordbms Nmap done: 1 IP address (1 host up) scanned in 3.31 seconds |
#nmap -p 1-3600 fobos.net.nt
Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-14 10:22 EET Interesting ports on fobos.net.nt (192.168.16.254): Not shown: 3594 closed ports PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 111/tcp open rpcbind 139/tcp open netbios-ssn 445/tcp open microsoft-ds 3128/tcp open squid-http Nmap done: 1 IP address (1 host up) scanned in 8.03 seconds |
#nmap -p 1-3600 192.168.30.1
Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-14 10:23 EET Interesting ports on 192.168.30.1: Not shown: 3596 closed ports PORT STATE SERVICE 19/tcp open chargen 21/tcp open ftp 22/tcp open ssh 111/tcp open rpcbind MAC Address: 00:16:3E:00:02:01 (Xensource) Nmap done: 1 IP address (1 host up) scanned in 8.22 seconds |
#telnet 192.168.30.1 3500
![]() Trying 192.168.30.1... Connected to 192.168.30.1. Escape character is '^]'. # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda1 during installation UUID=b4234bba-5b90-4722-b77f-fa4bd077f506 / ext3 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=c27bb668-9a42-4c67-b4d1-4a2ff88aedfe none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 Connection closed by foreign host. |
#nmap 192.168.16.22
Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-14 10:27 EET Interesting ports on 192.168.16.22: Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 23/tcp open telnet 24/tcp open priv-mail Nmap done: 1 IP address (1 host up) scanned in 8.04 seconds |
#telnet 192.168.16.22 24
WJ~´¯÷ñ{b+ÄzmYJÈhJì[2©s»n𣫬ȧ¥àUsþJÏ ®êVf¶ÁAöVnv¨ÑýÈÇLä2ÛKx\ ×Â;b¤pÂÇSqú&hBÑþ;.ÏHé]ª¾D4Yo½Ao³¦¡4PÛÂë%;eYòcû{¿¼ãm{JF*cÐ^ô^e²psíÊ>)ÝAs¦Y,,QbÔê飬ɻB(!%i^È¢æQ¢,Ïq6âíÞzZиá!ëõ>À«Ìhßݹ¶Ð§osЪRä<è ÏDaíM¥2%¡ÇÊ)1 ½8©æb¨p¡ ñtI¯XΦPV¢l ¨%YE_¸[ì{Â*ÇoºÙ¼Åõñ4Ù4Í#½]\ÝÚ"úèGÊX¤ÔÙ2@jã°e¤ÌX ìD3DÖ³}ò s~II]¡ÛÙ 'ÉÅ{« Qmç(:`¯ºåó}U½økm/:]ð´"ø¼øj$tËoâ±*Ä_'NQv½5þûkÉ}Tóe¼ØF<|)@ò(ȱô±OW ¨%ıs bYé ±Þ{û2½~yÔÖÙGàb¡ïy)JKÖ"Ü"Èr"K§rávþ¢·YÛW÷ «¦ml¦@á¾Ñ9öÏäÃg^p½:0&ïkq%ðxfØ/Ä'ÀÁ~zÚ1ÝÜW«ò[ü-Ôd:ÁK f¼H8ey¢^»7öWA[Ϭ[ÑFu«»:jLû¬¸6F(UFºèKóõKFA6ÈÅ#<z·/COþk15~ìãι-& _GÀÊ÷8vÖ,Ã! wl½¥^ø@ܤ`ÓÆRú5ùwÔÜPT»ö|¯Ä ´¯@ÒG(¢Yv¬&©ä^eàXÌzq¦ q3<L&¥ @ãøê.¥ªz¡ Φ9 ¯ÌÊ*s,ð^âÚl©Ê¦Þy·ÀyXçV¥÷®³vôΪb(ÔÅégÌ~(ÔH=ô2=eË"4ºÅä´ *ÚFÄöâ 3vtI_Ñ$îtåÓK÷ÀȲìÏoBÅ´T´p¹Ýi$Ê·Ö±T0LY{ߣl&·Ú4бrܯ!¯9 ª(KätäÔ¢»®.Ìp©ûÃCzµBàBá½PIÈjhPqH:þÂÆòjKö>û /Â-£¥x¦ ... "[j¨:tÞµ]êÁo ,¢Á¦ó·E ÎbN¨AÅ(Ãä|¬ INê.äK J¾S±¿Øôe{ü·Ã¥ß4ãaXáMi¬¬ÄÝ?R)q6Qùdöý±«o{ƹÉ&Z2àkÄN±r½þ $ä;h¡ ¥9JÆ? ùu"hBú»QÊ9V¤»Âô±{[ä]sø¬%r4ûåâI¸7àLí05Æ>ÏI[|âeo µSܧú¶&CÈ(¦ó`mØ~ æütò¬«Ï:b9I4ÔȽDaNlCÁNʼ.ÑZ<Fñ]w0~Ë¢_û³ÚwúÇ}JU]õèKV&ßâÙ u)³»#½ó°T!jv~]l3DoN &µU@Q{ÝÑÎÄÝ®¢{£©äÒ§¯<®Å¯Wt¦·ã >ÙÒ»sM87árDdããØ´¬¿¾¯3£Mu9'ξÑå8ý<ú!ò?ÁêÄÔì½1ôz!X%N*oAs·ßKïåÝgåÍÈc)AP±(j.[Ççð2Úg7ÖéBüóÙu ¸&(J7¤þ.îø)ÌÂ~G%lUp[)oïs\|© T $ö ¼´8xÓÔ;Zõa61ÄÂQzðub¤ØzÂóR5³¼êô°¿Õ`lÂÞó÷+°g3v0T¼dqõcTÓ&]hÄÜÒjo¹ÌØ1ãÄ\ú°æ¶Qe N*¥r'3l7w½®pTæò&åÙ,k¤·K¼9sXÅbhL.Íü!;"PZôÀR£RåQó2Zw 5ÜÀ0wI#}ß×tUÆií vv-S8ÉYôò[(øØ5®È5(ä㪰s5aö³218fz©³^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2c^[[?1;2cq^] X´ª³L6²Õ%£.·ky*µ¿4Ó]w0Xo£s¾3^ª«+¼£Ì{¦]¯¢¯.ÑKoÏvìaGÚÕÞxó*T7£¥³èüv¨Éió£2b^xEp|ÎËqLOTè²6ïd2õ1¨2³»¤n^-ÝO^Ä telnet> clo Connection closed. |
#telnet 192.168.30.1 24
![]() Trying 192.168.30.1... telnet: Unable to connect to remote host: Connection refused |
#man tar
|
#man netcat
|
#netcat -w 192.168.30.1 3000
![]() no port[s] to connect to |
#^C
![]() |
|