diff options
author | Hans de Graaff <graaff@gentoo.org> | 2013-01-16 18:15:32 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2013-01-16 18:15:32 +0000 |
commit | 4d860c6a3f197e5feffdb4292db19ff27c76fe8a (patch) | |
tree | ce55f66bb9420645fff9bb649e4c9ec9c90ffcbb /sys-apps/logwatch/files | |
parent | Fix linguas support in fx-18 (diff) | |
download | historical-4d860c6a3f197e5feffdb4292db19ff27c76fe8a.tar.gz historical-4d860c6a3f197e5feffdb4292db19ff27c76fe8a.tar.bz2 historical-4d860c6a3f197e5feffdb4292db19ff27c76fe8a.zip |
Add a patch to ignore output by the hpn patch for openssh, bug 385781.
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'sys-apps/logwatch/files')
-rw-r--r-- | sys-apps/logwatch/files/logwatch-7.4.0-openssh-hpn.patch | 19 |
1 files changed, 19 insertions, 0 deletions
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 000000000000..7eeed3b59dad --- /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 = <STDIN>)) { + ($ThisLine =~ /^Failed keyboard-interactive for <invalid username> 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+)/) ) { |