Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
cde88d5e 01/21/2015 08:25 PM Ermal Luçi

Ticket #4254 Use proper variable

39e3b27b 01/21/2015 08:09 PM Ermal Luçi

Ticket #4254 actually use the info on the protocol of the vpn sepcification to be more sure on the family to use

4e1fd3b6 01/21/2015 08:04 PM Ermal Luçi

Ticket #4254 Handle even hosts specified throguh dns name

c7edf1f8 01/21/2015 08:00 PM Ermal Luçi

Ticket #4524 Bring back static routes on ipsec to make sure charon does not send traffic through wrong iface. This handles properly ipv6

260c6a7e 01/21/2015 07:31 PM Ermal Luçi

Be compliant with gatway groups specified on ipsec. Ticket #4254

083ec796 01/21/2015 06:32 PM Ermal Luçi

Ticket #4254 Actually fix this on 2.2 branch since vips are not handled by get_real_interface apparently!

a6934401 01/21/2015 04:36 PM Renato Botelho

When radvd is configured on a CARP interface, enable it when it is MASTER and disable when go to BACKUP. It should fix #4252

89ac17e3 01/21/2015 08:31 AM Ermal Luçi

Ticket #4254 specify the list of interfaces to be used by charon. This is a workaround for now. Being investigated the fix.

94efc59d 01/21/2015 06:36 AM Chris Buechler

Use the parent NIC rather than the VIP. Fixes part of Ticket #4252

de16863d 01/20/2015 09:53 PM Jim Pingle

The reset button check should happen on all platforms, not only NanoBSD

7f360152 01/19/2015 11:08 AM Renato Botelho

Add reset button support for APU and FW7541

ef9ef75f 01/17/2015 05:18 AM Chris Buechler

add detection for 7541, APU

b1fef27f 01/16/2015 07:42 PM Renato Botelho

Set $arch accordingly to release

6aac31ef 01/16/2015 07:40 PM Chris Buechler

change update URLs for release

6434d5be 01/16/2015 07:36 PM Chris Buechler

Bump to 2.2-RELEASE

17c98255 01/16/2015 01:50 PM Renato Botelho

Validate if both IP address and subnet are valid and the same version. Fixes #4223

05071b65 01/15/2015 07:18 PM Ermal Luçi

Just do an update since it will handle itself properly.

4e8eacfd 01/15/2015 09:13 AM Ermal Luçi

Revert "Move to specifically specifying the ID type apart when an ip address to have strongswan do proper behaviour. Also for DynDNS names use the dns type id so strongswan does the resolving by its own."

This reverts commit 1ada4c8c514cc33b0df6238b7f2f177078bfe2e8.

23de1f0d 01/15/2015 09:13 AM Ermal Luçi

Revert "Fix typos introduced by chaning to explicit id specification when necessary. Fixes #4202"

This reverts commit 324311043385aed357ca8838bde2c3af3111e564.

bc62f818 01/15/2015 08:29 AM Ermal Luçi

Add RSA keys even for eap-mschapv2

f579c0fb 01/15/2015 08:29 AM Ermal Luçi

Add EAP-MSChapv2 implementation for Windows ipsec support as reported here https://forum.pfsense.org/index.php?topic=81657.15

88a46519 01/14/2015 04:03 PM Ermal Luçi

Oops add missing curly

eb26d310 01/14/2015 04:03 PM Ermal Luçi

Also take care of ph1 mobile settings for eap-tls

6e0a0ab3 01/14/2015 02:09 PM Renato Botelho

Obsolete libpng15 in favour of libpng16

9eec3be3 01/14/2015 11:23 AM Warren Baker

Correctly handle number of cores and power of 2. Merged from the package already had this. Fixes #4212

656fd270 01/13/2015 07:21 PM Ermal Luçi

Add some saftey belts here to be safe

a2feea37 01/13/2015 07:19 PM Ermal Luçi

Heh bump the config version

b4013725 01/13/2015 06:57 PM Ermal Luçi

