Re: Bug#584301: nmap broken with resolver setting 'options inet6'.
On Fri, Jun 04, 2010 at 08:13:48PM +0200, Mats Erik Andersson wrote:
> fredag den 4 juni 2010 klockan 14:08 skrev Mats Erik Andersson detta:
>
> Is innocent! So are a multitude of other calls to gethostbyname(3).
>
> > to be at the source of the problem. I will conduct a further study
> > to better localize the faulty behaviour, be it mine or the archived
> > software.
>
> The culprit acts in
>
> TargetGroup.cc lines 214 -- 237.
>
> The code does not seem easily maintainable, so I can offer no quick
> resolution. Let me just remark that the easiest testing can be done
> using the call
>
> $ RES_OPTIONS=inet6 nmap -v -p 22 ipv6.google.com
>
> This avoids the insertion of 'options inet6' in '/etc/resolv.conf'.
Thanks for your report and help. We believe it is now fixed in our
latest SVN, as described here:
http://seclists.org/nmap-dev/2010/q2/899
Cheers,
-F
Reply to: