Project

General

Profile

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

# Date Author Comment
fea0b652 11/28/2014 03:48 PM Ermal Luçi

Correct typo on variable. Should help https://forum.pfsense.org/index.php?topic=84451.0

7a63d5d0 11/27/2014 08:44 PM Ermal Luçi

Fixes #4040 for pppoe use static route with -iface option to help when more than one pppoe has the same gateway. Also kill states when reloading apinger to catch up with new route

f72ea82a 11/27/2014 01:48 PM Ermal Luçi

Put the safety belts for rrds on its proper location. No need to create /tmp and change permissions on these paths

3cd3cbd2 11/27/2014 09:43 AM Phil Davis

Setup rrd dir before calling create_gateway_quality_rrd

Stops error:
ERROR: opening '/var/db/rrd/WAN_DHCP-quality.rrd': No such file or directory
in system log during boot.
Forum: https://forum.pfsense.org/index.php?topic=84627.0

285ef132 11/26/2014 12:10 PM Ermal Luçi

Rather than set the g['booting'] on globals provide a function to test for that doing the right checks

687ff78c 11/20/2014 01:10 AM Chris Buechler

Only skip tap-type OpenVPN servers, not all. Fixes #3713

11fb4543 11/16/2014 08:11 PM Chris Buechler

show tunnelv4 on v4 the same way tunnelv6 is shown on v6

bac17444 11/16/2014 08:09 PM Chris Buechler

show tunnelv4 on v4 the same way tunnelv6 is shown on v6

0c50e94b 11/15/2014 07:27 AM Chris Buechler

fix missing strpos parameter

f4443dce 11/10/2014 10:32 PM Ermal LUÇI

Compare the right things here.

894a0159 11/10/2014 04:03 PM Ermal LUÇI

Tighten checks here to avoid overriding the default gw with garbage

d3c269d3 11/10/2014 03:15 PM Ermal LUÇI

Make some more useful checks here

6704590b 11/10/2014 03:09 PM Ermal LUÇI

Be sure the same gateway is not processed for v4 and v6

118218cb 11/06/2014 01:54 PM Renato Botelho

Make sure target has scope when it's a link-local. Fixes #3969

3f6525c1 11/06/2014 10:30 AM Renato Botelho

Make sure srcip has scope when it's link-local. Should fix #3969

b22f436a 10/11/2014 12:09 AM Chris Buechler

s/removing/omitting/g for gateway monitor log entires. "Removing" is not necessarily correct, there are many circumstances where this runs where it wasn't there to begin with, and is potentially misleading.

a99547e4 09/24/2014 09:53 AM Ermal LUÇI

Provide a toggle for apinger debug messages to be logged to syslog. To help with roubleshooting issues

8ff231b4 06/30/2014 08:18 PM Dmitriy K.

fixes #3713

96fcabaa 06/19/2014 07:29 PM Renato Botelho

Replace some backticks by exec ans simplify commands

dd8d9bdc 04/18/2014 09:55 AM Gilles Compienne

pfSense - Bug #3607: Fix issue whereby the ICMP6 messages sometimes have the wrong source IP when a monitor gateway has been set.

8c7e38ff 04/18/2014 09:43 AM Gilles Compienne

[pfSense - Bug #3607] Ensure gateway detection can cope with the gateway being a dynamically assigned PPoE interface.

c3e4ef74 03/19/2014 03:15 PM Renato Botelho

Merge pull request #953 from N0YB/Gateway_Quality_RRD

Fix gateway quality RRD to have the correct granularity and be consistent with the pfSense graphs set.

ebe2b407 03/04/2014 01:03 PM Renato Botelho

Merge pull request #984 from phil-davis/master

Return GWG IP protocol (version) when no gateway IP

d07bc322 03/03/2014 04:31 PM Renato Botelho

Remove broken 'dynamic6' gateway, we already have ipprotocol to tell us the IP version, leave it more simple using only 'dynamic'. It helps #3484

bf36dafa 03/03/2014 04:26 PM Renato Botelho

Fix typo on var name

b31247af 02/28/2014 02:14 PM Ermal LUÇI

Small correction for clear code

cdeaf91e 02/28/2014 02:11 PM Ermal LUÇI

Ticket #3484 Correct the case for GRE tunnels as well since they behave the same. GRE seems to need the prefixlen 128 specified all the time so do it explicitly to be on safe side

c32a6b82 02/28/2014 01:49 PM Ermal LUÇI

Fixes #3484. Provide a dynamic gateway for gif v6 tunnels so it can be used on firewall rules etc. The guide for setting up this tunnels on docs need to change to leave the gif interface as none type. People upgrading need to fix this themselves with a not on release notes. This can be fixed if the kernel condition is relaxed to allow setting the prefixlen on the tunnel as ipv4

f60003fa 02/28/2014 02:54 AM Phil Davis

Return GWG IP protocol (version) when no gateway IP

This is a resubmit of an older pull request I had closed. It came up again in the forum, with a user setting up a VM environment and wondering why he cannot make policy-routing rules to a gateway group. The gateway group names did not display because all his WANs were down at the time and so the existing code was too dumb to determine the IP protocol (version 4 or 6) when none of the WANs in the gateway group actually have an IP address yet.

d55cba63 02/20/2014 02:18 AM N0YB

Fix gateway quality RRD to have the correct granularity and be consistent with the pfSense graphs set.

Create gateway quality RRD with settings suitable for pfSense graph set, since apinger uses default step (300) and other settings that are not so good/consistent with the pfSense graphs set....

3c6787ed 01/25/2014 06:28 AM N0YB

Gateway Monitor Advanced Settings

Exposes 3 additional apinger configuration options in the gateway monitor advanced section which can either be set manually, calculated based on interval, or use the hard coded defaults.
1) Avg Delay Samples
2) Avg Loss Samples...

81f19476 01/06/2014 04:11 PM Renato Botelho

Add an option to force a gateway to be down, it fixes #2847

ee574a9e 12/27/2013 02:02 PM Renato Botelho

Fix a bug introduced in commit 06b8d43c that breaks return_gateways_array() called with $disabled == false

63fee576 12/27/2013 01:55 PM Renato Botelho

No reason to set the same value to ipprotocol

06b8d43c 11/26/2013 08:40 PM Renato Botelho

Add a new param to return_gateways_array and make it return gateways when interface doesn't exist. Default behavior didn't change. Also check the new gateway parameter (disabled) when filtering

23d9f686 11/21/2013 11:37 AM Renato Botelho

Fix an issue that changes wrong gateway entry when items are hidden

33e71f10 11/20/2013 08:56 PM Jim Pingle

Don't flush interface cache on each call of the function when looping through all gateways.

204bec28 10/29/2013 09:35 AM Renato Botelho

Revert "Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280"

Another solution will be implemented

This reverts commit 6721d6d0443bd7e697bd6ca33f470c801608df7e.

6721d6d0 10/29/2013 09:06 AM Renato Botelho

Define dynamic gateway for GRE interfaces and do not user to define IP address to the interface. Fixes #3280

1dc0e7f4 10/28/2013 04:20 PM Renato Botelho

Make return_gateways_array() return all disabled gateways when $disabled is true, it should fix #3291

32a9eb18 09/03/2013 04:52 PM Ermal LUÇI

Bring back static routes to fix issues reported on Ticext #3179

22234bbb 09/02/2013 11:00 AM Renato Botelho

Fix #3172, return_gateway_groups_array() was returning the last vip since it was using wrong variable name on iteration

17921b7e 08/16/2013 07:49 PM Ermal LUÇI

Ooops fix this to add only th einterface

42f33846 08/16/2013 07:35 PM Ermal LUÇI

Add scope identifier to target when its link-local

2c3924a1 08/14/2013 11:16 PM Ermal LUÇI

Cleanup some code that is not needed anymore

2db93ddb 08/13/2013 08:09 PM Ermal LUÇI

Force apinger to write the status file before getting gateway status

746f0afb 08/02/2013 02:04 PM Ermal LUÇI

Reload apinger now that we can rather than restarting. Related to Ticket #3119

5aa68a55 07/28/2013 01:31 PM Renato Botelho

