Nmap Development mailing list archives

Re: ncat v6.4 listen mode


From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 17 Jun 2015 23:44:59 -0500

I believe this should be fixed in r34671. The problem was that on Solaris,
struct sockaddr does not have a sa_len member, so we were falling back to
using sizeof(struct sockaddr_storage) in the call to bind(), which is much
too big. I've cleared this up for Ncat's listen mode and for connect mode
where -s or -p were used, but it looks like this might affect some parts of
Nmap itself like the -g, -S, or -e options. I'm tracking this possible
problem as #167 until I can do a more thorough check.

You can get the fix by using the development trunk, or you can try to use
the change linked from the Github bug page (#166) when that syncs with our
Subversion repository.

Dan

On Wed, Jun 17, 2015 at 10:36 PM, Daniel Miller <bonsaiviking () gmail com>
wrote:

Brandon,

Thanks for the bug report. I confirm that this is still an issue in Nmap
6.49BETA2 and our development trunk. We will be tracking this bug on our
issue tracker: http://issues.nmap.org/166

Dan

On Wed, Jun 17, 2015 at 4:45 PM, Brandon Haberfeld <
BrandonH () investec co za> wrote:

 Is there a bug with ncat 6.40 on Soalris where listen mode simply
doesn’t bin to any interface.

All attempt to run listen mode given some form of the error:



Ncat: bind to :::<port>: Invalid argument: QUITTING





Regards,



*Brandon Haberfeld*





ITS  Platform Services  |  Unix Business Services



*brandon.haberfeld () investec co za <brandonh () investec co za>*





*Telephone*



+27112867523



*Facsimille*



+27112916555



*Mobile*



+27828532211





*Client Support Centre*



+27112869663 / 0860110161







[image: cid:image001.png@01CFC77D.F0AAAB70]







www.investec.com • Facebook
<http://www.facebook.com/InvestecSponsorships> • Twitter
<https://twitter.com/> • YouTube <http://www.youtube.com/investec>







[image: cid:image003.png@01CFC77D.F0AAAB70]





This e-mail and any attachments thereto may contain confidential and
proprietary information.

This e-mail is intended for the addressee only and should only be used by
the addressee for the related purpose. If you are not the intended
recipient of this e-mail, you are requested to delete it immediately. Any
disclosure, copying, distribution of or any action taken or omitted in
reliance on this information is prohibited and may be unlawful.

The views expressed in this e-mail are, unless otherwise stated, those of
the sender and not those of the Investec Group of Companies or its
management.

E-mails cannot be guaranteed to be secure or free of errors or viruses.
No liability or responsibility is accepted for any interception,
corruption, destruction, loss, late arrival or incompleteness of or
tampering or interfering with any of the information contained in this
e-mail or for its incorrect delivery or non-delivery or for its effect on
any electronic device of the recipient.

For more information on the Investec Group of Companies see
www.investec.com.

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/



_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: