mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Prototype file analyzer/actions, connect TCP analyzer to file analysis.
No way to add analyzers/actions and they don't do anything yet.
This commit is contained in:
parent
4a6fdfbc9c
commit
2b7aedc688
4 changed files with 140 additions and 10 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "TCP.h"
|
||||
|
||||
#include <string>
|
||||
#include <magic.h>
|
||||
|
||||
class File_Analyzer : public TCP_ApplicationAnalyzer {
|
||||
|
@ -33,6 +34,8 @@ protected:
|
|||
|
||||
static magic_t magic;
|
||||
static magic_t magic_mime;
|
||||
|
||||
string file_id;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue