X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=sys-apps%2Flogwatch%2Ffiles%2Flogwatch-7.4.0-openssh-hpn.patch;fp=sys-apps%2Flogwatch%2Ffiles%2Flogwatch-7.4.0-openssh-hpn.patch;h=7eeed3b59dadecc5c2ad1c5b76a8633148036b4c;hb=29c1db9cf01e14319d7338e7200b3fcdb1615f9c;hp=0000000000000000000000000000000000000000;hpb=4440dd5f008806b0556352b7530c471005524e99;p=mjo-overlay.git diff --git a/sys-apps/logwatch/files/logwatch-7.4.0-openssh-hpn.patch b/sys-apps/logwatch/files/logwatch-7.4.0-openssh-hpn.patch new file mode 100644 index 0000000..7eeed3b --- /dev/null +++ b/sys-apps/logwatch/files/logwatch-7.4.0-openssh-hpn.patch @@ -0,0 +1,19 @@ +Add an 'ignore' line for the HPN patch that we enable on our openssh +by default. + +http://sourceforge.net/tracker/?func=detail&aid=3257504&group_id=312875&atid=1316824 + +diff --git a/scripts/services/sshd b/scripts/services/sshd +index a4c3354..50e8cf2 100755 +--- a/scripts/services/sshd ++++ b/scripts/services/sshd +@@ -290,7 +290,8 @@ while (defined(my $ThisLine = )) { + ($ThisLine =~ /^Failed keyboard-interactive for from/ ) or + ($ThisLine =~ /^Keyboard-interactive \(PAM\) userauth failed/ ) or + ($ThisLine =~ /^debug1: /) or +- ($ThisLine =~ /Nasty PTR record .* is set up for [\da-fA-F.:]+, ignoring/) ++ ($ThisLine =~ /Nasty PTR record .* is set up for [\da-fA-F.:]+, ignoring/) or ++ ($ThisLine =~ /^SSH: Server;L[Tt]ype: /) + ) { + # Ignore these + } elsif ( my ($Method,$User,$Host,$Port) = ($ThisLine =~ /^Accepted (\S+) for (\S+) from ([\d\.:a-f]+) port (\d+)/) ) {