Project

General

Profile

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

# Date Author Comment
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)

f24e175e 07/20/2016 09:50 AM Phil Davis

Backport simplify subnet_size()

Original pull request to master was #3007

aaec5634 07/15/2016 06:32 PM Renato Botelho

Review license / copyright on all files (final round)

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

337f8296 06/30/2016 06:43 AM NewEraCracker

Fix Redmine #6011

This will add linklocal fallback where no IPv6 is otherwise configured to allow login using this IPs

57d6340b 06/25/2016 06:34 AM Chris Buechler

bring back subnetv4_expand function used by pfblockerng

7f493140 06/22/2016 03:48 PM Stilez y

Remove subnet_expand()

Function isn't used in main or packages repo, and in any case would need a complete rewrite to handle IPv6.
(cherry picked from commit 6215902c4043726e633fcfac1c37c710ac398653)

e4ea0073 05/05/2016 07:15 AM Chris Buechler

This was right to begin with. Revert "Allow uppercase letters in is_unqualified_hostname as well."

This reverts commit 3d5fb131796ba6d9c5d53efe77080d7ddb334f22.

3d5fb131 05/05/2016 06:03 AM Chris Buechler

Allow uppercase letters in is_unqualified_hostname as well.

d72e6feb 04/28/2016 12:34 PM Phil Davis

Provide better messages for invalid alias name errors

(cherry picked from commit e1f5381f4ecae20922a379b75820af1c9e57927e)

1c92c5b1 04/04/2016 01:55 PM Stephen Beaver

Merge pull request #2831 from NOYB/Includes_-_Remove_Personalizations

(cherry picked from commit 7a2c15f527459cc82aadaf23d06895174c008320)

31b15180 03/03/2016 10:16 PM Jim Pingle

Move NTP access restrictions to their own tab and add the ability to craft custom restrictions for arbitrary networks. Fixes #4463

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

34938b8d 02/25/2016 01:59 PM Luiz Souza

It is not necessary check for CARP interfaces.

2915acf8 02/20/2016 05:25 AM Chris Buechler

Don't trigger an interface mismatch for lagg interfaces, they may not exist at time of config restore. Ticket #5892

2ec7ab35 02/20/2016 05:00 AM Chris Buechler

Validate URL table ports aliases exist before using them in a rule. Ticket #5845

51a14c58 02/19/2016 12:22 PM Phil Davis

Internationalize etc inc uvx

820562e8 02/18/2016 10:02 AM NewEraCracker

Quote the 1st parameter (constant name) when calling define()

53904d09 02/17/2016 02:10 PM Renato Botelho

Simplify logic increasing value direct in hexa, PHP is smart to do it right. Spotteb by @loos-br

4c62c1ff 02/17/2016 11:56 AM Renato Botelho

Implement get_v6_ptr_zones()

This function takes an IPv6 subnet and return an array containing all
DNS PTR zones

e0e28fdf 02/16/2016 04:47 PM Luiz Souza

Fix the return value if no matching VIP was found.

ce94deb0 02/16/2016 02:05 PM Luiz Souza

Implement a switch that allows get_configured_vip_list() return only the selected type of VIP addresses: CARP, IP alias or all VIPs (default).

It seems that a few packages still rely on this.

Ticket #5885

d9901ff4 02/09/2016 11:56 PM Chris Buechler

Fix style issues.

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

7b512ab3 02/09/2016 12:11 AM Phil Davis

Use IEC KiB MiB GiB TiB units

See forum https://forum.pfsense.org/index.php?topic=106547.0 for discussion if this is wanted.

4eac105f 02/07/2016 03:59 PM Phil Davis

Add support for TB when reporting bytes

Forum: https://forum.pfsense.org/index.php?topic=106470.0
I believe that this should work OK on both 32 and 64 bit systems. A 32-bit system will convert big values of $bytes and big numbers like 1099511627776 to float first, then do the comparison. 64-bit systems will do (int) comparisons. Either way, in the end, the value is sprintf() into a float anyway....

b75f296f 02/04/2016 05:47 PM Renato Botelho

Merge pull request #2435 from stilez/patch-7

f38d984b 02/04/2016 05:44 PM Renato Botelho

Simplify is_linklocal()

ea8baf3e 02/04/2016 05:29 PM Renato Botelho

Merge pull request #2320 from stilez/patch-3

10ae204f 01/28/2016 02:11 PM Stephen Beaver

Cosmetic changes - part deux
Calculate colspans in casenumber of columns change again
"bytes" => "B" to reduce column width

cc2cff0b 01/28/2016 11:12 AM Luiz Souza

Show rule state details in firewall rules.

Inspired by pull request #1901 from marcelloc/hitcount_23_02.

State visualization and kill will be committed in a subsequent commit.

62512efa 01/18/2016 02:33 PM Stilez y

should be min($bits1, $bits2) for 'largest subnet'

66672b1b 01/14/2016 12:25 PM Stilez y

variable

Used explode to array rather than to a list, and tested array size, so as not to assume it has exactly 2 parts separated by "/".

cafe9038 01/14/2016 12:05 PM Stilez y

fixing comment

