-1.13 / <not released yet>
+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
* --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
- - JSON output (--json)
+ - 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-14
+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
- --create parameter for database creation
-1.11 / 1-Jun-11
+1.11 / 1-Jun-2011
- Fix: Memory allocation was miscalculated when creating interface list from
/sys/class/net when /proc/net/dev wasn't available which in turn could
if no databases are found during startup
-1.10 / 2-Jan-10
+1.10 / 2-Jan-2010
- Fix: Buffer overflow was possible in hourly image output when RateUnit=1
and HourlyRate=1
- Code cleanup
-1.9 / 12-Sep-09
+1.9 / 12-Sep-2009
- Fix: TrafficlessDays configuration option was enabled when set to zero
when it should have been disabled
OfflineSaveInterval
-1.8 / 1-Aug-09
+1.8 / 1-Aug-2009
- Fix: OpenBSD print issues (was: ' used for formatting in sprintf)
- Fix: Monthly estimate for February during a leap year was wrong
ShowRate, RateUnit, TrafficlessDays, HourlyRate, TransparentBg
-1.7 / 12-Apr-09
+1.7 / 12-Apr-2009
- Fix: Timezone changes shouldn't cause a flood of errors anymore
- Fix: Statvfs used instead of statfs for BSD compatibility
- List of available interfaces if wrong of unavailable interface is selected
-1.6 / 1-Jan-08
+1.6 / 1-Jan-2008
- Fix: Segmentation fault when environment variable "HOME" wasn't defined,
this broke most CGI and PHP scripts that used vnStat
- Minor non-visible fixes and code cleanup
-1.5 / 3-Dec-07
+1.5 / 3-Dec-2007
- Fix: compile time warnings solved
- Fix: kernel test is now more verbose
- Maximum bandwidth of interfaces can be set
-1.4 / 26-Mar-04
+1.4 / 26-Mar-2004
- Fix: major output problems when compiled with some compilers
(thanks to DukePyrolator for reporting this bug and
- Minor non-visible fixes and code cleanup
-1.3 / 8-Mar-04
+1.3 / 8-Mar-2004
- Fix: support for 64bit counters
- Fix: 'yesterday' was showing 01.01. with new databases
- Minor visual updates
-1.2 / 7-Oct-03
+1.2 / 7-Oct-2003
- Changed file paths to conform with FHS (http://www.pathname.com/fhs/)
/usr/local/bin/vnstat -> /usr/bin/vnstat
- Documentation for --dumpdb included in the README
-1.1 / 13-Jul-03
+1.1 / 13-Jul-2003
- Support for multiple interfaces
- Date checking (update shouldn't be before previous update)
- Daily/monthly traffic estimation
-22-Nov-02
+22-Nov-2002
- Renamed the cron script file that would be installed to /etc/cron.d
from vnstat.cron to vnstat because debian systems didn't execute scripts
containing dots (Thanks to frangen / Simo Salminen for this note)
-1.0 / 23-Sep-02
+1.0 / 23-Sep-2002
- Initial public release
1.7: UnitMode + all settings under vnstatd and vnstati
-Upgrading from versions 1.1 and later
+Upgrading from versions 1.3 and later
:::::::::::::::::::::::::::::::::::::
1) Follow the normal install procedure, 'make install' will not overwrite
5) If the daemon (vnstatd) is used then restart the daemon after the
configuration file has been updated.
-
-
-Upgrading from version 1.0
-::::::::::::::::::::::::::
-
- Make a backup of your current database. For the old multiuser install that
- would be /var/spool/vnstat/db and for singleuser it's ~/.vnstatdb
- Copy that file to some other directory that isn't in any relation with
- vnStat. All this is only for backup so the file can be removed once
- 1.3 or later has been installed and found working.
-
- The next thing is to rename that database according to the interface it's
- monitoring. Here's an example if the interface is eth0.
-
- mv /var/spool/vnstat/db /var/spool/vnstat/eth0
-
- If there are multiple databases that where used with the -f parameter then
- repeat that procedure for each of of them. In a similar way those using
- the singleuser version would first make a directory labelled '~/.vnstat'
- and move the old database there.
-
- mv ~/.vnstatdb ~/.vnstat/eth0
-
- Now your all set to continue the install process like the INSTALL file
- tells. Remember that there's no need to uninstall version 1.0 before
- installing a more recent version.