To avoid issues with clashing SAIDs go back to specifying the reqid in strongswan config.

To be able to manage this first upgrade the config to assign each phase2 an reqid
Second use that during config generation

Ticket #4208

324a2387 01/12/2015 10:33 PM Warren Baker

Unbound is compiled with libevent so setting this to always be 4096.

ad9148ae 01/12/2015 10:32 PM Warren Baker

Allow for overhead and up maximum limit from 8 to 32, also only set it if its set to 4 or above. Fixes https://forum.pfsense.org/index.php?topic=78356.msg472781#msg472781

35e3d350 01/12/2015 06:25 PM Ermal Luçi

Do not leak firewall rules as well when (re)creating rules

eab9d9c1 01/12/2015 02:36 PM Renato Botelho

Fix spell typo spotted by phil-davis

32431104 01/12/2015 02:14 PM Ermal Luçi

Fix typos introduced by chaning to explicit id specification when necessary. Fixes #4202

0c5e61b1 01/12/2015 01:50 PM Phil Davis

Fix cut paste brain fade

3fbfbe90 01/12/2015 01:49 PM Phil Davis

Restart PHP-FPM allow to setup ini file

I was just using console menu option 16 Restart PHP-FPM and it hung on a nanoBSD system.
I found /tmp/php_errors.txt with this in it:
"override rw-r--r-- root/wheel for /usr/local/etc/php.ini?"
Flying blind at the console I entered "y", then /tmp/php_errors.txt had this:...

9b255a36 01/12/2015 11:27 AM Ermal Luçi

Use this generation now of committing pipes directly and only rules to put on ruleset to avoid memory pressure and the timelimit will than be enforced by the caller

124299a3 01/12/2015 11:26 AM Ermal Luçi

Revert "Ticket #3932 Use array_map to get more parallelism when there are many entries. This makes it not reach the execution timeout with large entries."

This reverts commit 7077addc5a5058fab4b4dc7678270c1000d342c9.

0fc3c465 01/12/2015 11:20 AM Ermal Luçi

Actually improve the previous resource leak commit since the function is there but it was not being used during init_rules process.

339e2fe5 01/12/2015 11:18 AM Ermal Luçi
  • Try to autodetect if the execution limit needs to be raised on big number of passthrough entries.
    Set the time limit to 0 and restore it back to default value when this is detected.
  • Do not leak pipes when reloading ruleset for CP since this will consume available descriptors....
545c4435 01/12/2015 10:43 AM Ermal Luçi

Do not override the passwd string. First it prevents the md5 working if the crypt() check fails and also is useless to override it since the parameter is passed by value and not by reference.

aa685f7a 01/12/2015 09:38 AM Ermal Luçi

Ticket #3932 Use array_map to get more parallelism when there are many entries. This makes it not reach the execution timeout with large entries.

64ed3e60 01/12/2015 08:27 AM Ermal Luçi

Fix inherent issues with isset and empty values set as true by our parser. This made the piep configuration to be wrong at least for passthrough entries. Ticket #3932

4fc1c68f 01/12/2015 01:16 AM Phil Davis

Do not return disabled dynamic gateways

When a dynamic gateway is disabled (by the user through the webGUI), it was still being returned by return_gateways_array(). But when called like that, disabled gateways should not be returned. The first part of the routine was correctly skipping disabled gateways, but then the later part would effectively re-generate those dynamic gateways on-the-fly and not realise they should be skipped because they were disabled....

30656f66 01/11/2015 03:38 PM Ermal Luçi

Fixes #4177 convert password to base64 to be submitted to avoid issues with special chars in shell and HTTP GET parameter passing. Probably should add POST support to fcgicli.

31cf5a93 01/10/2015 09:35 PM Ermal Luçi

Fixes #3281 do not undo any changes already done for gif/gre interface.

9218ecb6 01/09/2015 09:32 PM Ermal Luçi

Let the kernel handle REQID rather than handling it manually. The connection name is the one needed here.

