Commit Graph

9957 Commits

Author SHA1 Message Date
Ermal Luçi
453074aa4f * Fix 'descr'setting and displaying.
* Some white space cleanup.
2008-09-16 18:15:25 +00:00
Matthew Grooms
99bbd213c9 Fix a few minor problems with the IPsec configuration interface. Make sure
we don't copy the ikeid when duplicating a phase1 entry. Simplify the code
that deletes all associated phase2 entries when a phase1 is deleted. I was
and still am learning the finer points of php.
2008-09-16 18:04:08 +00:00
Matthew Grooms
b63f2e8b29 Make it possible for pakages to insert additional tabbed pages into an
existing tab group. This requires that each page in the tab group call
add_package_tabs() with the tab group name before display_top_tabs() so
pages can be inserted. While far from optimal, this system is really a
stop-gap measure until a more intelligent menu/tab system can be
implemented. Discussed with Scott on IRC.
2008-09-16 17:41:22 +00:00
Seth Mos
2e814e0d69 Fix empty wep array 2008-09-15 17:42:09 +00:00
Seth Mos
2446160426 Fix Wireless detection logic 2008-09-15 17:41:00 +00:00
Ermal Luçi
fed043ef9a Disable the second call to the same script for configuring wireless interfaces it seems redundant. 2008-09-15 17:12:42 +00:00
Ermal Luçi
bfe1ef8c6f Correctly handle 802.11x setting. 2008-09-15 17:08:37 +00:00
Ermal Luçi
29c691353b Search disabled interfaces too, this is needed since some code assumes this(i.e. wireless). 2008-09-15 17:03:36 +00:00
Ermal Luçi
ff2f4e4330 Some style and consistency fixes, no functional change. 2008-09-12 23:16:45 +00:00
Ermal Luçi
872ce0dd45 Fix the Status->Traffic Graph graphic. 2008-09-12 22:54:43 +00:00
Ermal Luçi
fb707f4a3b Correctly gather statictics for virtual interfaces. Maybe bridge needs to be added to the list but i will have to test that further. 2008-09-12 22:51:18 +00:00
Ermal Luçi
998b88ad09 Use the correct function to find the right interface to use in loginterface knob. 2008-09-11 21:52:54 +00:00
Ermal Luçi
a72d04b325 Remove the ppp hack from filter_translate_type_to_real_interface we know better now. 2008-09-11 21:49:02 +00:00
Ermal Luçi
f4758c47ef Bring the ppp frontend to functionality.
Add a more options like max connection attempt, support for static ip setups, username and password configs.
2008-09-11 21:44:01 +00:00
Ermal Luçi
abc1cbc5a4 Fix ppp(3G) backend code and make it possible to create more the one.
Although it needs to be though how would we want to setup something as failover with such setups since we cannot expect for them to be always connected.
Maybe dial on request or some such might be needed!?
2008-09-11 21:42:01 +00:00
Ermal Luçi
2d8d4f567c * Rename $debug to $g['debug']
* Fix renamed functions call especially the wireless config
* Fix some ppp code backend
2008-09-11 20:10:52 +00:00
Ermal Luçi
a953bbc096 Mostly missed renaming and typos.
* Missed function call rename
* This needs to be gif not gre
2008-09-11 16:48:50 +00:00
Scott Ullrich
bddd43b403 Add ability to hook into tabs on various screens. Each tab area will
need to hook into this sytem similar to:
	$tab_array = array();
	$tab_array[] = array("Port Forward", true, "firewall_nat.php");
	$tab_array[] = array("1:1", false, "firewall_nat_1to1.php");
	$tab_array[] = array("Outbound", false, "firewall_nat_out.php");
	$tab_array[] = add_package_tab_hooks("firewallnat")
	display_top_tabs($tab_array);
2008-09-11 00:30:29 +00:00
Scott Ullrich
1a0cb96d71 Revise default allow all to any rule text. Remove > and attempt to cleanup
text to make it more friendly to a new user.
2008-09-10 23:29:29 +00:00
Scott Ullrich
586293d162 Remove (not parsed) from description. It IS parsed and checked for XSS
problems now that we can assign owners of interfaces.
2008-09-10 22:50:34 +00:00
Scott Ullrich
5157927fc5 Backout last change, we need to think about this some more. 2008-09-10 22:32:50 +00:00
Scott Ullrich
aa8cdf5219 Learn how to spell "Acknowledge"
Pointed-out-by: billm
2008-09-10 22:24:25 +00:00
Scott Ullrich
b8f3372739 We already escape characters. Do not worry about notifying user that
the description field is invalid as it will be escaped again
during firewall_rules.php
2008-09-10 22:20:28 +00:00
Scott Ullrich
8a7712ea5d Require_once instead of require. 2008-09-10 19:59:44 +00:00
Scott Ullrich
ebd0d77b09 Make the pointy-hat gods happy by fixing missing ) error. 2008-09-10 19:57:13 +00:00
Seth Mos
75a56c02d6 Increment interface counter for wan too. 2008-09-10 19:16:07 +00:00
Seth Mos
c8664b2abb Add more optional debugging 2008-09-10 19:10:54 +00:00
Matthew Grooms
e647cc2e67 Increase the page redirect time after switching between http and https. It
can take longer on slower embedded systems.
2008-09-10 18:48:22 +00:00
Matthew Grooms
4c951cc9c9 Whitespace and minor bug fixes for package manager pages. 2008-09-10 18:41:07 +00:00
Ermal Luçi
228d6f9acb Bring up to more sane config. 2008-09-10 13:41:21 +00:00
Ermal Luçi
2cc504e1ea Show correct interface. 2008-09-10 13:34:11 +00:00
Ermal Luçi
e1a121dbec PPP forgotten knobs syncronization. 2008-09-10 13:26:52 +00:00
Ermal Luçi
5d41713c0b Catch up with backend modification and synchronize some fields in the GUI itself. 2008-09-10 13:18:11 +00:00
Ermal Luçi
9b1c39e3a3 * Fixup stray dots('...') on bootup and add some comments since we do loading of the filters twice during bootup?!
* Merge all interface related bootstraps under interfaces_configure so this allows us to handle propperly assigned bridge/gre/gif/.. devices that might are initialized later than assigned interfaces.
* Make possible configuring multiple dial-out(ppp) interfaces/configs. Though i am not configdent on the quality of the ppp code that was imported before since GUI and backend have some inconsistencies in the fields. While i fixed most of them still 1 or 2 remain which needs propper investigation on the config.
2008-09-10 13:15:59 +00:00
Ermal Luçi
1d4bd2bc79 Catch up with function renaming. 2008-09-10 11:08:14 +00:00
Ermal Luçi
1fb7c26528 * Remove the wan word from most of the functions in this file.
* Remove the 's' from functions that deal only with one interface.
* Some other fixes in general.
2008-09-10 11:07:34 +00:00
Ermal Luçi
6d230d1f9f Remove uneeded and commented out code. 2008-09-10 10:26:54 +00:00
Ermal Luçi
8f6f2a11dc Correctly return gre/gif addresses if selected on the firewall rules or needed elsewhere. 2008-09-10 10:26:06 +00:00
Ermal Luçi
934240efeb * Correctly show dhcp tabs for the service
* Do not display tabs for the interface not elligible for running a dhcp service.
2008-09-10 09:27:17 +00:00
Ermal Luçi
12b3b339a0 Oops, typo. Thanks, http://forum.pfsense.org/index.php/topic,11442.0.html 2008-09-10 07:55:17 +00:00
Matthew Grooms
c8423fbfca Make sure the /var/db/racoon path exists before starting racoon. This is
needed to ensure racoonctl can communicate properly with racoon.
2008-09-10 02:53:59 +00:00
Ermal Luçi
4b176ed234 Do not execute the command if interface is not configured at all(type = none). 2008-09-09 22:25:54 +00:00
Ermal Luçi
3f24dd1226 Array checks too. 2008-09-09 21:50:27 +00:00
Ermal Luçi
bfe776f0b7 * Array checks too.
* Add some style(9)

NOTE: Maybe someone needs to verify these strange checks on this function!
2008-09-09 21:45:49 +00:00
Ermal Luçi
f20f946167 Add missing quote char. 2008-09-09 21:25:32 +00:00
Ermal Luçi
b9ed163dc5 Array checks too. 2008-09-09 21:23:52 +00:00
Ermal Luçi
89019922fa Add some check if we are working with arrays and fix the check for not allowing dhcpd to be configured on nonstatic ip interfaces. 2008-09-09 21:22:16 +00:00
Matthew Grooms
0a242e9dc5 Add validation for the ca configuration array presence. Minor style fixes. 2008-09-09 21:08:58 +00:00
Seth Mos
b6dd249684 Add validation 2008-09-09 21:03:22 +00:00
Ermal Luçi
571f89fad5 * Remove dead code
* Use the correct underlying interface when issuing command
* Do not forget to bring the physical interface before creating a virtual one.
2008-09-09 20:54:32 +00:00