diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-04-17 00:18:33 -0700 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-18 11:42:11 -0400 |
commit | bf1a013f15732ee3210e814ad0bfa23d3a7ba1eb (patch) | |
tree | 1e711be3b58032dd28fdc117e5b28ea48cb10a1e /src/cf | |
parent | 0e9cb2ab4ee0f7e5958f249a962569d6f5ef417e (diff) | |
download | pfsense-bf1a013f15732ee3210e814ad0bfa23d3a7ba1eb.zip pfsense-bf1a013f15732ee3210e814ad0bfa23d3a7ba1eb.tar.gz |
Alias Tables RAM Disk Store
If ramdisk is enabled keep a copy of the alias tables to restore at boot time. Otherwise unpredictable behavior may occur due to some aliases not being available when the firewall rules load.
Because alias tables are typically somewhat static, the following strategies are employed to keep write cycles to a minimum for SSD and flash drive type devices friendliness.
1) Back up during reboot/shutdown only if a backup copy of the alias table does not already exists. This is typically during the reboot when ramdisk is first enabled.
2) Update the backup copy only when the alias table is updated with a new download, typically 1 or more days, as configured in the firewall alias.
(cherry picked from commit 03afdafaab503af22ce5c98ad06b9f6bbc459974)
Diffstat (limited to 'src/cf')
0 files changed, 0 insertions, 0 deletions