Project

General

Profile

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

# Date Author Comment
7c199791 10/28/2014 04:26 PM Renato Botelho

Merge pull request #1297 from phil-davis/patch-23

feb1953e 10/24/2014 02:25 PM Phil Davis

Expand range or subnet for host alias

When entering a host alias, if the user put an IP range (like 192.168.0.10-192.168.0.20) or a subnet (like 192.168.1.200/29) then expand it into a list of individual IP addresses. Check that it will not make too many rows to exceed the existing 5000 row limit on the GUI....

dc4a8b9e 10/14/2014 04:07 AM Chris Buechler

update input_error description after changes for ticket #3491

6b18c66b 09/27/2014 05:19 PM Phil Davis

Clarify bracketing

to minimize risk of a problem when adding code here in the future.

055a43d2 09/27/2014 05:10 PM Phil Davis

Allow extended alias inputs #3890

Currently if you enter a space-separated list of subnets in the IP address box when entering an alias, the code reports that the data is invalid. But it does actually expand the list of subnets into multiple rows, and enters the various subnet CIDRs into the CIDR column for the user. The user can press Save a second time and the data is now valid so the code saves it happily. This is rather odd, as reported in redmine #3890....

bbd1f783 09/26/2014 04:18 PM Phil Davis

firewall_aliases_edit UI text changes

If type URL Table then the heading "Description" on the 3rd column gets suppressed (I am not really sure why that is, since the description data entry box still appears - I guess someone intended that the data entry box itself also be suppressed, since URL Table takes just a single line entry, the overall description of the alias should be enough - no need for a per-line description.)...

62218b4d 09/26/2014 02:40 AM Phil Davis

Remove useless check for alias description matching an interface description

While looking at other checks in the code I noticed this check. It was not effective anyway, because the first line inside "if ($_POST)" below does
unset($input_errors);
which undoes this check anyway....

62424bdb 09/12/2014 07:37 PM Renato Botelho

Remove almost all calls to history.back() and make Cancel button back to HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work

9060f420 09/10/2014 08:02 PM Renato Botelho

Change is_port() to only validate a single port, we have is_portrange() for specific cases. Make necessary adjustments after check all is_port() calls. It fixes #3857

eab05c00 08/25/2014 05:33 PM Renato Botelho

Alias name cannot have more than 31 chars, add maxlength here just as an extra check. Ticket #3827

92ca4bc3 08/06/2014 07:36 PM Jim Pingle

Encode the detail field of an alias entry before displaying its contents back to the user.

d461583b 07/03/2014 12:26 PM Renato Botelho

Change Cancel button to call history.back() as done in Firewall Rules, the current method has issues with IE 11, it should fix #3728

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

c00e6bd4 02/17/2014 06:43 PM Renato Botelho

Help ticket #3449:

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.

ee41ab02 02/11/2014 09:37 AM Ermal LUÇI

Catch a validation issue reported on the mailing list thread: IPv6 address data validation from: Brian Candler. It prevents putting a subnet in the address field since it then breaks the whole filter generation process

552f5a6a 02/04/2014 07:01 PM Renato Botelho

Use unlink_if_exists or @unlink to avoid PHP errors when file doesn't exist

d31ca336 02/04/2014 02:34 PM Renato Botelho

Add escapeshellarg() calls on exec parameters. While I'm here, replace some exec() calls by php functions like symlink, copy, unlink, mkdir

4dd00d25 01/28/2014 03:04 AM Phil Davis

Really fix #3376

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.

24445691 01/07/2014 02:59 PM Phil Davis

Check for vertical bars in alias detail descriptions

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....

1b9ab14a 12/29/2013 02:12 PM Phil Davis

Fix display of CIDR/Update Freq in Alias Edit

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 "^"?

2b6e6fee 10/22/2013 02:40 PM Renato Botelho

Make it more explicit that 'update freq.' unit is days

6ff71781 10/22/2013 02:39 PM Renato Botelho

Remove unused variable

6794e407 10/21/2013 08:01 PM Renato Botelho

Fix #3283, use jQuery to change attributes based on id

06896c6a 10/18/2013 02:38 PM Renato Botelho

Actually there is no reason to set a variable just to use once

4e8a79a8 10/18/2013 02:26 PM Renato Botelho

Fix #3242 and some code cleanup:

- 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...

c48fdaa4 10/16/2013 12:18 PM Renato Botelho

Fix #3268 - avoid pf table names conflict:

. 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

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

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

5aa68a55 07/28/2013 01:31 PM Renato Botelho

Fix #3113, fix multiple english spell errors s/seperet/separat/

09a68ea4 07/21/2013 05:31 PM Phil Davis

When adding Port or URL alias default the alias type

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 "+".

dd042c51 07/08/2013 03:38 PM Renato Botelho

Implement URL Table aliases for ports instead of IP addresses

86ffa26d 07/05/2013 11:47 AM Renato Botelho

Process zipped aliases list

76590ffe 07/05/2013 11:47 AM Renato Botelho

Use download_file() and check ssl certificates

abc7b6a2 07/05/2013 11:47 AM Renato Botelho

Remove useless code

079d1952 07/04/2013 01:42 PM Renato Botelho

Add a new alias type, URLs containing Ports

7147fcde 05/29/2013 01:26 PM Jim Pingle

"block" is also a reserved keyword that can't be an alias name, or pf tosses an error.

c82dcc1d 05/27/2013 10:27 AM Renato Botelho

Permit to use aliases containing hostnames on static routes

8543a5bb 04/10/2013 11:07 AM Renato Botelho

Prohibit adding aliases containing FQDNs in static routes. Fixes #2941

709e62f0 04/09/2013 11:48 AM Colin Fleming

Tidy up "firewall_aliases*.php" XHTML

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

ae5f96c8 04/02/2013 10:17 PM Renato Botelho

Fix URL add when you break sequence for addresses and details, shile I'm here, simplify logic

7cbeade1 04/02/2013 07:22 PM Renato Botelho

Preserve all URLs when one of them is invalid

5a815dc7 04/02/2013 06:53 PM Renato Botelho

Back to previous tab when click on Cancel

6a45942f 04/02/2013 06:41 PM Renato Botelho

Preserve old URLs when an error happens, also, fix descriptions save for URLs

c5eaef8e 04/02/2013 06:41 PM Renato Botelho

Simplify logic

ac7f1763 04/02/2013 03:34 PM Renato Botelho

Return to correct tab after save or delete an alias

0b9e4e8f 04/02/2013 03:34 PM Renato Botelho

Save URLs and URL Table details

f29109d0 04/02/2013 03:34 PM Renato Botelho

Fix whitespaces and indent

8fcb7cf4 01/25/2013 01:35 PM Renato Botelho

Use class tabcont for table

578c81b6 11/18/2012 02:24 PM Cyrill B

Fix: Repopulate field

3a343d73 10/09/2012 07:17 PM Jim Pingle

Refine saving/applying on more pages - don't show apply or take an action unless the user is allowed to do that.

a5416de2 07/24/2012 02:35 PM Warren Baker

Return the user to the tab they were working originally working on

dd760cfc 07/05/2012 09:28 AM Rahman Duran

Fix hardcodded alias type so alias suggestion works as expected while creating nested aliases.

fd86d829 05/19/2012 02:22 AM Cristian Feldman

Overcome laziness to avoid unnecessary loop

90f90934 05/19/2012 01:57 AM Cristian Feldman

Fix of bug #2374 "When entering values in firewall rules leading and
trailing spaces are not deleted"

4dfd930e 05/10/2012 07:17 PM Darren Embry

cleanup: code for building arrays for autocompleted fields

06f746c3 05/10/2012 07:02 AM Warren Baker

Add _ to the list of are allowed characters

aa11af07 05/02/2012 12:29 PM Jim Pingle

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.

f51d5d57 03/28/2012 10:50 PM Darren Embry

feature #2320: JS helper to toggle subnet mask for ipv4/v6 during input

http://redmine.pfsense.org/issues/2320

a8fe61f1 03/28/2012 08:56 PM Darren Embry

prep work for feature #2320: tag fields for ipv4v6

e8e2ffbd 03/15/2012 02:01 PM Jim Pingle

Update help text for Host alaises to indicate FQDNs are allowed.

cfbfd941 01/19/2012 07:33 PM Seth Mos

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

b22bf161 07/27/2011 11:24 PM Scott Ullrich

Adding hook

439cc13f 07/27/2011 11:03 PM Scott Ullrich