Fix #3113, fix multiple english spell errors s/seperet/separat/

45eb8aeb 07/13/2013 02:41 PM Renato Botelho

Fix #3091, fix bad var assignment

f4a8e38c 07/05/2013 10:53 AM Ermal LUÇI

Resolves #2910. Make apinger write its status file just after starting so that thing work as expected

bf8c7971 06/17/2013 09:25 AM Ermal LUÇI

Remove referenced binary not used anymore

4cbc0ae9 06/17/2013 09:23 AM Ermal LUÇI

Remove unused code and spurious alert

de82ec90 06/17/2013 09:23 AM Ermal LUÇI

Use file_put_contents for simplicity and readbility

db7a628c 05/09/2013 11:05 AM Renato Botelho

Replace all linklocal checks by is_linklocal()

be2a18bf 05/07/2013 05:53 AM Phil Davis

Fixup gwlb functions related to gw failover

Make apinger pass the gateway parameter both when an alarm alarms (gateway is down) and when it comes good (gateway is up). This way the downstream openvpn and dyndns code can know what happened and do sensible stuff....

8e78c82c 04/25/2013 11:32 AM Renato Botelho

ipprotocol is inet or inet6

26190b11 04/25/2013 11:30 AM Renato Botelho

Take dynamic6 into consideration too

65cfd0ca 04/25/2013 11:28 AM Renato Botelho

Deduplicate and simplify code

d97eccf9 04/18/2013 05:28 PM Renato Botelho

Make more strict comparison to avoid type issues when gw name only contain numbers. Fixes #2956

f040882c 04/18/2013 05:28 PM Renato Botelho

Fix whitespace and indent

4fdd86a3 04/15/2013 11:37 PM avandeweghe

Add default case when detecting dynamic gateway ip

Add a default to $wancfg['ipaddr'] case for both ipv4 and ipv6 to allow gateway ip to be returned rather then 'dynamic' for an openvpn connection

d28cd156 04/14/2013 05:36 PM Renato Botelho

Make fe80: addresses check case insensitive

36777fe4 04/12/2013 07:56 PM Ermal LUÇI

Use apinger macros to send the gateway name for openvpn and dyndns. Ipsec will reload all of it since its single process

58b1112f 04/12/2013 07:35 PM Ermal LUÇI

Provide a function to get all gateway groups a gateway is member of

c447a9fe 04/12/2013 07:22 PM Ermal LUÇI

Optimize a bit interface_gateway_group_member

155362f7 04/12/2013 07:08 PM Ermal LUÇI

Check if the argument is a gateway or an interface

1500614c 03/26/2013 11:47 AM Ermal LUÇI

Correct code and initialize properly variables escpecially arrays. Also do fixes and simplificate to make it more readble

2ba95a31 03/26/2013 11:08 AM Ermal LUÇI

Correct check from previous code path simplification

dea0921d 03/26/2013 11:07 AM Ermal LUÇI

Initialize some arrays to avoid php issues and also use list() here to avoid double array dereference

fd34d6a9 03/26/2013 10:53 AM Ermal LUÇI

Simplify a bit code branching no change on functionality

3e3ff931 03/20/2013 09:01 AM Ryan Dlugosz

Track apinger status in /var/run instead of /tmp

This is a one line status file updated every few seconds. It would be
better to store this in /var/run since that is (always?) a ram disk on
pfSense. Especially important on systems with flash storage.

see: http://forum.pfsense.org/index.php/topic,52734.msg281834.html#msg281834

e9d156fd 03/18/2013 03:28 PM Ermal LUÇI

If gatway is dynamic the type cannot be determined, trim the code trying to do something impossible. While here optimize a bit

909de400 03/18/2013 02:55 PM Ermal LUÇI

Try to remove as much as possible _stf special case through the code

08c3810c 02/27/2013 03:47 PM Renato Botelho

Just set defaultgw after all gateways are processed, it fixes return_gateways_array()

72b4a1e8 02/06/2013 02:10 PM Jim Pingle

This message can be really spammy on a failure if you have multiple gateway groups. Disable e-mail notification of this message for now.
If the e-mail actually made it out, at least one of the gateways must still be up...

