Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
1f3b7a9e 05/08/2017 03:20 PM Jim Pingle

Only cache CP RADIUS Auth credentials when reauthentication is enabled. Fixes #7528

(cherry picked from commit d4e42c54a2b7d9c955b11ad3034a186a73159f1a)
(cherry picked from commit ed44d5fb36f1f69196417e3feab2a9d6df4a47c8)

af0f961b 05/03/2017 12:30 PM Phil Davis

Fix #7508 stop write_config after reset_factory_defaults

(cherry picked from commit 3dcaae882cdfdd86826be4db9b38ce04389701ec)

acc7db22 05/02/2017 08:08 PM Jim Pingle

Work around broken wizard rules for ticket #7434

1e40bdeb 04/27/2017 01:44 PM Phillip Davis

Fix comparisons for CDATA tags in config

Some length numbers here do not match the strings they are comparing with. That looks very odd.
Note that:
```
substr($ent, 0, 5) == "text"
```
will return true when $ent is "text". So actually this "works". But it returns false if $ent is "text1" "texta" etc....

a822576e 04/26/2017 09:06 PM NOYB NOYB

Vendor MAC Retention File Consolidate

Use a single file for vendor MAC retention (vendor_mac).
a) Writes only one file during boot up rather than a file for each interface.
b) More efficient than numerous tiny files.
c) Friendlier to write cycle sensitive media in a RAM disk disabled system.

e90c506f 04/26/2017 09:06 PM NOYB NOYB

Vendor MAC Retention File Relocate

Relocate the vendor MAC retention file to /var/db directory.
a) It's more at home here with other network interface stuff.
b) Friendlier to write cycle sensitive media in a RAM disk enabled system.

d9c3f61a 04/26/2017 09:06 PM NOYB NOYB

Vendor MAC Restore Logic

Only use the vendor MAC retention file for restoring the vendor MAC when not booting.
a) During boot up the current MAC that is obtained from the system is the vendor MAC.
b) Using this eliminates the inefficient need to open the vendor MAC retention file for every interface during system boot up.

f2a19d77 04/26/2017 09:06 PM NOYB NOYB

Spoof MAC Var Name

Rename 'spoof_mac' var to generic 'mac_addr'.
a) It may be the vendor MAC or a spoofed MAC.
b) Update the comment re: not reapplying an already applied MAC.

358354b9 04/26/2017 09:05 PM Renato Botelho

Fix #7120: Restore vendor mac address when spoofmac is set to blank

cad0d5bc 04/26/2017 01:50 PM Jim Pingle

Always add the CN as the first SAN when creating a certificate in the GUI or an automatic GUI self-signed certificate. Per RFC 2818, relying on the CN to determine the hostname is deprecated, SANs are required. Chrome 58 started enforcing this requirement. Fixes #7496

f56fb70c 04/21/2017 01:59 PM xygrec

Update services.inc
(cherry picked from commit 2e3768baa8e6e5793ce165f0d8f60b25bdbdb444)

f7118bc8 04/21/2017 01:58 PM xygrec

Update dyndns.class
(cherry picked from commit 74533d412818113372b7b1a4e46db48313fd965d)

f290e28b 04/21/2017 01:58 PM xygrec

Update services.inc
(cherry picked from commit 1bfa06953e0f440c3d6b71bbb3d671ef524899d4)

9dfd9007 04/20/2017 05:03 PM Phil Davis

Refactor update_alias_names_upon_change

(cherry picked from commit 24807bfeaec218948937a1fdc2b4e863319e41a0)

2733475f 04/19/2017 11:31 AM Renato Botelho

Remove redundant check, get_pkg_info() call uses a parameter to return only installed packages

f34d8024 04/19/2017 11:29 AM Renato Botelho

Fix indent and spaces

5d6af983 04/19/2017 11:25 AM Renato Botelho

Use correct function (is_pkg_installed) and unbreak get_pkg_info()

015a16cc 04/04/2017 12:36 PM → luckman212

add validation via validate_ipv4_list to interfaces.inc

41032d86 04/04/2017 12:36 PM → luckman212

