Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




pen-test logo Penetration Testing mailing list archives

Re: Comprehensive firewall test using Nmap?
From: Bill Weiss <houdini+pen-test () clanspum net>
Date: Sat, 23 Aug 2008 13:32:07 -0600

Gabriele Brosulo(brosulo () edisoft net)@Thu, Aug 21, 2008 at 11:08:02AM +0200:
On Thursday 21 August 2008 09:00:02 Alexander Sandstr?m Krantz A wrote:
Is it possible to automatically alter the source port when using Nmap to
test a firewall?

Apparently it's not possible. I tryed this:

nmap -sS -P0 -g 2000-2010 127.0.0.1

but all packet comes from port 2000. Does anybody know a workaround? The only 
way I thinked about is to use a script to randomize source port on a dest 
port base, but I think it will be not efficient..

Hmm...

$ man nmap | grep -- -g
             -g/--source-port <portnum>: Use given port number

That doesn't look like it takes a range.

-- 
Bill Weiss

------------------------------------------------------------------------
This list is sponsored by: Cenzic

Top 5 Common Mistakes in 
Securing Web Applications
Get 45 Min Video and PPT Slides

www.cenzic.com/landing/securityfocus/hackinar
------------------------------------------------------------------------


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]