Commit Graph

303 Commits

Author SHA1 Message Date
jim-p
b61e89600e Teach mwexec and mwexec_bg how to optionally clear signal masks, and use that when launching ntp or ntpdate. 2012-05-16 14:03:24 -04:00
Darren Embry
4dfd930ee9 cleanup: code for building arrays for autocompleted fields 2012-05-10 15:17:18 -04:00
Darren Embry
a0539faabe prep work: function get_alias_list()
I wrote this function primarily to remove a lot of duplicate code
that's there because of a lot of those autocomplete fields.
2012-05-10 13:48:31 -04:00
Erik Fonnesbeck
d887d7f982 Revert change to get_interface_list()'s $vfaces list for now. Interfaces in this list that are supposed to be listed on Interfaces: Assign need special logic on that page, which has not been added yet. 2012-04-22 16:39:32 -06:00
Erik Fonnesbeck
0c963226b2 Add message stating which interfaces are missing.
Suggestion from http://forum.pfsense.org/index.php/topic,48366.0.html
2012-04-20 01:18:45 -06:00
Erik Fonnesbeck
fd863e5ceb Add some missing interface types in is_interface_mismatch() and get_interface_list()'s $vfaces. Fixes #2384 2012-04-20 01:11:06 -06:00
jim-p
0d0cb04730 Fix constant. LOG_ERROR should be LOG_ERR 2012-04-12 18:06:25 -04:00
whjvenyl
e371f8b95a Update etc/inc/util.inc 2012-04-12 11:21:24 +03:00
smos
3f5f7ad370 Add modified version of user https://github.com/bcyrill patch that requires a IPv6 literal when used with a port. 2012-04-12 07:28:07 +02:00
smos
4b51cc2edb Revert "Also validate IPv6 literals."
This reverts commit 21b586aa12.
2012-04-12 07:28:07 +02:00
Erik Fonnesbeck
a119ecf819 Modify get_configured_ip_aliases_list to optionally return the full vip entry and use this information to get the subnet and not just the IP in filter_get_direct_networks_list. 2012-04-11 23:07:42 -06:00
smos
21b586aa12 Also validate IPv6 literals. 2012-04-11 21:21:14 +02:00
jim-p
f898c1a982 Add alias support to static routes (needs some testing) Ticket #2239
Conflicts:

	etc/inc/filter.inc
	etc/inc/util.inc
	usr/local/www/system_routes_edit.php
2012-04-11 11:58:21 -04:00
Darren Embry
d7afd9001e use existing filter_expand_alias (well, via a wrapper) instead of
reinventing it
2012-04-05 16:48:09 -04:00
Ermal
7b47bd4c3c Make vips vhid be unique per parent interface! 2012-04-05 20:22:01 +00:00
Darren Embry
01ed452e32 Load Balancer: allow port aliases in Pools and Virtual Servers. (PEV-394754) 2012-04-05 14:36:50 -04:00
Darren Embry
0917cb214b load balancer: allow IPv4 subnets up to 64 addresses in Pools and Virtual Servers (PEV-394754) 2012-04-05 13:10:41 -04:00
Ermal
7b89ea6afa Remove unused code 2012-03-23 23:12:08 +00:00
Darren Embry
9a45617000 fix for: Spanning Tree interface priority options do not alter Bridge
http://redmine.pfsense.org/issues/2261
2012-03-21 19:48:05 -04:00
Ermal
d9adca3bcb Use the latest functions from pfSense module for getting interface list 2012-03-08 20:02:18 +00:00
Ermal
6e1f456ffd Correct send_multiple_events to conform with new check_reload_status behaviour 2012-03-03 20:23:57 +00:00
Pierre POMES
47335ae3d0 Fix gen_subnetv6_max(), used to display the end of available range in dhcp server ipv6 2012-02-26 16:21:43 -05:00
jim-p
d3a2337a72 While we're at it, allow hostnames for syslog servers, since that is also valid. 2012-02-23 16:24:23 -05:00
jim-p
4a8a90ffa6 Allow users to enter a port number when adding a remote syslog server. 2012-02-23 10:53:14 -05:00
Ermal
1dd8c3b633 Select the newest of processes to make the command better 2011-11-21 16:40:58 +00:00
Warren Baker
b1b42a065c Combine is_subnet to check for both v4 and v6 subnets 2011-09-29 01:32:09 +02:00
Warren Baker
fdb9c1dbb6 Add is_subnetv6 for checking of IPv6 subnets 2011-09-29 01:26:57 +02:00
Seth Mos
5dc98f2ec1 Implement correct gen_subnetv6_max function that you can throw random prefix lengths in. Fixes Ticket #1725 2011-08-25 11:14:34 +02:00
smos
e6f7e0be56 Fix the referrer checks for IPv6 addresses Ticket #1583 2011-08-21 13:13:11 +02:00
Ermal
e15e9c6b67 Ticket #1279. Decrease the refcount even though we're in booting phase. This helps the refcount to work as intended and help in making filesystem read only correctly on embedded platfroms. While here put some exceptions to refcount API and silent any related errors that might trigger. Also take not of the NOTE on the php manual that after a share memory is opened further references to it for size and access mode should be 0. 2011-08-17 20:15:02 +00:00
Andrew Thompson
7734aea648 Make initial changes to allow pfSense to work in a jail.
This mostly avoids starting things that will not work and gets the
initial config. Most of the pfSense functionality will not work
(pf rules, routing, etc) but it can be used for testing.
2011-08-17 14:15:18 +12:00
Scott Ullrich
6ebf709538 Remove trailing newline 2011-08-04 10:58:46 -04:00
jim-p
8b6313a4d3 Merge remote-tracking branch 'upstream/master'
Conflicts:
	etc/inc/easyrule.inc
	etc/inc/filter.inc
	etc/inc/interfaces.inc
	etc/inc/services.inc
	etc/inc/xmlrpc_client.inc
	usr/local/www/fbegin.inc
	usr/local/www/services_dhcp.php
