Nmap Development mailing list archives
Problems with -S on Windows Re: Informal Nmap 3.94ALPHA1 Release
From: kx <kxmail () gmail com>
Date: Sun, 27 Nov 2005 23:58:20 -0500
In both 3.93 and 3.94 ALPHA1 on Windows I could not get -S to work, and always got the following error: nmap -S 192.168.1.2 192.168.1.1 -d9 Failed to resolve/decode supposed IPv4 source address 192.168.1.2. Note that if you are using IPv6, the -6 argument must come before -S QUITTING! While I am probably using the option incorrectly, I added a gai_strerror call after getaddrinfo in resolve in tcpip.cc and got the following: Error code 10093: Either the application has not called WSAStartup, or WSAStartup failed. This is because win_init is called after we set all of our options. Moving win_init prior to the while loop seems to fix this, and only required adding a -e eth0 to the command line to get the -S option to work. Sorry no patch, but I am unsure as to what the preferred solution would be. Cheers, kx On 11/27/05, Fyodor <fyodor () insecure org> wrote:
Nmap Developers, I am happy to announce a new test release of Nmap, with dozens of changes. You can find the goods at: http://download.insecure.org/nmap/dist/nmap-3.94ALPHA1.tar.bz2 http://download.insecure.org/nmap/dist/nmap-3.94ALPHA1.tgz http://download.insecure.org/nmap/dist/nmap-3.94ALPHA1-1.src.rpm http://download.insecure.org/nmap/dist/nmap-3.94ALPHA1-1.x86_64.rpm Please let me know if you find any problems. GPG sigs are in the sigs directory, as usual. I haven't had time to fix the reported Idle scan issues yet, nor the strange Windows reports we have seen lately. Here are the changes since 3.93: o Wrote a new man page from scratch. It is much more comprehensive (more than twice as long) and (IMHO) better organized than the previous one. Read it online at http://www.insecure.org/nmap/man/ or docs/nmap.1 from the Nmap distribution. Let me know if you have any ideas for improving it. I am also looking for translations. If you are interested in translating to a language not already found at http://www.insecure.org/nmap/nmap_documentation.html , please mail Fyodor for the DocBook XML source to translate. o Removed foreign translations of the old man page from the distribution. Included the following contributed translations (nroff format) of the new man page: Brazilian Portuguese by Lucien Raven (lucienraven(a)yahoo.com.br) o Wrote a new "help screen", which you get when running Nmap without arguments. It is also reproduced in the man page and at http://www.insecure.org/nmap/data/nmap.usage.txt . I gave up trying to fit it within a 25-line, 80-column terminal window. It is now 78 lines and summarizes all but the most obscure Nmap options. o Version detection softmatches (when Nmap determines the service protocol such as smtp but isn't able to determine the app name such as Postfix) can now parse out the normal match line fields such as hostname, device type, and extra info. For example, we may not know what vendor created an sshd, but we can still parse out the protocol number. This was a patch from Doug Hoyte (doug(a)hcsw.org). o Fixed a problem which caused UDP version scanning to fail to print the matched service. Thanks to Martin Macok (martin.macok(a)underground.cz) for reporting the problem and Doug Hoyte (doug(a)hcsw.org) for fixing it. o Made the version detection "ports" directive (in nmap-service-probes) more comprehensive. This should speed up scans a bit. The patch was done by Doug Hoyte (doug(a)hcsw.org). o Added the --webxml option, which does the same thing as --stylesheet http://www.insecure.org/nmap/data/nmap.xsl , without requiring you to remember the exact URL or type that whole thing. o Fixed a crash occured when the --exclude option was used with netmasks on certain platforms. Thanks to Adam (nmapuser(a)globalmegahost.com) for reporting the problem and to Greg Darke (starstuff(a)optusnet.com.au) for sending a patch (I modified the patch a bit to make it more efficient). o Fixed a problem with the -S and -e options (spoof/set source address, and set interface by name, respectively). The problem report and a partial patch were sent by Richard Birkett (richard(a)musicbox.net). o Fixed a possible aliasing problem in tcpip.cc by applying a patch sent in by Gwenole Beauchesne (gbeauchesne(a)mandriva.com). This problem shouldn't have had any effect on users since we already include the -fno-strict-aliasing option whenever gcc 4 is detected, but it brings us closer to being able to remove that option. o Fixed a bug that caused Nmap to crash if an nmap-service-probes file was used which didn't contain the Exclude directive. o Fixed a bunch of typos and misspellings throughout the Nmap source code (mostly in comments). This was a 625-line patch by Saint Xavier (skyxav(a)skynet.be). o Nmap now accepts target list files in Windows end-of-line format (\r\n) as well as standard UNIX format (\n) on all platforms. Passing a Windows style file to Nmap on UNIX didn't work before unless you ran dos2unix first. o Removed Identd scan support from NmapFE since Nmap no longer supports it. Thanks to Jonathan Dieter (jdieter99(a)gmx.net) for the patch. o Integrated all of the September version detection fingerprint submissions. This was done by Version Detection Czar Doug Hoyte (doug(a)hcsw.org) and resulted in 86 new match lines. Please keep those submissions coming! o Fixed a divide-by-zero crash when you specify rather bogus command-line arguments (a TCP scan with zero tcp ports). Thanks to Bart Dopheide (dopheide(a)fmf.nl) for identifying the problem and sending a patch. o Fixed a minor syntax error in tcpip.h that was causing problems with GCC 4.1. Thanks to Dirk Mueller (dmuell(a)gmx.net) for reporting the problem and sending a fix. Cheers, Fyodor _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- Problems with -S on Windows Re: Informal Nmap 3.94ALPHA1 Release kx (Nov 27)