|
Paul P Komkoff Jr |
5bed8e |
Name: conntrack-tools
|
|
Orion Poplawski |
1eb979 |
Version: 0.9.13
|
|
Orion Poplawski |
97c956 |
Release: 3%{?dist}
|
|
Orion Poplawski |
142f42 |
Summary: Tools to manipulate netfilter connection tracking table
|
|
Paul P Komkoff Jr |
5bed8e |
Group: System Environment/Base
|
|
Paul P Komkoff Jr |
5bed8e |
License: GPLv2
|
|
Paul P Komkoff Jr |
5bed8e |
URL: http://netfilter.org
|
|
Paul P Komkoff Jr |
871299 |
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
|
|
Orion Poplawski |
97c956 |
Source1: conntrackd.init
|
|
Orion Poplawski |
97c956 |
Source2: conntrackd.sysconfig
|
|
Orion Poplawski |
142f42 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Orion Poplawski |
1eb979 |
BuildRequires: libnfnetlink-devel >= 1.0.0, libnetfilter_conntrack-devel >= 0.0.100
|
|
Orion Poplawski |
97c956 |
BuildRequires: pkgconfig bison flex
|
|
Orion Poplawski |
97c956 |
Requires(post): chkconfig
|
|
Orion Poplawski |
97c956 |
Requires(preun): chkconfig
|
|
Orion Poplawski |
97c956 |
Requires(preun): initscripts
|
|
Orion Poplawski |
97c956 |
Requires(postun): initscripts
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
%description
|
|
Paul P Komkoff Jr |
5bed8e |
The conntrack-tools package contains two programs:
|
|
Paul P Komkoff Jr |
5bed8e |
- conntrack: the command line interface to interact with the connection
|
|
Paul P Komkoff Jr |
5bed8e |
tracking system.
|
|
Paul P Komkoff Jr |
5bed8e |
- conntrackd: the connection tracking userspace daemon that can be used to
|
|
Paul P Komkoff Jr |
5bed8e |
deploy highly available GNU/Linux firewalls and collect
|
|
Paul P Komkoff Jr |
5bed8e |
statistics of the firewall use.
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
conntrack is used to search, list, inspect and maintain the netfilter
|
|
Paul P Komkoff Jr |
5bed8e |
connection tracking subsystem of the Linux kernel.
|
|
Paul P Komkoff Jr |
5bed8e |
Using conntrack, you can dump a list of all (or a filtered selection of)
|
|
Paul P Komkoff Jr |
5bed8e |
currently tracked connections, delete connections from the state table,
|
|
Paul P Komkoff Jr |
5bed8e |
and even add new ones.
|
|
Paul P Komkoff Jr |
5bed8e |
In addition, you can also monitor connection tracking events, e.g.
|
|
Paul P Komkoff Jr |
5bed8e |
show an event message (one line) per newly established connection.
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
%prep
|
|
Paul P Komkoff Jr |
871299 |
%setup -q
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
%build
|
|
Paul P Komkoff Jr |
5bed8e |
%configure --disable-static
|
|
Paul P Komkoff Jr |
5bed8e |
%{__make} %{?_smp_mflags}
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
%install
|
|
Orion Poplawski |
142f42 |
rm -rf $RPM_BUILD_ROOT
|
|
Orion Poplawski |
142f42 |
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
Orion Poplawski |
97c956 |
mkdir -p $RPM_BUILD_ROOT%{_initddir}
|
|
Orion Poplawski |
97c956 |
install -m 755 -p %SOURCE1 $RPM_BUILD_ROOT%{_initddir}/conntrackd
|
|
Orion Poplawski |
97c956 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
|
Orion Poplawski |
97c956 |
cp -p %SOURCE2 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/conntrackd
|
|
Orion Poplawski |
97c956 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/conntrackd
|
|
Orion Poplawski |
97c956 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/conntrackd/conntrackd.conf
|
|
Orion Poplawski |
142f42 |
|
|
Orion Poplawski |
142f42 |
%clean
|
|
Orion Poplawski |
142f42 |
rm -rf $RPM_BUILD_ROOT
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Orion Poplawski |
97c956 |
%post
|
|
Orion Poplawski |
97c956 |
/sbin/chkconfig --add conntrackd
|
|
Orion Poplawski |
97c956 |
|
|
Orion Poplawski |
97c956 |
%preun
|
|
Orion Poplawski |
97c956 |
if [ $1 -eq 0 ] ; then
|
|
Orion Poplawski |
97c956 |
/sbin/service conntrackd stop >/dev/null 2>&1
|
|
Orion Poplawski |
97c956 |
/sbin/chkconfig --del conntrackd
|
|
Orion Poplawski |
97c956 |
fi
|
|
Orion Poplawski |
97c956 |
|
|
Orion Poplawski |
97c956 |
%postun
|
|
Orion Poplawski |
97c956 |
if [ "$1" -ge "1" ] ; then
|
|
Orion Poplawski |
97c956 |
/sbin/service conntrackd condrestart >/dev/null 2>&1 || :
|
|
Orion Poplawski |
97c956 |
fi
|
|
Orion Poplawski |
97c956 |
|
|
Paul P Komkoff Jr |
5bed8e |
%files
|
|
Orion Poplawski |
142f42 |
%defattr(-,root,root,-)
|
|
Orion Poplawski |
142f42 |
%doc COPYING AUTHORS INSTALL TODO doc
|
|
Orion Poplawski |
97c956 |
%config(noreplace) %{_sysconfdir}/sysconfig/conntrackd
|
|
Orion Poplawski |
97c956 |
%ghost %{_sysconfdir}/conntrackd/conntrackd.conf
|
|
Orion Poplawski |
97c956 |
%{_initddir}/conntrackd
|
|
Paul P Komkoff Jr |
5bed8e |
%{_sbindir}/conntrack
|
|
Paul P Komkoff Jr |
5bed8e |
%{_sbindir}/conntrackd
|
|
Paul P Komkoff Jr |
5bed8e |
%{_mandir}/man8/*
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
%changelog
|
|
Orion Poplawski |
97c956 |
* Wed May 7 2014 Orion Poplawski <orion@cora.nwra.com> - 0.9.13-3
|
|
Orion Poplawski |
97c956 |
- Add init script
|
|
Orion Poplawski |
97c956 |
|
|
Paul P Komkoff Jr |
fda0a6 |
* Tue Nov 10 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.9.13-2
|
|
Paul P Komkoff Jr |
fda0a6 |
- failed to properly commit the package :(
|
|
Paul P Komkoff Jr |
fda0a6 |
|
|
Paul P Komkoff Jr |
ebc9bd |
* Tue Oct 13 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.9.13-1
|
|
Paul P Komkoff Jr |
ebc9bd |
- new upstream version
|
|
Paul P Komkoff Jr |
ebc9bd |
|
|
Jesse Keating |
e3f293 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.12-4
|
|
Jesse Keating |
e3f293 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
Jesse Keating |
e3f293 |
|
|
Paul P Komkoff Jr |
948c9f |
* Sun May 24 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.9.12-3
|
|
Paul P Komkoff Jr |
948c9f |
- new upstream version
|
|
Paul P Komkoff Jr |
948c9f |
|
|
Paul P Komkoff Jr |
948c9f |
* Sun May 24 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.9.12-2
|
|
Paul P Komkoff Jr |
948c9f |
- versioning screwup
|
|
Paul P Komkoff Jr |
948c9f |
|
|
Paul P Komkoff Jr |
ef8501 |
* Sun May 24 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.9.12-1
|
|
Paul P Komkoff Jr |
ef8501 |
- new upstream version
|
|
Paul P Komkoff Jr |
ef8501 |
|
|
Jesse Keating |
b79096 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.9-2
|
|
Jesse Keating |
b79096 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
Jesse Keating |
b79096 |
|
|
Paul P Komkoff Jr |
456f00 |
* Tue Jan 13 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.9.9-1
|
|
Paul P Komkoff Jr |
456f00 |
- new upstream version
|
|
Paul P Komkoff Jr |
456f00 |
|
|
Paul P Komkoff Jr |
d11f0a |
* Sun Oct 26 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.9.8-1
|
|
Paul P Komkoff Jr |
d11f0a |
- new upstream version
|
|
Paul P Komkoff Jr |
d11f0a |
- remove rollup patch
|
|
Paul P Komkoff Jr |
d11f0a |
|
|
Paul P Komkoff Jr |
c0748d |
* Wed Jul 16 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.9.7-2
|
|
Orion Poplawski |
142f42 |
- fix Patch0/%patch.
|
|
Paul P Komkoff Jr |
c0748d |
|
|
Paul P Komkoff Jr |
871299 |
* Wed Jul 16 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.9.7-1
|
|
Paul P Komkoff Jr |
871299 |
- new upstream version
|
|
Paul P Komkoff Jr |
871299 |
|
|
Paul P Komkoff Jr |
a9812a |
* Sat Feb 23 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.9.6-0.1.svn7382
|
|
Paul P Komkoff Jr |
a9812a |
- new version from svn
|
|
Paul P Komkoff Jr |
a9812a |
|
|
Paul P Komkoff Jr |
007811 |
* Fri Feb 22 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-5
|
|
Paul P Komkoff Jr |
007811 |
- fix the PATH_MAX-related compilation problem
|
|
Paul P Komkoff Jr |
007811 |
|
|
Jesse Keating |
ee42b5 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.5-4
|
|
Jesse Keating |
ee42b5 |
- Autorebuild for GCC 4.3
|
|
Jesse Keating |
ee42b5 |
|
|
Paul P Komkoff Jr |
5bed8e |
* Tue Oct 23 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-3
|
|
Paul P Komkoff Jr |
5bed8e |
- review fixes
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
* Sun Oct 21 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-2
|
|
Paul P Komkoff Jr |
5bed8e |
- review fixes
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
* Fri Oct 19 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.5-1
|
|
Paul P Komkoff Jr |
5bed8e |
- new upstream version
|
|
Paul P Komkoff Jr |
5bed8e |
|
|
Paul P Komkoff Jr |
5bed8e |
* Sun Jul 22 2007 Paul P. Komkoff Jr <i@stingr.net> - 0.9.4-1
|
|
Paul P Komkoff Jr |
5bed8e |
- replace conntrack with conntrack-tools
|