[Bro-Dev] #795: topic/jsiwek/ipv6-ext-headers

Bro Tracker bro at tracker.bro-ids.org
Wed Mar 21 08:41:33 PDT 2012


#795: topic/jsiwek/ipv6-ext-headers
----------------------------+------------------------
  Reporter:  jsiwek         |      Owner:  robin
      Type:  Merge Request  |     Status:  assigned
  Priority:  Normal         |  Milestone:  Bro2.1
 Component:  Bro            |    Version:  git/master
Resolution:                 |   Keywords:
----------------------------+------------------------

Comment (by jsiwek):

 > In [c765f43fe3eb6fd4cb49b2b947654881a225e145/bro]:
 > {{{
 > #!CommitTicketReference repository="bro"
 revision="c765f43fe3eb6fd4cb49b2b947654881a225e145"
 > Refactor script-layer IPv6 ext. header chain (addresses #795)
 >
 > This replaces the "ip6_hdr_chain" in the "ip6_hdr" record with a vector
 of
 > "ip6_ext_hdr" to make it easier to traverse the chain.
 > }}}

 While it does make it easier to traverse the chain in the original order
 of the headers, it makes it harder to directly access whether any given
 ext. header is present without looping over the chain.  I do think this
 new way is cleaner and easier to understand, though, so maybe it wins out.

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



More information about the bro-dev mailing list