diff --git a/config/filter.d/sshd.conf b/config/filter.d/sshd.conf
index 328ba558..41b76481 100644
--- a/config/filter.d/sshd.conf
+++ b/config/filter.d/sshd.conf
@@ -55,7 +55,7 @@ cmnfailre = ^[aA]uthentication (?:failure|error|failed) for .*
mdre-normal =
-mdre-ddos = ^Did not receive identification string from %(__suff)s$
+mdre-ddos = ^Did not receive identification string from %(__on_port_opt)s
^Connection reset by %(__on_port_opt)s%(__suff)s
^SSH: Server;Ltype: (?:Authname|Version|Kex);Remote: -\d+;[A-Z]\w+:
^Read from socket failed: Connection reset by peer%(__suff)s