Re: Bug#584301: nmap broken with resolver setting 'options inet6'.
fredag den 4 juni 2010 klockan 14:08 skrev Mats Erik Andersson detta:
> fredag den 4 juni 2010 klockan 02:03 skrev Fyodor detta:
> > On Thu, Jun 03, 2010 at 01:38:30AM +0200, Mats Erik Andersson wrote:
>
> A quick test build, only specifying "--prefix" and "--sysconfdir",
> shows no improvement on the present issue. I suspect the file
>
> nbase/getnameinfo.c
>
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'.
Reply to: