Commit Graph

11222 Commits

Author SHA1 Message Date
Ermal Luçi
ee2db55f73 Move validation of dyndns username to the only place it uses it, the GUI page. There it makes sense. While there add ':' character to allow NO-ip subaccounts. 2009-05-07 17:24:28 +00:00
jim-p
21fcd99a62 Fix CLI filter parser so it works on FreeBSD 8 builds. 2009-05-06 16:31:14 -04:00
jim-p
ab046d5a35 Unbreak log display on FreeBSD 8 based builds of 2.0.
pflog output in FreeBSD 8 spans two lines, so we need a function to collapse those two lines into one line we can parse. Also deal with some other resulting oddities of parsing the new format.
2009-05-06 15:31:07 -04:00
Scott Ullrich
183d99c6ea Correct the PLATFORM check
Submitted-By: Ron Lockard
2009-05-06 13:54:31 -04:00
Ermal Luçi
3a724c7e3b Remove another unused function. 2009-05-05 23:49:04 +00:00
Ermal Luçi
6e17413e52 Use exec_command instead of custom rolled function. Fix some logic here and there. 2009-05-05 23:47:55 +00:00
Ermal Luçi
83bc374960 Move exec_command function to util.inc. 2009-05-05 23:40:15 +00:00
Ermal Luçi
532b0fb817 Rename filter_translate_type_to_real_interface to interface_translate_type_to_real
Move this function to interfaces.inc where it belongs.
2009-05-05 23:38:02 +00:00
Ermal Luçi
933a34dc77 Remove unused function and function that provide the same functionality as php built-in ones. 2009-05-05 23:31:23 +00:00
Ermal Luçi
00109afd4d Remove function that is present on php5. 2009-05-05 19:40:55 +00:00
Ermal Luçi
e88fbe5021 * Teach get_interface_subnet() about carp.
* Increase scope to all interfaces when searching for the carp parent since the later is used even on those scopes.
* General cleanup of unused vars and code.
2009-05-05 16:51:41 +00:00
Scott Ullrich
90ba56adca Move interface groups after Floating and before other interfaces 2009-05-04 23:03:33 -04:00
Scott Ullrich
030f88e83e Set firmware lock bit when doing the upgrade 2009-05-04 22:50:55 -04:00
Scott Ullrich
8496e20dec Reeturn false to prevent page from moving 2009-05-04 22:43:55 -04:00
Scott Ullrich
9651848765 Allow clicking on the Version and expand it with uname -a via Ajax magic. 2009-05-04 22:35:37 -04:00
jim-p
aedd7929dc Don't display a fake time for a static DHCP lease begin/end. Since it has no beginning and ending, just display "n/a" instead. See ticket #1921. 2009-05-03 13:55:11 -04:00
jim-p
29e9dc64cf Fix lease display. It should be displaying the last lease for a given IP, not the first. See ticket #1922 2009-05-03 13:35:07 -04:00
Ermal Luçi
55f5c311c8 Remove duplications. 2009-05-01 11:56:44 +00:00
Ermal Luçi
5940e01729 Schedules are handled by pf(4) now. 2009-05-01 11:51:49 +00:00
Ermal Luçi
a652187d1d * Convert from exec_command to $command to remove the only dependency of interfaces.inc.
* Remove the heavy require_once(functions.inc) from interfaces.inc it is really not neededo
2009-05-01 03:49:05 +00:00
Ermal Luçi
4e24c604d7 This function may penalize too much so remove it. 2009-05-01 03:42:26 +00:00
Ermal Luçi
e7394b4646 Styling fixes. 2009-05-01 02:12:59 +00:00
Ermal Luçi
53f4438b47 Missed conversions. 2009-05-01 16:05:45 +00:00
Ermal Luçi
de4757e244 Create a function to reduce duplicated code size. 2009-05-01 15:59:44 +00:00
mcrane
a848d6c27c Removed if($instpkg['name']) it hid FreeSWITCH package despite name having a value in the config. 2009-04-30 15:05:47 -06:00
Scott Ullrich
9875b318a7 Exit after firmware update 2009-04-30 13:55:37 -04:00
Ermal Luçi
67fc82b59c Include crypt.inc explicitly. 2009-04-30 17:38:52 +00:00
Ermal Luçi
ae3c9a621b Change the order of the includes its the way it should be. 2009-04-29 15:44:35 +00:00
Ermal Luçi
2b4d37dedd * Shuffle functions around to reduce require_once() a little. 2009-04-29 14:28:23 +00:00
Scott Ullrich
fe522219c3 Revert "Call system_routing_configure after changes"
This reverts commit 80efb6d634.
2009-04-28 20:27:45 -04:00
Scott Ullrich
35fff8e53e Remove extra $ 2009-04-28 20:26:00 -04:00
Ermal Luçi
87d7a56690 Separate delete down actions on ifconfig to fix issues. Add L2TP virtual interafce to a list. 2009-04-26 20:28:15 +00:00
Ermal Luçi
00f9e567fd Use correct variable name. 2009-04-26 20:00:06 +00:00
Ermal Luçi
586342836f Fix vlan creation to use the interface tags and not numbers without any meaning. Reported on http://forum.pfsense.org/index.php/topic,15861.0.html. 2009-04-26 19:17:49 +00:00
Ermal Luçi
a778209996 Show interface groups first in the interface dropdown. 2009-04-26 15:20:50 +00:00
Ermal Luçi
45316b1c16 Resotre check back seems like empty() does not like 0. 2009-04-26 15:19:22 +00:00
Ermal Luçi
c1d0033562 Comment check out seems something is not well with php. 2009-04-26 15:18:38 +00:00
Ermal Luçi
482961e3a5 Fix typo to correctly load interface groups on startup. 2009-04-26 15:14:07 +00:00
Ermal Luçi
f3c8bd98aa Fix a spd.conf not loading changes issue. 2009-04-26 15:11:43 +00:00
Ermal Luçi
60120e3742 * Convert schedules to pf(4).
This allows to schedule the whole feature of the rules like queues/limiters/gateways/blocks/allows/etc...
* Whitespace cleaning on filter.inc
* Move schedule backend logic from pfsense-utils.inc to filter.inc and prefix with filter_.
* Small bugfixes here and there.
2009-04-26 14:23:29 +00:00
Ermal Luçi
6dc3a5c2e4 * Move other functions around to where it makes sense.
* Reduce somewhat require_once() overhead by removing the includes from gwlb.inc they are not needed.
	Some more analysis is needed on the include path
