| 1 |
CHANGES file for iptraf-ng |
| 2 |
|
| 3 |
* Tue Nov 21 2024 Vitezslav Samel <[email protected]> - 1.2.2 |
| 4 |
- small cleanups: remove unused code/variable, correct format specifiers |
| 5 |
- serv.c: fix and validate port/ranges entering/loading/saving |
| 6 |
- SECURITY FIX: CVE-2024-52949: interface names: limit length to IFNAMSIZ |
| 7 |
|
| 8 |
* Tue Jul 21 2020 Vitezslav Samel <[email protected]> - 1.2.1 |
| 9 |
- Makefile: protect mandatory compile flags |
| 10 |
- packet capture: don't reuse socket for multiple receive functions |
| 11 |
- TPACKET_V[23]: continue even if mlock() fails |
| 12 |
|
| 13 |
* Thu Jun 04 2020 Vitezslav Samel <[email protected]> - 1.2.0 |
| 14 |
- ipfrag: code refactoring (Nikola Pajkovsky) |
| 15 |
- ifstats: sort interfaces by name (Jan Engelhardt) |
| 16 |
- ifstats: fix memory leak (Phil Cameron) |
| 17 |
- documentation update (Phil Cameron) |
| 18 |
All changes below are done by Vitezslav Samel: |
| 19 |
Fixes: |
| 20 |
- ipmon: fix division by zero |
| 21 |
- fix: detstats(), ifstats(): handle packets with incorrect header checksum |
| 22 |
- fix: positionptr(): properly allocate newly created interfaces |
| 23 |
- fix: detstats(): properly account non-IP packets |
| 24 |
- fix: properly init curses (fixes view on some utf-8 terminals) |
| 25 |
- fix: cidr_split_address(): fix buffer overflow |
| 26 |
- ipmon: printentry(): fix printing of huge values |
| 27 |
- build: use correct libraries (wide version of -lpanel) |
| 28 |
- fix unsafe handling of printf() args (RedHat Bugzilla: 1842690) |
| 29 |
- fix the CPU hog if the interface gets removed (RedHat Bugzilla: 1572750) |
| 30 |
Enhancements: |
| 31 |
- introduce packet capturing abstraction: add recvmmsg(), TPACKET_V2 |
| 32 |
and TPACKET_V3 mmap()ed capturing modules: this allow us to capture |
| 33 |
in multigigabit speeds |
| 34 |
- add partial support for IPoIB interfaces (full support cannot be done |
| 35 |
because the kernel interface doesn't give us source address) |
| 36 |
(RedHat Bugzilla: 1140211) |
| 37 |
- merge rvnamed-ng into iptraf-ng |
| 38 |
- allow scrolling with Home, End, PageUp and PageDown keys |
| 39 |
- show dropped packet count |
| 40 |
- pktsize: print in and out counters |
| 41 |
- ifstats: show total packet rate and packet drop across all interfaces |
| 42 |
- ipmon: show OSPF protocol version |
| 43 |
- hostmon, ipmon: update screen only when needed (vastly reduces CPU |
| 44 |
usage and also reduces packet drops) |
| 45 |
- update source code to compile cleanly on modern gcc |
| 46 |
- numerous code refactoring/cleaning up all over the source tree |
| 47 |
|
| 48 |
* Tue Jul 23 2013 Nikola Pajkovsky <[email protected]> - 1.1.4 |
| 49 |
- locking code rewrite: only one instance is allowed now |
| 50 |
- promiscuous mode rewrite |
| 51 |
- build system: install iptraf-ng to sbin |
| 52 |
- remove token-ring support |
| 53 |
- remove ISDN interfaces support |
| 54 |
- preparation for packet capturing into the file |
| 55 |
- source code cleanups |
| 56 |
- bugfix: don't segfault when there are no ports to remove |
| 57 |
- rvnamed: fix the IPv6 resolving |
| 58 |
- add 802.1ad and QinQ VLAN handling |
| 59 |
- optimize code (to not use that much CPU) |
| 60 |
|
| 61 |
* Wed May 23 2012 Nikola Pajkovsky <[email protected]> - 1.1.3 |
| 62 |
- new building system (based only on make, no automake/autoconf) |
| 63 |
- code cleanups |
| 64 |
- SIT tunnels support |
| 65 |
- space for HW addresses fix |
| 66 |
- sort interfaces by ifindex |
| 67 |
- print rates every second using moving average (over last 5 seconds) |
| 68 |
- packet_get() bugfix (don't count packets when there's no packet ready) |
| 69 |
- fix segfault in the tui/* code |
| 70 |
- fix checksumming for odd-sized IPv4 header |
| 71 |
|
| 72 |
* Fri May 04 2012 Nikola Pajkovsky <[email protected]> - 1.1.2 |
| 73 |
- massive code cleanup |
| 74 |
- fix PPP handling |
| 75 |
- move the splash screen to the main menu |
| 76 |
- fix capturing on tun-like interfaces |
| 77 |
- support GRE-over-IP tunnels |
| 78 |
- fix ethernet descriptions |
| 79 |
- change units: bits/sec (bytes/sec) to kbps (kBps) |
| 80 |
- use bind() to lock the socket on interface (should decrease CPU |
| 81 |
utilization on systems with very busy interfaces) |
| 82 |
- warnings cleanup |
| 83 |
- fix packet length counting for large packets |
| 84 |
- hostmon(): count IPv6 as IP protocol too |
| 85 |
|
| 86 |
* Thu Feb 02 2012 Nikola Pajkovsky <[email protected]> - 1.1.1 |
| 87 |
- fix frames in UTF-8 locales |
| 88 |
- fix IPv6 port stats |
| 89 |
- fix IPv6 byte counting |
| 90 |
- fix port data rate |
| 91 |
- fix for interfaces with long name |
| 92 |
|
| 93 |
* Wed Jan 11 2012 Nikola Pajkovsky <[email protected]> - 1.1.0 |
| 94 |
- build system fixes |
| 95 |
- brand new command line options parser |
| 96 |
- rename iptraf to iptraf-ng (binaries, mans) |
| 97 |
- code cleanup (useless code removal, warnings erradication, ...) |
| 98 |
- new ip checksum based on rfc1071 implementation |
| 99 |
- landesc.[c,h]: full rewrite |
| 100 |
|
| 101 |
* Sun Apr 11 2010 Nikola Pajkovsky <[email protected]> - 1.0.3 |
| 102 |
- documentation cleanup |
| 103 |
|
| 104 |
* Wed Mar 24 2010 Nikola Pajkovsky <[email protected]> - 1.0.2 |
| 105 |
- remove warnings |
| 106 |
- rif of PKG_CHECK_MODULES |
| 107 |
- tx_operate_listbox(): use proper format string for size_t in snprintf |
| 108 |
- ltrim(): simplify function and fix situation when strings overlap in strcpy |
| 109 |
- build: pass libpanel_CFLAGS and ncurses_CFLAGS to compiler |
| 110 |
- selectiface(): use strncpy to prevent buffer overflow and thus avoid gcc warning |
| 111 |
- init_promisc_list(): use IF_NAMESIZE as size of buffer for interface name |
| 112 |
- main(): allow regular users to run iptraf if the sticky-bit is set |
| 113 |
- fix strcpy overlap memory |
| 114 |
- remove -Werror option |
| 115 |
|
| 116 |
* Thu Mar 04 2010 Nikola Pajkovsky <[email protected]> - 1.0.1 |
| 117 |
- remove dereferencing type-punned pointer will break strict-aliasing rules |
| 118 |
- convmacaddr(): fix assignment casting. One more warning gone. |
| 119 |
- ipmon(), servmon(): unnecessary casting is gone. Fixes strict-aliasing. |
| 120 |
- Fix compilation issues and crash within LAN station monitor |
| 121 |
|
| 122 |
* Mon Mar 01 2010 Nikola Pajkovsky <[email protected]> - 1.0.0 |
| 123 |
- compile with -std=gnu99 -pedantic -Wall -Werror |
| 124 |
- add support for devices(used patches from gentoo, debian and fedora): |
| 125 |
vlan, hsi, ctc, ath, bond, ra, bnep, dsl, modem, ni, br, tap, dummy, vmnet |
| 126 |
- add longer intefaces names(18 chars) |
| 127 |
- add iptraf -u - show unsupported interfaces([email protected]) |
| 128 |
- check if macro is defined ICMP6_DST_UNREACH_NOTNEIGHBOR([email protected]) |
| 129 |
- add ipv6 support |
| 130 |
- remove wierd Setup compilation and replaced it by autotools |
| 131 |
- import original iptraf-3.0.0 |