Project

General

Profile

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

# Date Author Comment
5721595b 03/15/2014 12:08 AM Chris Buechler

standardize on https://www.pfsense.org

e41ec584 03/12/2014 02:42 PM Renato Botelho

Improve checks for params 'id', 'dup' and other similar ones to make sure they are numeric integer, also, pass them through htmlspecialchars() before print

ec5c28cd 01/25/2014 08:49 PM N0YB

Gateway Monitor Advanced Settings

Recommended changes made to calculated value input behavior.
Restrict interval to integer of 1 or greater.

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

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

Delete static route when monitor IP is removed, also save monitor IP even when it's disabled

96ef7db0 11/26/2013 08:41 PM Renato Botelho

Add an option to disable gateway items

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

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

bf755503 10/25/2013 12:42 PM Renato Botelho

Use a more accurate error message, fixes #3282

1e9b4611 09/12/2013 02:28 PM Renato Botelho

Remove call-time pass by reference for do_input_validation, helps ticket #2565

605ae553 09/06/2013 11:08 AM Renato Botelho

Fix #3127

By default htmlspecialchars does not consider single quotes, what can be
a problem when value attribute is set using it. Replace value attribute
set to use double quotes on places where it's obviously recieving a
result of htmlspecialchars() call.

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

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

beb7cd97 08/29/2013 05:38 PM Renato Botelho

Use ipprotocol to check gateway protocol, this fix a issue that allow to set more than one default gateway when it's dynamic

490cd438 06/21/2013 02:48 AM Phil Davis

Use Probe Interval on gateway advanced settings

94744c27 06/19/2013 12:47 PM Jim Pingle

Correct gateway down/probe interval text.

4f30185f 05/29/2013 04:34 PM Jim Pingle

Fix up gateway advanced option note that was missed from 2.1 but on 2.0.x.

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

Replace all linklocal checks by is_linklocal()

55705b33 04/23/2013 12:40 PM Renato Botelho

Allow IPs inside virtual IP networks to be used as gateways. Fixed #2962

612170a7 04/14/2013 05:21 PM Chris Buechler

make fe80 gateway check case-insensitive

a1dccfc6 04/03/2013 07:51 PM Colin Fleming

Tidy up "system_gateways_edit.php" XHTML

Add CDATA section to SCRIPT tags
Close INPUT and BR tags
Update HTML boolean operators

0b844b73 02/26/2013 01:15 PM Renato Botelho

Fix indent, whitespaces and unbalanced <tr> and <td> tags

b5b5bcc0 02/04/2013 01:36 PM Ermal LUÇI

Make more strict checks during is_ip* functions. Helps http://forum.pfsense.org/index.php/topic,58399.0.html and http://forum.pfsense.org/index.php/topic,58273.0.html

60037e00 02/01/2013 09:18 PM Cyrill B

Update usr/local/www/system_gateways_edit.php

Correct IP family mix-up.

a3381369 01/14/2013 01:27 PM Colin Fleming

Update PHP shorthand tag

Standardise all PHP start tags from "

a138f065 10/31/2012 07:51 PM Jim Pingle

Encode parameters before showing them to users.

b32dd0a6 08/10/2012 05:32 PM Jim Pingle

Activate new shortcuts/status in the rest of the areas that are currently setup.

eb233517 07/25/2012 04:12 PM Phil Davis

Validate advanced gateway monitoring settings

Use the default values from return_apinger_defaults.
Validate values - low less than high, probe interval less than "down" time, values are positive numeric.
Update descriptions on the UI to show the defaults used.

2972b3e7 06/18/2012 04:37 PM Seth Mos

Now that we actually have a IP protocol tag in the config.xml we can make this check a lot simpler and do less guessing.
Redmine ticket #2503

e02caf4a 06/01/2012 05:46 AM Seth Mos

Actually save the IPprotocol variable into the config, otherwise it stil won't work.
People will likely need to edit and save their gateways now if they have double entries.
e.g. both manual and automatically added entries, these will dissapear as soon as you save....

c1d36d26 05/31/2012 04:28 PM Seth Mos

Finally give in and sprout a Internet Protocol drop down on the gateways edit screen.
With added validation and multiple detection parts to work when the value is not set yet.
Redmine ticket #2463

cd485c4f 05/17/2012 11:02 PM Darren Embry

remove some log_error calls

283d78c6 05/17/2012 11:00 PM Darren Embry

bug fix for #2426

Input validaton on interface gateway creation box needs to reject duplicate names

a0edece9 05/17/2012 10:33 PM Darren Embry

report errors adding a gateway through ajax calls

2a9cb3b2 03/13/2012 07:39 PM Seth Mos

Fix the link local check when trying to add a link local gateway
Ticket #2071

35af7141 01/15/2012 11:40 AM Seth Mos

Fix for ticket 2071, this allows link local addresses for gateways.
Backend already added the interface scope for link local addresses, hurrah.

ec9bb09f 12/29/2011 07:23 PM Jim Pingle

