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?

Doug

Attachment: signature.asc
Description: Digital signature


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: