[Bro-Dev] #538: lookup_location() should handle missing database gracefully.

Bro Tracker bro at tracker.bro-ids.org
Mon Aug 15 12:52:06 PDT 2011


#538: lookup_location() should handle missing database gracefully.
----------------------+------------------------
  Reporter:  gregor   |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  High     |  Milestone:  Bro1.6
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:
----------------------+------------------------

Comment (by seth):

 > It appears this is hardcoded in libgeoip's code. So in order to get rid
 of
 > this error message, we have set stderr to something else before calling
 > libgeoip code and then restoring stderr. Grrr.

 If we just stop trying to access fields that aren't in the currently
 loaded database the errors should go away.  I would much rather do that
 than try to catch messages that libgeoip is outputting.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/538#comment:3>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list