Originally Posted by
MercuryV
стоит ли ждать работоспособного nmap после перехода на новый репозиторий? (opkg)
Стоит, собран в r259:
Code:
$ opkg list | grep -E 'nmap|ncat|nping|ndiff'
coreutils-truncate - 8.8-1 - Full version of standard GNU truncate utility. Normally, you would not
ncat - 5.51-3 - Much-improved reimplementation of Netcat
ncat-ssl - 5.51-3 - Ncat (with OpenSSL support)
ndiff - 5.51-3 - Utility to compare the results of Nmap scans
nmap - 5.51-3 - Utility for network exploration or security auditing
nmap-ssl - 5.51-3 - Nmap (with OpenSSL support)
nping - 5.51-3 - Network packet generation tool / ping utility
nyancat - 0.2-1 - Nyancat rendered in your terminal.
Только хочу предупредить, что дела с nmap обстоят так же как и в остальных OpenWRT-based прошивках:
Code:
# Copyright (C) 2011 Nuno Goncalves <nunojpg@gmail.com>
...
#TODO
# * uClibcpp not supported, performance +100x slower. libstdcpp is being used.
# https://bugs.busybox.net/show_bug.cgi?id=2545
# * liblua is still not recognized/blindly accepted.
# Impossible to compile with support
С запуском всё в порядке:
Code:
$ opkg install nmap
$ nmap -A -T4 scanme.nmap.org playground
Starting Nmap 5.51 ( http://nmap.org ) at 2012-01-12 14:14 MSK
Failed to resolve given hostname/IP: playground. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
Nmap scan report for scanme.nmap.org (74.207.244.221)
Host is up (0.20s latency).
Not shown: 997 closed ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 5.3p1 Debian 3ubuntu7 (protocol 2.0)
80/tcp open http Apache httpd 2.2.14 ((Ubuntu))
9929/tcp open nping-echo Nping echo
Device type: general purpose|WAP|firewall|phone|media device|PBX
Running (JUST GUESSING): Linux 2.6.X|2.4.X (96%), Netgear embedded (93%), Linksys embedded (92%), Check Point embedded (90%), ZyXEL Linux .6.X (89%)
Aggressive OS guesses: Linux 2.6.24 - 2.6.35 (96%), Linux 2.6.17 - 2.6.35 93%), Linux 2.6.19 - 2.6.35 (93%), Linux 2.6.9 - 2.6.30 (93%), Netgear DG834G WAP (93%), Linux 2.6.19 - 2.6.36 (92%), Linksys WRV54G WAP 92%), Linux 2.6.31 (91%), OpenWrt (Linux 2.4.32) (91%), Linux 2.6.34 (90%)
No exact OS matches for host (test conditions non-ideal).
Network Distance: 9 hops
Service Info: OS: Linux
TRACEROUTE (using port 1025/tcp)
HOP RTT ADDRESS
1 0.86 ms 92.241.127.254
2 0.83 ms 78.25.64.65
3 54.21 ms 20gigabitethernet4-3.core1.fra1.he.net (80.81.192.172)
4 61.46 ms 10gigabitethernet1-2.core1.par1.he.net (72.52.92.89)
5 140.46 ms 10gigabitethernet7-1.core1.ash1.he.net (184.105.213.93)
6 207.27 ms 10gigabitethernet7-4.core1.pao1.he.net (184.105.213.177)
7 252.51 ms 10gigabitethernet1-2.core1.fmt1.he.net (184.105.213.65)
8 213.29 ms 10gigabitethernet1-2.core1.fmt1.he.net (184.105.213.65)
9 196.33 ms scanme.nmap.org (74.207.244.221)
OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 41.05 seconds
Пожалуйста, отпишитесь о результатах тестирования.