Actions
Bug #8715
open
JI
JI
smtp: subsequent helo/ehlo should be treated like a rset
Bug #8715:
smtp: subsequent helo/ehlo should be treated like a rset
Affected Versions:
Effort:
Difficulty:
Label:
Description
RFC 5321 states that a mid-session EHLO must be treated just like an RSET:
An EHLO command MAY be issued by a client later in the session. If
it is issued after the session begins and the EHLO command is
acceptable to the SMTP server, the SMTP server MUST clear all buffers
and reset the state exactly as if a RSET command had been issued. In
other words, the sequence of RSET followed immediately by EHLO is
redundant, but not harmful other than in the performance cost of
executing unnecessary commands.
Currently Suricata more or less just ignores it.
Subtasks
OT Updated by OISF Ticketbot 24 days ago
- Subtask #8716 added
OT Updated by OISF Ticketbot 24 days ago
- Label deleted (
Needs backport to 8.0)
JI Updated by Jason Ish 23 days ago
- Related to Feature #8393: firewall: support SMTP hook states for firewall rule evaluation added
JI Updated by Jason Ish 23 days ago
- Status changed from In Progress to In Review
In review as part of https://github.com/OISF/suricata/pull/15790.
JI Updated by Jason Ish 2 days ago
- Status changed from Assigned to In Review
Pull request: https://github.com/OISF/suricata/pull/15927
Actions