24#ifndef SURICATA_APP_LAYER_SMTP_H
25#define SURICATA_APP_LAYER_SMTP_H
32#define SMTP_LINE_BUFFER_LIMIT 4096
struct HtpBodyChunk_ * next
struct AppLayerTxData AppLayerTxData
struct AppLayerStateData AppLayerStateData
struct SMTPString_ SMTPString
void * SMTPStateAlloc(void *orig_state, AppProto proto_orig)
struct SMTPTransaction_ SMTPTransaction
void SMTPParserCleanup(void)
Free memory allocated for global SMTP parser state.
struct SMTPState_ SMTPState
void SMTPParserRegisterTests(void)
void RegisterSMTPParsers(void)
Register the SMTP Protocol parser.
@ SMTP_DECODER_EVENT_UNABLE_TO_MATCH_REPLY_WITH_REQUEST
@ SMTP_DECODER_EVENT_MIME_MALFORMED_MSG
@ SMTP_DECODER_EVENT_MAX_REPLY_LINE_LEN_EXCEEDED
@ SMTP_DECODER_EVENT_MIME_INVALID_BASE64
@ SMTP_DECODER_EVENT_TRUNCATED_LINE
@ SMTP_DECODER_EVENT_INVALID_REPLY
@ SMTP_DECODER_EVENT_BDAT_CHUNK_LEN_EXCEEDED
@ SMTP_DECODER_EVENT_TLS_REJECTED
@ SMTP_DECODER_EVENT_MIME_PARSE_FAILED
@ SMTP_DECODER_EVENT_MAX_COMMAND_LINE_LEN_EXCEEDED
@ SMTP_DECODER_EVENT_UNPARSABLE_CONTENT
@ SMTP_DECODER_EVENT_MIME_LONG_FILENAME
@ SMTP_DECODER_EVENT_MIME_LONG_HEADER_NAME
@ SMTP_DECODER_EVENT_INVALID_PIPELINED_SEQUENCE
@ SMTP_DECODER_EVENT_MIME_LONG_ENC_LINE
@ SMTP_DECODER_EVENT_NO_SERVER_WELCOME_MESSAGE
@ SMTP_DECODER_EVENT_DATA_COMMAND_REJECTED
@ SMTP_DECODER_EVENT_MIME_LONG_HEADER_VALUE
@ SMTP_DECODER_EVENT_DUPLICATE_FIELDS
@ SMTP_DECODER_EVENT_MIME_INVALID_QP
@ SMTP_DECODER_EVENT_FAILED_PROTOCOL_CHANGE
@ SMTP_DECODER_EVENT_MIME_BOUNDARY_TOO_LONG
@ SMTP_DECODER_EVENT_MIME_LONG_LINE
Structure for containing configuration options.
StreamingBufferConfig sbcfg
uint32_t content_inspect_min_size
uint32_t content_inspect_window
AppLayerStateData state_data
uint64_t toserver_data_count
TAILQ_HEAD(, SMTPTransaction_) tx_list
uint64_t toserver_last_data_stamp
SMTPTransaction * curr_tx
TAILQ_ENTRY(SMTPString_) next
TAILQ_ENTRY(SMTPTransaction_) next
MimeStateSMTP * mime_state
TAILQ_HEAD(, SMTPString_) rcpt_to_list