zeek/scripts/base
Frerich Raabe bb879fc2aa Fixed decompose_uri choking on URIs with empty port component
A call such as

  decompose_uri("git://git.kernel.org:/pub/scm/linux/");

would raise an error along the lines of

  error in /usr/local/zeek-3.0.0/share/zeek/base/utils/urls.zeek, line 122: bad conversion to count (to_count(parts[1]) and )

This was because an empty string got passsed to the to_count()
function.

Let's improve the behaviour and rather consider the portnum component
of the URI to be uninitialized.
2020-01-24 22:24:00 +01:00
..
files GH-379: move catch-and-release and unified2 scripts to policy/ 2019-06-05 13:33:45 -07:00
frameworks Use consistent zeek_init priority for Log::create_stream calls 2020-01-22 13:58:20 -08:00
misc GH-545: add "addl" parameter to flow_weird and net_weird events 2019-08-20 22:45:22 -04:00
protocols Fix warning when reading files from non-network sources 2020-01-14 10:53:02 -05:00
utils Fixed decompose_uri choking on URIs with empty port component 2020-01-24 22:24:00 +01:00
init-bare.zeek GH-700: add packet_sources() BIF 2019-11-28 09:44:38 -08:00
init-default.zeek MQTT Analyzer heavily updated and ported from the analyzer originally by Supriya Kumar 2019-07-29 13:45:10 -04:00
init-frameworks-and-bifs.zeek Rename all scripts to have ".zeek" file extension 2019-04-11 21:12:40 -05:00