Project

General

Profile

Download (99.1 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
3666d731 07/04/2017 02:57 AM Phil Davis

Add user option to sort interface names RELENG_2_3

Signed-off-by: Phil Davis <>

8cb09b29 06/20/2017 02:49 PM Jim Pingle

Match whitespace after $vhid when checking CARP status to avoid partial matches. Fixes #7638
While here, fix variable references with braces and combine the two calls to grep into a single pattern.

(cherry picked from commit fd4e14b8853e7a30ee23532d686270cb40d84d03)

4c4504b1 05/23/2017 04:54 PM Phillip Davis

Make consistent rule information section

(cherry picked from commit f0dc8b688c2b7d973bc18769579ee8cc6d3d2dad)

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

Refactor update_alias_names_upon_change

(cherry picked from commit 24807bfeaec218948937a1fdc2b4e863319e41a0)

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

Add underscores to is_port* function names

(cherry picked from commit 593e9fe32d2959cd823fe5da55714ccfb9a0e958)

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

Provide functions for checking port range alias combinations

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

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

Setup XG-154x console to VGA only

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)

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)

05a13eba 01/11/2017 11:35 AM derelict-pf

Add requirestatefilter. Implements #7069.

(cherry picked from commit 0a3150896bc412868cfb79473293ed81c87a50a7)

145105bb 12/27/2016 07:36 PM Phil Davis

Add case for 59 to prefix functions

Maybe these functions should have a case added for prefix length 59?
(cherry picked from commit 231fe9543c696bb2dcdc7f090a561fe74ff8e9a7)

564dc6fa 12/13/2016 12:58 PM Phil Davis

dhcpv6_pd_str_help add default case

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....

a860a0dd 12/13/2016 12:47 PM Brett Keller

Add PC Engines APU2 to the list of serial-only platforms

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)

f6bea44d 11/24/2016 12:43 PM Renato Botelho

Silence kenv calls

4c17e45f 11/16/2016 09:11 PM Steve Beaver

Added addrtolower() function to allow IPv6 addresses to be converted to lower case while preserving aliases or other text

ebc4a441 11/10/2016 10:01 AM Luiz Souza

Consider the IPv6 checksum options when dealing with "Disable hardware checksum offload".

Ticket #5321

(cherry picked from commit 411d4e6e55475cc66b997ca3e47478dbe10b4e1b)

5ad69855 11/10/2016 10:01 AM Fredrik Rönnvall

Fix bug where CARP vip status is incorrent in the interface when more
than one CARP vip is configured for an interface.

(cherry picked from commit 5116a8aa60ad87c0a47aafeca422cc323147ea14)

4e3bf4aa 10/14/2016 11:49 AM Renato Botelho

Make setup_serial_port() write config files safely

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....

7fa3bcae 10/14/2016 11:49 AM Renato Botelho

Prevent /etc/ttys to miss essential lines

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

2a2396a6 09/06/2016 09:19 PM Renato Botelho

Move copyright from ESF to Netgate

9488f42b 08/16/2016 01:21 PM Phil Davis

Code style and comments

No functional change - just making style consistent

(cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)

160d285a 08/02/2016 04:55 PM Jim Pingle

Fix typo, LT2P->L2TP

8acd654a 07/14/2016 09:36 PM Renato Botelho

Review license / copyright on all files (1st round)

4c5cb2f6 07/06/2016 05:39 AM Chris Buechler

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

68cf7ccb 07/05/2016 07:58 PM NewEraCracker

Protect get_dir from causing PHP errors

https://forum.pfsense.org/index.php?topic=114570.0

595b074d 06/30/2016 05:20 AM Phil Davis

Feature #6388 custom GUI preference settings per user

6dfb6b27 06/29/2016 03:01 AM Phil Davis

Update include() to include_once()

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...

005097dd 06/22/2016 03:23 PM Stilez y

missing "("
(cherry picked from commit 70381d4803b9424c1a3f3ef518d8243062452d77)

fedbe5af 06/22/2016 03:22 PM Stilez y

optional arg for old behaviour
(cherry picked from commit cf63f1638aab685cc956502f5ddd862a10bf3ff8)

8c91c89f 06/22/2016 03:22 PM Stilez y

Simplify convert_seconds_to_hms() and show days for large numbers of hours

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...

c25c6714 05/31/2016 11:28 PM Chris Buechler

Add a check to see if the file exists before running filesize on it, to avoid PHP error.

da88bf48 05/25/2016 12:30 PM NOYB NOYB

Fix this missed one.

