Ok, another version of iptraf-ng is out and ready. As usual we did a
code clean up, add support for SIT tunnels, and more important is, that
we fix two nasty bugs. One is regression, where we count packets even
though there weren't one and the second is segfault, where in some cases
window size was off-by-one.
We drop support for autotools and use only Makefiles. Makefile has
automatic detection of ncurses. It firstly start looking for
ncurses5-config and if fails it continues in sequence ncursesw5-config,
ncurses6-config and ncursesw6-config
If you want to override any ncurses-config, use of the commands:
$ make NEEDS_NCURSESW5=YesPlease
$ make NEEDS_NCURSES6=YesPlease
$ make NEEDS_NCURSESW6=YesPlease
other options is that you can create file config.mak and defie one of
the NEEDS_NCURSES* variable.
Nikola Pajkovsky (7):
build: introduce new building system
wrapper: get rid of unused vasprintf GNU extension
build: force to regenerate VERSION-FILE
winops: fix the off-by-one error
build: fix ncurses cflags and ldflags
build: add support for ncurses[w][5,6]
iptraf-ng 1.1.3
Vitezslav Samel (44):
move changes of original iptraf to CHANGES.old
CHANGES: add changelog for older releases
move struct ifcounts
move struct iflist and iftab
create counters.c
serv.c: remove unused functions
externs.h cleanup: detstats()
externs.h cleanup: *options()
externs.h cleanup: kill unused ip_host_breakdown() declaration
externs.h cleanup: ifstats(), selectiface()
externs.h cleanup: ipmon()
externs.h cleanup: packet_size_breakdown()
externs.h cleanup: servmon()
externs.h cleanup: hostmon()
externs.h: remove this file
CHANGES: set date of 1.1.2 release
packet.c: packet_get() fix
packet.c: packet_adjust(): support SIT tunnels
struct othptabent: make more room for MAC addrs
initiflist(): sort interfaces by ifindex
use xmallocz()
Makefile: dependency fix
set the right default version
Makefile: link rvnamed with $(ALL_LDFLAGS)
add moving average computing functions
add timeval_diff_msec() function
use struct rate in ifstats()
use struct rate in detstats()
use IPTRAF_NAME where appropriate
kill NULL pointer casting
sanitize check_rotate_flag() calls
fix dependency for files with IPTRAF_NAME and/or IPTRAF_VERSION
merge tui/tui.h into tui/msgboxes.h
use iptraf-ng-compat.h for system headers in src/tui/*
merge src/tui/txbox.c into src/tui/winops.c
remove inclusion of non-system headers from iptraf-ng-compat.h
use xmalloc[z]() instead of plain malloc()
add info about authorship into tui/*.c
packet.c: in_cksum(): fix checksumming for odd-sized IPv4 header
packet_get(): don't try to receive packet in case of error
packet_get(): propagate errors to the callers and check for them
packet_get(): use poll() instead of select()
make more room for MAC addrs (take 2)
CHANGES: prepare for release
--
Nikola