
Nmap Development mailing list archives
Re: nmap-poll branch results
From: David Fifield <david () bamsoftware com>
Date: Fri, 28 Aug 2009 14:05:05 -0600
On Wed, Aug 26, 2009 at 04:01:10PM +0200, Florian Vichot wrote:
I realise I may be a little late to the conversation, but why not use something like libevent (http://www.monkey.org/~provos/libevent/)? It provides an abstraction layer for select and poll, as well as more advanced options like epoll and kqueue, and event ports on Solaris. It also supports Windows. It's a well maintained, BSD-licensed library, used by Honeyd and Tor. Any reason why not ?
Nsock and libevent are libraries with a similar purpose. I haven't used libevent but I bet it could be made to do most of what we use Nsock for. There hasn't been any compelling reason to want to switch from Nsock though, and Nsock's use of select has been performant enough for what we use it for. The problem we ran into lately is that select can only handle a certain number of file descriptors, which can affect people running big and fast scans. Here is a comparison of the two libraries written by Nmap developer Marek Majkowski. http://popcnt.org/2007/11/trinity-choice-nsock-over-libevent.html David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- nmap-poll branch results J Marlow (Aug 25)
- Re: nmap-poll branch results Florian Vichot (Aug 26)
- Re: nmap-poll branch results David Fifield (Aug 28)
- Re: nmap-poll branch results majek04 (Aug 31)
- Re: nmap-poll branch results David Fifield (Aug 28)
- Re: nmap-poll branch results Florian Vichot (Aug 26)