2008-08-25 20:05:09 +00:00
|
|
|
%define sca_version 0.4.8
|
2008-10-22 18:21:46 +00:00
|
|
|
%define sca_release 5
|
2008-02-25 11:27:40 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
2007-07-10 23:22:14 +00:00
|
|
|
|
2006-07-13 20:38:11 +00:00
|
|
|
Summary: User space tools for 2.6 kernel auditing
|
2004-09-09 03:16:50 +00:00
|
|
|
Name: audit
|
2008-10-22 18:21:46 +00:00
|
|
|
Version: 1.7.8
|
|
|
|
Release: 1%{?dist}
|
2007-08-27 20:29:41 +00:00
|
|
|
License: GPLv2+
|
2004-11-15 22:58:29 +00:00
|
|
|
Group: System Environment/Daemons
|
2004-11-19 22:18:07 +00:00
|
|
|
URL: http://people.redhat.com/sgrubb/audit/
|
2008-01-11 20:42:03 +00:00
|
|
|
Source0: http://people.redhat.com/sgrubb/audit/%{name}-%{version}.tar.gz
|
2007-02-16 22:20:43 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-07-25 20:09:50 +00:00
|
|
|
BuildRequires: gettext-devel intltool libtool swig python-devel
|
2008-10-22 18:21:46 +00:00
|
|
|
BuildRequires: tcp_wrappers-devel
|
2006-09-29 20:48:53 +00:00
|
|
|
BuildRequires: kernel-headers >= 2.6.18
|
2005-02-11 19:22:21 +00:00
|
|
|
BuildRequires: automake >= 1.9
|
|
|
|
BuildRequires: autoconf >= 2.59
|
2005-01-05 19:13:59 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2004-11-19 22:18:07 +00:00
|
|
|
Requires: chkconfig
|
2008-01-31 22:07:21 +00:00
|
|
|
Requires(pre): coreutils
|
2004-09-09 03:16:50 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The audit package contains the user space utilities for
|
2005-10-19 20:12:04 +00:00
|
|
|
storing and searching the audit records generate by
|
2004-09-09 03:16:50 +00:00
|
|
|
the audit subsystem in the Linux 2.6 kernel.
|
|
|
|
|
2005-01-05 19:13:59 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Dynamic library for libaudit
|
2007-08-27 20:29:41 +00:00
|
|
|
License: LGPLv2+
|
2004-11-19 22:18:07 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
|
2005-01-05 19:13:59 +00:00
|
|
|
%description libs
|
|
|
|
The audit-libs package contains the dynamic libraries needed for
|
|
|
|
applications to use the audit framework.
|
|
|
|
|
|
|
|
%package libs-devel
|
|
|
|
Summary: Header files and static library for libaudit
|
2007-08-27 20:29:41 +00:00
|
|
|
License: LGPLv2+
|
2005-01-05 19:13:59 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2006-09-29 20:48:53 +00:00
|
|
|
Requires: kernel-headers >= 2.6.18
|
2005-01-05 19:13:59 +00:00
|
|
|
|
|
|
|
%description libs-devel
|
|
|
|
The audit-libs-devel package contains the static libraries and header
|
|
|
|
files needed for developing applications that need to use the audit
|
|
|
|
framework libraries.
|
2004-11-19 22:18:07 +00:00
|
|
|
|
2005-11-30 22:08:32 +00:00
|
|
|
%package libs-python
|
|
|
|
Summary: Python bindings for libaudit
|
2007-08-27 20:29:41 +00:00
|
|
|
License: LGPLv2+
|
2005-11-30 22:08:32 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
%description libs-python
|
|
|
|
The audit-libs-python package contains the bindings so that libaudit
|
2007-02-21 00:11:20 +00:00
|
|
|
and libauparse can be used by python.
|
2005-11-30 22:08:32 +00:00
|
|
|
|
2007-12-27 21:50:31 +00:00
|
|
|
%package -n audispd-plugins
|
|
|
|
Summary: Plugins for the audit event dispatcher
|
|
|
|
License: GPLv2+
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
BuildRequires: openldap-devel
|
2008-01-19 20:59:34 +00:00
|
|
|
BuildRequires: libprelude-devel >= 0.9.16
|
2007-12-27 21:50:31 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: openldap
|
|
|
|
|
|
|
|
%description -n audispd-plugins
|
|
|
|
The audispd-plugins package provides plugins for the real-time
|
|
|
|
interface to the audit system, audispd. These plugins can do things
|
|
|
|
like relay events to remote machines or analyze events for suspicious
|
|
|
|
behavior.
|
|
|
|
|
2007-07-10 23:22:14 +00:00
|
|
|
%package -n system-config-audit
|
|
|
|
Summary: Utility for editing audit configuration
|
|
|
|
Version: %{sca_version}
|
2007-07-25 20:39:21 +00:00
|
|
|
Release: %{sca_release}%{?dist}
|
2007-08-27 20:29:41 +00:00
|
|
|
License: GPLv2+
|
2007-07-10 23:22:14 +00:00
|
|
|
Group: Applications/System
|
2008-01-19 20:59:34 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2007-07-10 23:22:14 +00:00
|
|
|
Requires: pygtk2-libglade usermode usermode-gtk
|
|
|
|
|
|
|
|
%description -n system-config-audit
|
2007-12-27 21:50:31 +00:00
|
|
|
A graphical utility for editing audit configuration.
|
2007-07-10 23:22:14 +00:00
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-08-28 23:38:25 +00:00
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%build
|
2007-08-29 17:18:22 +00:00
|
|
|
(cd system-config-audit; ./autogen.sh)
|
2008-10-22 18:21:46 +00:00
|
|
|
%configure --sbindir=/sbin --libdir=/%{_lib} --with-prelude --with-libwrap --enable-gssapi-krb5=no
|
2008-04-08 17:11:19 +00:00
|
|
|
make %{?_smp_mflags}
|
2004-09-09 03:16:50 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-04-05 22:44:18 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/{sbin,etc/{sysconfig,audispd/plugins.d,rc.d/init.d}}
|
2007-12-27 21:50:31 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/{man5,man8}
|
2005-03-14 21:08:53 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_lib}
|
2006-07-27 20:56:59 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}/audit
|
2005-04-01 19:10:36 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_var}/log/audit
|
2008-04-08 17:11:19 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT %{?_smp_mflags} install
|
2007-07-10 23:22:14 +00:00
|
|
|
make -C system-config-audit DESTDIR=$RPM_BUILD_ROOT install-fedora
|
2004-09-09 03:16:50 +00:00
|
|
|
|
2004-11-19 22:18:07 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_libdir}
|
2004-12-13 19:27:06 +00:00
|
|
|
# This winds up in the wrong place when libtool is involved
|
2005-02-20 20:43:49 +00:00
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/libaudit.a $RPM_BUILD_ROOT%{_libdir}
|
2007-02-04 22:11:48 +00:00
|
|
|
mv $RPM_BUILD_ROOT/%{_lib}/libauparse.a $RPM_BUILD_ROOT%{_libdir}
|
2005-03-03 22:48:44 +00:00
|
|
|
curdir=`pwd`
|
|
|
|
cd $RPM_BUILD_ROOT/%{_libdir}
|
2005-07-18 14:56:29 +00:00
|
|
|
LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libaudit.so.*.*.*\``
|
|
|
|
ln -s ../../%{_lib}/$LIBNAME libaudit.so
|
2007-02-04 22:11:48 +00:00
|
|
|
LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libauparse.so.*.*.*\``
|
|
|
|
ln -s ../../%{_lib}/$LIBNAME libauparse.so
|
2005-03-03 22:48:44 +00:00
|
|
|
cd $curdir
|
2005-06-23 21:40:32 +00:00
|
|
|
# Remove these items so they don't get picked up.
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libaudit.so
|
2007-02-04 22:11:48 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libauparse.so
|
2005-06-23 21:40:32 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libaudit.la
|
2007-02-04 22:11:48 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_lib}/libauparse.la
|
2006-12-06 23:05:00 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_audit.a
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_audit.la
|
2007-02-04 22:11:48 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_auparse.a
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/_auparse.la
|
2008-08-25 21:24:14 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/auparse.a
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/python?.?/site-packages/auparse.la
|
2005-03-03 22:48:44 +00:00
|
|
|
|
2006-12-01 16:34:07 +00:00
|
|
|
# On platforms with 32 & 64 bit libs, we need to coordinate the timestamp
|
|
|
|
touch -r ./audit.spec $RPM_BUILD_ROOT/etc/libaudit.conf
|
|
|
|
|
2007-07-10 23:22:14 +00:00
|
|
|
%find_lang system-config-audit
|
|
|
|
|
2008-01-19 20:59:34 +00:00
|
|
|
desktop-file-install \
|
|
|
|
--dir $RPM_BUILD_ROOT/%{_datadir}/applications \
|
|
|
|
--delete-original \
|
|
|
|
system-config-audit/system-config-audit.desktop
|
|
|
|
|
2008-09-17 20:49:00 +00:00
|
|
|
%ifnarch ppc ppc64
|
2008-09-17 20:12:32 +00:00
|
|
|
%check
|
|
|
|
make check
|
2008-09-17 20:49:00 +00:00
|
|
|
%endif
|
2007-09-25 15:56:34 +00:00
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-04-20 21:33:07 +00:00
|
|
|
%post libs -p /sbin/ldconfig
|
2005-01-05 19:13:59 +00:00
|
|
|
|
2004-11-19 22:18:07 +00:00
|
|
|
%post
|
2005-07-12 14:21:29 +00:00
|
|
|
/sbin/chkconfig --add auditd
|
2008-01-19 20:59:34 +00:00
|
|
|
# This is to migrate users from audit-1.0.x installations
|
2006-05-12 21:04:25 +00:00
|
|
|
if [ -f /etc/auditd.conf ]; then
|
|
|
|
mv /etc/auditd.conf /etc/audit/auditd.conf
|
|
|
|
fi
|
|
|
|
if [ -f /etc/audit.rules ]; then
|
|
|
|
mv /etc/audit.rules /etc/audit/audit.rules
|
|
|
|
fi
|
2008-01-19 20:59:34 +00:00
|
|
|
# This is to enable the dispatcher option which was commented out
|
2006-07-13 20:38:11 +00:00
|
|
|
if [ -f /etc/audit/auditd.conf ]; then
|
2008-01-19 20:59:34 +00:00
|
|
|
grep '^dispatcher' /etc/audit/auditd.conf >/dev/null
|
|
|
|
if [ $? -eq 1 ] ; then
|
|
|
|
tmp=`mktemp /etc/audit/auditd-post.XXXXXX`
|
|
|
|
if [ -n $tmp ]; then
|
|
|
|
sed 's|^#dispatcher|dispatcher|g' /etc/audit/auditd.conf > $tmp && \
|
|
|
|
cat $tmp > /etc/audit/auditd.conf
|
|
|
|
rm -f $tmp
|
|
|
|
fi
|
2006-07-13 20:38:11 +00:00
|
|
|
fi
|
|
|
|
fi
|
2004-11-19 22:18:07 +00:00
|
|
|
|
|
|
|
%preun
|
2005-07-14 13:27:33 +00:00
|
|
|
if [ $1 -eq 0 ]; then
|
2004-11-19 22:18:07 +00:00
|
|
|
/sbin/service auditd stop > /dev/null 2>&1
|
|
|
|
/sbin/chkconfig --del auditd
|
|
|
|
fi
|
|
|
|
|
2008-01-19 20:59:34 +00:00
|
|
|
%postun libs -p /sbin/ldconfig
|
2005-01-05 19:13:59 +00:00
|
|
|
|
2004-11-19 22:18:07 +00:00
|
|
|
%postun
|
|
|
|
if [ $1 -ge 1 ]; then
|
2005-08-22 21:40:25 +00:00
|
|
|
/sbin/service auditd condrestart > /dev/null 2>&1 || :
|
2004-11-19 22:18:07 +00:00
|
|
|
fi
|
|
|
|
|
2005-01-05 19:13:59 +00:00
|
|
|
%files libs
|
|
|
|
%defattr(-,root,root)
|
2005-02-20 20:43:49 +00:00
|
|
|
%attr(755,root,root) /%{_lib}/libaudit.*
|
2007-02-04 22:11:48 +00:00
|
|
|
%attr(755,root,root) /%{_lib}/libauparse.*
|
2006-06-30 20:30:02 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/libaudit.conf
|
2005-01-05 19:13:59 +00:00
|
|
|
|
|
|
|
%files libs-devel
|
2004-11-19 22:18:07 +00:00
|
|
|
%defattr(-,root,root)
|
2007-09-02 16:49:22 +00:00
|
|
|
%doc contrib/skeleton.c contrib/plugin
|
2005-03-03 22:48:44 +00:00
|
|
|
%{_libdir}/libaudit.a
|
2007-02-04 22:11:48 +00:00
|
|
|
%{_libdir}/libauparse.a
|
2005-03-03 22:48:44 +00:00
|
|
|
%{_libdir}/libaudit.so
|
2007-02-04 22:11:48 +00:00
|
|
|
%{_libdir}/libauparse.so
|
2004-11-19 22:18:07 +00:00
|
|
|
%{_includedir}/libaudit.h
|
2007-02-04 22:11:48 +00:00
|
|
|
%{_includedir}/auparse.h
|
|
|
|
%{_includedir}/auparse-defs.h
|
2004-12-03 20:58:39 +00:00
|
|
|
%{_mandir}/man3/*
|
2004-11-19 22:18:07 +00:00
|
|
|
|
2005-11-30 22:08:32 +00:00
|
|
|
%files libs-python
|
|
|
|
%defattr(-,root,root)
|
2008-03-09 23:29:28 +00:00
|
|
|
%attr(755,root,root) %{_libdir}/python?.?/site-packages/_audit.so
|
|
|
|
%attr(755,root,root) %{_libdir}/python?.?/site-packages/auparse.so
|
2008-08-25 21:24:14 +00:00
|
|
|
#%{_libdir}/python?.?/site-packages/auparse-*.egg-info
|
2008-02-25 11:27:40 +00:00
|
|
|
%{python_sitelib}/audit.py*
|
2007-03-02 22:26:36 +00:00
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2008-04-08 17:28:30 +00:00
|
|
|
%doc README COPYING ChangeLog contrib/capp.rules contrib/nispom.rules contrib/lspp.rules contrib/stig.rules init.d/auditd.cron
|
2007-12-27 21:50:31 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/audispd.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/auditctl.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/auditd.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/aureport.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/ausearch.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/autrace.8.gz
|
2008-01-07 20:11:15 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/aulastlog.8.gz
|
2008-04-18 20:18:30 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/ausyscall.8.gz
|
2007-12-27 21:50:31 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/auditd.conf.5.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/audispd.conf.5.gz
|
2008-07-04 00:55:30 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/ausearch-expression.5.gz
|
2005-10-19 20:12:04 +00:00
|
|
|
%attr(750,root,root) /sbin/auditctl
|
|
|
|
%attr(750,root,root) /sbin/auditd
|
2006-12-22 16:42:02 +00:00
|
|
|
%attr(755,root,root) /sbin/ausearch
|
|
|
|
%attr(755,root,root) /sbin/aureport
|
2005-04-20 21:33:07 +00:00
|
|
|
%attr(750,root,root) /sbin/autrace
|
2007-05-01 21:43:06 +00:00
|
|
|
%attr(750,root,root) /sbin/audispd
|
2008-04-18 20:18:30 +00:00
|
|
|
%attr(750,root,root) %{_bindir}/aulastlog
|
|
|
|
%attr(755,root,root) %{_bindir}/ausyscall
|
2004-11-15 22:58:29 +00:00
|
|
|
%attr(755,root,root) /etc/rc.d/init.d/auditd
|
2005-04-01 19:10:36 +00:00
|
|
|
%attr(750,root,root) %{_var}/log/audit
|
2006-05-12 21:09:26 +00:00
|
|
|
%attr(750,root,root) %dir /etc/audit
|
2007-08-28 18:34:17 +00:00
|
|
|
%attr(750,root,root) %dir /etc/audisp
|
|
|
|
%attr(750,root,root) %dir /etc/audisp/plugins.d
|
2006-07-27 20:56:59 +00:00
|
|
|
%attr(750,root,root) %dir %{_libdir}/audit
|
2006-05-12 21:04:25 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/auditd.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audit/audit.rules
|
2004-11-15 22:58:29 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/sysconfig/auditd
|
2007-08-27 20:29:41 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/audispd.conf
|
2008-01-19 20:59:34 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/af_unix.conf
|
2007-12-27 21:50:31 +00:00
|
|
|
|
|
|
|
%files -n audispd-plugins
|
|
|
|
%defattr(-,root,root,-)
|
2007-09-25 15:56:34 +00:00
|
|
|
%attr(640,root,root) /etc/audisp/plugins.d/syslog.conf
|
2007-12-27 21:50:31 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/audispd-zos-remote.8.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/zos-remote.conf.5.gz
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/audispd-zos-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/zos-remote.conf
|
|
|
|
%attr(750,root,root) /sbin/audispd-zos-remote
|
2008-01-19 20:59:34 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/au-prelude.conf
|
2008-03-09 23:29:28 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/audisp-prelude.conf
|
2008-01-19 20:59:34 +00:00
|
|
|
%attr(750,root,root) /sbin/audisp-prelude
|
2008-03-09 23:29:28 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man5/audisp-prelude.conf.5.gz
|
2008-01-19 20:59:34 +00:00
|
|
|
%attr(644,root,root) %{_mandir}/man8/audisp-prelude.8.gz
|
2008-03-30 19:17:17 +00:00
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/audisp-remote.conf
|
|
|
|
%config(noreplace) %attr(640,root,root) /etc/audisp/plugins.d/au-remote.conf
|
|
|
|
%attr(750,root,root) /sbin/audisp-remote
|
|
|
|
%attr(644,root,root) %{_mandir}/man5/audisp-remote.conf.5.gz
|
|
|
|
%attr(644,root,root) %{_mandir}/man8/audisp-remote.8.gz
|
2004-09-09 03:16:50 +00:00
|
|
|
|
2007-07-10 23:22:14 +00:00
|
|
|
%files -n system-config-audit -f system-config-audit.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc system-config-audit/AUTHORS
|
|
|
|
%doc system-config-audit/COPYING
|
|
|
|
%doc system-config-audit/ChangeLog
|
|
|
|
%doc system-config-audit/NEWS
|
|
|
|
%doc system-config-audit/README
|
|
|
|
%{_bindir}/system-config-audit
|
|
|
|
%{_datadir}/applications/system-config-audit.desktop
|
|
|
|
%{_datadir}/system-config-audit
|
|
|
|
%{_libexecdir}/system-config-audit-server-real
|
|
|
|
%{_libexecdir}/system-config-audit-server
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/system-config-audit-server
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
|
|
|
|
|
2004-09-09 03:16:50 +00:00
|
|
|
%changelog
|
2008-10-22 18:21:46 +00:00
|
|
|
* Wed Oct 22 2008 Steve Grubb <sgrubb@redhat.com> 1.7.8-1
|
|
|
|
- Disable GSSAPI support until its reworked as plugin
|
|
|
|
- Interpret TTY audit data in auparse (Miloslav Trmač)
|
|
|
|
- Extract terminal from USER_AVC events for ausearch/report (Peng Haitao)
|
|
|
|
- Add USER_AVCs to aureport's avc reporting (Peng Haitao)
|
|
|
|
- Short circuit hostname resolution in libaudit if host is empty
|
|
|
|
- If log_group and user are not root, don't check dispatcher perms
|
|
|
|
- Fix a bug when executing "ausearch -te today PM"
|
|
|
|
- Add --exit search option to ausearch
|
|
|
|
- Fix parsing config file when kerberos is disabled
|
|
|
|
|
2008-10-16 19:54:50 +00:00
|
|
|
* Thu Oct 16 2008 Steve Grubb <sgrubb@redhat.com> 1.7.7-2
|
|
|
|
- Remove selinux policy for zos-remote
|
|
|
|
|
2008-09-17 20:12:32 +00:00
|
|
|
* Wed Sep 17 2008 Steve Grubb <sgrubb@redhat.com> 1.7.7-1
|
|
|
|
- Bug fixes for GSSAPI code in remote logging (DJ Delorie)
|
|
|
|
- Add watched syscall support to audisp-prelude
|
|
|
|
- Enable tcp_wrappers support in auditd
|
|
|
|
|
2008-09-11 22:51:16 +00:00
|
|
|
* Wed Sep 11 2008 Steve Grubb <sgrubb@redhat.com> 1.7.6-1
|
|
|
|
- Add subject to audit daemon events (Chu Li)
|
|
|
|
- Add tcp_wrappers support for auditd
|
|
|
|
- Updated syscall tables for 2.6.27 kernel
|
|
|
|
- Audit connect/disconnect of remote clients
|
|
|
|
- Add GSS/Kerberos encryption to the remote protocol (DJ Delorie)
|
|
|
|
|
2008-08-25 20:05:09 +00:00
|
|
|
* Mon Aug 25 2008 Steve Grubb <sgrubb@redhat.com> 1.7.5-1
|
|
|
|
- Update system-config-audit to 0.4.8
|
|
|
|
- Whole lot of bug fixes - see ChangeLog for details
|
|
|
|
- Reimplement auditd main loop using libev
|
|
|
|
- Add TCP listener to auditd to receive remote events
|
|
|
|
- Fix scheduler problem (#457061)
|
|
|
|
|
2008-07-04 00:55:30 +00:00
|
|
|
* Thu Jul 03 2008 Steve Grubb <sgrubb@redhat.com> 1.7.4-2
|
|
|
|
- Move ausearch-expression to main package (#453437)
|
|
|
|
|
2008-05-19 18:02:47 +00:00
|
|
|
* Mon May 19 2008 Steve Grubb <sgrubb@redhat.com> 1.7.4-1
|
|
|
|
- Fix interpreting of keys in syscall records
|
|
|
|
- Don't error on name=(null) PATH records in ausearch/report
|
|
|
|
- Add key report to aureport
|
|
|
|
- Update system-config-audit to 0.4.7 (Miloslav Trmac)
|
|
|
|
- Add support for the filetype field option in auditctl new to 2.6.26 kernels
|
|
|
|
|
2008-05-09 18:37:00 +00:00
|
|
|
* Fri May 09 2008 Steve Grubb <sgrubb@redhat.com> 1.7.3-1
|
|
|
|
- Fix output of keys in ausearch interpretted mode
|
|
|
|
- Fix ausearch/report --start now to not be reset to midnight
|
|
|
|
- audispd now has a priority boost config option
|
|
|
|
- Look for laddr in avcs reported via prelude
|
|
|
|
- Detect page 0 mmaps and alert via prelude
|
|
|
|
|
2008-04-18 19:47:43 +00:00
|
|
|
* Fri Apr 18 2008 Steve Grubb <sgrubb@redhat.com> 1.7.2-6
|
2008-04-17 21:14:24 +00:00
|
|
|
- Fix overflow in audit_log_user_command, better (#438840)
|
|
|
|
- ausearch was not matching path in avc records
|
|
|
|
- audisp-prelude attempt to reposition index after examining each type
|
|
|
|
- correct building of mls policy
|
2008-04-18 19:47:43 +00:00
|
|
|
- Fix auparse iterating in auparse_find_field and next_field
|
|
|
|
- Don't alert on USER_AVC's - they are not quite right
|
2008-04-17 21:14:24 +00:00
|
|
|
|
2008-04-08 17:10:03 +00:00
|
|
|
* Tue Apr 08 2008 Steve Grubb <sgrubb@redhat.com> 1.7.1-1
|
|
|
|
- Fix buffer overflow in audit_log_user_command, again (#438840)
|
|
|
|
- Fix memory leak in EOE code in auditd (#440075)
|
|
|
|
- In auditctl, don't use new operators in legacy rule format
|
|
|
|
- Made a couple corrections in alpha & x86_64 syscall tables (Miloslav Trmac)
|
|
|
|
|
2008-04-05 01:38:01 +00:00
|
|
|
* Fri Apr 04 2008 Steve Grubb <sgrubb@redhat.com> 1.7-3
|
|
|
|
- Fix memleak in auditd eoe code
|
|
|
|
|
2008-04-01 16:33:34 +00:00
|
|
|
* Tue Apr 01 2008 Steve Grubb <sgrubb@redhat.com> 1.7-2
|
|
|
|
- Remove LSB headers from init scripts
|
|
|
|
- Fix buffer overflow in audit_log_user_command again
|
|
|
|
|
2008-03-30 19:17:17 +00:00
|
|
|
* Sun Mar 30 2008 Steve Grubb <sgrubb@redhat.com> 1.7-1
|
|
|
|
- Handle user space avcs in prelude plugin
|
|
|
|
- Fix watched account login detection for some failed login attempts
|
|
|
|
- Couple fixups in audit logging functions (Miloslav Trmac)
|
|
|
|
- Add support in auditctl for virtual keys
|
|
|
|
- auparse_find_field_next was not iterating correctly, fixed it
|
|
|
|
- Add idmef alerts for access or execution of watched file
|
|
|
|
- Fix buffer overflow in audit_log_user_command
|
|
|
|
- Add basic remote logging plugin - only sends & no flow control
|
|
|
|
- Update ausearch with interpret fixes from auparse
|
|
|
|
|
2008-03-09 23:29:28 +00:00
|
|
|
* Sun Mar 09 2008 Steve Grubb <sgrubb@redhat.com> 1.6.9-1
|
|
|
|
- Apply hidden attribute cleanup patch (Miloslav Trmac)
|
|
|
|
- Apply auparse expression interface patch (Miloslav Trmac)
|
|
|
|
- Fix potential memleak in audit event dispatcher
|
|
|
|
- Update system-config-audit to version 0.4.6 (Miloslav Trmac)
|
|
|
|
- audisp-prelude alerts now controlled by config file
|
|
|
|
- Updated syscall table for 2.6.25 kernel
|
|
|
|
- Apply patch correcting acct field being misencoded (Miloslav Trmac)
|
|
|
|
- Added watched account login detection for prelude plugin
|
|
|
|
|
2008-02-14 19:51:04 +00:00
|
|
|
* Thu Feb 14 2008 Steve Grubb <sgrubb@redhat.com> 1.6.8-1
|
|
|
|
- Update for gcc 4.3
|
|
|
|
- Cleanup descriptors in audispd before running plugin
|
|
|
|
- Fix 'recent' keyword for aureport/search
|
|
|
|
- Fix SE Linux policy for zos_remote plugin
|
|
|
|
- Add event type for group password authentication attempts
|
|
|
|
- Couple of updates to the translation tables
|
|
|
|
- Add detection of failed group authentication to audisp-prelude
|
|
|
|
|
2008-01-31 22:27:40 +00:00
|
|
|
* Thu Jan 31 2008 Steve Grubb <sgrubb@redhat.com> 1.6.7-2
|
2008-01-31 22:07:21 +00:00
|
|
|
- In ausearch/report, prefer -if to stdin
|
|
|
|
- In ausearch/report, add new command line option --input-logs (#428860)
|
|
|
|
- Updated audisp-prelude based on feedback from prelude-devel
|
|
|
|
- Added prelude alert for promiscuous socket being opened
|
|
|
|
- Added prelude alert for SE Linux policy enforcement changes
|
|
|
|
- Added prelude alerts for Forbidden Login Locations and Time
|
|
|
|
- Applied patch to auparse fixing error handling of searching by
|
|
|
|
interpreted value (Miloslav Trmac)
|
|
|
|
|
2008-01-19 20:59:34 +00:00
|
|
|
* Sat Jan 19 2008 Steve Grubb <sgrubb@redhat.com> 1.6.6-1
|
|
|
|
- Add prelude IDS plugin for IDMEF alerts
|
|
|
|
- Add --user option to aulastlog command
|
|
|
|
- Use desktop-file-install for system-config-audit
|
|
|
|
- Avoid touching auditd.conf most of the time (#408501)
|
|
|
|
|
2008-01-11 20:42:03 +00:00
|
|
|
* Fri Jan 11 2008 Steve Grubb <sgrubb@redhat.com> 1.6.5-3
|
|
|
|
- Updates for spec file review
|
2008-01-11 16:14:53 +00:00
|
|
|
- Adjust permission on selinux policy file
|
|
|
|
|
2008-01-07 20:11:15 +00:00
|
|
|
* Mon Jan 07 2008 Steve Grubb <sgrubb@redhat.com> 1.6.5-1
|
|
|
|
- Fix config parser to allow either 0640 or 0600 for audit logs (#427062)
|
|
|
|
- Check for audit log being writable by owner in auditd
|
|
|
|
- If auditd logging was suspended, it can be resumed with SIGUSR2 (#251639)
|
|
|
|
- Updated CAPP, LSPP, and NISPOM rules for new capabilities
|
|
|
|
- Added aulastlog utility
|
|
|
|
|
2007-12-31 03:48:17 +00:00
|
|
|
* Sun Dec 30 2007 Steve Grubb <sgrubb@redhat.com> 1.6.4-3
|
2007-12-31 03:29:57 +00:00
|
|
|
- Allow 0600 file perms for audit logs
|
|
|
|
|
2007-12-29 15:51:09 +00:00
|
|
|
* Sat Dec 29 2007 Steve Grubb <sgrubb@redhat.com> 1.6.4-1
|
|
|
|
- fchmod of log file was on wrong variable (#426934)
|
|
|
|
- Allow use of errno strings for exit codes in audit rules
|
|
|
|
|
2007-12-29 00:32:06 +00:00
|
|
|
* Sat Dec 29 2007 Miloslav Trmač <mitr@redhat.com> - 1.6.3-2
|
|
|
|
- Don't fchmod() /dev/null to mode 0400 (#426934)
|
|
|
|
|
2007-12-27 21:50:31 +00:00
|
|
|
* Thu Dec 27 2007 Steve Grubb <sgrubb@redhat.com> 1.6.3-1
|
|
|
|
- Add kernel release string to DEAMON_START events
|
|
|
|
- Fix keep_logs when num_logs option disabled (#325561)
|
|
|
|
- Fix auparse to handle node fields for syscall records
|
|
|
|
- Update system-config-audit to version 0.4.5 (Miloslav Trmac)
|
|
|
|
- Add keyword week-ago to aureport & ausearch start/end times
|
|
|
|
- Fix audit log permissions on rotate. If group is root 0400, otherwise 0440
|
|
|
|
- Add RACF zos remote audispd plugin (Klaus Kiwi)
|
|
|
|
- Add event queue overflow action to audispd
|
2007-10-05 15:42:18 +00:00
|
|
|
|
2007-10-01 18:43:37 +00:00
|
|
|
* Mon Oct 1 2007 Steve Grubb <sgrubb@redhat.com> 1.6.2-2
|
|
|
|
- Don't retry if the rt queue is full.
|
|
|
|
|
2007-09-25 15:56:34 +00:00
|
|
|
* Tue Sep 25 2007 Steve Grubb <sgrubb@redhat.com> 1.6.2-1
|
|
|
|
- Add support for searching by posix regular expressions in auparse
|
|
|
|
- Route DEAMON events into rt interface
|
|
|
|
- If event pipe is full, try again after doing local logging
|
|
|
|
- Optionally add node/machine name to records in audit daemon
|
|
|
|
- Update ausearch/aureport to specify nodes to search on
|
|
|
|
- Fix segfault interpretting saddr fields in avcs
|
|
|
|
|
2007-09-06 18:16:57 +00:00
|
|
|
* Thu Sep 6 2007 Steve Grubb <sgrubb@redhat.com> 1.6.1-2
|
|
|
|
- Fix uninitialized variable in auparse (John Dennis)
|
|
|
|
|
2007-09-02 16:49:22 +00:00
|
|
|
* Sun Sep 2 2007 Steve Grubb <sgrubb@redhat.com> 1.6.1-1
|
|
|
|
- External plugin support in place
|
|
|
|
- Fix reference counting in auparse python bindings (#263961)
|
|
|
|
- Moved default af_unix plugin socket to /var/run/audispd_events
|
|
|
|
|
2007-08-29 17:18:22 +00:00
|
|
|
* Wed Aug 29 2007 Steve Grubb <sgrubb@redhat.com> 1.6-3
|
|
|
|
- Add newline to audispd string formatted events
|
|
|
|
|
2007-08-28 18:34:17 +00:00
|
|
|
* Tue Aug 28 2007 Steve Grubb <sgrubb@redhat.com> 1.6-2
|
|
|
|
- spec file cleanups
|
|
|
|
- Update to s-c-audit 0.4.3
|
|
|
|
|
2007-08-27 20:29:41 +00:00
|
|
|
* Mon Aug 27 2007 Steve Grubb <sgrubb@redhat.com> 1.6-1
|
|
|
|
- Update Licence tags
|
|
|
|
- Adding perm field should not set syscall added flag in auditctl
|
|
|
|
- Fix segfault when aureport -if option is used
|
|
|
|
- Fix auditctl to better check keys on rule lines
|
|
|
|
- Add support for audit by TTY and other new event types
|
|
|
|
- Auditd config option for group permission of audit logs
|
|
|
|
- Swig messed up a variable in ppc's python bindings causing crashes. (#251327)
|
|
|
|
- New audit event dispatcher
|
|
|
|
- Update syscall tables for 2.6.23 kernel
|
|
|
|
|
2007-07-25 20:09:50 +00:00
|
|
|
* Wed Jul 25 2007 Steve Grubb <sgrubb@redhat.com> 1.5.6-1
|
|
|
|
- Fix potential buffer overflow in print clone flags of auparse
|
|
|
|
- Fix python traceback parsing watches without perm statement (Miloslav Trmac)
|
|
|
|
- Update auditctl to handle legacy kernels when putting a watch on a dir
|
|
|
|
- Fix acct interpretation in auparse
|
|
|
|
|
2007-07-16 23:30:49 +00:00
|
|
|
* Tue Jul 17 2007 Miloslav Trmač <mitr@redhat.com> - 1.5.5-5
|
|
|
|
- Fix a double free when auditd receives SIGHUP
|
|
|
|
- Move the system-config-audit menu entry to the Administration menu
|
|
|
|
|
2007-07-10 23:22:14 +00:00
|
|
|
* Tue Jul 10 2007 Steve Grubb <sgrubb@redhat.com> 1.5.5-1
|
|
|
|
- Add system-config-audit (Miloslav Trmac)
|
|
|
|
- Correct bug in audit_make_equivalent function (Al Viro)
|
|
|
|
|
|
|
|
* Tue Jun 26 2007 Steve Grubb <sgrubb@redhat.com> 1.5.4-1
|
|
|
|
- Add feed interface to auparse library (John Dennis)
|
|
|
|
- Apply patch to libauparse for unresolved symbols (#241178)
|
|
|
|
- Apply patch to add line numbers for file events in libauparse (John Dennis)
|
|
|
|
- Change seresults to seresult in libauparse (John Dennis)
|
|
|
|
- Add unit32_t definition to swig (#244210)
|
|
|
|
- Add support for directory auditing
|
|
|
|
- Update acct field to be escaped
|
|
|
|
|
2007-05-01 21:43:06 +00:00
|
|
|
* Tue May 01 2007 Steve Grubb <sgrubb@redhat.com> 1.5.3-1
|
|
|
|
- Change buffer size to prevent truncation of DAEMON events with large labels
|
|
|
|
- Fix memory leaks in auparse (John Dennis)
|
|
|
|
- Update syscall tables for 2.6.21 kernel
|
|
|
|
- Update capp & lspp rules
|
|
|
|
- New python bindings for libauparse (John Dennis)
|
|
|
|
|
2007-04-05 22:44:18 +00:00
|
|
|
* Thu Apr 04 2007 Steve Grubb <sgrubb@redhat.com> 1.5.2-1
|
|
|
|
- New event dispatcher (James Antill)
|
|
|
|
- Apply patches fixing man pages and Makefile.am (Philipp Hahn)
|
|
|
|
- Apply patch correcting python libs permissions (Philipp Hahn)
|
|
|
|
- Fix auditd segfault on reload
|
|
|
|
- Fix bug in auparse library for file pointers and descriptors
|
|
|
|
- Extract subject information out of daemon events for ausearch
|
|
|
|
|
2007-03-29 12:19:50 +00:00
|
|
|
* Thu Mar 29 2007 Steve Grubb <sgrubb@redhat.com> 1.5.1-2
|
|
|
|
- Remove requires kernel-headers for python-libs
|
|
|
|
- Apply patch to prevent segfaults on auditd reload
|
|
|
|
|
2007-03-20 16:34:48 +00:00
|
|
|
* Tue Mar 20 2007 Steve Grubb <sgrubb@redhat.com> 1.5.1-1
|
|
|
|
- Updated autrace to monitor *at syscalls
|
|
|
|
- Add support in libaudit for AUDIT_BIT_TEST(^) and AUDIT_MASK_TEST (&)
|
|
|
|
- Finish reworking auditd config parser
|
|
|
|
- In auparse, interpret open, fcntl, and clone flags
|
|
|
|
- In auparse, when interpreting execve record types, run args through unencode
|
|
|
|
- Add support for OBJ_PID message type
|
|
|
|
- Event dispatcher updates
|
|
|
|
|
2007-03-02 23:40:38 +00:00
|
|
|
* Fri Mar 2 2007 Steve Grubb <sgrubb@redhat.com> 1.5-2
|
|
|
|
- rebuild
|
|
|
|
|
2007-03-02 22:26:36 +00:00
|
|
|
* Fri Mar 2 2007 Steve Grubb <sgrubb@redhat.com> 1.5-1
|
2007-02-21 02:43:37 +00:00
|
|
|
- NEW audit dispatcher program & plugin framework
|
2007-03-02 22:26:36 +00:00
|
|
|
- Correct hidden variables in libauparse
|
|
|
|
- Added NISPOM sample rules
|
|
|
|
- Verify accessibility of files passed in auparse_init
|
|
|
|
- Fix bug in parser library interpreting socketcalls
|
|
|
|
- Add support for stdio FILE pointer in auparse_init
|
|
|
|
- Adjust init script to allow anyone to status auditd (#230626)
|
2007-02-21 02:43:37 +00:00
|
|
|
|
2007-02-21 00:11:20 +00:00
|
|
|
* Tue Feb 20 2007 Steve Grubb <sgrubb@redhat.com> 1.4.2-1
|
|
|
|
- Add man pages
|
|
|
|
- Reduce text relocations in parser library
|
|
|
|
- Add -n option to auditd for no fork
|
|
|
|
- Add exec option to space_left, admin_space_left, disk_full,
|
|
|
|
and disk_error - eg EXEC /usr/local/script
|
|
|
|
|
2007-02-16 22:20:43 +00:00
|
|
|
* Fri Feb 16 2007 Steve Grubb <sgrubb@redhat.com> 1.4.1-1
|
|
|
|
- updated audit_rule_fieldpair_data to handle perm correctly (#226780)
|
|
|
|
- Finished search options for audit parsing library
|
|
|
|
- Fix ausearch -se to work correctly
|
|
|
|
- Fix auditd init script for /usr on netdev (#228528)
|
|
|
|
- Parse avc seperms better when there are more than one
|
|
|
|
|
2007-02-04 22:11:48 +00:00
|
|
|
* Sun Feb 04 2007 Steve Grubb <sgrubb@redhat.com> 1.4-1
|
|
|
|
- New report about authentication attempts
|
|
|
|
- Updates for python 2.5
|
|
|
|
- update autrace to have resource usage mode
|
|
|
|
- update auditctl to support immutable config
|
|
|
|
- added audit_log_user_command function to libaudit api
|
|
|
|
- interpret capabilities
|
|
|
|
- added audit event parsing library
|
|
|
|
- updates for 2.6.20 kernel
|
|
|
|
|
2006-12-21 21:05:10 +00:00
|
|
|
* Sun Dec 10 2006 Steve Grubb <sgrubb@redhat.com> 1.3.1-2
|
2006-12-22 01:14:20 +00:00
|
|
|
- Make more adjustments for python 2.5
|
2006-12-21 21:05:10 +00:00
|
|
|
|
2006-12-10 22:51:00 +00:00
|
|
|
* Sun Dec 10 2006 Steve Grubb <sgrubb@redhat.com> 1.3.1-1
|
|
|
|
- Fix a couple parsing problems (#217952)
|
|
|
|
- Add tgkill to S390* syscall tables (#218484)
|
|
|
|
- Fix error messages in ausearch/aureport
|
|
|
|
|
2006-12-06 23:05:00 +00:00
|
|
|
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 1.3-4
|
|
|
|
- rebuild against python 2.5
|
|
|
|
|
2006-12-01 16:34:07 +00:00
|
|
|
* Thu Nov 30 2006 Steve Grubb <sgrubb@redhat.com> 1.3-3
|
|
|
|
- Fix timestamp for libaudit.conf (#218053)
|
|
|
|
|
2006-11-30 13:26:36 +00:00
|
|
|
* Thu Nov 30 2006 Steve Grubb <sgrubb@redhat.com> 1.3-2
|
|
|
|
- Fix minor parsing problem and add new msg types
|
|
|
|
|
2006-11-28 22:34:26 +00:00
|
|
|
* Tue Nov 28 2006 Steve Grubb <sgrubb@redhat.com> 1.3-1
|
|
|
|
- ausearch & aureport implement uid/gid caching
|
|
|
|
- In ausearch & aureport, extract addr when hostname is unknown
|
|
|
|
- In ausearch & aureport, test audit log presence O_RDONLY
|
|
|
|
- New ausearch/aureport time keywords: recent, this-week, this-month, this-year
|
|
|
|
- Added --add & --delete option to aureport
|
|
|
|
- Update res parsing in config change events
|
|
|
|
- Increase the size on audit daemon buffers
|
|
|
|
- Parse avc_path records in ausearch/aureport
|
|
|
|
- ausearch has new output mode, raw, for extracting events
|
|
|
|
- ausearch/aureport can now read stdin
|
|
|
|
- Rework AVC processing in ausearch/aureport
|
|
|
|
- Added long options to ausearch and aureport
|
|
|
|
|
2006-10-24 18:16:19 +00:00
|
|
|
* Tue Oct 24 2006 Steve Grubb <sgrubb@redhat.com> 1.2.9-1
|
|
|
|
- In auditd if num_logs is zero, don't rotate on SIGUSR1 (#208834)
|
|
|
|
- Fix some defines in libaudit.h
|
|
|
|
- Some auditd config strings were not initialized in aureport (#211443)
|
|
|
|
- Updated man pages
|
|
|
|
- Add Netlabel event types to libaudit
|
|
|
|
- Update aureports to current audit event types
|
|
|
|
- Update autrace a little
|
|
|
|
- Deprecated all the old audit_rule functions from public API
|
|
|
|
- Drop auparse library for the moment
|
|
|
|
|
2006-09-29 20:48:53 +00:00
|
|
|
* Fri Sep 29 2006 Steve Grubb <sgrubb@redhat.com> 1.2.8-1
|
|
|
|
- Add dist tag and bump version (#208532)
|
|
|
|
- Make internal auditd buffers bigger for context info
|
|
|
|
- Correct address resolving of hostname in logging functions
|
|
|
|
- Do not allow multiple msgtypes in same audit rule in auditctl (#207666)
|
|
|
|
- Only =, != operators for arch & inode fields in auditctl (#206427)
|
|
|
|
- Updated audit message type table
|
|
|
|
- Remove watches from aureport since FS_WATCH is deprecated
|
|
|
|
- Add audit_log_avc back temporarily (#208152)
|
|
|
|
|