Test modules path before scanning. Fixes #9400
Generate hints for the kernel loader.
Update copyright notices to 2019. Happy New Year
Fix #9121: Initialize arrays to prevent PHP 7 errors
Merge pull request #3987 from PiBa-NL/20180920-apinger-wait-for-terminate
Show nvme controllers in SMART list. Fixes #9042
Revert "Show nvme devices in SMART disk list. Fixes #9042"
This reverts commit bdb6021f79f222b2c7d732436800e96cb34ea973.
Show nvme devices in SMART disk list. Fixes #9042
gateway monitoring, wait for apinger to terminate or remove its pid file when restarting it.
outbound-nat, make sure rules generated with outbound-nat rules are valid also on interfaces with mixed ipv4/ipv6 address environments
Fix PHP7 array issue in array_merge_recursive_unique()
Please welcome routed IPsec using if_ipsec VTI interfaces. Implements #8544
To use, create a P1/P2 and set P2 to VTI using local/remote network as tunnel endpoint addresses, then assign the interface (enable, but IP type = none), and use like any other interface for routing.
Merge pull request #3781 from PiBa-NL/20170712-defaultgateway-group
Validate if $array is an array
Gateways, allow for configuring a gatewaygroup as the default gateway.-Avoid changing routes by just visiting a webgui page.-Avoid change some unneeded events when nothing changed.
Correct text for reserved alias name checks against protocols and services. Fixes #8409
Silence warnings generated by sysctl to standard error.
Merge pull request #3889 from kangtastic/master
Update the Copyright notice for pfSense.
Remove endianness checking
all pfSense builds are little-endian
Code cleanupAdd a check to Copy DUID button on system_advanced_network.php
Support for configuring additional DUID types
dhcp6c stores the entirety of the OPTION_CLIENTID option in DHCPv6 datagrams inits DUID file (named dhcp6c_duid), except for the option code itself. The firsttwo octets in the DUID file are the option-len field, and are saved according to...
routing, support use of recursive network aliases in static routes
Make is_ipaddrv6() compatible with is_ipaddrv4().
Only the IP address must be accepted, address with netmasks do not qualify.
Ticket #8024
Fix typo in function name: insterface_is_qinq -> interface_is_qinq
Fix a typo.
The members of a LAGG cannot be assigned, used in VLANs, QinQ, or PPP.
This commit removes the LAGG members from the list of available interfaces.
Do not return QinQ interfaces in the physical interface list.
Fix the QinQ support.
Bring the QinQ support to the VLAN dotted format.
To avoid breaks third party software (such as dhcpd), we silently ignore the interfaces with names bigger than the maximum size in FreeBSD.
Ticket #7942
Change the VLAN inteface names to use the 'dotted' format of FreeBSD, which is shorter and helps to keep the interface name smaller than the limit (16).
This fixes the 4 digit VLAN issues when the NIC name is 6 bytes long.
Ticket #294
Refactor get_configured_interface_list remove unused parameter
Refactor get_configured_interface_list_by_realif remove unused parameter
Refactor get_configured_interface_with_descr remove unused parameter
Merge pull request #3685 from phil-davis/sort-if-names
Merge pull request #3635 from doktornotor/patch-24
Merge pull request #3614 from doktornotor/patch-16
Add user option to sort interface names
Refactor is_port_or functions
Add underscores to is_port* function names
Provide functions for checking port range alias combinations
Merge pull request #3642 from phil-davis/icmp-type-skip-redmine-7372
Merge pull request #3529 from Chrisc-c-c/Fix-List-Sort-Order
Fix #7372 Cannot filter ICMP Type SKIP
Add QinQ interfaces to the list of interfaces not to check (Bug #4669)
Remove dummy config_lock() and config_unlock() functions
Been no-op for ages (https://github.com/pfsense/pfsense/commit/0027de0a544438f146cfc94f005fd6f4ba9f94d7).
Add a function to normalize CR and CRLF-style newlines to Unix LF
See Bug #5306.
Fix incorrect sorting for various dropdown lists.
5th try- change $do_ping default value to 'true' (which emulates the previous default behavior) to avoid any unexpected results
4th attempt!- Reworked based on recent comments from @rbgarga
3rd try!- incorporate suggestions from @rbgarga with slight modification
2nd try. . .
/etc/inc/util.inc:- arp_get_mac_by_ip() updated to support IPv6- attempt at code streamline
/usr/local/www/services_dhcp_edit.php:- streamline code, now just a simple call to arp_get_mac_by_ip()
Introduce is_intrange() to validate a range of integers delimited by ':' or '-'
Merge pull request #3414 from phil-davis/ipv6-compress
Remove unused variable $cfglckkeyconsumers
Force compress for where_is_ipaddr_configured
Always force compress when calling Net_IPv6
Make sure file exists before try to open it
Fix style
format_DUID array_walk
format_DUID use str_pad
format_DUID review
Helper format_duid() for DUID input
Return partial MAC address matching support to is_macaddr(). Fixes #7088
Merge pull request #3304 from marjohn56/master
Changes as requested
Fix #3560 correctly handle disabled static routes
1) util.inc - add parameter to get_staticroutes() so the caller canchoose to see all static routes or only the ones that are currentlyenabled.2) filter.inc - just process enabled static routes when making direct...
tidy
Added get_duid_from_file() function
Used in System->Advanced->Networking to display the current DUID in the placeholder for setting the DUID.
User Defined DUID
User may define a DUID to use in System->Advanced->Networking. Theentered DUID is validated for composition and length, if valid it isstored in the config.xml. On call of wan_dhcp6_configure() the DUID iswritten to file to be read by dhcp6c on launch.
validateipaddr update return value comments
validateipaddr use constants from globals.inc
validateipaddr return address family
Enhanced the return values from validateipaddr() so the caller can know if the validated address is IPv4 or IPv6 (or an alias if that check was requested). That makes it a better replacement for is_ipaddr().
Merge pull request #3281 from phil-davis/patch-7
validateipaddr enhance flexibility for translation
By using sprintf() we can allow for some language where the label text does not fit at the start of the sentence.
validateipaddr code format
Fix comment
Added a function validateipaddr() use as:// Validate a network address// $addr: the address to validate// $type: IPV4|IPV6|IPV4V6// $label: the label used by the GUI to display this value. Required to compose an error message// $err_msg: pointer to the callers error message array so that error messages can be added to it here...
Revise update_filter_relaod_status() function to append status messages rather than overwrite the file
Check if pidfile is valid before try to send signal
Update the variable with the round() return otherwise it does not has any effect.
Found while testing Ticket #6272.
Fix is_macaddr().
Hexadecimal numbers without the '0' padding are also valid, e.g:
a:b:c:d:e:f
Fix #6828
Until 2.3.x pfSense carried a patch that changed the behavior of 'routechange' command, making it add the route when it fails to change.On 2.4 this patch was removed and will not be added back. This changeadjust PHP code to deal with route add / change and make it work...
Add extra validations on is_inrange_v46
Verify if addresses are valid IP address before convert them to makenumeric comparison.
While here, adjust indent.
Inspired by: @phil-davis patch at PR #3189
Make unlink_if_exists return true/false
This allows the caller to do a single "atomic" call to unlink_if_exists.If it returns true, then they know that the file existed and that it hasbeen unlinked successfully.This should help avoid race conditions where multiple code paths try...
Deprecate nanobsd platform and remove all conditionals that uses it
Retire refcount functions. They are not used anymore
Move copyright from ESF to Netgate
Ticket #3734: Add function to convert IPv6 address <-> binary
- ip6_to_bin() and bin_to_ip6() are copies obtained from pear-Net_IPv6 since the version available in the class is protected and we don't want to add more patches to thirdy part software. If upstream accept...
Silence pgrep stderr when pidfile contains an invalid PID
Code style and comments
No functional change - just making style consistent
Move to Apache License 2.0
Review license / copyright on all files (final round)
Review license / copyright on all files (1st round)
Merge pull request #3007 from stilez/patch-34
Leave an empty file for URL Table aliases that return an empty file, and include it in the ruleset regardless so it doesn't generate any filter errors. Ticket #6181
Merge pull request #2764 from NewEraCracker/redmine-6011
bring back subnetv4_expand function used by pfblockerng
simplify subnet_size()
is_ipaddr() returns the type of IP if valid. Use this to simplify the function
Remove subnet_expand()
Function isn't used in main or packages repo, and in any case would need a complete rewrite to handle IPv6.
Fix Redmine #6011
This will add linklocal fallback where no IPv6 is otherwise configured to allow login using this IPs