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:
Jon Siwek 2013-01-22 10:48:00 -06:00
parent 4a6fdfbc9c
commit 2b7aedc688
4 changed files with 140 additions and 10 deletions

View file

@ -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