-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from iptraf-ng/dev
prepare and release version 1.2.0
- Loading branch information
Showing
13 changed files
with
144 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,39 @@ | ||
CHANGES file for iptraf-ng | ||
|
||
* Philip Cameron <[email protected]> - 1.1.5 | ||
- Incorporate numerous cleanup changes in the code | ||
- Revised documentation. Previous distributions shipped the | ||
original IPTraf documentation. | ||
- Bugfix: segfault in rate_add_rate | ||
- Bugfix: Fix memory leak when destroying iflist | ||
* Thu Jun 04 2020 Vitezslav Samel <[email protected]> - 1.2.0 | ||
- ipfrag: code refactoring (Nikola Pajkovsky) | ||
- ifstats: sort interfaces by name (Jan Engelhardt) | ||
- ifstats: fix memory leak (Phil Cameron) | ||
- documentation update (Phil Cameron) | ||
All changes below are done by Vitezslav Samel: | ||
Fixes: | ||
- 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) | ||
Enhancements: | ||
- 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 | ||
|
||
* Tue Jul 23 2013 Nikola Pajkovsky <[email protected]> - 1.1.4 | ||
- locking code rewrite: only one instance is allowed now | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/bash | ||
|
||
GVF=VERSION-FILE | ||
DEF_VER=1.1.5 | ||
DEF_VER=1.2.0 | ||
LF=' | ||
' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
============================================================================ | ||
README DOCUMENT FOR ASYNCHRONOUS REVERSE NAME RESOLVING | ||
---------------------------------------------------------------------------- | ||
|
||
DESCRIPTION | ||
----------- | ||
|
||
IPTraf-ng incorporates a function to resolve IP addresses to host names | ||
in the background, keeping IPTraf-ng from waiting until the lookup is | ||
completed. | ||
|
||
If Reverse Lookup is enabled in the Options menu, the IP Traffic Monitor | ||
will fork another process and this process will attempt to resolve | ||
addresses. | ||
|
||
When the traffic monitor is done, IPTraf-ng tells this resolving process | ||
to quit. | ||
|
||
|
||
PROTOCOL | ||
-------- | ||
|
||
Resolving process and IPTraf-ng communicate with each other with the UNIX | ||
domain socket IPC facility. They use datagram sockets. | ||
|
||
The communication protocol recognizes only 4 types of messages: | ||
|
||
RVN_HELLO the Hello packet. This simply causes to throw it back, | ||
telling it is active. | ||
|
||
RVN_REQUEST a reverse lookup request. This message includes an IP address | ||
to resolve. Upon receive of this request, resolving process | ||
checks its internal cache to see if this IP address is | ||
already resolved or being resolved. If it isn't in the cache | ||
yet, it forks off a copy which resolves in the background, | ||
while it returns the IP address in the meantime. Subsequent | ||
requests will get the IP address until such time that the | ||
child has completed the resolution, at which time, a request | ||
will get the host name in reply. | ||
|
||
RVN_REPLY resolving process marks reply packets with this tag. Reply | ||
packets contain the resolved host name or the ASCII | ||
representation of the IP address, and an indicator of the | ||
state of the resolution for this address (NOTRESOLVED, | ||
RESOLVING or RESOLVED). | ||
|
||
RVN_QUIT Tells resolving process to terminate. | ||
|
||
The datagram structure and #define's are found in the rvnamed.h header file. | ||
|
||
Important rvnamed messages are written to /var/log/iptraf-ng/rvnamed.log. |
Oops, something went wrong.