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

David Baldwin david.baldwin at anu.edu.au
Mon Sep 26 01:03:49 MST 2005


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


-- 
=====================================================================+
David Baldwin                   mailto:David.Baldwin at anu.edu.au      |
Supercomputer Facility          URL: http://www.anu.edu.au/~u8611156 |
II Services, Huxley Building    Ph:  {intl+61+2 | (02)} 6125 0321    |
Australian National University  FAX: {intl+61+2 | (02)} 6125 8199    |
Canberra ACT 0200, AUSTRALIA  *======================================+


More information about the Logwatch-Devel mailing list