2011-07-12 19:57:42 -04:00
jim-p
13b9dba9aa Merge remote branch 'upstream/master' 2011-07-07 16:03:07 -04:00
Vinicius Coque
fab60c5e0d Merge remote-tracking branch 'mainline/master' into inc 2011-07-07 13:55:00 -03: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
Vinicius Coque
4842755397 Merge remote-tracking branch 'mainline/master' into inc 2011-06-28 16:55:51 -03:00
jim-p
0e61e3e47e Merge remote branch 'upstream/master'
Conflicts:
	etc/inc/filter.inc
	etc/inc/util.inc
2011-06-22 17:00:47 -04:00
jim-p
c7bb0eeda4 Merge remote branch 'upstream/master'
Conflicts:
	etc/version
2011-06-21 08:12:12 -04:00
Warren Baker
5bbd08e191 More whitespace fixes. 2011-06-21 20:05:51 +02:00
Warren Baker
1015b3a966 If no event_address in globals.inc specified assume the default. Also fixed whitespaces. 2011-06-21 19:44:05 +02:00
Vinicius Coque
f0b17f3f72 Merge remote-tracking branch 'mainline/master' into inc 2011-06-20 08:50:19 -03:00
Scott Ullrich
857da9045e Do not check dynamic and special interfaces for a complete interface mismatch error 2011-06-19 15:08:11 -04:00
Vinicius Coque
45d4b71e07 Merge remote-tracking branch 'mainline/master' into inc 2011-05-23 15:57:23 -03: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
Vinicius Coque
54bdff758f Merge remote-tracking branch 'mainline/master' into inc
Conflicts:
	etc/inc/auth.inc
	etc/inc/config.lib.inc
	etc/inc/filter.inc
	etc/inc/pfsense-utils.inc
	etc/inc/pkg-utils.inc
	etc/inc/priv.defs.inc
	etc/inc/services.inc
	etc/inc/shaper.inc
	etc/inc/voucher.inc
	etc/inc/vpn.inc
	usr/local/www/fbegin.inc
2011-03-25 08:49:04 -03:00
Seth Mos
6c4f3b54a0 Make sure to note the limitations to gethostbyname, it does not work for Quad A records. Fix resolve_retry in the process, use that. 2011-03-14 21:40:12 +01:00
Scott Ullrich
b4c826ad15 Resolve merge conflict 2011-03-06 16:18:29 -05:00
Erik Fonnesbeck
56f25370a6 Simplify is_macaddr regex. 2011-03-02 10:24:12 -07:00