0715ad50 02/06/2013 12:27 AM Jim Pingle

If the user has IPv6 disabled, don't create dynamic IPv6 gateways.

c65eef01 02/05/2013 06:47 PM Jim Pingle

Only allow gateways of the appropriate type (ipv4 or ipv6) to affect whether a gateway is marked as default, otherwise you can end up with an ipv4 gateway marked as default for ipv6 and the gui just shows "default".

7e86b57e 01/30/2013 05:07 PM Ermal LUÇI

Oops correct interface name

c822154c 12/18/2012 02:42 PM Jim Pingle

Make gateways for assigned OpenVPN servers as well as clients.

292da16b 11/21/2012 11:53 AM Ermal LUÇI

Add unset

e0ba24f7 11/19/2012 09:46 AM Seth Mos

Switch to is_array() check and add curly

50006cca 11/18/2012 01:20 PM Pi Ba

gateway monitoring, make the notifications generated clear to tell which gateway/group they are about

fd3515f2 09/26/2012 01:43 PM Jim Pingle

Separate default gateway switching code to its own function, fix it to only operate on one address family at a time. Old method wouldn't re-set inet gateway if there was an inet6 default.

017817c2 09/13/2012 04:49 PM Seth Mos

Make the gateway group member check a boolean, might convert to something else at a later time so we could check group memberships.
Also launch the dyndns configure if the dyndns interface is a gateway group name, could check membership later if we wanted.

cdb0df65 09/13/2012 05:04 AM Seth Mos

Add function that checks if the interface is part of a gateway group.

1be0e2da 09/13/2012 05:02 AM Seth Mos

Reference the correct variable here, it was broken before and could never have worked.

c832f6bf 09/12/2012 04:23 PM Seth Mos

Remove the filter configure call as this could otherwise lead to a recursive filter configure.

14661668 07/25/2012 04:05 PM Phil Davis

Put apinger default values into a function

The default advanced apinger parameter values are now returned by function return_apinger_defaults. So they can easily be obtained by any code that cares.

206d5777 07/18/2012 07:29 AM Seth Mos

Make sure that we process the logic statement correctly, otherwise we might accidentally end up missing dual stacked or tunneled interface gateways

02a8dab0 07/05/2012 02:03 PM Carlos Cesario

Change field name from lowloss to losslow
related in http://redmine.pfsense.org/issues/2537

9deb5107 06/30/2012 05:40 PM Seth Mos

Reconfigure OpenVPN on gateway change

a3eb01e7 06/28/2012 10:08 AM Seth Mos

Comment out adding static routes for gateway monitor IPs because we now bind to the correct Interface with apinger.

b98f601e 06/28/2012 05:38 AM Phil Davis

Fix: Warning: preg_match(): No ending delimiter '/' found in /etc/inc/gwlb.inc on line 696

47c48e28 06/25/2012 04:44 PM Seth Mos

Check in code that allows for using a gateway group as the interface on the OpenVPN server page. Only allow IPv4 gateway groups for now. We'll need to add IPv6 suppport here later when we import OpenVPN 2.3.
Unbreak the gateway group function on broken configurations like a missing 3G stick....

fa3e5c05 06/09/2012 03:08 PM Seth Mos

Needs a default case so IPv6 interfaces are resolved to a real interface

846c7b77 06/06/2012 06:20 PM Seth Mos

Changeover to the new multiple command pfSctl

8275ea28 06/06/2012 05:21 PM Seth Mos

Reverse the arguments, i got them wrong.
Redmine ticket #1965

83d807cb 06/06/2012 04:11 PM Seth Mos

Trigger dyndns and ipsecdns updates through check_reload_status. IpsecDNS already performs a filter_configure() too.
Redmine ticket #1965

fbf0d4d3 06/05/2012 05:45 AM Seth Mos

Make sure to return the Null route gateways too for looking up a gateway entry

603f19f0 06/04/2012 10:37 AM Seth Mos

Some minor enhancements from renaming the Gathering Data to Pending.
When it doesn't exist in the array it's really unknown. Make that lightblue. show a ~