Commit Graph

169 Commits

Author SHA1 Message Date
Warren Baker
4395500c09 Recent move (d32d3970d5) of routed/ items required additional files to be updated to reflect correct path. 2010-11-08 08:44:20 +02:00
Scott Ullrich
98bcf1f8b5 Fix misc input validation errors. Move routed/* to same dir as pkg items 2010-11-06 12:40:54 -04:00
Scott Ullrich
dff71b6bbe Add Captive Portal CARP configuration synchronization 2010-08-29 21:15:14 -04:00
jim-p
e7c893e2a9 Fix the end of this file. 2010-08-03 10:01:30 -04:00
jim-p
0ce726624d Optionally sync users and groups via xmlrpc. Fixes #650 2010-08-02 17:17:46 -04:00
jim-p
93b2c45985 Add NAT-PMP support to UPnP. Fixes #262. Thanks to Salvatore LaMendola for the patch. 2010-07-14 11:41:00 -04:00
jim-p
9434370cd0 Sync OpenVPN settings and DHCP Daemon settings via XMLRPC, and for DHCP set a proper failover IP where needed. Ticket #645 & Ticket #646 - Still needs a way to sync/restart services on Backup after config sync. 2010-06-11 11:50:54 -04:00
Ermal Luçi
5db1136645 Fix RIP code to be compliant with 2.0. 2010-03-05 14:56:34 +00:00
Ermal Luçi
7dbaa205cb Catch up with php5 changes on array. 2010-03-05 10:19:35 +00:00
jim-p
cd61fbc96b Fix typo 2010-02-26 18:18:18 -05:00
Chris Buechler
4494cf6ad9 fix typos 2009-12-07 18:50:11 -05:00
sullrich
7deffa407e Add listtopic. Remove tab 2009-11-28 19:55:23 -05:00
Ermal Luçi
0a595d8419 s/interfaces_carp_configure/interfaces_carp_setup/ 2009-11-24 13:44:42 +00:00
Scott Ullrich
3918d7d810 Do not enable / disable javascript field. Resolves #41 2009-08-23 18:33:26 -04:00
jim-p
02afa68458 Fix potential bug in UPnP config.
If the shaper has never been used, the value being checked may not exist or not be an array.
2009-08-15 00:44:25 -04:00
jim-p
1729ace8da Add traffic shaper queue field to UPnP config 2009-07-09 19:39:44 -04:00
Manoel Carvalho
85dc353472 Adding enablefields tag to enable/disable form elements 2009-06-26 12:17:11 -03:00
Ermal Luçi
0027de0a54 * Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
This function can sleep till the resource is free and can help find not well behaving code.
* Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this.
	If any sybsytem wants to lock can do so with its own lock.
* Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant.
	This compenstates for the removal of lock aquiring from the scripts/pages.
* config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
2009-05-08 18:42:37 +00:00
Chris Buechler
283597589b don't kill routed unless it's running to avoid error in system log 2009-04-07 16:40:03 -04:00
Ermal Luçi
a55e9c701c * Hide interfaces internals to other code and use the propper interfaces.
Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc...
* Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml
* Some other missed custom interface list building and substituing with propper get_configured_interface*()
NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
2009-03-30 00:38:36 +00:00
Scott Ullrich
00d75b39d8 Add (s) 2009-03-03 11:38:21 -05:00
Ermal Luçi
85a5da131c * Rename get_current_wan_address to get_interface_ip
* Rename get_real_wan_interface to get_real_interface
* Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
* Cleanup some code when passing or remove some unused one.
2008-10-23 21:51:53 +00:00
Matthew Grooms
d799787e49 Rework most of the OpenVPN support. The interfaces have been updated to
not use the pkg system and the configuration has been migrated to an
openvpn prefix. The centralized user and certificate manager is now used
to support the openvpn configurations. Most of the files removed in this
commit were not being referenced.

This commit also splits out the certificate management components into a
new system menu item.
2008-08-26 04:48:04 +00:00
Scott Ullrich
aef749ebf7 Eliminate interfaces_carp_bring_up_final() 2008-07-07 01:05:02 +00:00
Scott Ullrich
a31a458275 Shutdown client instances upon deleting. 2008-04-28 04:08:27 +00:00
Scott Ullrich
522a95b69f Pass mode 2008-04-28 03:51:40 +00:00
Scott Ullrich
702a47025d Shutdown deleted process 2008-04-28 03:39:47 +00:00
Chris Buechler
409288e077 clean up text 2008-04-27 20:44:31 +00:00
Chris Buechler
00bceb10f2 change default value, fix white space 2008-04-27 20:20:19 +00:00
Chris Buechler
43894cbc86 shared key needs to be input field 2008-04-27 20:17:27 +00:00
Chris Buechler
a88c7c2ec2 fix wording 2008-04-27 20:06:26 +00:00
Scott Ullrich
a007827a72 Begin adding OpenVPN users feature. 2008-04-26 02:07:01 +00:00
Ermal Luçi
04a6e90048 Differentiate between shared key and pki on the GUI.
Fix some errors with the javascript
2008-04-11 21:03:10 +00:00
Martin Fuchs
0b2a4e64ff OpenVPN: remove keepalive, its already hardcoded 2008-04-05 15:52:37 +00:00
Martin Fuchs
e434284391 OpenVPN: added keepalive and infinite resolver options 2008-04-05 14:24:58 +00:00
Martin Fuchs
fe32492ec7 OpenVPN: my fault... now its correct... the server pushes the commands... 2008-04-04 00:06:36 +00:00
Martin Fuchs
505a15cb07 OpenVPN: redirect-gateway added [for CSC] 2008-04-03 23:22:47 +00:00
Martin Fuchs
cb36037003 OpenVPN: redirect-gateway added 2008-04-03 20:46:05 +00:00
Ermal Luçi
8be2d6d3dd Remove ugly hacks and use propper method for dispalying generated ciphers. 2008-03-06 19:03:56 +00:00
Ermal Luçi
849119e7f8 Correct typo. 2008-03-06 17:58:18 +00:00
Ermal Luçi
267ab13f68 Switch to using generated certificates for server mode. 2008-03-06 17:33:32 +00:00
Ermal Luçi
741474efbb Show the certificate tab in all openvpn configuration tabs. 2008-03-05 17:31:56 +00:00
Ermal Luçi
8573937632 Use the new introduced pages. 2008-03-04 22:34:23 +00:00
Ermal Luçi
e7a4132d50 Introduce the Certificate generation tab for openvpn and use the certifacte generation page created by Scott.
Add the table missing tab to the certificate generation page.
2008-03-02 14:52:04 +00:00
Chris Buechler
c2d7f97e9e touch up text
Ticket #1644
2008-02-14 02:32:21 +00:00
Chris Buechler
4762e20070 touch up text
Ticket #1644
2008-02-14 02:31:20 +00:00
Chris Buechler
1d9797ca4c touch up text
Ticket #1577
2008-01-11 03:57:15 +00:00
Chris Buechler
e790dffe23 touch up text
Ticket #1569
2008-01-08 02:43:31 +00:00
Chris Buechler
348327b7c0 touch up text
Ticket #1569
2008-01-08 02:40:59 +00:00
Martin Fuchs
6236682824 OpenVPN-multi-interface-patches by Fernando Tarlá Cardoso Lemos 2007-12-21 20:09:23 +00:00