mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +00:00
An extension to the ICMP analyzer to handle redirects.
The analyzer now raises icmp_redirect() events that come with the redirection address. By Julien Sentier.
This commit is contained in:
parent
437ac29ca9
commit
1199085b27
6 changed files with 49 additions and 1 deletions
|
@ -229,6 +229,14 @@ bool DPM::BuildInitialAnalyzerTree(TransportProto proto, Connection* conn,
|
|||
}
|
||||
break;
|
||||
|
||||
case ICMP_REDIRECT:
|
||||
if ( ICMP_Redir_Analyzer::Available() )
|
||||
{
|
||||
root = new ICMP_Redir_Analyzer(conn);
|
||||
DBG_DPD(conn, "activated ICMP Redir analyzer");
|
||||
}
|
||||
break;
|
||||
|
||||
case ICMP_UNREACH:
|
||||
if ( ICMP_Unreachable_Analyzer::Available() )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue