fix sshd script
This commit is contained in:
parent
760c6ee410
commit
96c4fb0a98
13
logwatch-7.3.6-sshd2.patch
Normal file
13
logwatch-7.3.6-sshd2.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up logwatch-7.3.6/scripts/services/sshd.ppp logwatch-7.3.6/scripts/services/sshd
|
||||
--- logwatch-7.3.6/scripts/services/sshd.ppp 2009-03-16 08:50:53.000000000 +0100
|
||||
+++ logwatch-7.3.6/scripts/services/sshd 2009-03-30 15:42:46.000000000 +0200
|
||||
@@ -306,7 +306,8 @@ while (defined(my $ThisLine = <STDIN>))
|
||||
$BadLogins{$Host}{"$User/$Method"}++;
|
||||
} elsif ($ThisLine =~ s/^(log: )?Could not reverse map address ([^ ]*).*$/$2/) {
|
||||
$NoRevMap{$ThisLine}++;
|
||||
- } elsif ( my ($Address) = ($ThisLine =~ /^reverse mapping checking getaddrinfo for ([^ ]*) failed - POSSIBLE BREAKIN ATTEMPT!/)) {
|
||||
+ } elsif ( my ($Address) = ($ThisLine =~ /^reverse mapping checking getaddrinfo for ([^ ]*) failed - POSSIBLE BREAK-?IN ATTEMPT!/)) {
|
||||
+
|
||||
$NoRevMap{$Address}++;
|
||||
} elsif ( my ($IP,$Address) = ($ThisLine =~ /^Address ([^ ]*) maps to ([^ ]*), but this does not map back to the address - POSSIBLE BREAKIN ATTEMPT!/)) {
|
||||
$NoRevMap{"$Address($IP)"}++;
|
||||
@ -1,7 +1,7 @@
|
||||
Summary: A log file analysis program
|
||||
Name: logwatch
|
||||
Version: 7.3.6
|
||||
Release: 40%{?dist}
|
||||
Release: 41%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
URL: http://www.logwatch.org/
|
||||
@ -49,6 +49,7 @@ Patch49: logwatch-7.3.6-dovecot.patch
|
||||
Patch50: logwatch-7.3.6-named4.patch
|
||||
Patch51: logwatch-7.3.6-openvpn3.patch
|
||||
Patch52: logwatch-7.3.6-smartd.patch
|
||||
Patch53: logwatch-7.3.6-sshd2.patch
|
||||
Requires: textutils sh-utils grep mailx
|
||||
Requires: perl(Date::Manip)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -105,6 +106,7 @@ of the package on many systems.
|
||||
%patch50 -p1
|
||||
%patch51 -p1
|
||||
%patch52 -p1
|
||||
%patch53 -p1
|
||||
rm -f scripts/services/*.orig
|
||||
|
||||
%build
|
||||
@ -216,6 +218,9 @@ rm -rf %{buildroot}
|
||||
%doc License project/CHANGES
|
||||
|
||||
%changelog
|
||||
* Mon Mar 30 2009 Ivana Varekova <varekova@redhta.com> 7.3.6-41
|
||||
- fix sshd script (#492738)
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.3.6-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user