So, this is not 100% finished yet as it does not currently work with the Remote Agent. However needed some testers.
This change also deprecates Script Server calls being called without the proc_open() command which was a requirement from the early 2000's for a PHP version I don't even remember.
The change also improves logging when creating graphs via automation.
Lastly, marking #3572 as resolved as it was resolved in another fix over the weekend.
- Issue with SNMP Bulkwalk Repetitions Size
- This enhancement adds a new column to the host table for bulk walk size us
- Detection can happen on each re-index, set manually, or detected and set one time.
- Changed Max OID's to a dropdown
- Max Repetitions is also a dropdown now
- This setting was also carried to the Automation portion of Cacti and the Add Device CLI
* In a recent audit of core Cacti code, there were a few stored XSS issues that can be exposed
* Also removed a few spurious title_trims, that should no longer be a problem.
- Automation Networks allows discovery of invalid IP addresses
- This change also deprecates and removes range support in the form of range1-range2, which was not documented in the tooltip help anyway.
* Turns out it was disabled by design.
* Confirmed it works.
* Additionally added the automation tables to the full sync.
* Also, remove orphans is enabled by default now.
* Fix netmask on 32bit arches
bindec() may produce a float if the resulting number is higher than
PHP_INT_MAX, and long2ip() will barf on that.
On armhf (32bit) for example:
php > $range = 24;
php > echo long2ip(bindec(str_repeat('1',$range) . str_repeat('0',32-$range)));
PHP Warning: long2ip() expects parameter 1 to be int, float given in php shell code on line 1
This commit changes the calculation of the netmask so it works on both
32 and 64 bits, little and big endian.
* CHANGELOG update
* Vulnerability report: Lack of escaping on some pages can lead
to XSS exposure
* Also cleaning up additional copyrights
* Make the way filter headers are escaped consistent
* Ensure previously selected field isn't wiped when ediing automation rule item
* Resolving Issue#1350
As per #1350, when switching an Automation Tree Rule's leaf type, remove invalid Automation Rule Items (Object Selection and Tree Creation criteria)