Merge pull request #1717 from phil-davis/traffic-graph-description
Add DNS host override descriptions
since we can sometimes provide a useful description from that configdata also.Fill the $iplookup array with host or FQDN data if description is blankor host or FQDN was requested. Then we can use $iplookup in all cases...
Code spacing
and other random stuff I noticed.I think this finishes messing with code style. The codebase should matchthe developer style guide closely enough that 99.9% of changes will notfeel the need to also massage the formatting.
Add description as a display option on Traffic Graph
This is handy at sites where lots of the LAN clients have static-mappedDHCP IP addresses. Depending on the site host naming conventions, hostnames can be a bit obtuse - may not tell you where the client device...
Code style usr-local-www back-end
files that do stuff in mostly in the background.
Include Unbound in logic here
Make Local the default filter for Traffic Graph
to preserve the old behavior, that it shows "Local" traffic when first started.
Return all when all or remote is selected on Traffic Graph
Fix dnsmasq host overrides and dhcp integration
. Do not execute following actions when dnsmasq is disabled: . Add host overrides to /etc/hosts . Register DHCP leases in DNS Forwarder . Register DHCP static mappings in DNS forwarder
It should fix issue reported at following forum post:...
Bandwidth by IP - allow filter by local and remote
Bandwidth by IP - display static map names also when FQDN selected
If display FQDN was selected, and an IP had no reverse lookup FQDN, but did have a DHCP static mapping, the static map name was not displayed - just 1 line I overlooked when adding the FQDN option.
Traffic Graph add option to display FQDN
It was easy to give the user the choice of displaying IP Address, just the Host Name or the FQDN. And the display wraps long FQDNs OK.
Add display by host name to Traffic Graph
Some more code cleanup
Use jQuery fully on traffic graph. Also remove some unused code from bandwidth_by_ip
Get the correct interface subnet
Adds "Sort by direction" in the Traffic Graph page
Added the option to sort IPs by direction in the Traffic Graph page, andimproved the detection of the local network to monitor (before theresults could not be realistic because of too many "local IPs" were...
Resolves #879. Commit patch referenced in ticket to properly parse rate output.
Implement gettext() calls on bandwidth_by_ip.php
Use full path to rate and pass -b option to show the speeds in bits/s rather than byte/s in conformance with the traffic graph metric which is bits/s.
Simplify a lot the code of rate extracting.
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
Adding Scott Dale's rate package to system -> traffic graphs. Cool stuff!