YAMon v4 - What's new?

latest installer script (v4.0.7)

See also `changes.log` in your YAMon installation directory.

To see whether you have the latest and greatest files on your router, open a PuTTY (or equivalent terminal app) window and run
/opt/YAMon4/compare.sh
or, if you have set up the YAMon aliases, you can enter just
comp
At the prompt, hit return to compare your files with the `production` (aka current) files. Hit return again to just compare the files (rather than update them).

If you want to get the latest pre-production files, hit `d` at the first prompt and then `s` at the second.

    YAMon v4.0.6:: 2020-01-26

    Finally pushed live... Many more updates:
  • get acRules based upon firmware (in end-of-hour)
  • added logging to WriteConfigFile; changed logic to create js directory in SetWebDirectories (in start)
  • replaced all non-alpha chars with _ in t_interfaces (rather than just -) in CalculateInterfaceTotals (in dailytotals)
  • minor update to install.sh to follow symlinks when checking read permission
  • only log unmatched traffic if _logNoMatchingMac=1 (re-added to config.file; change in setupIPChains & check-network)
  • not really new to 4.0.6, but aliases are now included in the installation directory - see YAMon aliases for more info.
  • added device traffic to live data file
  • fixed issue with non-alpha characters in interface name (dailytotals)
  • fixed issue with too long variable value (prompts)
  • fixed issue(s) with missing values in config.file (defensively adding defaults) - (setPaths and elsewhere)
  • fixed issue with incorrect interface totals in monthly data file
  • added run-fixes.sh to manually launch /includes/fixes.sh; also added to aliases
  • a number of tweaks in compare.sh
  • fixed issue in block.sh for dd-wrt

    YAMon v4.0.5:: 2020-01-03

    Many more updates:
  • added block/unblock/blocked to commands in aliases
    running block/unblock without parameters now shows the syntax for the commands
    also added duration to block/unblock (i.e., you can now specify that someone can/cannot access the web for the next `x` minutes.
  • fixed a significant issue with interface totals and incorporated those into the reports (see new table/graph on daily usage tab)
  • added log messages; added JS to head of tmplogFile (in end of hour) so you have much greater visibility into the logs
  • added symlinks for day and hour logs (in new-day)
  • minor changes in setup
  • added links to latest log and log for current day
  • added CalculateInterfaceTotals; removed brace brackets around memory (in dailytotals)

    YAMon v4.0.4:: 2019-12-1

    Many more updates:
  • Several bug fixes based upon my testing & others (thanks to all!)
  • The first iteration with the access restrictions feature!!! (woo hoo)
  • Some additions to the parameters in `config.file`:
    • New values established during setup: _installed, _updated, _router, _firmwareName
      (these once resided in router.js and will now get merged into config.sh)

    YAMon v4.0.1:: 2019-10-30

    updates to the initial beta... key changes include:
  • Numerous bug fixes based upon my testing & Dave Daniels' testing (thanks, Dave!)
  • A new version of the installer script and the setup script
  • *Many* changes to the parameters in `config.file` - including removal of the following parameters:
    • _updatefreq & _publishInterval... replaced by _updateTraffic
    • _useTMangle... not used?!?
    • _path2ip, _includeIPv6... now evaluated in setPaths.sh (along with a lot of other options
    • _log2file, _scrlevel... no longer useful because the scripts are now running as cron jobs
    • _symlink2data... by default, now yes
    • _organizeData... by default, now by year and interval)
    • _tarBUs... now by default, yes
    • _allowMultipleIPsperMAC, _multipleIPMAC... now, data is tracked by ip & mac. Logic to roll things up will move to the reports
    • _usageFileName, _usersFileName,_hourlyFileName, _liveFileName... no need to customize these; they're now set in setPaths.sh
    • _includeIncomplete... not needed any more?!?
    • _guest_iface... not needed any more?!?
    • _append_PPPOE... not needed any more?!?
    • _dnsmasq_conf, _dnsmasq_leases... evaluated in setPaths.sh
    • _use_nf_conntrack... evaluated in setPaths.sh
    • _enableLogging... by default enabled; set _loglevel to 99 to effectively shut it off
    • _logNoMatchingMac... enabled by default now to detect when new devices are added to the network
    • _webDir, _wwwCSS, _wwwImages, _wwwJS... no longer changable(I'm not sure anyone ever did change them)
      The following parameters were added:
    • _updateTraffic - the delay *in minutes* between traffic updates (if not set, defaults to every 4 minutes)
    • _purgeOldFiles - whether or not to purge old log files and backups at the end of the billing interval (if not set, defaults to true)
    • _lang - the default language... (if not set, defaults to `en` (English))... it would take a lot of work to fully internationalize YAMon

    YAMon v4 Beta 1:: 2019-10-25

    The first public preview of the v4 version.
  • virtually all of the router-side code has been completely re-written.
  • the monolithic app which ran constantly in the background on your router has been replaced with specifically scheduled cron jobs... this has taken a lot of the time related code out of the project so the files are much smaller and much more activity specific - i.e., there are tasks which are run every minute (the live data updates); others that are run at the start of the hour or end of the day, etc., etc.
  • devices & traffic are now tracked by MAC & IP address which eliminates a lot of complexity in the code.

Manual install for YAMon v4

Sign-up to get automatic notifications when there are updates to YAMon.

If you are having problems, please see the Common Problems page or send a question to questions@usage-monitoring.com.