(cherry picked from commit f42ef69ab518237260a2e129cbdf391549c003ad)

1dbdf228 05/25/2016 12:30 PM NOYB NOYB

Firewall / Aliases / Edit - New URL Table Alias Type

Make the code cleaner and easier to follow by using the same alias type designations as config.

(cherry picked from commit ebe833f6a9463b0e4add1d97c360af4a682d1add)

288d095f 05/25/2016 12:29 PM NOYB NOYB

Firewall / Aliases / Edit - New URL Table Alias Type

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....

bf1a013f 04/18/2016 03:42 PM NOYB NOYB

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....

6f838722 03/12/2016 05:46 AM Chris Buechler

Don't try to put the file contents in place if file is empty. Ticket #5982

f6622167 02/29/2016 08:31 AM NOYB NOYB

Diagnostics / Tables - URL Table Aliases

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....

6c8beed3 02/19/2016 12:57 PM Renato Botelho

Ticket #3029

Fix DHCPv6 GUI to work with PD length != 64

a3d07046 02/19/2016 12:57 PM Renato Botelho

Ticket #3029

Teach merge_ipv6_delegated_prefix() to deal with other PD sizes

2bf455ca 02/19/2016 12:57 PM Renato Botelho

Ticket #3029

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

e8c516a0 02/18/2016 12:19 PM Phil Davis

Internationalize etc inc i through s

74db0283 02/17/2016 09:03 AM Renato Botelho

Sync RCC detection with RELENG_2_2

2a0aef55 02/16/2016 04:53 PM Luiz Souza

Simplify and correct the comments in get_carp_interface_status().

bc4d752b 02/15/2016 05:16 PM Jim Pingle

This seems to have negatively impacted LAGG/VLAN configs. Revert "Only set IFCAPS where they're not already set correctly. Ticket #5887"

This reverts commit 7f283fab1b18bb575537bb8498b16a6b1b6d0251.

0f98065b 02/13/2016 09:01 PM Luiz Souza

Fix the returned string when no status is found for this CARP.

No functional change.

7f283fab 02/12/2016 10:59 PM Chris Buechler

Only set IFCAPS where they're not already set correctly. Ticket #5887

cc293ac0 02/12/2016 08:11 AM Chris Buechler

If URL table file size is 0, force update. Ticket #5848

b913daf8 02/12/2016 07:23 AM Chris Buechler

add an option to only validate URL tables, so stray files aren't left behind when input validation fails. Ticket #5848

e9fea9dc 02/12/2016 06:42 AM Chris Buechler

Parse URL Table alias downloads with parse_aliases_file to ensure only valid contents. Ticket #5848

3bec4cd0 02/10/2016 07:03 AM Chris Buechler

Remove process_alias_unzip, which never worked because of variable typo (at a minimum) and wasn't documented as an available feature so people don't expect to be able to use it.

ca46f1de 02/10/2016 06:38 AM Chris Buechler

Return false if download fails in process_alias_urltable so input validation based upon it works. Ticket #5848

ceb9cca7 02/10/2016 05:17 AM Chris Buechler

Match this to max_input_vars for large aliases

4905c263 02/10/2016 03:05 AM Chris Buechler

Correct variable in error log

37af5cf5 02/10/2016 02:55 AM Chris Buechler

Don't try to process aliases whose downloads have failed in update_alias_url_data(). Ticket #5848

eb38f9a8 02/10/2016 02:49 AM Chris Buechler

Sync up download_file_with_progress_bar with download_file. The former is no longer used in the base system, but still in some packages.

2a5960b0 02/09/2016 09:58 PM Luiz Souza

Review of CARP uniqid changes.

It turns out that current CARP implementation is not much different from an IP alias.

This commit converts the IP alias to also use the CARP uniqid scheme, this simplify the code in all other places because now we have only two different cases to deal with:...

fd4dbabc 02/09/2016 09:56 PM Chris Buechler

Return false in download_file rather than the failed status code when a download fails. Return would always evaluate to true previously though other parts of the code expect a false value when a download fails. related to Ticket #5848

53c25dec 01/22/2016 02:27 PM Renato Botelho

Remove attributions of return code not being used at all

ceecd29b 01/21/2016 09:12 PM Renato Botelho

Fix #5690:

- Remove parameters from set_language()
- Add a global variable for default language
- add env var for LANG, otherwise it won't work

09221bc3 01/15/2016 01:44 PM Renato Botelho

Update license on files from /etc/inc

742844a5 12/24/2015 01:04 AM NOYB NOYB

HTML Compliance - System / Advanced / Firewall and NAT