57963e4b 01/09/2015 09:06 PM Jim Pingle

Add tracker and label to IPv4 Link-Local block rules.

557c21da 01/09/2015 07:14 AM Chris Buechler

After the other set of changes had unexpected complications, let's back this out too. Revert "PEAR static method call warning"

This reverts commit 4751f76a6772147097906b699d4216ae38c58c39.

0515117e 01/09/2015 06:40 AM Chris Buechler

This broke a variety of things. Revert "Deprecated and non-static method messages"

This reverts commit 91b9a02fb131746c67fdf9f34282f123a13f1b13.

0391b39b 01/09/2015 06:20 AM Phil Davis

PEAR static method call warning

Forum https://forum.pfsense.org/index.php?topic=86478.0
PEAR is used by
IPv6.inc
auth.inc
captiveportal.inc
radius.inc
xmlrpc_client.inc
radius_accounting.inc
radius_authentication.inc

I have just changed this 1 function to "public static"...

ecefba29 01/09/2015 06:18 AM Chris Buechler

disable this PHP error logging, errors that are really significant end up with a crash report, this is more noise than useful at this stage in 2.2.

ac8f75f1 01/08/2015 09:49 PM Ermal Luçi

Catch packets on all iunterfaces and send them out the correct one. Fixes #4174

bad9dec5 01/08/2015 08:26 PM Phil Davis

Deprecated and non-static method messages

Fix various files that can emit messages like:
PHP Strict Standards: Non-static method SimplePie_Misc::array_unique()
should not be called statically, assuming $this from incompatible
context in /etc/inc/simplepie/simplepie.inc on line 5508...

7c1c70d5 01/08/2015 06:17 PM Renato Botelho

Improve URL and URL ports alias update data:

- Move redundant code to a function parse_aliases_file(). Before the max
number of items was not being respected when URL content is updated,
only when alias was saved. Same was happening with ip/subnet/port
validation and user could end up with a bad pf.conf...

1776d19e 01/08/2015 03:41 PM Jim Pingle

Change OpenVPN CARP VIP test to be more accurate. The client should also not be run if the VIP is in the INIT state.

1ba50154 01/08/2015 02:26 PM Renato Botelho

Unobsolete libcurl.so.4 since it's installed by recent versions of curl package

a980b284 01/08/2015 01:08 PM Renato Botelho

Fix check for cookies, the way it was implemented didn't work because it would need a refresh to check if cookie was set or not. Use javascript to do a simple test

9156a51d 01/08/2015 12:26 PM Renato Botelho

Add a value to cookie, otherwise it's not set. Before my last change parameters were out of order and expiration time was being set as value. It should fix #4069

adf8a74a 01/08/2015 11:33 AM Ermal Luçi

This is not the place for this setting and werid its here!

f585d06e 01/08/2015 06:05 AM Chris Buechler

some lagg modes are missing vlanmtu, but work fine with VLANs. Work around it for now at least. Ticket #4186

74017e32 01/08/2015 05:28 AM Stilez y

"Like with like" - move a few functions to better places in the code (they are placed strangely)

A few functions such as ipcmp(), subnet_expand(), and check_subnets_overlap() are in illogical places - away from all the other ip comparison and subnet basic functions and in the middle of alias handling and interface enumeration....

6be58d9d 01/08/2015 03:00 AM Chris Buechler

fix strongswan conf file generation with ipcomp. Ticket #4182

4a3ce17a 01/07/2015 11:48 PM Ermal Luçi

Fixes #4188 use the same reqid over same phase1 but different phase2 connections. The dashboard will be fixed with the ticket already open. This should fix a lot of instabilities reported on the forums for people having a dozen or more tunnels

7a959780 01/07/2015 09:31 PM Ermal Luçi

Correct the sense of the check by default unity is enabled

845f9f78 01/07/2015 09:06 PM Ermal Luçi

Provide an advanced setting to be able to disable Unity Plugin(Cisco extensions)

