Test suite on BSDI BSD/OS

The Doctor doctor at doctor.nl2k.ab.ca
Sat Jan 31 20:21:44 UTC 2009


On Sat, Jan 31, 2009 at 08:57:15PM +0100, Julien ÉLIE wrote:
> Hi Russ,
>
>>> The second one:
>>> * lib/getaddrinfo
>>>
>>>    test_getaddrinfo("foo.invalid", NULL, NULL, &ai) == EAI_NONAME
>>>
>>> is false.  There is no error -> code 0 is returned.  Should we check for
>>> one of EAI_NONAME and 0?  Or is there something else to fix?
>>
>> I think there's something else to fix, since that would imply that you're
>> getting a valid DNS return for foo.invalid.  (Chances are fairly good that
>> it's some sort of problem with the test rather than the code, but that's
>> not certain.)
>
> Digging into the contents of the variable, I see that
>    host = gethostbyname(nodename);
> sets host to "foo.invalid" when nodename is "foo.invalid".
>
> Hmm...
>
> gallifrey% host foo.invalid
> foo.invalid has address 208.67.217.132
> Host foo.invalid not found: 3(NXDOMAIN)
>
> gallifrey% host 208.67.217.132
> 132.217.67.208.in-addr.arpa domain name pointer hit-nxdomain.opendns.com.
>
>
> It seems that the open DNS server used by The Doctor redirects unknown hosts
> to their own site.  Thus, breaking the test suite.
>
>

As yes.  The opendns redicrect!
>
> As for binding to 127.0.0.1, it does not work:
>
> gallifrey% ./nnrpd -D -b 127.0.0.1 -p 1242
>
> -> Jan 31 12:51:17 gallifrey julien[732]: nnrpd[26638]: can't bind to any addresses
>
> whereas the same command works does the binding on my news server.
> Maybe it is a problem of configuration of the network or of the interfaces in BSD/OS?
>
> -- 
> Julien ÉLIE
>
> « Hey, I had to let awk be better at *something*... » (Larry Wall)
>
> _______________________________________________
> inn-workers mailing list
> inn-workers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/inn-workers
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
Member - Liberal International	
This is doctor at nl2k.ab.ca	Ici doctor at nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising! 
Birthdate: 29 Jan 1969 Redhill Surrey England

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the inn-workers mailing list