Commit Graph

173 Commits

Author SHA1 Message Date
Cristian Feldman
fd86d829fe Overcome laziness to avoid unnecessary loop 2012-05-18 23:22:26 -03:00
Cristian Feldman
90f90934c0 Fix of bug #2374 "When entering values in firewall rules leading and
trailing spaces are not deleted"
2012-05-18 22:57:38 -03:00
Darren Embry
4dfd930ee9 cleanup: code for building arrays for autocompleted fields 2012-05-10 15:17:18 -04:00
Warren Baker
06f746c35c Add _ to the list of are allowed characters 2012-05-10 09:02:08 +02:00
jim-p
aa11af0768 When the "OpenVPN" users type was commented out of the drop-down, this function wasn't adjusted so it was off by one in its counts, making the URL table update frequency box disabled. 2012-05-02 08:29:31 -04:00
Darren Embry
f51d5d57a6 feature #2320: JS helper to toggle subnet mask for ipv4/v6 during input
http://redmine.pfsense.org/issues/2320
2012-03-28 18:50:02 -04:00
Darren Embry
a8fe61f1ed prep work for feature #2320: tag fields for ipv4v6 2012-03-28 16:56:54 -04:00
jim-p
e8e2ffbd33 Update help text for Host alaises to indicate FQDNs are allowed. 2012-03-15 10:01:35 -04:00
smos
cfbfd9412b The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
2012-01-19 20:33:41 +01:00
Scott Ullrich
b22bf161fd Adding hook 2011-07-27 19:24:01 -04:00
Scott Ullrich
439cc13f26 Add hooks 2011-07-27 19:03:48 -04:00
Scott Ullrich
193716d076 Add alias edit hook 2011-07-18 18:12:54 -04:00
jim-p
13b9dba9aa Merge remote branch 'upstream/master' 2011-07-07 16:03:07 -04:00
Ermal
5ffa33896f Feature #1603. Correct nested urltable alias code to be more fullproof to errors and does not break the ruleset on large lists of urltables. Though this needs a revisit to work properly since it breaks urltable alias property of reloading contents. 2011-07-06 18:52:47 +00:00
jim-p
769c4591ac Merge remote-tracking branch 'upstream/master' 2011-07-04 11:11:11 -04:00
Evgeny Yurchenko
ae660b3ce7 Feature#1603. URL table aliases should be usable within network type aliases. 2011-07-03 03:18:23 -04:00
jim-p
e4aa1eaed4 Merge remote branch 'upstream/master' 2011-05-19 14:51:08 -04:00
jim-p
bac9941b5e Reject alias names that are too long. Fixes #1510 2011-05-19 13:34:43 -04:00
Seth Mos
126f531437 Merge remote branch 'upstream/master'
Conflicts:
	etc/inc/rrd.inc
	usr/local/www/interfaces.php
2011-03-24 08:42:00 +01:00
Scott Ullrich
66fc1f14ee Add all to the reserved keywords 2011-03-22 10:21:03 -04:00
Seth Mos
2936a57e2e add subnet mask clarification for IPv6 and correct default count to 128 bits 2011-03-01 14:11:23 +01:00
Seth Mos
f698b26293 Merge remote branch 'upstream/master' 2011-02-16 09:11:05 +01:00
Erik Fonnesbeck
ca640261f3 Add alias support for source and destination ports on outbound NAT. 2011-02-13 09:27:51 -07:00
Erik Fonnesbeck
b43b761391 Check for aliases in 1:1 and outbound NAT rules, too. 2011-02-13 08:08:48 -07:00
Erik Fonnesbeck
f1ac173336 In update_alias_names_upon_change function add capability to access more deeply nested sections and fields. 2011-02-13 06:44:22 -07:00
Scott Ullrich
652ed95d3d Merge remote branch 'upstream/master' 2011-02-09 15:33:15 -05:00
Ermal
36d6af4399 Resolves #1224. Correctly change name on port alias in firewall rules if the alias name changes. 2011-02-08 22:28:23 +00:00
Seth Mos
1f74cd2d10 Merge remote branch 'upstream/master'
Conflicts:
	etc/inc/interfaces.inc
	etc/inc/system.inc
