zeek/scripts/base
Jon Siwek 6908d1b919 GH-1019: deprecate icmp_conn params for ICMP events
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.
2020-07-10 11:06:28 -07:00
..
files X509 caching API change: callback gets entry directly 2020-03-12 11:31:13 -07:00
frameworks Integrate Supervisor code review suggestions 2020-07-09 13:56:11 -07:00
misc GH-545: add "addl" parameter to flow_weird and net_weird events 2019-08-20 22:45:22 -04:00
protocols GH-1040: Add zero-indexed version of str_split 2020-07-06 17:05:40 -07:00
utils Merge remote-tracking branch 'origin/topic/timw/1040-str-split' 2020-07-06 21:06:51 -07:00
init-bare.zeek GH-1019: deprecate icmp_conn params for ICMP events 2020-07-10 11:06:28 -07:00
init-default.zeek Add backtrace() and print_backtrace() 2020-07-03 14:09:31 -07:00
init-frameworks-and-bifs.zeek Add Supervisor BIF/event API skeleton 2019-10-15 12:59:45 -07:00