Age | Commit message (Collapse) | Author |
|
|
|
|
|
format to match: set md5-key <integer_id> "<md5_key>"
|
|
Fixed greedy regex's which would eat much of configuration.
|
|
|
|
|
|
|
|
* Update fortios.rb
Modify script for discard changes private key encryption every time config is downloaded
https://github.com/ytti/oxidized/issues/931
* Update fortios.rb
* Update fortios.rb
* Update fortios.rb
Added filter for inter-controller-key and Cluster uptime.
After update to version 5.6 inter-controller-key change every time config is downloaded .
Cluster uptime is now present and change every time config is downloaded .
* Update fortios.rb
Added rsso secret configuration remove
* Update fortios.rb
Added (Virus-DB|Extended DB|IPS-DB|IPS-ETDB|APP-DB|INDUSTRIAL-DB|Botnet DB|IPS Malicious URL Database) to the script , as suggested in #1119
|
|
Everyday the IPS URL db is updated and so the configuration is "changed". I believe this information spams the diff config and my team and I just decided to replace it by a unique string. Maybe instead of putting this in the :secret, we could create an other var or something that can be specified in the conf. Don't know what you think of this ;-)
|
|
I've noticed there are sometimes secondary keys and rsso-secrets, so I propose we also replace them (worked for us)!
|
|
The output of "diagnose autoupdate version" contains the FortiGuard
Distribution Server (FDS) address. This IP address changes several times
per week and therefore versioning is hardly possible. Added a line to
remove the IP address when fortios_autoupdate is set true.
|
|
Values changed for every show command and versioning was not possible.
|
|
|
|
|
|
signatures the config version is changed
|
|
|
|
|
|
The FortiOS device will truncate the hostname if it exceeds 24 characters. It will place a tilde (~) in the hostname, either at the end or before a hyphen. This causes a failure with prompt recognition and causes the backup to fail. This change adds a tilde as an identifying character in the prompt.
|
|
|
|
To make this work, the timeout must be high as wel. About 120 sec in
my tests
|
|
|
|
|
|
Changing the regex makes possible to backup devices with FortiOS 4.x and long names
|
|
|
|
|
|
|
|
at least from version 5 onwards
|