- Fix: JSON output syntax during first day of newly created databases
(pull request by Stefan Merettig)
- Fix: field padding when using UTF-8 locale
- Add optional mode parameter to --json and --xml for limiting the output
to only selected information
1.13 / 18-Jan-2015
- Fix: getgroup() test in Debian GNU/kFreeBSD (patch by Felix Geyer)
- Fix: struct if_data usage after freeifaddrs() call in BSD
- Dynamic unit selection in hourly output instead of being fixed to KiB
- New options in image output (vnstati)
* -nl / --nolegend for hiding the rx/tx legend
* --altdate for using alternative date and time text location
* --headertext for using custom text string in image header section
- Add legend to hourly output image
- Add option for content alignment and page background color to vnstat.cgi
- Document keyword value ranges in configuration file man page
- Import Makefile improvements from OpenBSD
(pull requests by Jasper Lievisse Adriaanse)
- Automatic interface bandwidth detection, BandwidthDetection in config,
default fallback value MaxBandwidth changed from 100 to 1000
- JSON output (--json), vnstat-json.cgi and vnstat-json.php examples
provided in the 'examples' directory
- Drop support for over 10 year old database formats (versions 1.0 - 1.2)
1.12 / 30-Aug-2014
- Fix: Memory allocation when zero interfaces are available, also lo needed
to be missing in order to trigger this leak
- Fix: Rebuild total indexing (thanks to William Epp for reporting this)
- Fix: Some error situations could leave database file open until the end
of command execution
- Fix: Live traffic meter occasionally showing higher minimum than average
in end statistics (Debian Bug #687812)
- Fix: Setting locale when none is specified in config (Debian Bug #606397)
- Fix: Cppcheck findings (may fix Debian Bug #692330)
- Improve traffic meter output accuracy
- Add tests and debug compilation target
- Remove use of -D parameter in Makefile install commands in order to
improve cross-compilation support
- Set CFLAGS in Makefiles only when not already defined
- Add support for database import from text file (--importdb)
(based on patch by Tilmann Bubeck)
- Rename --dumpdb to --exportdb
- Add example systemd service file
- Add example launchd plist file for OS X
- Use ISO YYYY-MM-DD date format timestamps if logfile is used
- Improve daemon startup prints
- Add parameters for changing daemon process user and group
- Add example upstart job configuration file (thanks to Cameron Norman)
- Create database, pid and log dirs during daemon startup if necessary
- Update ownership of database, log and pid files if needed during daemon
startup if started as root and configured to change process user and group
- Remove cron update related example files and documentation, the cron
update method should be considered as deprecated
- --create parameter for database creation
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
Fix a few pkglint warnings
Upstream changes
----------------
1.11 / 1-Jun-11
- Fix: Memory allocation was miscalculated when creating interface list from
/sys/class/net when /proc/net/dev wasn't available which in turn could
crash the daemon
- Fix: Daemon database cache could remain empty after a -HUP signal
- Fix: Don't make temp directory in vnstat.cgi writable for everyone
- Import GNU/kFreeBSD support from Debian
(#608963, patch by Mats Erik Andersson)
- Remove usage of GNU only '-D' option for install for BSD in Makefile
- The daemon now automatically creates databases for available interfaces
if no databases are found during startup
1.10 / 2-Jan-10
- Fix: Buffer overflow was possible in hourly image output when RateUnit=1
and HourlyRate=1
- Fix: Minor memory leak was possible in the handling of HUP signal in daemon
- Fix: Graphical elements weren't correctly aligned in summary image
when header wasn't visible (-nh)
- Fix: --delete didn't work
- Possibility to merge statistics from several databases and save
the end result to a new database (--mergesaved)
- Added validation of database cache in daemon in order to be more robust
in case of system memory corruption
- Support for --style to -l (live mode)
- Alternative print mode to -l (live mode) with optional parameter
- Present options and elements in man pages in alphabetical order
- Code cleanup
(missed those and *emacs* the first time round because they pull
in their png dependencies via default-on options; they were included
in the test bulk build though)
for the selected interface(s). vnStat isn't a packet sniffer. vnStat can be
used even without root permissions.
vnStat is focused on being small, simple and stable.