Bug #11566
closedFirewall Maximum Table Entries "default size" is whatever is entered
100%
Description
- Change 2000000 to 2000001 or any other number
- Click Save
- Note the "default" number does not change
- Click "Firewall & NAT" tab to reload the page
- Note the default is the number you entered in step 1
(tried to search for this here but couldn't find it)
Files
Updated by Steve Y 4 months ago
It may not be. :) And actually per https://docs.netgate.com/pfsense/en/latest/config/advanced-firewall-nat.html#firewall-maximum-table-entries the default is a fixed number of 400,000, thus not dependent "on this system" hardware at all. (unless that was trying to say, "on this pfSense version"?) Seems like options are to remove the whole sentence and let the doc page indicate the number, or change the text to list the actual default.
Updated by Marcos M 4 months ago
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
Applied in changeset 50b5741beafdb34a3009b78279e203570f5e6d3f.
Updated by Steve Y 4 months ago
A quick look at the code, I see a few of:
-['placeholder' => pfsense_default_table_entries_size()]
+['placeholder' => pfsense_current_table_entries_size()]
In lieu of rehashing the discussion of using the default, seems like the "leave this blank for the default" text should be removed, and/or not allow it to be blank?
I don't easily have a new/empty install to play with but is pfsense_current_table_entries_size() = 400000 if no value is set?
Updated by Jim Pingle 4 months ago
- Target version changed from 2.8.0 to 2.7.2
- Plus Target Version changed from 24.03 to 23.09.1