|
|
@ -61,6 +61,7 @@
|
|
|
|
#include "output-json-smtp.h"
|
|
|
|
#include "output-json-smtp.h"
|
|
|
|
#include "output-json-email-common.h"
|
|
|
|
#include "output-json-email-common.h"
|
|
|
|
#include "output-json-nfs.h"
|
|
|
|
#include "output-json-nfs.h"
|
|
|
|
|
|
|
|
#include "output-json-smb.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include "app-layer-htp.h"
|
|
|
|
#include "app-layer-htp.h"
|
|
|
|
#include "util-memcmp.h"
|
|
|
|
#include "util-memcmp.h"
|
|
|
@ -109,6 +110,11 @@ json_t *JsonBuildFileInfoRecord(const Packet *p, const File *ff,
|
|
|
|
if (hjs)
|
|
|
|
if (hjs)
|
|
|
|
json_object_set_new(js, "nfs", hjs);
|
|
|
|
json_object_set_new(js, "nfs", hjs);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
case ALPROTO_SMB:
|
|
|
|
|
|
|
|
hjs = JsonSMBAddMetadata(p->flow, ff->txid);
|
|
|
|
|
|
|
|
if (hjs)
|
|
|
|
|
|
|
|
json_object_set_new(js, "smb", hjs);
|
|
|
|
|
|
|
|
break;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|