[Bro-Dev] #775: IP address parsing more strict with new IPv6 code

Bro Tracker bro at tracker.bro-ids.org
Fri Feb 17 13:23:43 PST 2012


#775: IP address parsing more strict with new IPv6 code
---------------------+------------------------
 Reporter:  robin    |      Owner:
     Type:  Problem  |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  Bro      |    Version:  git/master
 Keywords:  ipv6     |
---------------------+------------------------
 Given this scripts:

 {{{
 print to_addr("5.01.04.05");
 print to_addr("5.1.4.5");
 }}}

 2.0:

 {{{
 bro ./a.bro
 5.1.4.5
 5.1.4.5
 }}}

 topic/v6-addr (and soon master):

 {{{
 error: Bad IP address: 5.01.04.05
 ::
 5.1.4.5
 }}}

 Not sure how important this is but it triggers a test-suite difference,
 and generally be liberal in accepting input is preferable..

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/775>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list