From d07f399f3dc1dc67a57a04a5062f3ef356451062 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 2 Oct 2006 02:06:28 +0000 Subject: Use new nmap directory --- packages/nmap.xml | 81 ------------------------------------------------------- pkg_config.xml | 2 +- 2 files changed, 1 insertion(+), 82 deletions(-) delete mode 100644 packages/nmap.xml diff --git a/packages/nmap.xml b/packages/nmap.xml deleted file mode 100644 index 33db2a2e..00000000 --- a/packages/nmap.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - nmap - 3.70 - Diagnostics: NMap - true - yes - Scan - - - NMap - NMap is a utility for network exploration or security auditing. It supports ping scanning (determine which hosts are up), many port scanning techniques (determine what services the hosts are offering), version detection (determine what application/service is runing on a port), and TCP/IP fingerprinting (remote host OS or device identification). It also offers flexible target and port specification, decoy/stealth scanning, SunRPC scanning, and more. Most Unix and Windows platforms are supported in both GUI and command line modes. Several popular handheld devices are also supported, including the Sharp Zaurus and the iPAQ. -
Diagnostics
- nmap.xml -
- - - - IP or Hostname - hostname - Enter the IP address or hostname that you would like to scan. - input - - - -sT - option - This is the most basic form of TCP scanning. The connect() system call provided by your operating system is used to open a connection to every interesting port on the machine. If the port is listening, connect() will succeed, oth- erwise the port isn't reachable. One strong advantage to this technique is that you don't need any special privileges. Anyuser on most UNIX boxes is free to use this call. - radio - TCP connect() scan. - - - -sP - option - Ping scanning: Sometimes you only want to know which hosts on a network are up. Nmap can do this by sending ICMP echo request packets to every IP address on the networks you specify. Hosts that respond are up. Unfortunately, some sites such as microsoft.com block echo request packets. Thus nmap can also send a TCP ack packet to (by default) port 80. If we get an RST back, that machine is up. A third technique involves sending a SYN packet and waiting for a RST or a SYN/ACK. For non-root users, a connect() method is used. - radio - Ping scanning - - - -sU - option - This method is used to determine which UDP (User Datagram Protocol, RFC 768) ports are open on a host. The tech- nique is to send 0 byte UDP packets to each port on the target machine. If we receive an ICMP port unreachable message, then the port is closed. Otherwise we assume it is open. Unfortunately, firewalls often block the port unreachable messages, causing the port to appear open. Sometimes an ISP will block only a few specific dangerous ports such as 31337 (back orifice) and 139 (Windows NetBIOS), making it look like these vulnerable ports are open. So don't panic immediately. Unfortunately, it isn't always trivial to differentiate between real open UDP ports and these filtered false-positives. - radio - UDP Scanning - - - -P0 - Do not try to ping hosts at all before scanning them. - noping - This allows the scanning of networks that don't allow ICMP echo requests (or responses) through their firewall. microsoft.com is an example of such a network, and thus you should always use -P0 or -PT80 when portscanning microsoft.com. Note tht "ping" in this contect may involve more than the traditional ICMP echo request packet. Nmap supports many such probes, including arbi- trary combinations of TCP, UDP, and ICMP probes. By default, Nmap sends an ICMP echo request and a TCP ACK packet to port 80. - checkbox - - - -sV - Try to identify service versions - servicever - After TCP and/or UDP ports are discovered using one of the other scan methods, version detection communicates with those ports to try and determine more about what is actually running. A file called nmap-service-probes is used to determine the best probes for detecting various services and the match strings to expect. Nmap tries to determine the service protocol (e.g. ftp, ssh, telnet, http), the application name (e.g. ISC Bind, Apache httpd, Solaris telnetd), the version number, and sometimes miscellaneous details like whether an X server is open to connections or the SSH protocol version) - checkbox - - - -O - Turn on OS detection - osdetect - This option activates remote host identification via TCP/IP fingerprinting. In other words, it uses a bunch of techniques to detect subtleties in the underlying operating system network stack of the computers you are scanning. It uses this informa- tion to create a "fingerprint" which it compares with its database of known OS fingerprints (the nmap-os-fingerprints file) to decide what type of system you are scanning - checkbox - - - - - - $nmap_options = ""; - if($_POST['option'] == "-sT: TCP connect() scan.") $nmap_options .= " -sT"; - if($_POST['option'] == "-sP: Ping scanning") $nmap_options .= " -sP"; - if($_POST['option'] == "-sU: UDP Scanning") $nmap_options .= " -sU"; - if($_POST['noping']) $nmap_options .= " -P0"; - if($_POST['servicever']) $nmap_options .= " -sV"; - if($_POST['osdetect']) $nmap_options .= " -O"; - $nmap_options .= " " . $_POST['hostname']; - system("/usr/local/bin/nmap" . $nmap_options); - -
diff --git a/pkg_config.xml b/pkg_config.xml index a13a77d0..23e2a889 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -67,7 +67,7 @@ Security http://www.pfsense.com/packages/All/ nmap-4.11.tbz - http://www.pfsense.com/packages/config/nmap.xml + http://www.pfsense.com/packages/config/nmap/nmap.xml 4.11 1.0-RC2 nmap.xml -- cgit v1.2.3