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