mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00

Previously, a single `icmp_conn` record was built per ICMP "connection" and re-used for all events generated from it. This may have been a historical attempt at performance optimization, but: * By default, Zeek does not load any scripts that handle ICMP events. * The one script Zeek ships with that does handle ICMP events, "detect-traceroute", is already noted as being disabled due to potential performance problems of doing that kind of analysis. * Re-use of the original `icmp_conn` record tends to misreport TTL and length values since they come from original packet instead of the current one. * Even if we chose to still re-use `icmp_conn` records and just fill in a new TTL and length value each packet, a user script could have stored a reference to the record and not be expecting those values to be changed out from underneath them. Now, a new `icmp_info` record is created/populated in all ICMP events and should be used instead of `icmp_conn`. It also removes the orig_h/resp_h fields as those are redundant with what's already available in the connection record.
73 lines
4.4 KiB
Text
73 lines
4.4 KiB
Text
icmp_unreachable (code=0)
|
|
conn_id: [orig_h=fe80::dead, orig_p=1/icmp, resp_h=fe80::beef, resp_p=0/icmp]
|
|
icmp_info: [v6=T, itype=1, icode=0, len=60, ttl=64]
|
|
icmp_context: [id=[orig_h=fe80::beef, orig_p=30000/udp, resp_h=fe80::dead, resp_p=13000/udp], len=60, proto=2, frag_offset=0, bad_hdr_len=F, bad_checksum=F, MF=F, DF=F]
|
|
icmp_packet_too_big (code=0)
|
|
conn_id: [orig_h=fe80::dead, orig_p=2/icmp, resp_h=fe80::beef, resp_p=0/icmp]
|
|
icmp_info: [v6=T, itype=2, icode=0, len=52, ttl=64]
|
|
icmp_context: [id=[orig_h=fe80::beef, orig_p=30000/udp, resp_h=fe80::dead, resp_p=13000/udp], len=52, proto=2, frag_offset=0, bad_hdr_len=F, bad_checksum=F, MF=F, DF=F]
|
|
icmp_time_exceeded (code=0)
|
|
conn_id: [orig_h=fe80::dead, orig_p=3/icmp, resp_h=fe80::beef, resp_p=0/icmp]
|
|
icmp_info: [v6=T, itype=3, icode=0, len=52, ttl=64]
|
|
icmp_context: [id=[orig_h=fe80::beef, orig_p=30000/udp, resp_h=fe80::dead, resp_p=13000/udp], len=52, proto=2, frag_offset=0, bad_hdr_len=F, bad_checksum=F, MF=F, DF=F]
|
|
icmp_parameter_problem (code=0)
|
|
conn_id: [orig_h=fe80::dead, orig_p=4/icmp, resp_h=fe80::beef, resp_p=0/icmp]
|
|
icmp_info: [v6=T, itype=4, icode=0, len=52, ttl=64]
|
|
icmp_context: [id=[orig_h=fe80::beef, orig_p=30000/udp, resp_h=fe80::dead, resp_p=13000/udp], len=52, proto=2, frag_offset=0, bad_hdr_len=F, bad_checksum=F, MF=F, DF=F]
|
|
icmp_echo_request (id=1, seq=3, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=128, icode=0, len=32, ttl=128]
|
|
icmp_echo_reply (id=1, seq=3, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=129, icode=0, len=32, ttl=47]
|
|
icmp_echo_request (id=1, seq=4, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=128, icode=0, len=32, ttl=128]
|
|
icmp_echo_reply (id=1, seq=4, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=129, icode=0, len=32, ttl=47]
|
|
icmp_echo_request (id=1, seq=5, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=128, icode=0, len=32, ttl=128]
|
|
icmp_echo_reply (id=1, seq=5, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=129, icode=0, len=32, ttl=47]
|
|
icmp_echo_request (id=1, seq=6, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=128, icode=0, len=32, ttl=128]
|
|
icmp_echo_reply (id=1, seq=6, payload=abcdefghijklmnopqrstuvwabcdefghi)
|
|
conn_id: [orig_h=2620:0:e00:400e:d1d:db37:beb:5aac, orig_p=128/icmp, resp_h=2001:4860:8006::63, resp_p=129/icmp]
|
|
icmp_info: [v6=T, itype=129, icode=0, len=32, ttl=47]
|
|
icmp_redirect (tgt=fe80::cafe, dest=fe80::babe)
|
|
conn_id: [orig_h=fe80::dead, orig_p=137/icmp, resp_h=fe80::beef, resp_p=0/icmp]
|
|
icmp_info: [v6=T, itype=137, icode=0, len=32, ttl=255]
|
|
options: []
|
|
icmp_router_advertisement
|
|
cur_hop_limit=13
|
|
managed=T
|
|
other=F
|
|
home_agent=T
|
|
pref=3
|
|
proxy=F
|
|
rsv=0
|
|
router_lifetime=30.0 mins
|
|
reachable_time=3.0 secs 700.0 msecs
|
|
retrans_timer=1.0 sec 300.0 msecs
|
|
conn_id: [orig_h=fe80::dead, orig_p=134/icmp, resp_h=fe80::beef, resp_p=133/icmp]
|
|
icmp_info: [v6=T, itype=134, icode=0, len=8, ttl=255]
|
|
options: []
|
|
icmp_neighbor_advertisement (tgt=fe80::babe)
|
|
router=T
|
|
solicited=F
|
|
override=T
|
|
conn_id: [orig_h=fe80::dead, orig_p=136/icmp, resp_h=fe80::beef, resp_p=135/icmp]
|
|
icmp_info: [v6=T, itype=136, icode=0, len=16, ttl=255]
|
|
options: []
|
|
icmp_router_solicitation
|
|
conn_id: [orig_h=fe80::dead, orig_p=133/icmp, resp_h=fe80::beef, resp_p=134/icmp]
|
|
icmp_info: [v6=T, itype=133, icode=0, len=0, ttl=255]
|
|
options: []
|
|
icmp_neighbor_solicitation (tgt=fe80::babe)
|
|
conn_id: [orig_h=fe80::dead, orig_p=135/icmp, resp_h=fe80::beef, resp_p=136/icmp]
|
|
icmp_info: [v6=T, itype=135, icode=0, len=16, ttl=255]
|
|
options: []
|