Platform prerequisites¶
Most of the platforms Avalon supports ask for nothing in particular: an account able to open an SSH session and read the configuration is enough. A few are exceptions, either because they require a specific account profile, or because a feature depends on a minimum software version. This page gathers them.
Fortinet FortiGate¶
Avalon changes nothing on a FortiGate¶
Since version 1.4.2, discovering a FortiGate writes nothing on the device. Console paging is no longer disabled on the firewall, it is absorbed while reading. A read-only account is therefore enough, and that is what we recommend.
The profile and the account¶
The profile below opens exactly what Avalon reads, and nothing more.
config system accprofile
edit "avalon-min"
set secfabgrp read
set ftviewgrp read
set authgrp read
set netgrp read
set loggrp read
set fwgrp read
set vpngrp read
set utmgrp read
set cli-get enable
set cli-show enable
set cli-diagnose enable
set system-execute-ssh disable
set system-execute-telnet disable
set sysgrp custom
config sysgrp-permission
set admin read
set upd read
set cfg read
set mnt read
end
next
end
Then the account that uses it. The password must satisfy the firewall's own policy, which is twelve characters at least in its default configuration.
config system admin
edit "avalon-ro"
set vdom root
set accprofile "avalon-min"
set password <your password>
next
end
Whatever does not appear in this profile is already closed: a fresh profile comes with every CLI permission disabled. Only what is written here has therefore been opened.
cli-config stays closed, which prevents the account from writing any configuration. Both jump
hosts, system-execute-ssh and system-execute-telnet, are explicitly turned off although they are
open by default: without that, a monitoring account can use the firewall as a jump host towards the
rest of the network.
What must not be narrowed¶
Every permission group stays in read. Backing up the configuration of a FortiGate is a show, and a
restricted profile only displays what it is allowed to read: removing a group produces a
truncated backup, with no warning whatsoever.
Two pitfalls worth knowing¶
show does not display CLI permissions
A profile created by hand comes with its CLI permissions at their default value, that is to say
closed, and show system accprofile does not display them for that very reason. Only
show full-configuration system accprofile reveals them. A profile that looks correct can
therefore refuse the commands Avalon sends.
A VM without a valid license refuses any profile other than super_admin
On a FortiGate-VM whose license is not valid, logging in as an administrator that does not carry
the super_admin profile fails with a Failed password message, which points at the password
while the cause lies elsewhere. The device log, for its part, reports
reason="virtual_license". Check the license before looking into the account.
Brocade Fabric OS¶
Minimum version for configuration backup: FOS 8.2.2d¶
Backing up the configuration of a Fabric OS switch relies on configupload, which transfers the
file to Avalon's own SCP server. The command takes the address, the account and the path as
arguments, then asks for the port number of the server, which Avalon answers.
That question is essential, because Avalon's SCP server does not listen on port 22: that port carries SSH access to the Avalon appliance itself.
No workaround below 8.2.2d
Fabric OS releases earlier than 8.2.2d do not ask for the port and attempt the transfer on port 22. The backup cannot complete, and no workaround exists on the switch side. Upgrading the firmware is the only path.
The password of the account is never passed as an argument on the scp form of the command, unlike
the ftp form. It therefore never appears in the switch's accounting.