2009-04-26 13:47:33 +00:00
Ermal Luçi
5294771817 More functions moving from pfsense-utils to interfaces.inc. 2009-04-26 13:41:37 +00:00
Scott Ullrich
80efb6d634 Call system_routing_configure after changes 2009-04-25 22:21:28 -04:00
Scott Ullrich
d8c3d46e38 Create /var/run in chroot for dhcpd 2009-04-25 20:52:18 -04:00
Ermal Luçi
afb2de1b82 * Make the carp ip fix for ipsec more general so other services that use the same methodology work.
- Basically get_interface_ip() now knows how to handle carp(4).
* Move interface related function from pfsense-utils.inc to interfaces.inc that is their place.
	- More will come after the schedules fixes.
2009-04-22 11:53:37 +00:00
Scott Ullrich
bd9f5fcabd Specify complete path to touch to avoid: apinger: command (touch /tmp/filter_dirty) exited with status: 1 2009-04-24 18:30:08 -04:00
Ermal Luçi
04b46591f6 * Do not apply the settings directly from hitting the SAVE button show the apply settings option for consistency with other pages. 2009-04-22 09:21:26 +00:00
Ermal Luçi
924876a80f * Fix ipsec over carp handling.
* do not useinterface in Upper case when working on the backends.
* Do not print Configuring IPSec during bootup if there is nothing configured.
2009-04-22 09:21:26 +00:00
Scott Ullrich
03d92c4034 Remove second include("guiconfig.inc"). Where is my pointy hat to distribute?? 2009-04-24 12:33:16 -04:00
Chris Buechler
a7c6604c06 Fix "disable checksum offloading", and some other bugs with certain combinations of options while here. 2009-04-23 23:55:37 -04:00