diff options
author | Erich Eckner <git@eckner.net> | 2023-10-01 10:41:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-10-01 10:41:08 +0200 |
commit | c93406c943a30593997ce5305f8464b964a71769 (patch) | |
tree | 0f2b1b78398283628ae58b7cdf036486a1f97684 | |
parent | be4038b131f819232d7bc345931322814a7403bf (diff) | |
download | logwatch-overrides-c93406c943a30593997ce5305f8464b964a71769.tar.xz |
sshd: treat network errors with port like network errors
-rw-r--r-- | sshd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -249,7 +249,7 @@ while (defined(my $ThisLine = <STDIN>)) { ($ThisLine =~ m/^(?:error:.*|fatal:) Connection closed by remote host/ ) or ($ThisLine =~ m/^(|fatal: )Read error from remote host(| [^ ]+): Connection reset by peer/ ) or ($ThisLine =~ m/^error: .*: read: Connection reset by peer/ ) or - ($ThisLine =~ m/^Read error from remote host [^ ]+: (Connection timed out|No route to host)/ ) or + ($ThisLine =~ m/^Read error from remote host [^ ]+( port \d+)?: (Connection timed out|No route to host)/ ) or ($ThisLine =~ m/^fatal: Read from socket failed: No route to host/) or ($ThisLine =~ m/^fatal: Write failed: Network is unreachable/ ) or ($ThisLine =~ m/^fatal: Write failed: Broken pipe/) or |