Commit Graph

70 Commits

Author SHA1 Message Date
Darren Embry
3df59babdb don't delete port aliases used by load balancer 2012-04-06 10:45:32 -04:00
Scott Ullrich
173d8e756f Adding hook to pre_table for aliases 2011-07-18 18:17:23 -04:00
Evgeny Yurchenko
17d5077f61 Restoring gray background to the right of some tables in GUI. 2011-06-05 15:15:15 -04: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
c769f9834c Simply code for determining whether an alias is currently in use. 2011-02-13 07:25:40 -07:00
Chris Buechler
4b4d550a5a fix text 2010-09-12 21:54:42 -04:00
Carlos Eduardo Ramos
3931c64398 gettext() fixes on firewall_aliases.php 2010-08-12 08:14:24 -03:00
Erik Fonnesbeck
3ced0d25b2 Fix improper gettext changes that broke various confirmation prompts, causing them to never show. 2010-08-06 18:33:43 -06: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
Scott Ullrich
565390d3b5 Indent checks 2010-07-30 21:43:53 -04:00
Scott Ullrich
a4a793c184 Handle cases when source or destination is not enabled and you end up with an offset error 2010-07-30 21:42:08 -04:00
Carlos Eduardo Ramos
9dc6529552 Corrections gettext implementation on firewall_aliases.php 2010-07-08 13:33:55 -03:00
Renato Botelho
808614b153 Review firewall_aliases.php 2010-06-30 19:30:58 -03:00
Renato Botelho
3deb92f7c8 Revert "Implemment gettext() calls"
This reverts commit 49031495b5.
A lot of mistakes

Conflicts:

	usr/local/www/firewall_nat.php
2010-06-30 09:01:20 -03:00
Jeann
49031495b5 Implemment gettext() calls 2010-06-30 00:49:17 -03:00
Carlos Eduardo Ramos
ecacce6086 Implement gettext() calls 2010-06-24 13:24:36 -03:00
me
5463dd9f77 gettext on archives firewall_aliases.php e firewall_nat.php 2010-06-23 23:33:14 -03:00
Renato Botelho
0f9b6beb28 Merge remote branch 'mainline/master'
Conflicts:
	etc/inc/filter.inc
2010-04-22 09:18:11 -03:00
jim-p
c7de8be425 Add a new alias type, urltable, which downloads a file of IP/CIDR addresses and loads them into a pf persist table instead of importing the addresses directly into a traditional alias. This allows for using huge tables of addresses that would otherwise break the GUI and/or fail to load into pf. Part of ticket #512 2010-04-21 17:03:45 -04:00
Renato Botelho
532f800b08 Check if var exist before compare its value 2010-04-13 11:05:20 -03:00
Renato Botelho
0e7dded1ad source address is been checked 2 times and destination address no one, fix this 2010-04-13 10:27:15 -03:00
Renato Botelho
b52d3aa509 When renaming or removing aliases, deal with new NAT Port Forwarding fields 2010-04-12 10:42:31 -03:00
Scott Ullrich
27f9c8b42b Rename import to bulk import. Suggested-by: Chris Horn 2010-03-20 13:53:00 -04:00
Ermal
6c33fb4b6d Improve aliases a little bit to show large aliases. 2010-03-18 19:58:55 +00:00
Ermal
4ef606fbb8 Resolves #401. Fix the ... display on aliases description. 2010-03-16 13:18:45 +00:00
Ermal Luçi
974cbfe036 Ticket #338. Remove aliases_sort function and keep the list always sorted in config.xml. This reverts to previous behaviour. 2010-02-09 13:07:42 +00:00
pierrepomes
fef1c556be Remove msort call for aliases sorting, aliases are sorted by aliases_sort() function. Ticket #338 2010-02-08 19:56:41 -05:00
Scott Ullrich
7a927e67a5 Require filter.inc and shaper.inc 2009-11-21 19:28:00 -05:00
Scott Ullrich
7ac5a4cb18 Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on 2009-09-14 19:14:40 -04:00
Scott Ullrich
458871058e Sort aliases 2009-09-11 15:41:23 -04:00
Ermal Luçi
a368a026db * Reorganize the 'apply' button infrustructure in the GUI.
- Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals.
	- Convert all pages to the new infrustructure
	- This improves a lot the control on this notification
2009-06-30 17:15:22 +00:00
Ermal Luçi
0027de0a54 * Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
This function can sleep till the resource is free and can help find not well behaving code.
* Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this.
	If any sybsytem wants to lock can do so with its own lock.
* Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant.
	This compenstates for the removal of lock aquiring from the scripts/pages.
* config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
2009-05-08 18:42:37 +00:00
Bill Marquette
19f11aeff9 fix image alignment 2009-03-12 23:23:09 -05:00
Scott Ullrich
33300c73f2 Do not hard code white 2008-10-12 20:22:46 +00:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Scott Ullrich
f724d6b684 Backport alias import option to RELENG_1 from HEAD. 2007-09-19 16:50:44 +00:00
Seth Mos
d415d82153 Add a plus button on the top header of these pages.
This to make it easier on large configurations.
2007-05-08 22:09:06 +00:00
Scott Ullrich
339495c779 Sync aliases after removing 2007-01-24 22:58:15 +00:00
Scott Ullrich
676abc7c02 Do not iterate items if they are not an array. 2006-08-17 02:04:20 +00:00
Scott Ullrich
3e3e9beefd Do not delete a NAT item if its being referenced by an ALIAS. 2006-08-16 17:12:16 +00:00
Scott Ullrich
7e9cc1e940 Remove alias import option. It was never MFC'd and the icon should not be present. 2006-06-14 00:02:33 +00:00
Scott Ullrich
58c32a28e6 Do not allow an alias to be deleted if its currently referenced ina rule.
Ticket #914
2006-04-19 01:45:25 +00:00
Scott Ullrich
31e92b6a86 MFC 8297
Some very minor proofreading.
2006-01-19 06:16:09 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
2e445a9e06 Do not show . at end of alias list 2005-12-18 18:07:46 +00:00
Scott Ullrich
920b3bb026 Remove reboot required checks 2005-12-14 17:08:07 +00:00
Scott Ullrich
9e49dae811 MFC 8291
Make aliase display much prettier.
* Use array_slice() and implode() to automatically generate our string and terminate after 10 entries.
* Separate entries with ", " instead of a newline.
2005-12-04 22:58:51 +00:00
Bill Marquette
ec3418ed64 put friendly titles on the icon buttons 2005-08-24 00:55:05 +00:00