| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Not sure what was the idea here, but these are not used anywhere, do nothing as they immediately call ```return false;``` plus the second one is also misnamed.
(cherry picked from commit edba33b5a567ab8c9d4827fa26a25bd9649e3fac)
|
|
|
|
| |
(cherry picked from commit f0b1358dfe520ad3b771127127daed970ba2c0a0)
|
|
|
|
| |
(cherry picked from commit cde28bfa0e11f268485ec1f6ccb73a3a2f66448f)
|
|
|
|
| |
(cherry picked from commit 587995fb57f91894d1f8eb6b296a9fe2fa111fac)
|
|
|
|
| |
(cherry picked from commit 0a3150896bc412868cfb79473293ed81c87a50a7)
|
|
|
|
|
| |
Maybe these functions should have a case added for prefix length 59?
(cherry picked from commit 231fe9543c696bb2dcdc7f090a561fe74ff8e9a7)
|
|
|
|
|
|
| |
When the interface concerned does not yet have its details known (e.g. Track Interface values from upstream have not come yet) then we might as well at least give the caller some reasonable text.
e.g. I was adding V6 Static Mappings on an interface that has "Track Interface" and no IPv6 delegation yet. The error message that tries to tell me the type of input I need to put or the static IP offset had no example at all.
(cherry picked from commit b790824308b560a38112b5ee94291f6f91107f8c)
|
|
|
|
|
|
|
|
| |
The vidconsole needs to be explicitly disabled for PC Engines APU2,
otherwise the comconsole is garbled and mostly unusable during the
boot block and boot loader.
(cherry picked from commit 089c18f38443e41d5ad5345cd28c43581496cd2c)
|
| |
|
|
|
|
| |
lower case while preserving aliases or other text
|
|
|
|
|
|
|
|
| |
checksum offload".
Ticket #5321
(cherry picked from commit 411d4e6e55475cc66b997ca3e47478dbe10b4e1b)
|
|
|
|
|
|
| |
than one CARP vip is configured for an interface.
(cherry picked from commit 5116a8aa60ad87c0a47aafeca422cc323147ea14)
|
|
|
|
|
|
|
|
|
|
| |
This function used to replace /boot.conf, /boot/loader.conf and
/etc/ttys on every call. Depending of the moment a power failure
happens, any of these files can be blank and it'll break console setup
on next boot.
Usa safe_write_file() to save these 3 files to disk to make sure they
are sync'd
|
|
|
|
|
|
|
| |
We do not create /etc/ttys from scratch but we change it on every boot.
If original file is corrupted for some reason we can end up with a file
missing essential lines. Added a check to verify if these lines are
missing and add them back in this case
|
| |
|
|
|
|
|
|
| |
No functional change - just making style consistent
(cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)
|
| |
|
| |
|
|
|
|
| |
include it in the ruleset regardless so it doesn't generate any filter errors. Ticket #6181
|
|
|
|
| |
https://forum.pfsense.org/index.php?topic=114570.0
|
| |
|
|
|
|
|
|
|
|
|
|
| |
For safety, use include_once() when including various "side" files.
There are a couple of instances of include("guiconfig,inc") that I
changes to use require_once() to be consistent with everywhere else.
The remaining cases of include() are just (hundreds of) head.inc and
footer.inc - those are only at the start/end of the ordinary top-level
interactive PHP files. There is no nested interaction of those to think
about, so that should be fine.
|
|
|
|
| |
(cherry picked from commit 70381d4803b9424c1a3f3ef518d8243062452d77)
|
|
|
|
| |
(cherry picked from commit cf63f1638aab685cc956502f5ddd862a10bf3ff8)
|
|
|
|
|
|
|
| |
1) Function can be simplified and all "if" statements removed, using intdiv (or casting result as int for PHP < 7) and % for calcs and sprintf for padding.
2) Input validity check before trying to convert format
3) If time represented is large (eg uptime might be several months) then hours becomes unhelpful, it's clearer to show "4921:02:06" as "205d 01:02:06". (Leading "days" value not shown unless >=1 for simplicity)
(cherry picked from commit 0bde6d1057ed39c8ef650a5a505cf9ae5eb7199e)
|
|
|
|
| |
avoid PHP error.
|
|
|
|
| |
(cherry picked from commit f42ef69ab518237260a2e129cbdf391549c003ad)
|
|
|
|
|
|
| |
Make the code cleaner and easier to follow by using the same alias type designations as config.
(cherry picked from commit ebe833f6a9463b0e4add1d97c360af4a682d1add)
|
|
|
|
|
|
| |
Need to pass alias type to process_alias_urltable() function when creating a new url table alias because it is not yet set/available from config. So the alias_get_type() function can't be successfully used yet.
(cherry picked from commit 3b07f4feaf35e70700082240ef03966f74f5df97)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
| |
Handle URL table aliases similar to bogons tables. Suppress record remove buttons.
Update (download) only the selected URL table alias instead of all of them.
Retain full line comments in downloaded URL table files so we can view and use them.
When URL table file full line comments are present, provide view option in info box.
Increase ability to extract last update date from wider variety of URL table file comments.
|
|
|
|
| |
Fix DHCPv6 GUI to work with PD length != 64
|
|
|
|
| |
Teach merge_ipv6_delegated_prefix() to deal with other PD sizes
|
|
|
|
|
|
|
| |
Import patch from @Robert-Nelson to enable DHCPv6 Server/RA to
interfaces configured to track DHCP-PD
This patch only works for PD with length 64
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
IFCAPS where they're not already set correctly. Ticket #5887"
This reverts commit 7f283fab1b18bb575537bb8498b16a6b1b6d0251.
|
|
|
|
| |
No functional change.
|
| |
|
| |
|
|
|
|
| |
when input validation fails. Ticket #5848
|
|
|
|
| |
contents. Ticket #5848
|
|
|
|
| |
a minimum) and wasn't documented as an available feature so people don't expect to be able to use it.
|
|
|
|
| |
based upon it works. Ticket #5848
|
| |
|
| |
|
|
|
|
| |
update_alias_url_data(). Ticket #5848
|
|
|
|
| |
longer used in the base system, but still in some packages.
|