Bad value 200000↩ for attribute placeholder on element input: Line feed not allowed.
<input class="form-control" name="maximumtableentries" id="maximumtableentries" type="text" placeholder="200000↩">...

2eb5a0bf 12/16/2015 03:33 PM Renato Botelho

No need to set LANG env var here

6aa3723a 12/15/2015 06:03 PM Renato Botelho

Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever was the reason they were added, it was never finished and it's not being used

ccb7b670 12/14/2015 10:10 AM Renato Botelho

Remove dead code, we only have UTF-8 today

489c102b 12/13/2015 05:41 PM BBcan177 .

Update pfsense-utils.inc

When installing packages, an extra line break is added by the "\r" ... echo "\r{$status}";
The $status string typically contain a trailing "\n" as required. This allows to print a message in two steps.

Writing configuration... done....

4e322e2c 12/10/2015 03:09 PM Phil Davis

Code style and white space in etc

66066eda 11/30/2015 01:30 PM Stephen Beaver

Fixed #5532

fdbc263a 11/29/2015 08:33 PM Colin Fleming

Mistake in "pfsense-utils.inc"

Sorry, missed a semi-colon!

8fd9052f 11/29/2015 06:23 PM Colin Fleming

Type up SCRIPT tags

e686a73f 11/27/2015 02:59 PM Luiz Souza

Fix get_carp_interface_status() to work with uniqid notation and also, verify the CARP vhid and not only the interface (when you have more than one CARP IP on the same interface). Ticket #4858

815decf9 11/26/2015 10:26 PM Luiz Souza

Make is_ipaddr_configured() work with CARP.

Check against the correct variable. Ticket #4858

4205053b 11/26/2015 06:49 PM Renato Botelho

netstat is not being used here

3138b2e3 11/23/2015 12:40 PM Renato Botelho

Use new host_uuid option name when changing User-Agent

14c8170d 11/20/2015 10:55 AM Renato Botelho

Remove unused function http_post()

84c82d3d 11/18/2015 12:55 PM Doktor Notor

pfsense-utils.inc - use full paths to executables

1da49511 11/18/2015 10:02 AM Renato Botelho

Change update_status to only print on console

0cdb94e1 10/20/2015 11:12 AM Renato Botelho

Cleanup unused code:

- Remove xmlrpcbaseurl from globals
- Remove xmlrpcpath from globals
- Remove embeddedbootupslice from globals
- Remove call_pfsense_method()
- Remove check_firmware_version()
- Remove get_active_xml_rpc_base_url()
- Remove zeromq.inc...

2344bed4 09/30/2015 05:33 PM Renato Botelho

Use product_name global variable in more places

6990ad35 09/16/2015 08:58 AM Phil Davis

White space and minor bits in etc

Cleaner version of https://github.com/pfsense/pfsense/pull/1846

c9d46a8e 09/15/2015 09:20 PM Renato Botelho

Retire PPTP server, fixes #4226:

- Remove PPTP server and all related code
- Bump config version 12.2
- Write upgrade config code to remove pptpd section and also cleanup
firewall and NAT rules using PPTP interface or src/des

8235074c 09/02/2015 05:26 PM Jim Pingle

Merge pull request #1848 from phil-davis/bootstrap-review

93a957b3 09/01/2015 05:14 PM Renato Botelho

Merge branch 'master' into bootstrap

4de8f7ba 08/30/2015 04:32 PM Phil Davis

Integrate bootstrap etc/inc with master

This applies the little changes in etc/inc master to the bootstrap
branch so that etc/inc in bootstrap will now just have the real
differences that are due to real bootstrap changes.

71de40d4 08/28/2015 01:40 PM Renato Botelho

Merge pull request #1826 from phil-davis/v10-bigger-than-v9

152d4cad 08/27/2015 01:13 PM Renato Botelho

Merge branch 'master' into bootstrap

03b56525 08/27/2015 10:49 AM Renato Botelho

Obsolete use of /etc/nano_use_vga.txt, Use enableserial_force flag instead

03b19a93 08/26/2015 06:12 PM Renato Botelho

Merge branch 'master' into bootstrap

48081e6c 08/26/2015 07:05 AM Phil Davis

Redmine #4925 Fix version comparison to know 10 is bigger than 9

This rtrim of ".0" is stripping any "0" from the end of the passed-in
version strings. That makes "2.3.10" become "2.3.1" which then removes
any chance of the following nice comparison logic working....

46bc6e54 08/25/2015 05:49 PM Renato Botelho

Move main pfSense content to src/