Clarify the potential pitfalls when setting the Frequency Probe and Down parameters.

16106d2e 11/27/2011 07:09 PM Seth Mos

Fix for redmine ticket #1993. Allow saving multiple dynamic entries.
Make sure that return_gateways_status() also returns all gateways that have monitoring disabled as up.

a574b960 08/28/2011 03:41 AM Alexander Wilke

Add default values for latency, packet loss, down on GUI

16b03b79 08/24/2011 01:07 PM Seth Mos

Fix a typo in the subnet generation causing the code to fail

9e80d14c 08/24/2011 10:42 AM Seth Mos

Add address family input validation on the Gateways edit page, also prevent adding gateways on interfaces that do not carry that address family.
Fix Ticket #1633

28ce79ad 08/23/2011 08:36 PM Jim Pingle

Simplify this code a bit, should be the same test in both locations since this should be either/or, and with the other code it can apparently fall into a trap where it shows neither.

f7203985 07/28/2011 08:56 PM Ermal LUÇI

Add an override for default interval to send icmp

33c06ef7 07/28/2011 08:31 PM Ermal LUÇI

Add a new option to allow disabling of gateway monitoring. This gateways will always be reported as up.

d1d0a1ad 07/18/2011 05:33 PM Vinicius Coque

makes correct use of printf and gettext

removes variables names and replace it with '%s'

9498c8d7 03/17/2011 11:52 AM Seth Mos

Fix field lengths for IPv6 addresses

2f14d021 02/07/2011 07:34 AM Seth Mos

Make it possible to set the default gateway bit for 1 ipv4 gateway and 1 ipv6 gateway

54ac51b5 02/03/2011 10:08 PM Seth Mos

Make the subnet check failure better readable

1f74cd2d 01/18/2011 08:10 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/interfaces.inc
etc/inc/system.inc

33802679 12/25/2010 09:19 PM Chris Buechler

fix text

81afb509 12/20/2010 08:06 PM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/interfaces.inc
etc/inc/vslb.inc
usr/local/www/interfaces.php

bddcbff2 11/22/2010 04:23 PM Erik Fonnesbeck

When adding/editing a gateway, check IP alias subnets, too. Fixes #1015

172007f5 11/15/2010 11:46 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/filter.inc
etc/inc/system.inc
usr/local/www/interfaces.php
usr/local/www/interfaces_gif_edit.php

225a2f0b 11/12/2010 04:03 PM Scott Ullrich

Bring in XSS id fixes from m0n0wall

7617e245 11/02/2010 08:43 PM Seth Mos

Verify that we validate against a ipv6 subnet properly. This should help for static route gateways

47593ac6 10/22/2010 11:32 AM Seth Mos

Allow for configuring a IPv6 address on the interfaces page.
Add code to verify a ipv6 address
Let is_ipaddr() return true on a v4 and v6 address.
Change system gateways edit to fetch the global ipv6 interface ipv6 addresses and subnets
The current ipv6 function might need folding into filter_var() when that catches some documented corner cases....

7fa03a98 10/05/2010 05:11 PM Marcus Brown

Simplify this code so it's obvious what we're really testing for.

Should be no functional change here.

c6865c5e 10/02/2010 07:29 AM Ermal LUÇI

Fix intended behaviour when the default gateway changes interface.

a531d687 10/02/2010 07:14 AM Ermal LUÇI

This breaks the code because the ASSUMPTION is to reload the gateway interface that was a defaultgw previously and not the interface that just became defaultgw. Mostly for dynamic connections like dhcp/ppp*

Pointy-hat: gnhb

Revert "Update code to actually accomplish the intended behavior of NOT reloading the interface"...

318baca5 10/02/2010 05:27 AM Marcus Brown

Update code to actually accomplish the intended behavior of NOT reloading the interface
if not necessary when a GW record is saved.

23fafd14 10/01/2010 05:08 PM Ermal LUÇI

Do not allow a gateway to be renamed. Possibly a better solution is to rename the gateway in all pointed places!

c568e682 10/01/2010 05:03 PM Ermal LUÇI

Handle the cases to not save data on config better.

78ae2b14 10/01/2010 04:51 PM Ermal LUÇI

Make sure we do not overwrite the gateway stored in config with a dynamic gateway info. Correct POST var name(Found by ghnb). Also correctly reload only the defaultgw interface changed only if it is different than the present one.

d44d26c1 10/01/2010 04:08 PM Ermal LUÇI

Fix the problem of not saving data when most of the information is not being posted. Also do not disable any field anymore to allow people to choose static gateways for dynamic interfaces. Also do not save any information when the user Clicks save but has not posted any information not known already. Do not prevent to post a dynamic value for gateway on an interface that is configured with static ip.

80a5b5f7 10/01/2010 02:10 AM Marcus Brown

We don't store monitor ip in the <interfaces> config any more.

Requested by cbuechler in ticket #919.

24d4a390 10/01/2010 12:04 AM Marcus Brown

