summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Code spacingPhil Davis2015-06-151-3/+3
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style system gPhil Davis2015-05-301-142/+184
|
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Remove almost all calls to history.back() and make Cancel button back to ↵Renato Botelho2014-09-121-1/+4
| | | | HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
* remove openbgpd bits from system_gateways_edit and system.inc. The packageChris Buechler2014-05-301-6/+0
| | | | | | match is case-sensitive and hasn't matched the openbgpd package's name in at least 5 years, so it doesn't do anything. It's far from functional in any useful manner even fixing that issue.
* Merge branch 'master-br' of https://github.com/ayvis/pfsense into ↵Renato Botelho2014-03-171-14/+14
|\ | | | | | | ayvis-master-br
| * xhtml Complianceayvis2014-03-141-14/+14
| | | | | | replaced <br>, <br/> and </br> with <br />
* | standardize on https://www.pfsense.orgChris Buechler2014-03-141-1/+1
|/
* Improve checks for params 'id', 'dup' and other similar ones to make sure ↵Renato Botelho2014-03-121-5/+5
| | | | they are numeric integer, also, pass them through htmlspecialchars() before print
* Gateway Monitor Advanced SettingsN0YB2014-01-251-3/+24
| | | | | Recommended changes made to calculated value input behavior. Restrict interval to integer of 1 or greater.
* Gateway Monitor Advanced SettingsN0YB2014-01-241-1/+148
| | | | | | | | | 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 3) Avg Loss Delay Samples The current hard coded defaults are okay for a short interval such as the 1 second default. But do not work well when a longer interval is required.
* Add an option to force a gateway to be down, it fixes #2847Renato Botelho2014-01-061-0/+11
|
* Delete static route when monitor IP is removed, also save monitor IP even ↵Renato Botelho2013-12-271-9/+9
| | | | when it's disabled
* Add an option to disable gateway itemsRenato Botelho2013-11-261-1/+15
|
* Fix an issue that changes wrong gateway entry when items are hiddenRenato Botelho2013-11-211-12/+15
|
* Use a more accurate error message, fixes #3282Renato Botelho2013-10-251-2/+2
|
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* Fix #3127Renato Botelho2013-09-061-2/+2
| | | | | | | 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.
* Bring back static routes to fix issues reported on Ticext #3179Ermal2013-09-031-1/+10
|
* Use ipprotocol to check gateway protocol, this fix a issue that allow to set ↵Renato Botelho2013-08-291-6/+1
| | | | more than one default gateway when it's dynamic
* Use Probe Interval on gateway advanced settingsPhil Davis2013-06-211-9/+9
|
* Correct gateway down/probe interval text.jim-p2013-06-191-1/+1
|
* Fix up gateway advanced option note that was missed from 2.1 but on 2.0.x.jim-p2013-05-291-1/+2
|
* Replace all linklocal checks by is_linklocal()Renato Botelho2013-05-091-1/+1
|
* Allow IPs inside virtual IP networks to be used as gateways. Fixed #2962Renato Botelho2013-04-231-6/+36
|
* make fe80 gateway check case-insensitiveChris Buechler2013-04-141-1/+1
|
* Tidy up "system_gateways_edit.php" XHTMLColin Fleming2013-04-031-35/+39
| | | | | | Add CDATA section to SCRIPT tags Close INPUT and BR tags Update HTML boolean operators
* Fix indent, whitespaces and unbalanced <tr> and <td> tagsRenato Botelho2013-02-261-187/+192
|
* Make more strict checks during is_ip* functions. Helps ↵Ermal2013-02-041-1/+1
| | | | http://forum.pfsense.org/index.php/topic,58399.0.html and http://forum.pfsense.org/index.php/topic,58273.0.html
* Update usr/local/www/system_gateways_edit.phpbcyrill2013-02-011-3/+3
| | | Correct IP family mix-up.
* Update PHP shorthand tagColin Fleming2013-01-141-2/+2
| | | | Standardise all PHP start tags from "<?" to "<?PHP"
* Encode parameters before showing them to users.jim-p2012-10-311-4/+4
|
* Activate new shortcuts/status in the rest of the areas that are currently setup.jim-p2012-08-101-1/+1
|
* Validate advanced gateway monitoring settingsPhil Davis2012-07-251-55/+146
| | | | | 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.
* Now that we actually have a IP protocol tag in the config.xml we can make ↵smos2012-06-181-5/+14
| | | | | | this check a lot simpler and do less guessing. Redmine ticket #2503
* Actually save the IPprotocol variable into the config, otherwise it stil ↵smos2012-06-011-0/+1
| | | | | | | | | | | 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. If we know if the gateway or monitor is ipv4 or ipv6 we can autodetect which prevents this. Because we don't know what address family the gateway on a dual stack interface belongs to we better not guess, and let the user figure it out. Often, a edit and save is the fastest. For upgrading from 2.0 we could mark all gateways as being ipv4 which prevents half of the issues. Redmine ticket #2463
* Finally give in and sprout a Internet Protocol drop down on the gateways ↵smos2012-05-311-2/+22
| | | | | | | edit screen. With added validation and multiple detection parts to work when the value is not set yet. Redmine ticket #2463
* remove some log_error callsDarren Embry2012-05-171-7/+0
|
* bug fix for #2426Darren Embry2012-05-171-4/+11
| | | | Input validaton on interface gateway creation box needs to reject duplicate names
* report errors adding a gateway through ajax callsDarren Embry2012-05-171-1/+10
|
* Fix the link local check when trying to add a link local gatewaysmos2012-03-131-7/+7
| | | | Ticket #2071
* Fix for ticket 2071, this allows link local addresses for gateways.smos2012-01-151-3/+6
| | | | Backend already added the interface scope for link local addresses, hurrah.
* Clarify the potential pitfalls when setting the Frequency Probe and Down ↵jim-p2011-12-291-14/+28
| | | | parameters.
* Fix for redmine ticket #1993. Allow saving multiple dynamic entries.smos2011-11-271-12/+0
| | | | Make sure that return_gateways_status() also returns all gateways that have monitoring disabled as up.
* Add default values for latency, packet loss, down on GUINachtfalkeaw2011-08-281-4/+4
|
* Fix a typo in the subnet generation causing the code to failSeth Mos2011-08-241-1/+1
|
* Add address family input validation on the Gateways edit page, also prevent ↵Seth Mos2011-08-241-16/+29
| | | | | | adding gateways on interfaces that do not carry that address family. Fix Ticket #1633
* Simplify this code a bit, should be the same test in both locations since ↵jim-p2011-08-231-2/+3
| | | | this should be either/or, and with the other code it can apparently fall into a trap where it shows neither.
OpenPOWER on IntegriCloud