[Bro-Dev] [JIRA] (BIT-1134) DNS_Mgr::LookupAddr does not respect DNS_FAKE
seth at icir.org
Fri Feb 14 09:49:33 PST 2014
On Feb 14, 2014, at 11:00 AM, Robin Sommer <robin at icir.org> wrote:
> Also, I'm wondering if our test suite should set BRO_DNS_FAKE
> generally. It's not great because it changes quite a bit what's
> happening; on the other hand doing all the lookups every time the
> suite runs isn't ideal either.
I have a slightly different angle on that. I think it's reasonable to set BRO_DNS_FAKE (assuming it works more completely than it currently does) for the tests because eventually I don't think that the scripts in policy will be part of the base Bro distribution forever and I think it's reasonable to have them tested separately and with all the caveats that accompany testing those scripts.
For the moment though, I still think it's reasonable though since our test suite shouldn't be relying on external DNS servers returning the same information forever. Perhaps we should come up with more general tests for testing that stuff to make sure that external services are still working and working like we expect them to. For example, if Team Cymru changed the output of their MHR service it would be nice to have a test that catches that so we can update appropriately but is not normally run for the performance testing.
International Computer Science Institute
(Bro) because everyone has a network
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20140214/c52a2993/attachment.bin
More information about the bro-dev