1ada4c8c 01/07/2015 08:02 PM Ermal Luçi

Move to specifically specifying the ID type apart when an ip address to have strongswan do proper behaviour. Also for DynDNS names use the dns type id so strongswan does the resolving by its own.

2f56ac49 01/07/2015 07:26 PM Chris Buechler

Don't hard code the target IP in auto-generated outbound NAT rules, use
previous behavior of setting it to the interface IP.

cc9b3e07 01/07/2015 07:18 PM Ermal Luçi

split is deprecated move to explode

d2884b9a 01/07/2015 06:47 PM Chris Buechler

fix spelling of compression

45efe1b6 01/07/2015 03:33 PM Ermal Luçi

Fixes #4182 by properly managing IPcomp on ipsec tunnels.
Also retires IPsec force reloading advanced sysctl since its useless nowdays with strongswan and remove its call on rc.newipsecdns.

d4e894f6 01/07/2015 11:11 AM Renato Botelho

Fix #4146:

OpenVPN create the tun/tap interface and, when set an IP address to
it, mark it as UP. In some scenarios, when TAP is set as bridge and
doesn't have an IP address set on it, it never goes up and tunnel
doesn't work.

If rc.newwanip is called for this TAP interface, UP flag is set, but,...

19c8976b 01/07/2015 06:47 AM Chris Buechler

Log PHP errors. Ticket #4143

9b182b08 01/06/2015 09:54 PM Ermal Luçi

Enforce subnet check here to avoid any issues resulting from function call.

c8d87d2a 01/06/2015 08:55 PM Renato Botelho

Remove useless check, CARP does not depend of interface having another IP set before

3ffea319 01/06/2015 05:17 PM Renato Botelho

Remove some extra spaces

d9db4862 01/06/2015 05:17 PM Renato Botelho

Fix typo on variable name

374b2f21 01/06/2015 05:17 PM Stilez y

Tighten and IPv6-ify gen_subnet() etc

Tightens, canonicalises and improves for IPv6, the functions
gen_subnet(), gen_subnetv6(), gen_subnet_max(), gen_subnetv6_max()

Changes are transparent to calling code.

Issues:

1) gen_subnet() and gen_subnet_max() will validate both IPv4 and IPv6 as valid args, but will then try to process an IPv6 subnet bitwise as x32 LONG without further checking, causing erroneous but apparently valid responses....

d8540659 01/06/2015 01:44 PM Renato Botelho

Revert "FreeBSD fails to set advskew back to 0 after you set it to any other"

A patch was added to allow set advskew back to 0

This reverts commit eea2ad5d61b2cbcf2957207fb0f13769c203cb36.

b785a40b 01/06/2015 12:01 PM Renato Botelho

Add secure flag when necessary to cookie_test, as we do for session cookie, to avoid false positives in common vulnerabilities scanners. It fixes #4069

055bd1ee 01/05/2015 06:57 PM Phil Davis

Allow IPv6 on loopback needs quick

The following block uses "quick" which causes that block to come into effect before the "pass in" here. The pass rule also needs to be "quick".
Problem noted by Andy Sayler on https://redmine.pfsense.org/issues/4074
Before this change, an attempt to manually do something local with IPv6 fails:...

91a84a26 01/05/2015 06:56 PM Phil Davis

Limit unbound so-rcvbuf: 8m

Issue reported here: https://forum.pfsense.org/index.php?topic=78356.msg472781#msg472781
Most unbound doc places mention setting it at up to 8m. I'm sure it would be possible to investigate more and find a way to make unbound+FreeBSD be able to go higher than 8m. But probably 8m is sufficient for everyone anyway (judging by what the unbound docs seem to assume will be a good value on a busy system)....

0a23cddc 01/05/2015 05:41 PM Renato Botelho

Fix #4090:

- Unbound advanced options may contain double quotes and it breaks the
syntax when a backup is restored because newlines are trimmed. Save it
in base64 format is a safe way to prevent it
- Bump config version to 11.5
- Provide upgrade code to encode current config or the one that came...

