D-Link DFL-260-IPS-12 Product Manual - Page 46
NetDefendOS File organization, Examples of Uploading and Downloading, scp config.bak [email protected]
View all D-Link DFL-260-IPS-12 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 46 highlights
2.1.6. Secure Copy Chapter 2. Management and Maintenance File type Firmware upgrades Certificates SSH public keys Web auth banner files Web content filter banner files Upload possible Yes Yes Yes Yes Yes Download possible No No No Yes Yes NetDefendOS File organization NetDefendOS maintains a simple 2 level directory structure which consists of the top level root and a number of sub-directories. However, these "directories" such as sshlclientkey should be more correctly thought of as object types. All the files stored in the NetDefendOS root as well as all the object types can be displayed using the CLI command ls. The resulting output is shown below: gw-world:/> ls HTTPALGBanners/ HTTPAuthBanners/ certificate/ config.bak full.bak script/ sshclientkey/ Apart from the individual files, the objects types listed are: • HTTPALGBanners/ - The banner files for user authentication HTML. Uploading these is described further in Section 6.3.4.4, "Customizing HTML Pages". • HTTPAuthBanner/ - The banner files for HTML ALG dynamic content filtering. Uploading these is described further in Section 6.3.4.4, "Customizing HTML Pages". • certificate/ - The object type for all digital certificates. • script/ - The object type for all CLI scripts. Scripts are described further in Section 2.1.5, "CLI Scripts". • sshclientkey/ - The SSH client key object type. Examples of Uploading and Downloading In some cases, a file is located in the NetDefendOS root. The license file (license.lic) falls into this category, as well as backup files for configurations (config.bak) and the complete system (full.bak). When uploading, these files contain a unique header which identifies what they are. NetDefendOS checks this header and ensures the file is stored only in the root (all files do not have a header). If an administrator username is admin1 and the IP address of the NetDefend Firewall is 10.5.62.11 then to upload a configuration backup, the SCP command would be: > scp config.bak [email protected]: To download a configuration backup to the current local directory, the command would be: > scp [email protected]:config.bak ./ 46