From: huica Date: Tue, 4 Aug 2015 15:10:16 +0000 (-0400) Subject: add files to mime folder X-Git-Tag: 3.0.0-233~828^2~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7988033a6dcd3601aaa8493b483d3782e9ba6907;p=thirdparty%2Fsnort3.git add files to mime folder --- diff --git a/src/mime/CMakeLists.txt b/src/mime/CMakeLists.txt new file mode 100644 index 000000000..714dcaa2c --- /dev/null +++ b/src/mime/CMakeLists.txt @@ -0,0 +1,21 @@ + + +add_library ( mime STATIC + file_mime_config.cc + file_mime_config.h + file_mime_decode.h + file_mime_decode.cc + file_mime_log.h + file_mime_log.cc + file_mime_paf.h + file_mime_paf.cc + file_mime_process.h + file_mime_process.cc + sf_email_attach_decode.cc + sf_email_attach_decode.h + sf_base64decode.cc + sf_base64decode.h +) + +target_link_libraries(mime file_api) + diff --git a/src/mime/Makefile.am b/src/mime/Makefile.am new file mode 100644 index 000000000..f6633fd95 --- /dev/null +++ b/src/mime/Makefile.am @@ -0,0 +1,11 @@ + +noinst_LIBRARIES = libmime.a + +libmime_a_SOURCES = \ +file_mime_decode.h file_mime_decode.cc \ +file_mime_log.h file_mime_log.cc \ +file_mime_paf.h file_mime_paf.cc \ +file_mime_process.h file_mime_process.cc \ +file_mime_config.cc file_mime_config.h \ +sf_base64decode.cc sf_base64decode.h \ +sf_email_attach_decode.cc sf_email_attach_decode.h \ No newline at end of file diff --git a/src/mime/dev_notes.txt b/src/mime/dev_notes.txt new file mode 100644 index 000000000..7f3c3432a --- /dev/null +++ b/src/mime/dev_notes.txt @@ -0,0 +1,6 @@ +This directory contains all the mime processing related classes and APIs + +* MIME processing: provides the common MIME header and MIME body processing for +service inpsectors such as HTTP, SMTP, POP, and IMAP. If configured, it decodes +file data that are encoded in Base64, UU-encoding, QP-encoding, and Bit-encoding. +