When a dynamic interface is up, we still need to report that it's "dynamic" to this GUI in system_gateways_edit.php.

If user edits a dynamic gateway that is up, the gateway IP address (reported by return_gateways_array) will end up
in the "Gateway" field, and then the gateway will get saved as a static gateway unless user manually changes field...

11d2be54 09/30/2010 03:39 PM Ermal LUÇI

Revert previous change to enter a hidden value when interface is disabled. GHNB broke this on revision 58611e3a1da07a33c6cf65401ad3edf278190e75 and it does not make sense.

bc50b332 09/30/2010 03:20 PM Ermal LUÇI

Remove forgotten code.

bb849003 09/30/2010 03:14 PM Ermal LUÇI

Initialize variable properly. Handle the case when the interfaces select box is disabled and it will not be posted(Reported-by: ghnb

58611e3a 09/23/2010 09:57 AM Marcus Brown

Fixes #919 by properly saving <gateway> field as "dynamic"

`

ea939fc3 09/16/2010 05:23 PM Ermal LUÇI

Oops bring back this code too.

0c4846ff 09/16/2010 05:14 PM Ermal LUÇI

Actually this part should not have been committed at all.

5657aa95 09/16/2010 05:09 PM Ermal LUÇI

Fix gettext! Needed here?!

99c61352 09/16/2010 05:01 PM Ermal LUÇI

Bring code up to speed with latest world.

3befe730 09/15/2010 06:46 PM Ermal LUÇI

Cleanup code.

6216690b 07/24/2010 08:10 PM Seth Mos

Correct my email address, adjust copyright to 2010

e88ace75 06/27/2010 05:27 AM Chris Buechler

fix gettext

5a5447ab 06/07/2010 08:52 PM Ermal LUÇI

Correctly check when to actually save dynamic gateways or not.

3dd81dea 06/02/2010 03:26 PM Jim Pingle

Ensure that monitor IP stays blank when editing a system dynamic gateway.

41d98471 06/02/2010 03:13 PM Jim Pingle

Default to "dynamic" for a dynamic gateway.

02ca24c9 06/02/2010 01:58 PM Jim Pingle

Add status links to gateway/route pages.

023920e7 05/07/2010 05:12 PM Ermal LUÇI

Move the settings of down/latency/loss to per gateway. This allows more fine grained control on gateways.

8a0b4f14 05/03/2010 12:55 PM Vinicius Coque

Adding missing gettext() calls

5be999d3 05/03/2010 12:38 PM Vinicius Coque

Merge remote branch 'mainline/master'

Conflicts:
usr/local/www/system_gateway_groups.php
usr/local/www/system_gateway_groups_edit.php
usr/local/www/system_gateways_edit.php

fe538f56 04/30/2010 09:44 PM Ermal LUÇI

Save gateway data when weight changes on dynamic gateways.

f78302e8 04/30/2010 09:29 PM Ermal LUÇI

Add gateways validation code before deleteing. This prevents footshooting especially with Gateway Groups.

7bed8222 04/30/2010 08:22 PM Ermal LUÇI

Ticket #506. Correctly save dynamic gateways extra parameters.

5f53260a 04/30/2010 02:32 PM Ermal LUÇI

Allow for each gateway a weight to be choosen if the gateway has to be used in Gateway groups. This will create that many entries in the route-to statement as the weight says.

4af9c6a2 04/30/2010 02:01 PM Vinicius Coque

Adding gettext() call

bfb0b9dc 04/30/2010 01:53 PM Vinicius Coque

Adding gettext() calls

34563021 04/30/2010 01:15 PM Carlos Eduardo Ramos

Fix gettext issues

0e94685b 04/29/2010 05:32 PM Renato Botelho

Fix gettext issues

181b29ca 04/28/2010 11:55 AM Vinicius Coque

Reviewing gettext() implementation

df152a88 04/28/2010 11:22 AM Carlos Eduardo Ramos

Implement gettext()

c6d1c7de 04/27/2010 04:18 PM Ermal LUÇI

Ticket #517. Fix saving of monitorip in dynamic interface cases.

c0f5182c 03/09/2010 08:34 PM Ermal Luçi

Correctly configure the default route addition when interfaces are configured for pppoe/pptp. Handle in system routing configure dynamic interfaces. Also when chaning or configuring the defaultgw reconfigure the underlying interface, this helps when this interfaces are dynamics one.

e4749e66 03/01/2010 12:36 PM Seth Mos

Correct typo in function name

84d07e67 03/01/2010 11:00 AM Seth Mos

Mute route delete message, regenerate resolv.conf as this also corrects static routes to the DNS servers.

5313aea5 02/09/2010 10:11 AM Ermal Luçi

Ticket #303. Correctly retain the interface in case or validation errors.

d9a2ff01 01/29/2010 09:19 PM Ermal Luçi

Allow editing entries that are not system/dynamic ones even though their gateway is specified as dynamic.

d52b71c7 01/29/2010 08:18 PM Ermal Luçi

Ticket #303. Fix gateway address checking.