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
Ermal Luçi
e1bce2c5d7
Add interfaces_wlan.inc to the obsolete list.
2008-09-09 10:42:59 +00:00
Ermal Luçi
4634cb480e
Merge interfaces_wlan.inc into interfaces.php there is no need for the to be different files so when one is edited the other can be broken.
2008-09-09 10:41:54 +00:00
Ermal Luçi
92f7d37d7f
Insure this function returns always an array.
2008-09-09 08:05:38 +00:00
Ermal Luçi
998552f806
NOTE: Part of the interfaces history is located on interfaces_lan.php and interfaces_opt.php.
2008-09-09 07:45:05 +00:00
Ermal Luçi
18961b4e84
Catch up with file rename.
2008-09-09 07:39:38 +00:00
Ermal Luçi
01eb687d7c
Catch up with file rename.
2008-09-09 07:38:50 +00:00
Ermal Luçi
1e257f479a
Oops, this is a test and not an assignment.
2008-09-09 07:27:26 +00:00
Ermal Luçi
4596c15520
Oops, this is a test and not an assignment.
2008-09-09 07:16:27 +00:00
Matthew Grooms
e30001cf19
Cleanup the tab format of the system user/group/server management pages.
...
The edges were square instead of rounded like most pfSense pages. Also
make sure tabs and cancel buttons are present in the add privilege and
add certificate pages.
2008-09-09 06:55:37 +00:00
Matthew Grooms
96c7a492be
Cleanup the tab format of the system ca/certificate pages. The edges were
...
square instead of rounded like most pfSense pages. While here, fix a bug
that made the submit button disappear when it shouldn't.
2008-09-09 06:19:45 +00:00
Matthew Grooms
ab3c85535d
Cleanup the tab format of the system advanced pages. The edges were square
...
instead of rounded like most pfSense pages.
2008-09-09 05:50:32 +00:00
Matthew Grooms
486b499952
Whitespace and html cleanup of the configuration history page.
2008-09-09 04:21:36 +00:00
Matthew Grooms
fb1266d3a1
Moves the protocol and certificate options out of the general config page
...
to the Advanced admin access tab. The thought is that they should be next
to each other. The certificate management has also been modified to use
the centralized certificate manager. I took the liberty of removing the
default certificate/key definitions from the web server configuration
function as it is now trivial to create these locally.
The global SSH authorized keys have also been removed. Any existing key
data will be migrated to the admin account. I also added some new checks
to ensure the sshd process is only restarted when its configuration has
actually changed.
2008-09-09 04:08:22 +00:00
Bill Marquette
b28278a261
Add "Services" to the page title
2008-09-09 01:17:57 +00:00
Scott Ullrich
5d8c7db827
Remove obsoleted files after upgrade
2008-09-08 22:08:56 +00:00
Scott Ullrich
643739aef3
Adding file that keeps track of obsoleted files. We'll start with
...
the various interfaces_???.php files that where just removed.
2008-09-08 22:03:35 +00:00
Scott Ullrich
94d73e3d3a
Clarify operation in progress
2008-09-08 21:51:15 +00:00
Scott Ullrich
b2bc44cdd6
* Rename to interfaces.php
...
* Fix tab style issues
2008-09-08 21:35:46 +00:00
Scott Ullrich
732cabc5d7
Rename to interfaces.php
...
Repocopy following up to this commit.
2008-09-08 21:34:44 +00:00
Matthew Grooms
76369bfce7
Correct a bug where we attempt to kill an OpenVPN process even though its
...
pid file does not exist.
2008-09-08 16:06:41 +00:00
Matthew Grooms
035e4289f5
Revert the dh parameters generation back to 1024 bits. There were several
...
complaints that 2048 bit parameters took too long to generate.
2008-09-08 15:50:51 +00:00
Bill Marquette
c67dd94ea6
Log why we're writing a new config out
2008-09-08 01:23:08 +00:00
Bill Marquette
a825c6f764
No need to use a reference to the array, if it doesn't exist already
...
this tends to make it exist the next time a write_config() occurs
which is now happening during bootup thanks to OpenVPN...yay! ;)
2008-09-08 01:21:40 +00:00
Bill Marquette
2a727bacfd
fix 4.6->4.7 upgrade check
2008-09-08 01:16:48 +00:00
Seth Mos
4be3f6cfef
Use correct octal mode
2008-09-07 20:13:49 +00:00
Seth Mos
c43bb9ad6a
Correct mode setting to correct permissions in octal mode
2008-09-07 20:12:29 +00:00
Ermal Luçi
cf960d124a
Remove unused and possibly erroneous code.
2008-09-07 19:52:42 +00:00
Ermal Luçi
039fe42ca1
Add my name to the copyrights, i think i changed enough of this file!
2008-09-07 19:48:31 +00:00
Ermal Luçi
a99440b853
Delete interfaces_lan.php we have a unified interface config.
2008-09-07 19:40:49 +00:00
Ermal Luçi
5efc5b6fda
Try to reconfigure interfaces if assigned when edited. For gif and gre this does not make sense.
2008-09-07 19:39:19 +00:00
Ermal Luçi
4476d44751
Merge lan configuration to the interfaces_wan.php page wich does the configuration of all
...
other assigned interfaces.
2008-09-07 19:34:18 +00:00
Chris Buechler
9f6f3e04c7
set auto channel properly
2008-09-07 19:23:55 +00:00
Ermal Luçi
3f425cda43
Use different names for pppoe and pptp fields so that problems reported by
...
http://forum.pfsense.org/index.php/topic,11220.0.html is fixed. Reflect the changes even
on config conversion part.
Add even some code in preparation of merging even lan on the same page.
2008-09-07 18:24:05 +00:00
Ermal Luçi
9573a419aa
Add an action even onChange so something can be done even without a mouse.
2008-09-07 16:45:17 +00:00
Ermal Luçi
4d5797607f
* (Re)Implement a 'None' type for interface config which allows to assign interfaces
...
like GRE/GIF and filter on them.
* Show the configuration for an interface only after it is enabled.
* Show only the configuration option regarding the selected type using some 'sick' javascript 'stolen' on the new loadbalancer.
2008-09-07 15:50:26 +00:00
Ermal Luçi
008760d040
Reflect the change on convert_friendly_interface_to_real... into get_real_wan_interface to return the real interface even for disabled ones. They are the same function that needs to be cleand up with the names in some distant future.
2008-09-07 08:24:26 +00:00
Matthew Grooms
705c8ec9fc
When restarting an OpenVPN process, don't send a term signal and expect it
...
to exit within a fixed time frame of two seconds. The old process may take
longer to exit and cause the new process creation to fail. Instead, check
the process status every 1/4 seconds and only continue once it terminates.
2008-09-07 06:43:30 +00:00