Adds ability to ignore DHCP offers from multiple servers
- Forum thread: https://forum.pfsense.org/index.php?topic=124046.msg705100#msg705100
- related dhclient source:
https://github.com/pfsense/FreeBSD-src/blob/devel/sbin/dhclient/clparse.c#L945

changed files:...

61d1f2fc 04/03/2017 07:45 PM Doktor Notor

vslb.inc - Add missing include, use sigkillbyname()

44fc37ee 04/03/2017 06:51 PM Doktor Notor

Add QinQ interfaces to the list of interfaces not to check (Bug #4669)

3c78b99d 04/03/2017 06:50 PM Doktor Notor

Remove dummy config_lock() and config_unlock() functions

Been no-op for ages (https://github.com/pfsense/pfsense/commit/0027de0a544438f146cfc94f005fd6f4ba9f94d7).

2b1a4a89 03/29/2017 11:22 AM Pi Ba

load package add-on tabs into config to avoid parsing all installed package xml's, fix tabgroup filter

(cherry picked from commit bc0661b7b32a99016b9e71b0ece969f6584034c2)

cd4c3402 03/27/2017 05:41 PM Phil Davis

Refactor is_port_or functions

(cherry picked from commit fe108b671d09cf34a11270e286dcd4c4ce1c0597)

e4958a8f 03/27/2017 05:41 PM Phil Davis

Add underscores to is_port* function names

(cherry picked from commit 593e9fe32d2959cd823fe5da55714ccfb9a0e958)

33cb7cc2 03/27/2017 05:38 PM Renato Botelho

Merge pull request #3671 from phil-davis/handle-empty-port-alias-RELENG_2_3

f15da5f3 03/27/2017 05:20 PM Jim Pingle

Correct definition of ports for SMB used by the shaper wizard. Fixes #7434

cc4bf28e 03/26/2017 08:36 AM Phil Davis

Redmine #7428 Hanlde empty port alias

756df551 03/26/2017 08:35 AM Phil Davis

Refactor filter_generate_nested_alias

5b7e3a4c 03/26/2017 08:34 AM Phil Davis

Provide functions for checking port range alias combinations

0034bbc1 03/24/2017 05:59 PM Jim Pingle

Fix handling of port ranges in this validation test. Ticket #7421

72040e44 03/23/2017 06:21 PM Jim Pingle

File a notice and omit rule(s) using a missing port alias. Fixes #7421

3480105f 03/16/2017 08:46 PM Jim Pingle

Don't process empty anchors as it could lead to flushing more than intended when cleaning up after relayd. Fixes #7396

54f87601 03/16/2017 06:05 PM Jim Pingle

Run custom deinstall commands during the deinstall phase instead of post-deinstall, otherwise they will never get run. Fixes #7401

a8014f46 03/15/2017 07:02 PM Jim Pingle

Perform a filter reload after starting relayd so it does not leave the firewall without pf tables. Fixes #7396

f962a59a 03/09/2017 01:17 PM Renato Botelho

Revert "C2758 is VGA only too"

This reverts commit 0a00b197976e638199ab88b823ec6c75ad9a99b2.

0a00b197 03/09/2017 12:46 PM Renato Botelho

C2758 is VGA only too

25d8c2ce 03/08/2017 05:40 PM Phil Davis

Fix #7364 Console assigned VLAN disappears after reboot

(cherry picked from commit 75a1149e0104561446e6f90f98d98c6c13c52996)

57c616e2 03/08/2017 04:40 PM Renato Botelho

Setup XG-154x console to VGA only

cfc0d396 03/08/2017 03:05 PM Jim Pingle

Remove whirlpool from the list of CA/Cert digest algorithms as it does not work properly. OpenSSL claims it's not valid ("unknown signature algorithm"). Fixes #7370
While I'm here, stop needlessly repeating the algo list, it's a global in certs.inc, so use that single copy of the list.

7d41bdb8 03/07/2017 11:16 AM Doktor Notor

Remove unused base_packages variable from globals
(cherry picked from commit 40f5b3e22effc3319afea306a7d691a5e6934c37)

f751b20a 03/06/2017 05:47 PM Jim Pingle

Allow CloudFlare DDNS entries to use "" or "." for the hostname portion of the domain in the GUI to update the domain's @ record. Then in the backend code, remove that from the FQDN since CloudFlare doesn't like that to be sent explicitly. Fixes #7357

Fix is confirmed to work by two forum users: https://forum.pfsense.org/index.php?topic=122099.msg699763#msg699763

956b03cd 03/02/2017 07:53 PM Phil Davis

Fix 7294 keep full rule description

Signed-off-by: Phil Davis <>
(cherry picked from commit 680e15baef76a9c598d52d3f2b9ab498077336a8)

e850b0a3 03/02/2017 07:50 PM Doktor Notor

Add a function to normalize CR and CRLF-style newlines to Unix LF

See Bug #5306.
(cherry picked from commit 117776e0c01e68a8b65584d86d7b8b56fe75c9d0)

230547af 03/02/2017 07:36 PM NOYB NOYB

Services - Status Icon - Sort Order

Make status column sort order work correctly with the icons.
Also refactor get_service_status_icon() output string construction to be cleaner and clearer.

(2.4, 2.3)

(cherry picked from commit 446505a9f9be7f43e4515658f1a5444bc3732a3f)

1401cc3e 03/02/2017 07:29 PM Pi Ba

certificatemanager, link certificate to the proper CA after completing the CSR request

(cherry picked from commit 7fd7fbcff3304285f4407bec2ae62bab7195bcc4)

a21a36fe 03/02/2017 07:25 PM Doktor Notor

Fix the pkg_call() and set the timeout to a sane value (Bug #6594)
(cherry picked from commit 9c91c7bd747074b8cdaa90e8810f0c2df081f72d)

877676ee 03/02/2017 01:25 PM Renato Botelho

Use the same cache filename pattern for RFC2136 IPv6 items as used by dyndns

5be33f49 03/02/2017 01:21 PM Renato Botelho

Use | to separate dyndns IPv4 fields on cache file as done by rfc2136 items and for all IPv6 items

568b607a 02/26/2017 10:52 PM Phil Davis

Fix #7299 and other stuff

As far as I can see, filter_generate_user_rule() is always supposed to be called with 'ipprotocol' set to 'inet' or 'inet6'. The cases of rules for both ('inet46') are handled by calling filter_generate_user_rule() twice, passing 'inet' then 'inet6'....

809022b9 02/22/2017 04:07 PM Doktor Notor

Only start dhcpleases if DHCP server is enabled (Bug #6750)
(cherry picked from commit 3d8b01e8c6392b4177572d540c8160c7e6e071ca)

8d679b24 02/21/2017 07:13 PM Caio Plumbeo

Captive portal: fix "Disconnect All" button

(cherry picked from commit 4fb2b17772928f39add5fc0529e94ed07a09de31)

d7a437ce 02/14/2017 10:26 AM Renato Botelho

Fix #7257: Use pfSense-upgrade to look for new versions

8b5cf433 02/13/2017 03:58 PM Renato Botelho

Revert "Add privs to control display of notices"

Fix #7051

This reverts commit 04665e78537906f7375668ca665cba17f95a4864.

990c00c4 02/13/2017 11:25 AM Renato Botelho

Revert "Use cached groups in get_user_privileges"

This reverts commit 855826896509a1a0bec77a51535a8f004b4ca570.

85582689 02/13/2017 11:19 AM Phil Davis

Use cached groups in get_user_privileges

(cherry picked from commit 7abc3f992e5dd5bff53495844ce944163d6d1d9b)

fd6a81e1 02/13/2017 11:16 AM Phil Davis

Fix ldap_get_groups return value when down

In some places ldap_get_groups has:
```
return memberof;
```
It should have the "$" in front, so it will return the $memberof array (that is empty when this happens).

This causes issues for callers that expect to have a return value that is either false, an empty array, or an array of the groups....

5eb5856a 02/10/2017 05:57 PM → luckman212

5th try
- change $do_ping default value to 'true' (which emulates the previous default behavior) to avoid any unexpected results

(cherry picked from commit 20cf8d8e20fa28c16e86ce0d91e57e4d78427d26)

f8002180 02/10/2017 05:57 PM → luckman212

4th attempt!
- Reworked based on recent comments from @rbgarga

(cherry picked from commit c516cb287a78f7b05459e7fcba410f443d8eb8af)

c2f4b759 02/10/2017 05:57 PM → luckman212

3rd try!
- incorporate suggestions from @rbgarga with slight modification

(cherry picked from commit 6c2f093000b05285546e81dd1a578fc9b573b72b)

307243e7 02/10/2017 05:57 PM → luckman212

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()

(cherry picked from commit dd83f869b79a858bd74c7a8bb4adcd49217445b0)

5ab3fb16 02/10/2017 05:42 PM Jim Pingle

Add a function to format and return plain text output showing the gateway status, for use by a shell script and status.php. Ticket #7046

85877e3c 02/10/2017 03:55 PM Phil Davis

Require Name field in Shaper

(cherry picked from commit 40dcb4b61a2c1213a0b3e213c78fddac845a0117)

3d7921e8 02/07/2017 11:35 AM Jason McCormick

implement AWS API v4 signing

(cherry picked from commit ac5ee07ee1daef2f43e728895290ca6d11efe0f3)

b6461e84 02/07/2017 11:35 AM Jason McCormick

commit initial fix; need to add hooks for region to zone id

(cherry picked from commit cb5961d1fa64a45cbec5ef5d677b57f8d62f50b5)

67bc9afc 02/03/2017 10:35 AM Renato Botelho

Simplify logic

d1fe01d2 02/03/2017 09:03 AM Jack Booth

Set ntp gps mode for pgrmf even if no other modes are being set.

(cherry picked from commit 821110e8ff76564c23783c554fc89cd9458683ac)

5476b118 02/03/2017 09:03 AM Jack Booth

Add to NTP GPS processing of PGRMF sentence

(cherry picked from commit 6924a2bf34a70cd33284a28ca3575f33f9834375)

ab476790 02/01/2017 09:47 AM Phil Davis

get_service_status_icon fix description_state format

If "description_state" is requested here, there are too many "%s" substitutions in the string for sprintf().

Also, to help translators, number all the "%s" substitutions. Then translators can rearrange the text and variable order if they need to....

4cb6be62 02/01/2017 09:39 AM Doktor Notor

Remove unused broken functions

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)

7620266f 01/30/2017 03:33 PM Stilez y

Misc cleanups at get_pkg_info()

  • rename function args to be clearer what they do ($local_only was quite ambiguous, at first sight it could mean any of: "don't update local catalog copy", "only check local catalog copy", or "only report local installed pkgs")...
c6995b29 01/30/2017 03:33 PM Stilez y

fix copy/paste - I think!
(cherry picked from commit 2f633b526075b2ed5e0e160ef6f0d025b509bd70)

1f9edebb 01/30/2017 03:33 PM Stilez y

use wrapped version of pkg info -e instead
(cherry picked from commit e5f96a2cb3c0cad0c828148bd7b8d45c130a9b17)

5e446a25 01/30/2017 03:33 PM Stilez y

get_pkg_info() fallback using pkg info if no local copy of repo catalog (resubmit)

Resubmit of PR #3157 with fix.

The issue in #3157 was that `pkg info` and `pkg search`, undocumented in man pages, seem to handle things differently if no packages match the pattern string. `pkg search` gives an error "No packages match [$pkgs]", whereas `pkg search` doesn't give an error....

59455106 01/24/2017 02:17 PM Renato Botelho

Introduce is_intrange() to validate a range of integers delimited by ':' or '-'

5e82a83a 01/23/2017 08:21 PM Phil Davis

Force compress for where_is_ipaddr_configured check_localip

(cherry picked from commit f0b1358dfe520ad3b771127127daed970ba2c0a0)

c528a112 01/23/2017 08:21 PM Phil Davis

Force compress for where_is_ipaddr_configured

(cherry picked from commit cde28bfa0e11f268485ec1f6ccb73a3a2f66448f)

5050b792 01/23/2017 08:21 PM Phil Davis

Always force compress when calling Net_IPv6

(cherry picked from commit 587995fb57f91894d1f8eb6b296a9fe2fa111fac)

28514a36 01/23/2017 07:59 PM Renato Botelho

Remove unused variable $cfglckkeyconsumers

b1894db1 01/19/2017 12:28 PM Phil Davis

Fix #7141 Add a priv for UPNP

so users can grant access to Services->UPNP
Note: Status->UPNP already has a priv and it works.
(cherry picked from commit a5a899e4388f2737a6d1cdc82c7325c20fb72ee4)

5a1afaa6 01/19/2017 12:27 PM Phil Davis

Fix #7139 Accessing help about this page

from a user that does not have admin or all page privilege.
(cherry picked from commit 166540830275318c8dec9199d8a9ee0e605f606a)

9f8751b5 01/19/2017 12:26 PM Phil Davis

Fix #7136 Start OpenVPN on ordinary VIP

(cherry picked from commit ddf99718d5f1f4545483c39d3759fdfbb788b0fb)

dafe20ef 01/17/2017 11:36 AM Renato Botelho

Remove extra parenthesis and blank line

57fcd211 01/17/2017 11:36 AM Renato Botelho

Simplify logic

e1568616 01/16/2017 01:54 PM Phil Davis

Fix #7118 icmp-type any

When 'any' is selected as the ICMP type, do not write 'icmp-type any' in the rule, just leave it out.

3661dfdc 01/16/2017 01:54 PM Renato Botelho

Fix #7105: Old rules may not have ipprotocol defined, consider it icmp6-type only when ipprotocol is inet6

d88f26df 01/13/2017 08:50 PM Phil Davis

Redmine #5549 Allow variable number of DNS Servers

(cherry picked from commit a2d23e88596deab6bbed2818385a0b72c913843a)

e2a059e2 01/12/2017 09:26 PM Renato Botelho

Fix #6153

Initialize cached IP and Time on loop for RFC2136 items, without this
the items used on last loop iteration will be used again and second
item on the same interface will not be updated

8c305c80 01/11/2017 05:15 PM Renato Botelho

Simplify logic

983c4c6c 01/11/2017 04:47 PM Renato Botelho

Fix #6712

Use system_hosts_entries to generate unbound host_entries.conf

82897042 01/11/2017 04:47 PM Renato Botelho

Ticket #6712: Create system_hosts_entries()

This function will return an array all items to be added to /etc/hosts.

829f3ca3 01/11/2017 04:46 PM Renato Botelho

Ticket #6712: Create system_hosts_dhcpd_entries()

This function will return an array with dhcpd and dhcpdv6 items to be added to
/etc/hosts.

470efdfc 01/11/2017 04:46 PM Renato Botelho

Ticket #6712: Create system_hosts_override_entries()

This function will return an array with dnsmasq or unbound items to be added to
/etc/hosts

881ebd59 01/11/2017 04:46 PM Renato Botelho

Ticket #6712: Deprecate read_hosts()

Read local items from system_hosts_local_entries()

e0696aa4 01/11/2017 04:46 PM Renato Botelho

Ticket #6712: Create system_hosts_local_entries()

This function will return an array with 127.0.0.1, ::1 and LAN (or
first interface with no gateway when LAN is not there) items to be
added to /etc/hosts

6f7e852f 01/11/2017 04:46 PM Renato Botelho

Kill dhcpleases after we are sure we can write /etc/hosts

2354cc09 01/11/2017 04:45 PM Renato Botelho

Fix style

9c276201 01/11/2017 04:45 PM Renato Botelho

Make sure IP address is v4 before create /etc/hosts entry

8d058e79 01/11/2017 04:45 PM Chris Buechler

Exclude non-qualified hostnames from hosts file. Ticket #6064

6ca5c3ca 01/11/2017 01:54 PM Jim Pingle

Do not write a 'restrict' line to the NTP config if it will be empty. Fixes #7110