Movatterモバイル変換


[0]ホーム

URL:


Home page logo
nmap-dev logo

Nmap Developmentmailing list archives

PreviousBy DateNext
PreviousBy ThreadNext

Re: ncat - UNIX-domain sockets support


From: David Fifield <david () bamsoftware com>
Date: Mon, 10 Sep 2012 13:12:55 -0700

On Mon, Sep 10, 2012 at 10:32:09AM -0400, Tomas Hozza wrote:
I started implementing the support for UNIX-domainsockets for ncat. I implemented listening on a givensocket using the same algorithm/mechanism used forexample in ncat_listen_stream() function. I'll postthe code here later, but it is not finished yet.But when I looked on the algorithm/mechanism usedwhen connecting using for example nsock_connect_tcp()function in ncat_connect() it looked too complicatedto me for connecting to UNIX-domain sockets.I thought I could use pretty much the same mechanism used for listening (using select() in a while loop) for connecting to UNIX domain socket and not to usethe nsock code.Can I get any opinions on this, please? If anybody thinksit shouldn't be done this way, or if it could be.
I don't think we want to have a select loop separate from Nsock. It isbetter to add domain socket support to Nsock for connect mode, and notreimplement connect mode (along with everything else like delays andtelnet negotiation).Unfortunately Nsock doesn't have listening support, or we would use itfor Ncat listen mode as well.David Fifield_______________________________________________Sent through the nmap-dev mailing listhttp://cgi.insecure.org/mailman/listinfo/nmap-devArchived athttp://seclists.org/nmap-dev/

PreviousBy DateNext
PreviousBy ThreadNext

Current thread:


[8]ページ先頭

©2009-2025 Movatter.jp