24149c31 01/05/2015 02:58 PM Renato Botelho

It's supposed to remove windows EOL here, not ;

62403377 01/05/2015 01:17 PM Phil Davis

Do not monitor a gateway that has not got DHCP yet

When an interface is waiting to get DHCP, but the cable is physically-electrically connected to the upstream device, the interface has an IPv4 address 0.0.0.0 - that was getting past here and, if the interface gateway had a monitor IP specified, that monitor IP was being put into apinger.conf and being monitored. Because the interface has not got a gateway yet, no static route is added to force the traffic for the monitor IP out the particular interface. So the traffic to the monitor IP can follow the default route and perhaps succeed in getting out another WAN to the monitor IP....

6317d31d 01/01/2015 12:13 PM Phil Davis

Fix lineup of copyright lines

and module names and other bits of formatting and typos in header
comment sections.

1d709219 12/31/2014 10:18 PM Chris Buechler

Use binat, not nat, where IPsec NAT is configured with an address for local and NAT. Ticket #4169

d961e7e3 12/31/2014 06:22 PM Renato Botelho

Welcome 2015

16a0f334 12/31/2014 02:54 PM Renato Botelho

Add config upgrade code to make sure iketype is set, bump config version to 11.4. It fixes #4163

7cb2ebe7 12/31/2014 02:26 PM Renato Botelho

libreadline.so.6 is not supposed to be obsoleted, fixes #4159

3cf56fb0 12/31/2014 08:02 AM Chris Buechler

Allow IPv6 on loopback even where IPv6 is otherwise disabled. The intent of that feature is to prevent IPv6 from communicating on the network. Blocking it on localhost can result in issues and is unnecessary. Ticket #4074

1c84a5f1 12/31/2014 05:10 AM Chris Buechler

Reload Unbound after IP changes, to fix issues noted in Ticket #4095. Do so before Dynamic DNS updates occur to ensure the host has functioning DNS.

c8c4520a 12/31/2014 02:12 AM Chris Buechler

Only set route-to and reply-to on ESP and ISAKMP rules if the remote endpoint is not within the parent interface's subnet. Ticket #4157

430f8380 12/30/2014 11:22 PM Ermal LUÇI

Check for fqdn peerid/myids and prepend @ so strongswan does not try to be smart. Also use %any for myid instead of risking of putting the wrong value in the secrets file for traffic selector

f3106b3f 12/30/2014 11:21 PM Ermal Luçi

Check for fqdn peerid/myids and prepend @ so strongswan does not try to be smart. Also use %any for myid instead of risking of putting the wrong value in the secrets file for traffic selector

1e7d2482 12/30/2014 11:17 PM Ermal LUÇI

Oops this should be 0s rather than 00. Linked with Ticket #4158

68f0da59 12/30/2014 11:14 PM Phil Davis

ipsec_smp_dump_status get out of loop if error

when reading response from socket.
Otherwise it would be in a loop and end up like: https://forum.pfsense.org/index.php?topic=86039.msg471848#msg471848
PHP Fatal error: Maximum execution time of 900 seconds exceeded in /etc/inc/ipsec.inc on line 383...

83650c94 12/30/2014 10:52 PM Ermal Luçi

Unbreak IPsec rules generation for IPsec over CARP. Should help even Ticket #4157

c86c2b8b 12/30/2014 09:45 PM Ermal Luçi

Use base64 encoded secrets which Fixes #4158

ef0d25b3 12/30/2014 11:47 AM Phil Davis

Standardise text in priv list

55f910a3 12/29/2014 02:48 PM Phil Davis

Simplify cron array comparison

This works fine - I had not thought about how arrays are compared. Using "==" checks that the key/value pairs match in both arrays, regardless of the order the arrays happen to be in, which is what we want here.
Using "===" would insist that the key/value pairs are also in the same order in the array and that the types and everything match identically, which we do not require.