zeek/scripts
Arne Welzel 187096d4a4 ssh: Test for c$ssh$analyzer_id existence
While unusual, analyzer_confirmation() may never be called for the
SSH analyzer, but still ssh_auth_attempted is invoked later indicating
successful authentication. I haven't checked how that is actually possible,
but seems prudent to check for the existence of c$ssh$analyzer_id before
referencing it (also in light of runtime enable/disabling of events).

This was found testing Tim's all-the-fuzzing branch on large system,
merging this should avoid oss-fuzz telling us about it.

    $ zeek -C -r ./e83db.pcap 'DPD::ignore_violations+={ Analyzer::ANALYZER_SSH }'
    1668610572.429058 expression error in scripts/base/protocols/ssh/./main.zeek, line 260: field value missing (SSH::c$ssh$analyzer_id)
2022-11-16 16:35:57 +01:00
..
base ssh: Test for c$ssh$analyzer_id existence 2022-11-16 16:35:57 +01:00
policy Spelling fixes: scripts 2022-11-02 17:36:39 -04:00
site Deprecate misc/scan.zeek 2022-08-23 09:10:53 +02:00
zeekygen Spelling fixes: scripts 2022-11-02 17:36:39 -04:00
CMakeLists.txt Add base/misc/installation.zeek, with Zeek installation directories 2022-05-23 14:16:59 -07:00
test-all-policy.zeek Merge branch 'topic/awelzel/unified2-drop' 2022-08-19 15:23:34 -07:00