Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: NSE / nsock library questions
From: doug () hcsw org
Date: Thu, 22 May 2008 20:42:25 -0700

On Fri, May 23, 2008 at 12:13:52AM +0200 or thereabouts, majek04 wrote:
But the good
thing is that you can have many _outgoing_ connections from
one port.

Excellent point! As long as you're not attempting to connect to
the same destination host/port, you can still bind() multiple
sockets to the same source port. But ya, as someone mentioned,
there are still a few minor implementation problems:

* What if an application is listening on that port? Does it give
  up or use another port?
* I suppose NSE would need to know which scripts bind() to a port
  below 1025 so it can ensure they run with root privs.
* Does win32 allow you to bind source ports?


Attachment: signature.asc
Description: Digital signature

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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