4402b5cb 01/14/2016 11:58 AM Stilez y

Subnet size logic

94eb702f 01/13/2016 07:03 PM Stilez y

5 or 6

9f4a788f 01/13/2016 06:38 PM Stilez y

fix $subnet1 should be $subnet2, thanks rbgarba

9f8266cd 01/13/2016 12:05 PM Stilez y

fix 4 should be 6 (thanks, good catch)

e8d5be8e 01/13/2016 11:53 AM Stilez y

Fix logic for subnet overlap check + canonical for IPv6

The subnet overlap functions came up as a concern while fixing redmine 5702.
Specifically -
The "canonical" function check_subnets_overlap() doesn't handle IPv6 (util.inc has standardised on v4/v6/agnostic versions, but this doesn't fit). Fixed by adding transparent detection of v4/v6 and a specific IPv4-only version...

f8a6c824 12/23/2015 09:52 PM Chris Buechler

This broke things again. Revert "data sanitising: ip2long32, ip2ulong, long2ip32 (FIXED RESUBMIT of #2152)"

This reverts commit 4557e3fba627c91c37afba04681cdabf71eccf57.

4557e3fb 12/23/2015 03:34 PM Stilez y

data sanitising: ip2long32, ip2ulong, long2ip32 (FIXED RESUBMIT of #2152)

Self explanatory. If these functions find themselves trying to convert non-int data (or an x64 int with non-zeros in any bits >32) to dotted IPv4, or non-dotted IPv4 to integer IPv4 values, something's wrong and they shouldn't return a value that looks like they succeeded....

a2fd89dd 12/23/2015 09:46 AM Stilez y

REBASE of #1786 and #1788, tightening three IP functions

Resubmit of two PRs that couldn't be merged due to basecode conflicts

is_linklocal() - tightened and made correctly IPv4/v6 agnostic per RFCs
is_literalipaddrv6() - simplified
is_hostnamewithport() - simplified...

4bc0cbc3 12/21/2015 12:26 PM Renato Botelho

Silence array_map() call to avoid getting unlink errors for directories

a982330c 12/18/2015 06:47 PM Stephen Beaver

Reverts PR2152 reported as causing OpenVPN issues here: https://forum.pfsense.org/index.php?topic=104175.0

c18ba6bf 12/18/2015 06:38 AM Phil Davis

Fix gen_subnetv4_max

and use it in services_dhcp rather than trying to do the similar
calculation in-line.
Should fix redmine #5654 and probably a bunch of other things that use
gen_subnet_max

19b802f4 12/16/2015 03:36 AM Phil Davis

util.inc syntax error and code style

Line 578 of the previous commit had a bonus ")".
Code style also fixed up.

25b5c8c9 12/16/2015 02:50 AM Chris Buechler

Merge pull request #2151 from stilez/patch-11

209f4d22 12/16/2015 02:48 AM Chris Buechler

Merge pull request #2152 from stilez/patch-12

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

39f91304 12/15/2015 05:31 PM Renato Botelho

Retire verify_digital_signature() and pubkey.pem

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

Code style and white space in etc

a85ad858 12/03/2015 02:13 PM Stilez y

unlink_if_exists() : minor enhancement

two minor enhancements -

1) add a comment for skim-readers, that patterns are allowed (but not arrays?) and that no error is returned
2) use array_map rather than foreach loop

ce9dc198 12/03/2015 01:42 PM Stilez y

data sanitising: ip2long32, ip2ulong, long2ip32 (Resubmit of #1789)

Self explanatory. If these functions find themselves trying to convert non-int data (or an x64 int with non-zeros in any bits >32) to dotted IPv4, or non-dotted IPv4 to integer IPv4 values, something's wrong and they shouldn't return a value that looks like they succeeded.

ed516fa7 12/03/2015 01:22 PM Stilez y

IPv6-ify and rewrite ip_range_to_subnet_array() [resubmit of #1709 (was #974)]

Function cannot handle IPv6 ranges, and is horribly inefficient, because it uses splitting+function call recursion for each "half". Even if extended for IPv6, it is probably far too inefficient for IPv6 on low power hardware. As written it's simply unable to handle an IPv6 environment or IPv6 ranges. As a result, if used in an IPv6 context, it would fail....

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

Type up SCRIPT tags

76153238 11/27/2015 02:58 PM Luiz Souza

Simplify get_configured_carp_interface_list().

No functional changes.

a5bed5a2 11/26/2015 10:16 PM Luiz Souza

Convert CARP interface name to uniqid notation. Ticket #4858

ba360ed7 11/06/2015 04:18 PM Stephen Beaver

Copyright updates ( 3 of 3)

995df6c3 10/22/2015 12:58 PM Stephen Beaver

Completed #5333

e00ad357 10/06/2015 02:26 PM Renato Botelho

Merge pull request #1572 from stilez/patch-5

cc882a8b 09/17/2015 10:12 AM Daniel Seebald

Fixed is_domain method call

0edcccc3 09/17/2015 08:13 AM Daniel Seebald

Added the possibility to use wildcard hostnames in certificate manager SAN fields

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

Move main pfSense content to src/