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
Ermal Luçi
43e255d21e
* Introduce an apply button before the changes get effect.
...
* Actually fix the form submit action to work correctly.
2008-09-09 20:49:57 +00:00
Matthew Grooms
fe787fc761
Modify the OpenVPN server configuration to allow the DH parameter length
...
to be specified. Upgraded 1.2.x configurations will default to 1024 bits.
2008-09-09 20:32:56 +00:00
Matthew Grooms
15b414e6b4
Comment out the code that creates a dh-parameters file at boot time and
...
add three new static parameters files to the /etc directory. In the near
term OpenVPN configurations will use the 2048 bit file.
2008-09-09 20:01:35 +00:00
Matthew Grooms
2ff19bfd40
Move the 'advanced users only' notice into the tab body so the tab headers
...
are not displaced by this message.
2008-09-09 18:54:57 +00:00
Matthew Grooms
77446bebd4
Whitespace and minor bug fixes for system general setup page.
2008-09-09 18:49:32 +00:00
Ermal Luçi
cd79b2bc83
If we are an single interface setup we need the anti-lockout rule for wan so correct the parameter to find the right interface.
2008-09-09 15:36:40 +00:00
Ermal Luçi
8da53af88f
Handle renaming of the pppoe/pptp username and password parameters.
2008-09-09 14:55:59 +00:00
Ermal Luçi
69e5a8be8d
Rename interfaces_wan_configure to interface_configure now that it is used for all assigned interface configuration.
2008-09-09 11:08:02 +00:00