[Bro-Dev] [JIRA] (BIT-1134) DNS_Mgr::LookupAddr does not respect DNS_FAKE

Justin Azoff (JIRA) jira at bro-tracker.atlassian.net
Thu Feb 13 18:19:37 PST 2014


    [ https://bro-tracker.atlassian.net/browse/BIT-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15548#comment-15548 ] 

Justin Azoff commented on BIT-1134:
-----------------------------------

Acually, it might be more that BRO_DNS_FAKE just isn't working at all.

{code}
# cat d.bro
event bro_init()
	{
    when ( local result = lookup_hostname_txt("bro.wp.dg.cx") )
        {
        print(result);
        }
    when ( local result2 = lookup_hostname("www.google.com") )
        {
        print(result2);
        }
	}

# BRO_DNS_FAKE=1 bro -h 2>&1|grep -i dns_fa
    $BRO_DNS_FAKE                  | disable DNS lookups (on)

# BRO_DNS_FAKE=1 bro -i lo0 d.bro
listening on lo0, capture length 8192 bytes

Bro may refer to: Places in Sweden (Bro means bridge in Swedish): Bro, Sweden, a place in Upplands-Bro Municipality, Stockholm County, Bro or Broo, former town name of the city of Kristinehamn in Sweden http://en.wikipedia.org/wiki/Bro
{
74.125.228.17,
74.125.228.16,
74.125.228.20,
74.125.228.18,
74.125.228.19,
2607:f8b0:4002:c06::67
}
^Creceived termination signal
0 packets received on interface lo0, 0 dropped
{code}

> DNS_Mgr::LookupAddr does not respect DNS_FAKE
> ---------------------------------------------
>
>                 Key: BIT-1134
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1134
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>    Affects Versions: 2.2
>            Reporter: Justin Azoff
>            Priority: Low
>




--
This message was sent by Atlassian JIRA
(v6.2-OD-09-036#6252)


More information about the bro-dev mailing list