2011-01-18 09:10:36 +01:00
Pierre POMES
34bf3b3b93 Ticket #1183. Skip call to filter_configure() here, this will be done when user will click on 'apply changes' button in firewall_aliases.php 2011-01-10 21:28:42 -05:00
jim-p
d865241edd Don't run mb_convert_encoding on descr field, it's cdata protected in the config now and this just causes some characters to be lost on input. Ticket #1168 2011-01-06 13:52:52 -05:00
Chris Buechler
0b821acf8f comment out unfinished OpenVPN Users alias option, can finish for a post-2.0 release 2011-01-04 18:56:34 -05:00
Seth Mos
81afb50916 Merge remote branch 'upstream/master'
Conflicts:
	etc/inc/interfaces.inc
	etc/inc/vslb.inc
	usr/local/www/interfaces.php
2010-12-20 21:06:33 +01:00
Scott Ullrich
0183a568f9 Move to index.php. 2010-12-17 17:52:01 -05:00
Seth Mos
172007f50c 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
2010-11-15 12:46:58 +01:00
Scott Ullrich
dd5bf424c1 Fix XSS issues 2010-11-12 11:36:20 -05:00
Scott Ullrich
225a2f0b46 Bring in XSS id fixes from m0n0wall 2010-11-12 11:03:51 -05:00
Seth Mos
b2c63fa3f2 up the subnet bits from 32 to 128 so that the access can be locked down to the host for ipv6.
This will require a javascript routine that prevents a subnet mask higher then 32 bits for a ipv4 address.

Alternatively the subnet bits should be steered by javascript to prevent use of more then 32 bits on a ipv4 address. When a hostname is used all bets are off, even worse if the hostname is a combined ipv4/ipv6.
2010-10-25 15:54:46 +02:00
Erik Fonnesbeck
9bc8788aa9 Use a list that includes WAN and LAN here rather than only OPT. 2010-09-15 23:47:26 -06:00
Erik Fonnesbeck
331a89ca5b Fix the delete button and a couple other small errors. Ticket #891 2010-09-14 01:59:45 -06:00
Erik Fonnesbeck
bcc8d8a332 Simplify sprintf 2010-08-11 23:35:47 -06:00
Erik Fonnesbeck
ddc55e1244 Modify various (s)printf format strings to allow translations to change the order of the inserted strings. 2010-08-11 22:18:34 -06:00
Erik Fonnesbeck
4c807d76c6 Fix text 2010-08-11 18:46:48 -06:00
Carlos Eduardo Ramos
4bfb280960 Fixing gettext calls on firewall_aliases_edit.php 2010-08-10 11:29:40 -03:00
Renato Botelho
270f81d960 Merge remote branch 'mainline/master' into 2_firewall
Conflicts:
	usr/local/www/diag_nanobsd.php
	usr/local/www/diag_packet_capture.php
	usr/local/www/firewall_shaper.php
2010-08-03 10:59:34 -03:00
Erik Fonnesbeck
0c9f92bf36 Change these to lower-case to match the lower-case names from the previous revert. 2010-08-02 16:32:42 -06:00
Erik Fonnesbeck
7193cf12b8 Update the VPN names in the reserved keywords list for aliases. 2010-08-01 23:43:26 -06:00
Carlos Eduardo Ramos
b13f7f804d Checked gettext() implementation on firewall_aliases_edit.php 2010-07-13 14:14:28 -03:00
Carlos Eduardo Ramos
48ba486a7e Checked gettext() implementation on firewall_aliases_edit.php 2010-07-12 14:43:55 -03:00
Carlos Eduardo Ramos
731df1afc9 Corrections gettext implementation on firewall_aliases_edit.php 2010-07-08 13:29:35 -03:00
Renato Botelho
6a73963a31 Merge remote branch 'mainline/master' into 2_firewall 2010-07-07 08:28:32 -03:00