mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Remove deprecated protocol_confirmation/violation events and methods
This commit is contained in:
parent
392c2f3810
commit
644ed5d314
7 changed files with 5 additions and 96 deletions
|
@ -53,7 +53,7 @@ void FOO_Analyzer::DeliverStream(int len, const u_char* data, bool orig)
|
|||
catch ( const binpac::Exception& e )
|
||||
{
|
||||
printf("Exception: %s\n", e.c_msg());
|
||||
ProtocolViolation(zeek::util::fmt("Binpac exception: %s", e.c_msg()));
|
||||
AnalyzerViolation(zeek::util::fmt("Binpac exception: %s", e.c_msg()));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ refine flow FOO_Flow += {
|
|||
function proc_foo_message(msg: FOO_PDU): bool
|
||||
%{
|
||||
// printf("FOO %d %d\n", msg->hdr()->len(), msg->hdr_len());
|
||||
connection()->bro_analyzer()->ProtocolConfirmation();
|
||||
connection()->bro_analyzer()->AnalyzerConfirmation();
|
||||
zeek::BifEvent::Foo::enqueue_foo_message(
|
||||
connection()->bro_analyzer(),
|
||||
connection()->bro_analyzer()->Conn(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue