zeek/testing/btest/core/mobile-ipv6-routing.test
Jon Siwek 91330f1e1c Add support for mobile IPv6 Mobility Header (RFC 6275).
- Accessible at script-layer through 'mobile_ipv6_message' event.

- All Mobile IPv6 analysis now enabled through --enable-mobile-ipv6
  configure-time option, otherwise the mobility header, routing type 2,
  and Home Address Destination option are ignored.
2012-04-09 14:39:00 -05:00

11 lines
413 B
Text

# @TEST-REQUIRES: grep -q "#define ENABLE_MOBILE_IPV6" $BUILD/config.h
# @TEST-EXEC: bro -b -r $TRACES/mobile-ipv6/ipv6-mobile-routing.trace %INPUT >output
# @TEST-EXEC: btest-diff output
# Just check that the responder of the connection is the final routing
# address, but the destination in the header is the actual destination address.
event new_packet(c: connection, p: pkt_hdr)
{
print c$id;
print p;
}