Bart,

On Sun, Apr 1, 2018 at 8:26 AM, Bart Van Assche <bvanass...@acm.org> wrote:
> On 03/31/18 22:19, Keith Mendoza wrote:
>>
>> I personally feel that whoever is running the automated tests should
>> make the necessary changes to their environment to resolve any
>> hostname that is needed to run the tests.
>
>
> I don't have root access to the BSD and AIX systems that I use for testing
> Net-SNMP. So modifying /etc/resolv.conf or equivalent on these systems is
> not an option.

I'm wiling to take on testing BSD if you can give me the spec for the
you're using. Unfortunately, I don't  have access to an AIX hardware.

>
>> From a software development and testing point-of-view I feel that we
>> will eventually get caught in expanding the number of hostnames that
>> will have to be handled by all the hostname resolution utility
>> functions in snmplib/system.c. I haven't had a chance to do a complete
>> analysis of how many each of the *gethostbyname* function variants are
>> used through the net-snmp code base; so, I'm not going to speak as to
>> whether these changes is limited to netsnmp_gethostbyname_v4(), or
>> should be applied elsewhere.
>
>
> That's not correct. onea.net-snmp.org and twoa.net-snmp.org are the only two
> that need special handling. If more functions than
> netsnmp_gethostbyname_v4() would have to recognize these hostnames, we can
> refactor the host name resolution functions such that only one function
> needs to know about these special hostnames.

I actually found no.such.address in line 79 of T070com2sec_simple.
That host has been hijacked by barefruit.co.uk who "generates highly
targeted traffic for ISPs by replacing DNS and HTTP errors with
relevant advertising"; which is now causing the test case to fail.
Attempting to talk HTTP to the IP gave the the impression that either
my ISP is cahoots with this company; or they're intercepting the IP
back to their advertisement page. On the upside, Google's and
cloudflare's DNS are not resolving; but, that still means point your
network to use those nameservers :(

>
> Bart.
>
>
>

Thanks,
Keith

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to