|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
Summary: A console-based network monitoring utility
|
|
|
|
|
Name: iptraf-ng
|
|
|
|
|
Version: 1.2.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.2.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz
|
|
|
|
|
Source1: %{name}-logrotate.conf
|
|
|
|
|
Source2: %{name}-tmpfiles.conf
|
|
|
|
|
URL: https://github.com/iptraf-ng/iptraf-ng/
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
Requires: logrotate
|
|
|
|
|
Obsoletes: iptraf < 3.1
|
|
|
|
|
Provides: iptraf = 3.1
|
|
|
|
|
|
|
|
|
@ -19,15 +19,15 @@ data like TCP connection packet and byte counts, interface statistics
|
|
|
|
|
and activity indicators, TCP/UDP traffic breakdowns, and LAN station
|
|
|
|
|
packet and byte counts. IPTraf-ng features include an IP traffic monitor
|
|
|
|
|
which shows TCP flag information, packet and byte counts, ICMP
|
|
|
|
|
details, OSPF packet types, and oversized IP packet warnings;
|
|
|
|
|
details, OSPF packet types, and oversize IP packet warnings;
|
|
|
|
|
interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP
|
|
|
|
|
packet counts, IP checksum errors, interface activity and packet size
|
|
|
|
|
packet counts, IP check sum errors, interface activity and packet size
|
|
|
|
|
counts; a TCP and UDP service monitor showing counts of incoming and
|
|
|
|
|
outgoing packets for common TCP and UDP application ports, a LAN
|
|
|
|
|
statistics module that discovers active hosts and displays statistics
|
|
|
|
|
about their activity; TCP, UDP and other protocol display filters so
|
|
|
|
|
you can view just the traffic you want; logging; support for Ethernet,
|
|
|
|
|
FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the
|
|
|
|
|
FDDI, ISDN, SLIP, PPP, and loop back interfaces; and utilization of the
|
|
|
|
|
built-in raw socket interface of the Linux kernel, so it can be used
|
|
|
|
|
on a wide variety of supported network cards.
|
|
|
|
|
|
|
|
|
@ -57,11 +57,7 @@ install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
|
|
|
|
mkdir -p %{buildroot}/run
|
|
|
|
|
install -d -m 0755 %{buildroot}/run/%{name}/
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc CHANGES FAQ LICENSE README*
|
|
|
|
|
%doc Documentation
|
|
|
|
|
%{_sbindir}/iptraf-ng
|
|
|
|
@ -73,15 +69,64 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_prefix}/lib/tmpfiles.d/%{name}.conf
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 28 2021 Andrea Claudi <aclaudi@redhat.com>
|
|
|
|
|
- Make sure logrotate use iptraf-ng directory.
|
|
|
|
|
* Sun Feb 02 2025 Andrea Claudi <aclaudi@redhat.com> - 1.2.2-1.el9
|
|
|
|
|
- New version 1.2.2 (Andrea Claudi) [RHEL-77280]
|
|
|
|
|
- Fix buffer overflow via ifaces.c (Andrea Claudi) [RHEL-71493]
|
|
|
|
|
|
|
|
|
|
* Wed Dec 09 2020 Andrea Claudi <aclaudi@redhat.com>
|
|
|
|
|
- New version 1.2.1 (Andrea Claudi) [1906097]
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Thu Apr 11 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-19
|
|
|
|
|
- add tests/tests.yml
|
|
|
|
|
Resolves: rhbz#1682317
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 21 2020 Phil Cameron <pcameron@redhat.com> - 1.2.1-1
|
|
|
|
|
- Makefile: protect mandatory compile flags
|
|
|
|
|
- packet capture: don't reuse socket for multiple receive functions
|
|
|
|
|
- TPACKET_V[23]: continue even if mlock() fails
|
|
|
|
|
- ipmon: fix division by zero
|
|
|
|
|
- fix: detstats(), ifstats(): handle packets with incorrect header checksum
|
|
|
|
|
- fix: positionptr(): properly allocate newly created interfaces
|
|
|
|
|
- fix: detstats(): properly account non-IP packets
|
|
|
|
|
- fix: properly init curses (fixes view on some utf-8 terminals)
|
|
|
|
|
- fix: cidr_split_address(): fix buffer overflow
|
|
|
|
|
- ipmon: printentry(): fix printing of huge values
|
|
|
|
|
- build: use correct libraries (wide version of -lpanel)
|
|
|
|
|
- fix unsafe handling of printf() args (RedHat Bugzilla: 1842690)
|
|
|
|
|
- fix the CPU hog if the interface gets removed (RedHat Bugzilla: 1572750)
|
|
|
|
|
- introduce packet capturing abstraction: add recvmmsg(), TPACKET_V2 and TPACKET_V3 mmap()ed capturing modules: this allow us to capture in multigigabit speeds
|
|
|
|
|
- add partial support for IPoIB interfaces (full support cannot be done because the kernel interface doesn't give us source address) (RedHat Bugzilla: 1140211)
|
|
|
|
|
- merge rvnamed-ng into iptraf-ng
|
|
|
|
|
- allow scrolling with Home, End, PageUp and PageDown keys
|
|
|
|
|
- show dropped packet count
|
|
|
|
|
- pktsize: print in and out counters
|
|
|
|
|
- ifstats: show total packet rate and packet drop across all interfaces
|
|
|
|
|
- ipmon: show OSPF protocol version
|
|
|
|
|
- hostmon, ipmon: update screen only when needed (vastly reduces CPU usage and also reduces packet drops)
|
|
|
|
|
- update source code to compile cleanly on modern gcc
|
|
|
|
|
- numerous code refactoring/cleaning up all over the source tree
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-23
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 11 2019 Phil Cameron <pcameron@redhat.com> - 1.1.4-22
|
|
|
|
|
- add test case
|
|
|
|
|
Resolves: 1682317
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 16 2018 Phil Cameron <pcameron@redhat.com> - 1.1.4-20
|
|
|
|
|
- add BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
@ -90,7 +135,7 @@ rm -rf %{buildroot}
|
|
|
|
|
- Build with linker flags from redhat-rpm-config
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2018 Phil Cameron <pcameron@redhat.com> - 1.1.4-16
|
|
|
|
|
- Moved upstream from https://fedorahosted.org/iptraf-ng/ to
|
|
|
|
|
- Moved upstream from https://fedorahosted.org/iptraf-ng/ to
|
|
|
|
|
https://github.com/iptraf-ng/iptraf-ng/ with release v1.1.4
|
|
|
|
|
Fixes error in patch Patch03 - this fixes 1283773
|
|
|
|
|
|
|
|
|
@ -139,7 +184,7 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
* Mon Sep 02 2013 Nikola Pajkovsky <npajkovs@redhat.com> - 1.1.4-3
|
|
|
|
|
- 9b32013 BUGFIX: fix "Floating point exception" in tcplog_flowrate_msg() (Vitezslav Samel)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|