summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Cancel button after input errorPhil Davis2015-07-131-1/+6
| | | | | | | | | | | If there is an input error then the edit page is redrawn showing the input errors. The HTTP_REFERER becomes the current page, rather than the true original referer. Then if you click Cancel the current page is just redrawn. This change makes the code remember the original referer, so if the user enters some invalid data, presses Save, reads the input error messages then presses Cancel they are taken back out to the original page - the same as if Cancel was used before Save.
* Code spacingPhil Davis2015-06-151-20/+20
| | | | | | | 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.
* fix checking for overlaps of NAT destination portbruno2015-06-111-2/+2
|
* Code style Firewall NATPhil Davis2015-05-111-267/+342
|
* 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/+2
|
* fix text, PPPoE Server, not VPNChris Buechler2014-11-061-1/+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
* bring protocols on NAT edit page more in line with rule edit pageDaniel Becker2014-05-281-1/+1
|
* Let (self) be used on port forward destinations alsojim-p2014-05-231-1/+2
|
* Unbreak 'add rule on top of the list' allowing after param to be -1Renato Botelho2014-04-291-2/+2
|
* xhtml Complianceayvis2014-03-141-14/+14
| | | replaced <br>, <br/> and </br> with <br />
* Improve checks for params 'id', 'dup' and other similar ones to make sure ↵Renato Botelho2014-03-121-9/+10
| | | | they are numeric integer, also, pass them through htmlspecialchars() before print
* Standardise LAN net displayPhil Davis2014-02-071-2/+2
|
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* s/require/require_once/g for filter.inc to avoid redeclaration errors in ↵jim-p2013-08-281-1/+1
| | | | some rare cases.
* Make NAT port forward data entry error message match GUI textPhil Davis2013-07-281-1/+1
| | | The GUI has "Redirect target IP" and "Redirect target port". But the error message when validating "Redirect target port" refers to it as "local port". I was just confused when I forgot to type in the "Redirect target port", the error told me I had to enter a valid local port. I looked down the GUI page for "local port" and it is not there.
* Fix #3103, cleanup ports fields when protocol changesRenato Botelho2013-07-241-3/+3
|
* Implement URL Table aliases for ports instead of IP addressesRenato Botelho2013-07-081-1/+1
|
* Add a new alias type, URLs containing PortsRenato Botelho2013-07-041-1/+1
|
* Tidy up "firewall_nat_edit,php" XHTMLColin Fleming2013-05-011-78/+79
| | | | | | | | Add "closehead" PHP variable Add type to LINK Close INPUT and BR tags Update HTML Boolean operators Add CDATA section to SCRIPT tags
* Add the user/time tracking to Port forwards and outbound NAT also.jim-p2013-03-201-1/+40
|
* Track user/time a firewall rule was created and last updated, and show this ↵jim-p2013-03-201-0/+1
| | | | information at the bottom of the page when viewing the firewall rule. Have various places in the system that create rules add a proper entry to indicate their origin.
* Add NAT rule based on NAT rule below it instead of at the bottom of the ↵Renato Botelho2013-02-211-10/+6
| | | | list. Fixes #1118
* Warn users that nosync option won't prevent it to be overwritten on carp ↵Renato Botelho2013-02-131-1/+1
| | | | slave members
* Add a note about rdr pass not supporting Multi-WAN.jim-p2013-01-261-0/+1
|
* Do a more strict type match here, otherwise if the result returned is 0, ↵jim-p2012-12-041-1/+1
| | | | that is also "== false" but not actually boolean false.
* While I'm here, allow an ICMP rdr.jim-p2012-11-201-1/+1
|
* Only apply this port check for TCP and UDP.jim-p2012-11-201-1/+1
|
* Refine saving/applying on more pages - don't show apply or take an action ↵jim-p2012-10-091-3/+2
| | | | unless the user is allowed to do that.
* Add check for local port being set before testing. Fixes #2606Ermal2012-08-281-1/+1
|
* Fix of bug #2374 "When entering values in firewall rules leading andCristian Feldman2012-05-181-5/+12
| | | | trailing spaces are not deleted"
* cleanup: code for building arrays for autocompleted fieldsDarren Embry2012-05-101-30/+4
|
* Allow optionally using the type of NAT reflection implementation used for ↵Erik Fonnesbeck2012-04-201-4/+5
| | | | 1:1 mappings with port forwards as well, in addition to allowing the old type, which is still useful in its own way.
* Local port must be specified, fix input validationChris Buechler2011-12-251-2/+2
|
* now we use the Chosen javascript plugin for jQueryVinicius Coque2011-11-151-1/+1
|
* Add chosen js library (mit lic). Modify interface multiple select box to use.Scott Ullrich2011-07-231-0/+3
|
* Adding hook for interfaces editScott Ullrich2011-07-181-1/+1
|
* Adding hook for interfaces editScott Ullrich2011-07-181-0/+2
|
* Add missing plugin code. Move the pre_write section up a bit.Scott Ullrich2011-05-301-0/+14
|
* Bug #1403. Filter Rules description do not get saved when "(quote) present ↵Evgeny Yurchenko2011-05-271-16/+1
| | | | as character
* Adding a new hook system for firewall nat edit and firewall rules edit page.Scott Ullrich2011-05-251-0/+15
| | | | | | | | | | | | | | Basically if the directory exists it will suck in the files to extend these pags. /usr/local/pkg/firewall_nat/input_validation /usr/local/pkg/firewall_nat/pre_write_config /usr/local/pkg/firewall_nat/htmlphpearly /usr/local/pkg/firewall_nat/htmlphplate /usr/local/pkg/firewall_rules/input_validation /usr/local/pkg/firewall_rules/pre_write_config /usr/local/pkg/firewall_rules/htmlphpearly /usr/local/pkg/firewall_rules/htmlphplate
* In IPsec, s/mobileclients/client/, this was changed long ago in the config ↵jim-p2011-03-281-1/+1
| | | | but not everywhere followed.
* Use autocomplete='off' like all other fields that accept aliases, to prevent ↵Erik Fonnesbeck2011-02-131-1/+1
| | | | web browser auto-complete from covering up the alias list popup.
* Generalize pppoe server enabled check and use it elsewhere in the GUI that ↵jim-p2011-02-101-3/+2
| | | | needed fixed. Still needs changes in filter.inc - Ticket #1243
* Add a per-entry option for Proxy ARP VIPs of the Network type to disable ↵jim-p2010-12-201-0/+2
| | | | their expansion on Port Forwards and Outbound NAT screens. Will allow users with large proxy arp subnets used only with 1:1 to still load those pages in a reasonable time. Resolves #1119
* Fix XSS issuesScott Ullrich2010-11-121-1/+1
|
* Bring in XSS id fixes from m0n0wallScott Ullrich2010-11-121-6/+6
|
* Fix input validation with "no rdr" for ticket #570Erik Fonnesbeck2010-09-291-10/+21
|
OpenPOWER on IntegriCloud