]> gitweb.michael.orlitzky.com - mjo-overlay.git/blob - sys-apps/logwatch/files/logwatch-7.4.0-openssh-hpn.patch
Add logwatch-7.4.0_p170-r1 to fix a file collision.
[mjo-overlay.git] / sys-apps / logwatch / files / logwatch-7.4.0-openssh-hpn.patch
1 Add an 'ignore' line for the HPN patch that we enable on our openssh
2 by default.
3
4 http://sourceforge.net/tracker/?func=detail&aid=3257504&group_id=312875&atid=1316824
5
6 diff --git a/scripts/services/sshd b/scripts/services/sshd
7 index a4c3354..50e8cf2 100755
8 --- a/scripts/services/sshd
9 +++ b/scripts/services/sshd
10 @@ -290,7 +290,8 @@ while (defined(my $ThisLine = <STDIN>)) {
11 ($ThisLine =~ /^Failed keyboard-interactive for <invalid username> from/ ) or
12 ($ThisLine =~ /^Keyboard-interactive \(PAM\) userauth failed/ ) or
13 ($ThisLine =~ /^debug1: /) or
14 - ($ThisLine =~ /Nasty PTR record .* is set up for [\da-fA-F.:]+, ignoring/)
15 + ($ThisLine =~ /Nasty PTR record .* is set up for [\da-fA-F.:]+, ignoring/) or
16 + ($ThisLine =~ /^SSH: Server;L[Tt]ype: /)
17 ) {
18 # Ignore these
19 } elsif ( my ($Method,$User,$Host,$Port) = ($ThisLine =~ /^Accepted (\S+) for (\S+) from ([\d\.:a-f]+) port (\d+)/) ) {