summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_aliases_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Help ticket #3449:Renato Botelho2014-02-171-2/+6
| | | | | | | Improve data validation to avoid save a host/subnet or a IPv4 with invalid mask. The reported error is on javascript and only happen on IE8,but this fix will prevent the same issue happening in the future on a different browser.
* Catch a validation issue reported on the mailing list thread: IPv6 address ↵Ermal2014-02-111-2/+2
| | | | data validation from: Brian Candler. It prevents putting a subnet in the address field since it then breaks the whole filter generation process
* Use unlink_if_exists or @unlink to avoid PHP errors when file doesn't existRenato Botelho2014-02-041-2/+2
|
* Add escapeshellarg() calls on exec parameters. While I'm here, replace some ↵Renato Botelho2014-02-041-3/+3
| | | | exec() calls by php functions like symlink, copy, unlink, mkdir
* Really fix #3376Phil Davis2014-01-271-3/+3
| | | Thanks to Grischa Zengel for spotting the semi-colon at the end of the "if" line that was the real cause. Please also back merge this to 2.1 branch.
* Check for vertical bars in alias detail descriptionsPhil Davis2014-01-071-11/+45
| | | | The descriptions of each entry in an alias are stored in config.xml as a list delimited by "||". So you cannot have "||" in the actual description (or the description effectively splits into the next entry). Also you cannot start or end the description with "|" or it will be very confusing having the config with "|||" in it. This code validates all that sort of invalid input.
* Fix display of CIDR/Update Freq in Alias EditPhil Davis2013-12-291-2/+2
| | | Fixes #3376. I have no idea what the "^" characters were meant to do, but removing them makes the CIDR/Update Freq value be displayed correctly when editing. Will there be some other side-effect from removing the "^"?
* Make it more explicit that 'update freq.' unit is daysRenato Botelho2013-10-221-1/+1
|
* Remove unused variableRenato Botelho2013-10-221-4/+0
|
* Fix #3283, use jQuery to change attributes based on idRenato Botelho2013-10-211-61/+18
|
* Actually there is no reason to set a variable just to use onceRenato Botelho2013-10-181-2/+1
|
* Fix #3242 and some code cleanup:Renato Botelho2013-10-181-21/+15
| | | | | | | | | | | | | | - Only explode '/' and set address_subnet when address is a subnet, it fixes issue reported at #3242 - While I'm here, do some cleanup on the way addresses are treated - Remove unecessary variable $tracker, we already have $counter set with the same value - Use if:endif and while:endwhile where there is html block inside the block - Use more meaning names for variables instead of item, item2, item3 and item4 - Use while($counter <= $count()) instead of using foreach referencing array using $counter inside
* Fix #3268 - avoid pf table names conflict:Renato Botelho2013-10-161-5/+9
| | | | | | . Create a list of reserved table names for the hardcoded ones . Use this list to validate aliases and load balance pool names . Check if alias names don't conflict with LB pool names and vice-versa
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* Fix #3113, fix multiple english spell errors s/seperet/separat/Renato Botelho2013-07-281-1/+1
|
* When adding Port or URL alias default the alias typePhil Davis2013-07-211-3/+3
| | | When viewing the Port or URL aliases tab, and pressing "+" (add), make the default alias type match the Port or URL tab from which the user pressed "+".
* Implement URL Table aliases for ports instead of IP addressesRenato Botelho2013-07-081-5/+29
|
* Process zipped aliases listRenato Botelho2013-07-051-0/+2
|
* Use download_file() and check ssl certificatesRenato Botelho2013-07-051-1/+3
|
* Remove useless codeRenato Botelho2013-07-051-3/+0
|
* Add a new alias type, URLs containing PortsRenato Botelho2013-07-041-9/+32
|
* "block" is also a reserved keyword that can't be an alias name, or pf tosses ↵jim-p2013-05-291-1/+1
| | | | an error.
* Permit to use aliases containing hostnames on static routesRenato Botelho2013-05-271-14/+0
|
* Prohibit adding aliases containing FQDNs in static routes. Fixes #2941Renato Botelho2013-04-101-0/+14
|
* Tidy up "firewall_aliases*.php" XHTMLColin Fleming2013-04-091-21/+17
| | | | | | | | Add CDATA sections to SCRIPT tags Close INPUT and BR tags Update HTML boolean operators Move NOWRAP to class statement Add missing closing TD tag
* Fix URL add when you break sequence for addresses and details, shile I'm ↵Renato Botelho2013-04-021-13/+12
| | | | here, simplify logic
* Preserve all URLs when one of them is invalidRenato Botelho2013-04-021-4/+6
|
* Back to previous tab when click on CancelRenato Botelho2013-04-021-1/+1
|
* Preserve old URLs when an error happens, also, fix descriptions save for URLsRenato Botelho2013-04-021-6/+11
|
* Simplify logicRenato Botelho2013-04-021-11/+3
|
* Return to correct tab after save or delete an aliasRenato Botelho2013-04-021-3/+15
|
* Save URLs and URL Table detailsRenato Botelho2013-04-021-0/+8
|
* Fix whitespaces and indentRenato Botelho2013-04-021-124/+127
|
* Use class tabcont for tableRenato Botelho2013-01-251-1/+1
|
* Fix: Repopulate fieldbcyrill2012-11-181-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.
* Return the user to the tab they were working originally working onWarren Baker2012-07-241-2/+6
|
* Fix hardcodded alias type so alias suggestion works as expected while ↵r-duran2012-07-051-1/+1
| | | | creating nested aliases.
* Overcome laziness to avoid unnecessary loopCristian Feldman2012-05-181-5/+4
|
* Fix of bug #2374 "When entering values in firewall rules leading andCristian Feldman2012-05-181-0/+4
| | | | trailing spaces are not deleted"
* cleanup: code for building arrays for autocompleted fieldsDarren Embry2012-05-101-24/+10
|
* Add _ to the list of are allowed charactersWarren Baker2012-05-101-1/+1
|
* When the "OpenVPN" users type was commented out of the drop-down, this ↵jim-p2012-05-021-4/+4
| | | | function wasn't adjusted so it was off by one in its counts, making the URL table update frequency box disabled.
* feature #2320: JS helper to toggle subnet mask for ipv4/v6 during inputDarren Embry2012-03-281-0/+2
| | | | http://redmine.pfsense.org/issues/2320
* prep work for feature #2320: tag fields for ipv4v6Darren Embry2012-03-281-4/+4
|
* Update help text for Host alaises to indicate FQDNs are allowed.jim-p2012-03-151-1/+1
|
* The function split() is replaced by the function explode(). Starting with ↵smos2012-01-191-2/+2
| | | | | | PHP 5.3 this is deprecated and with version 6 gone. Replacing it surpresses all the warnings
* Adding hookScott Ullrich2011-07-271-0/+2
|
* Add hooksScott Ullrich2011-07-271-0/+4
|
* Add alias edit hookScott Ullrich2011-07-181-0/+1
|
OpenPOWER on IntegriCloud