From 553895ff79d89b543ed1d1c82bfe990d147bfcbf Mon Sep 17 00:00:00 2001 From: Phil Cameron Date: Tue, 21 Jul 2020 16:03:31 -0400 Subject: [PATCH] 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 --- iptraf-ng.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iptraf-ng.spec b/iptraf-ng.spec index 98a01a4..e835e1e 100644 --- a/iptraf-ng.spec +++ b/iptraf-ng.spec @@ -120,7 +120,7 @@ install -d -m 0755 %{buildroot}/run/%{name}/ - Build with linker flags from redhat-rpm-config * Mon Jan 22 2018 Phil Cameron - 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 @@ -169,7 +169,7 @@ install -d -m 0755 %{buildroot}/run/%{name}/ * Mon Sep 02 2013 Nikola Pajkovsky - 1.1.4-3 - 9b32013 BUGFIX: fix "Floating point exception" in tcplog_flowrate_msg() (Vitezslav Samel) - + * Sat Aug 03 2013 Fedora Release Engineering - 1.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild