[Logwatch-Devel] patch to sshd service "no route to host"

Mike Tremaine mgt at stellarcore.net
Wed Sep 28 11:29:10 MST 2005


On Mon, 2005-09-26 at 01:03, David Baldwin wrote:
> Another type of network read error.
> 
> --- scripts/services/sshd       13 Sep 2005 18:52:37 -0000      1.47
> +++ scripts/services/sshd       26 Sep 2005 08:02:48 -0000
> @@ -155,7 +155,7 @@
>      } elsif (
>         ($ThisLine =~ m/^fatal: Connection closed by remote host\./ ) or
>         ($ThisLine =~ m/^(|fatal: )Read error from remote host(| [^ ]+): 
> Connection reset by peer/ ) or
> -      ($ThisLine =~ m/^Read error from remote host [^ ]+: Connection timed out/ 
> ) or
> +      ($ThisLine =~ m/^Read error from remote host [^ ]+: (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\


Committed to CVS

-- 
Mike Tremaine
mgt at stellarcore.net
http://www.stellarcore.net



More information about the Logwatch-Devel mailing list