Add hooks

193716d0 07/18/2011 10:12 PM Scott Ullrich

Add alias edit hook

13b9dba9 07/07/2011 08:03 PM Jim Pingle

Merge remote branch 'upstream/master'

5ffa3389 07/06/2011 06:52 PM Ermal LUÇI

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.

769c4591 07/04/2011 03:11 PM Jim Pingle

Merge remote-tracking branch 'upstream/master'

ae660b3c 07/03/2011 07:18 AM Evgeny Yurchenko

Feature#1603. URL table aliases should be usable within network type aliases.

e4aa1eae 05/19/2011 06:51 PM Jim Pingle

Merge remote branch 'upstream/master'

bac9941b 05/19/2011 05:34 PM Jim Pingle

Reject alias names that are too long. Fixes #1510

126f5314 03/24/2011 07:42 AM Seth Mos

Merge remote branch 'upstream/master'

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

66fc1f14 03/22/2011 02:21 PM Scott Ullrich

Add all to the reserved keywords

2936a57e 03/01/2011 01:11 PM Seth Mos

add subnet mask clarification for IPv6 and correct default count to 128 bits

f698b262 02/16/2011 08:11 AM Seth Mos

Merge remote branch 'upstream/master'

ca640261 02/13/2011 04:27 PM Erik Fonnesbeck

Add alias support for source and destination ports on outbound NAT.

b43b7613 02/13/2011 03:08 PM Erik Fonnesbeck

Check for aliases in 1:1 and outbound NAT rules, too.

f1ac1733 02/13/2011 01:44 PM Erik Fonnesbeck

In update_alias_names_upon_change function add capability to access more deeply nested sections and fields.

652ed95d 02/09/2011 08:33 PM Scott Ullrich

Merge remote branch 'upstream/master'

36d6af43 02/08/2011 10:28 PM Ermal LUÇI

Resolves #1224. Correctly change name on port alias in firewall rules if the alias name changes.

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

Merge remote branch 'upstream/master'

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

34bf3b3b 01/11/2011 02:28 AM Pierre POMES

Ticket #1183. Skip call to filter_configure() here, this will be done when user will click on 'apply changes' button in firewall_aliases.php

d865241e 01/06/2011 06:52 PM Jim Pingle

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

0b821acf 01/04/2011 11:56 PM Chris Buechler

comment out unfinished OpenVPN Users alias option, can finish for a post-2.0 release

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

0183a568 12/17/2010 10:52 PM Scott Ullrich

Move to index.php.

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

dd5bf424 11/12/2010 04:36 PM Scott Ullrich

Fix XSS issues

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

Bring in XSS id fixes from m0n0wall

b2c63fa3 10/25/2010 01:54 PM Seth Mos

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.

9bc8788a 09/16/2010 05:47 AM Erik Fonnesbeck

Use a list that includes WAN and LAN here rather than only OPT.

331a89ca 09/14/2010 07:59 AM Erik Fonnesbeck

Fix the delete button and a couple other small errors. Ticket #891

bcc8d8a3 08/12/2010 05:35 AM Erik Fonnesbeck

Simplify sprintf

ddc55e12 08/12/2010 04:18 AM Erik Fonnesbeck

Modify various (s)printf format strings to allow translations to change the order of the inserted strings.

4c807d76 08/12/2010 12:46 AM Erik Fonnesbeck

Fix text

4bfb2809 08/10/2010 02:29 PM Carlos Eduardo Ramos

Fixing gettext calls on firewall_aliases_edit.php

270f81d9 08/03/2010 01:59 PM Renato Botelho

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

0c9f92bf 08/02/2010 10:32 PM Erik Fonnesbeck

Change these to lower-case to match the lower-case names from the previous revert.

7193cf12 08/02/2010 05:43 AM Erik Fonnesbeck

Update the VPN names in the reserved keywords list for aliases.

b13f7f80 07/13/2010 05:14 PM Carlos Eduardo Ramos

Checked gettext() implementation on firewall_aliases_edit.php

48ba486a 07/12/2010 05:43 PM Carlos Eduardo Ramos

Checked gettext() implementation on firewall_aliases_edit.php

731df1af 07/08/2010 04:29 PM Carlos Eduardo Ramos

Corrections gettext implementation on firewall_aliases_edit.php