Compare commits

...

No commits in common. "c9s" and "c8" have entirely different histories.
c9s ... c8

8 changed files with 32 additions and 100 deletions

16
.gitignore vendored
View File

@ -1,15 +1 @@
/iptraf-ng-1.1.0.tar.gz SOURCES/v1.2.1.tar.gz
/iptraf-ng-1.1.1.tar.gz
/iptraf-ng-1.1.2.rc0.tar.gz
/iptraf-ng-1.1.2.tar.gz
/iptraf-ng-1.1.3.1.tar.gz
/iptraf-ng-1.1.4.tar.gz
/0001-fix-segfault-in-adding-interface.patch
/iptraf-ng-tmpfiles.conf
/iptraf-ng-logrotate.conf
/0001-BUGFIX-fix-Floating-point-exception-in-tcplog_flowra.patch
/0002-Makefile-add-Werror-format-security.patch
/0003-fix-segfault-in-adding-interface.patch
/v1.1.4.tar.gz
/v1.2.1.tar.gz
/v1.2.2.tar.gz

1
.iptraf-ng.metadata Normal file
View File

@ -0,0 +1 @@
fc72d2ec4c659d5355cdf1dd9371e64c34749cf1 SOURCES/v1.2.1.tar.gz

View File

@ -0,0 +1,9 @@
# Logrotate file for iptraf
/var/log/iptraf-ng/*.log {
compress
delaycompress
missingok
notifempty
rotate 4
create 0600 root root
}

View File

@ -0,0 +1 @@
d /run/iptraf-ng 0755 root root -

View File

@ -1,15 +1,15 @@
Summary: A console-based network monitoring utility Summary: A console-based network monitoring utility
Name: iptraf-ng Name: iptraf-ng
Version: 1.2.2 Version: 1.2.1
Release: 1%{?dist} Release: 2%{?dist}
Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz Source0: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz
Source1: %{name}-logrotate.conf Source1: %{name}-logrotate.conf
Source2: %{name}-tmpfiles.conf Source2: %{name}-tmpfiles.conf
URL: https://github.com/iptraf-ng/iptraf-ng/ URL: https://github.com/iptraf-ng/iptraf-ng/
License: GPL-2.0-or-later License: GPLv2+
Group: Applications/System
BuildRequires: gcc BuildRequires: gcc
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
Requires: logrotate
Obsoletes: iptraf < 3.1 Obsoletes: iptraf < 3.1
Provides: iptraf = 3.1 Provides: iptraf = 3.1
@ -19,7 +19,7 @@ data like TCP connection packet and byte counts, interface statistics
and activity indicators, TCP/UDP traffic breakdowns, and LAN station and activity indicators, TCP/UDP traffic breakdowns, and LAN station
packet and byte counts. IPTraf-ng features include an IP traffic monitor packet and byte counts. IPTraf-ng features include an IP traffic monitor
which shows TCP flag information, packet and byte counts, ICMP which shows TCP flag information, packet and byte counts, ICMP
details, OSPF packet types, and oversize IP packet warnings; details, OSPF packet types, and oversized IP packet warnings;
interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP 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 checksum errors, interface activity and packet size
counts; a TCP and UDP service monitor showing counts of incoming and counts; a TCP and UDP service monitor showing counts of incoming and
@ -57,7 +57,11 @@ install -m 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/tmpfiles.d/%{name}.conf
mkdir -p %{buildroot}/run mkdir -p %{buildroot}/run
install -d -m 0755 %{buildroot}/run/%{name}/ install -d -m 0755 %{buildroot}/run/%{name}/
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-)
%doc CHANGES FAQ LICENSE README* %doc CHANGES FAQ LICENSE README*
%doc Documentation %doc Documentation
%{_sbindir}/iptraf-ng %{_sbindir}/iptraf-ng
@ -69,64 +73,15 @@ install -d -m 0755 %{buildroot}/run/%{name}/
%{_prefix}/lib/tmpfiles.d/%{name}.conf %{_prefix}/lib/tmpfiles.d/%{name}.conf
%changelog %changelog
* Sun Feb 02 2025 Andrea Claudi <aclaudi@redhat.com> - 1.2.2-1.el9 * Thu Jan 28 2021 Andrea Claudi <aclaudi@redhat.com>
- New version 1.2.2 (Andrea Claudi) [RHEL-77280] - Make sure logrotate use iptraf-ng directory.
- Fix buffer overflow via ifaces.c (Andrea Claudi) [RHEL-71493]
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-4 * Wed Dec 09 2020 Andrea Claudi <aclaudi@redhat.com>
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - New version 1.2.1 (Andrea Claudi) [1906097]
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.1-3 * Thu Apr 11 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-19
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - add tests/tests.yml
Resolves: rhbz#1682317
* 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 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1,7 +0,0 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1-gating.functional}

View File

@ -1,4 +0,0 @@
SHA512 (v1.2.1.tar.gz) = 44d36fc92cdbf379f62cb63638663c3ee610225b9c28d60ee55e62e358f398a6b0db281129327b3472e45fb553ee3dd605af09c129f2233f8839ae3dbd799384
SHA512 (iptraf-ng-logrotate.conf) = 47e26527bc3776a8018b02803cfc9b9bc48ef28d6356767d6a2a724b2e6049f1bdb5c96346809ab18f2c82496680aff1d32ee7a107dce40edd32e3fb85ede082
SHA512 (iptraf-ng-tmpfiles.conf) = ff9f07ad8989bb172a74ac5f3a7311507dc04add8d4ca7cbc476da345f9bb67bb00445e95be1eb6ae16ddf6b03246700c3d8ad194ce41b6005878690bb3464d4
SHA512 (v1.2.2.tar.gz) = 275a345ffd3ab9578c4d159c3a8667326224b4a58b2e7787c4db518b81973d87c04b4b6c5275a721858d01a9b44a0200f8defc06c6f88655aa38d4fa6146ea1d

View File

@ -1,9 +0,0 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- simple:
dir: .
run: "iptraf-ng --help"