Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
26032f66
Commit
26032f66
authored
Mar 20, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: more work on dynamic dns and rfc 2136
parent
d51dd4ad
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
103 additions
and
44 deletions
+103
-44
plist
plist
+1
-1
gwlb.inc
src/etc/inc/gwlb.inc
+2
-2
dyndns.inc
src/etc/inc/plugins.inc.d/dyndns.inc
+21
-1
phpDynDNS.inc
src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc
+15
-15
pf.inc
src/etc/inc/plugins.inc.d/pf.inc
+0
-2
rfc2136.inc
src/etc/inc/plugins.inc.d/rfc2136.inc
+20
-0
upgrade_config.inc
src/etc/inc/upgrade_config.inc
+3
-3
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+2
-2
actions_dyndns.conf
src/opnsense/service/conf/actions.d/actions_dyndns.conf
+1
-1
services_dyndns.php
src/www/services_dyndns.php
+12
-6
services_dyndns_edit.php
src/www/services_dyndns_edit.php
+9
-3
services_rfc2136.php
src/www/services_rfc2136.php
+10
-4
services_rfc2136_edit.php
src/www/services_rfc2136_edit.php
+5
-3
system_gateway_groups.php
src/www/system_gateway_groups.php
+1
-0
dyn_dns_status.inc
src/www/widgets/include/dyn_dns_status.inc
+1
-1
No files found.
plist
View file @
26032f66
...
...
@@ -35,7 +35,7 @@
/usr/local/etc/inc/plugins.inc
/usr/local/etc/inc/plugins.inc.d/dnsmasq.inc
/usr/local/etc/inc/plugins.inc.d/dyndns.inc
/usr/local/etc/inc/plugins.inc.d/dyndns/php
dns
.inc
/usr/local/etc/inc/plugins.inc.d/dyndns/php
DynDNS
.inc
/usr/local/etc/inc/plugins.inc.d/dyndns/r53.inc
/usr/local/etc/inc/plugins.inc.d/ipfw.inc
/usr/local/etc/inc/plugins.inc.d/ipsec.inc
...
...
src/etc/inc/gwlb.inc
View file @
26032f66
...
...
@@ -92,8 +92,8 @@ rrd interval 60s;
## These parameters can be overridden in a specific alarm configuration
alarm default {
command on "/usr/local/opnsense/service/configd_ctl.py -m 'dyndns reload %T' 'ipsecdns reload' 'openvpn reload %T' 'filter reload' "
command off "/usr/local/opnsense/service/configd_ctl.py -m 'dyndns reload %T' 'ipsecdns reload' 'openvpn reload %T' 'filter reload' "
command on "/usr/local/opnsense/service/configd_ctl.py -m 'dyndns reload %T' '
rfc2136 reload %T' '
ipsecdns reload' 'openvpn reload %T' 'filter reload' "
command off "/usr/local/opnsense/service/configd_ctl.py -m 'dyndns reload %T' '
rfc2136 reload %T' '
ipsecdns reload' 'openvpn reload %T' 'filter reload' "
combine 10s
}
...
...
src/etc/inc/plugins.inc.d/dyndns.inc
View file @
26032f66
...
...
@@ -29,7 +29,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
require_once
(
'plugins.inc.d/dyndns/php
dns
.inc'
);
require_once
(
'plugins.inc.d/dyndns/php
DynDNS
.inc'
);
require_once
(
'plugins.inc.d/dyndns/r53.inc'
);
function
dyndns_configure
()
...
...
@@ -56,6 +56,26 @@ function dyndns_enabled()
return
false
;
}
function
dyndns_services
()
{
global
$config
;
$services
=
array
();
if
(
dyndns_enabled
())
{
$services
[]
=
array
(
'description'
=>
gettext
(
'Dynamic DNS'
),
'configd'
=>
array
(
'restart'
=>
array
(
'dyndns reload'
),
),
'nocheck'
=>
true
,
'name'
=>
'dyndns'
,
);
}
return
$services
;
}
function
dyndns_cron
()
{
$jobs
=
array
();
...
...
src/etc/inc/plugins.inc.d/dyndns/php
dns
.inc
→
src/etc/inc/plugins.inc.d/dyndns/php
DynDNS
.inc
View file @
26032f66
...
...
@@ -147,7 +147,7 @@
$this
->
_curlSslVerifypeer
=
$curlSslVerifypeer
;
$this
->
_dnsVerboseLog
=
$dnsVerboseLog
;
if
(
$this
->
_dnsVerboseLog
)
log_error
(
"Dyn
Dns
: updatedns() starting"
);
log_error
(
"Dyn
amic DNS
: updatedns() starting"
);
$dyndnslck
=
lock
(
"DDNS"
.
$dnsID
,
LOCK_EX
);
...
...
@@ -279,7 +279,7 @@
function
_update
()
{
if
(
$this
->
_dnsVerboseLog
)
log_error
(
"Dynamic DNS (
{
$this
->
_dnsHost
}
):
DynDns
_update() starting."
);
log_error
(
"Dynamic DNS (
{
$this
->
_dnsHost
}
): _update() starting."
);
if
(
$this
->
_dnsService
!=
'ods'
and
$this
->
_dnsService
!=
'route53 '
)
{
$ch
=
curl_init
();
...
...
@@ -649,7 +649,7 @@
break
;
case
'eurodns'
:
if
(
$this
->
_dnsVerboseLog
)
log_error
(
"EuroD
ynDns
(
{
$this
->
_dnsHost
}
) DNS update() starting."
);
log_error
(
"EuroD
NS
(
{
$this
->
_dnsHost
}
) DNS update() starting."
);
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYPEER
,
FALSE
);
curl_setopt
(
$ch
,
CURLOPT_USERPWD
,
$this
->
_dnsUser
.
':'
.
$this
->
_dnsPass
);
$server
=
"https://eurodyndns.org/update/"
;
...
...
@@ -729,7 +729,7 @@
*/
function
_checkStatus
(
$ch
,
$data
)
{
if
(
$this
->
_dnsVerboseLog
)
{
log_error
(
"Dynamic DNS (
{
$this
->
_dnsHost
}
):
DynDns
_checkStatus() starting."
);
log_error
(
"Dynamic DNS (
{
$this
->
_dnsHost
}
): _checkStatus() starting."
);
log_error
(
"Dynamic DNS (
{
$this
->
_dnsHost
}
): Current Service:
{
$this
->
_dnsService
}
"
);
}
$successful_update
=
false
;
...
...
@@ -981,7 +981,7 @@
break
;
case
'dnsexit'
:
if
(
preg_match
(
"/is the same/i"
,
$data
))
{
$status
=
"
phpDynDns
(
{
$this
->
_dnsHost
}
): (Success) No Change In IP Address"
;
$status
=
"
Dynamic DNS
(
{
$this
->
_dnsHost
}
): (Success) No Change In IP Address"
;
$successful_update
=
true
;
}
else
if
(
preg_match
(
"/Success/i"
,
$data
))
{
$status
=
"Dynamic DNS (
{
$this
->
_dnsHost
}
): (Success) IP Address Changed Successfully!"
;
...
...
@@ -1019,7 +1019,7 @@
}
else
if
(
preg_match
(
'/yours/i'
,
$data
))
{
$status
=
"Dynamic DNS (
{
$this
->
_dnsHost
}
): (Error) hostname specified exists, but not under the username specified."
;
}
else
if
(
preg_match
(
'/abuse/i'
,
$data
))
{
$status
=
"
phpDynDns
(
{
$this
->
_dnsHost
}
): (Error) Updating too frequently, considered abuse."
;
$status
=
"
Dynamic DNS
(
{
$this
->
_dnsHost
}
): (Error) Updating too frequently, considered abuse."
;
}
else
{
$status
=
"Dynamic DNS (
{
$this
->
_dnsHost
}
): (Unknown Response)"
;
log_error
(
"Dynamic DNS (
{
$this
->
_dnsHost
}
): PAYLOAD:
{
$data
}
"
);
...
...
@@ -1323,10 +1323,10 @@
$wan_ip
=
$this
->
_checkIP
();
if
(
$wan_ip
==
0
)
{
log_error
(
"Dyn
Dns
(
{
$this
->
_dnsHost
}
): Current WAN IP could not be determined, skipping update process."
);
log_error
(
"Dyn
amic DNS
(
{
$this
->
_dnsHost
}
): Current WAN IP could not be determined, skipping update process."
);
return
false
;
}
$log_error
=
"Dyn
Dns
(
{
$this
->
_dnsHost
}
): Current WAN IP:
{
$wan_ip
}
"
;
$log_error
=
"Dyn
amic DNS
(
{
$this
->
_dnsHost
}
): Current WAN IP:
{
$wan_ip
}
"
;
if
(
$this
->
_useIPv6
==
true
)
{
if
(
file_exists
(
$this
->
_cacheFile_v6
))
{
...
...
@@ -1367,13 +1367,13 @@
/* lets determine if the item needs updating */
if
(
$cacheIP
!=
$wan_ip
)
{
$needs_updating
=
true
;
$update_reason
=
"Dyn
Dns
: cacheIP != wan_ip. Updating. "
;
$update_reason
=
"Dyn
amic DNS
: cacheIP != wan_ip. Updating. "
;
$update_reason
.=
"Cached IP:
{
$cacheIP
}
WAN IP:
{
$wan_ip
}
"
;
}
if
((
$currentTime
-
$cacheTime
)
>
$maxCacheAgeSecs
)
{
$needs_updating
=
true
;
$this
->
_forceUpdateNeeded
=
true
;
$update_reason
=
"Dyn
Dns
: More than "
.
$this
->
_dnsMaxCacheAgeDays
.
" days. Updating. "
;
$update_reason
=
"Dyn
amic DNS
: More than "
.
$this
->
_dnsMaxCacheAgeDays
.
" days. Updating. "
;
$update_reason
.=
"
{
$currentTime
}
-
{
$cacheTime
}
>
{
$maxCacheAgeSecs
}
"
;
}
if
(
$initial
==
true
)
{
...
...
@@ -1386,7 +1386,7 @@
*/
if
(
$needs_updating
==
true
)
{
if
(
$this
->
_dnsVerboseLog
)
log_error
(
"Dyn
Dns
(
{
$this
->
_dnsHost
}
):
{
$update_reason
}
"
);
log_error
(
"Dyn
amic DNS
(
{
$this
->
_dnsHost
}
):
{
$update_reason
}
"
);
return
true
;
}
...
...
@@ -1425,7 +1425,7 @@
$try
++
;
}
if
(
$try
>=
3
)
{
log_error
(
"Dyn
dns
debug information (
{
$this
->
_dnsHost
}
): Could not resolve
{
$hosttocheck
}
to ip using interface ip
{
$ip_address
}
."
);
log_error
(
"Dyn
amic DNS
debug information (
{
$this
->
_dnsHost
}
): Could not resolve
{
$hosttocheck
}
to ip using interface ip
{
$ip_address
}
."
);
return
0
;
}
$ip_ch
=
curl_init
(
"http://
{
$checkip
}
"
);
...
...
@@ -1444,14 +1444,14 @@
$ip_address
=
trim
(
$matches
[
1
]);
if
(
is_ipaddr
(
$ip_address
))
{
if
(
$this
->
_dnsVerboseLog
)
log_error
(
"Dyn
Dns
(
{
$this
->
_dnsHost
}
):
{
$ip_address
}
extracted from
{
$hosttocheck
}
"
);
log_error
(
"Dyn
amic DNS
(
{
$this
->
_dnsHost
}
):
{
$ip_address
}
extracted from
{
$hosttocheck
}
"
);
}
else
{
log_error
(
"Dyn
Dns
(
{
$this
->
_dnsHost
}
): IP address could not be extracted from
{
$hosttocheck
}
"
);
log_error
(
"Dyn
amic DNS
(
{
$this
->
_dnsHost
}
): IP address could not be extracted from
{
$hosttocheck
}
"
);
return
0
;
}
}
else
{
if
(
$this
->
_dnsVerboseLog
)
log_error
(
"Dyn
Dns
(
{
$this
->
_dnsHost
}
):
{
$ip_address
}
extracted from local system."
);
log_error
(
"Dyn
amic DNS
(
{
$this
->
_dnsHost
}
):
{
$ip_address
}
extracted from local system."
);
}
$this
->
_dnsIP
=
$ip_address
;
...
...
src/etc/inc/plugins.inc.d/pf.inc
View file @
26032f66
...
...
@@ -38,8 +38,6 @@ function pf_services()
'description'
=>
gettext
(
'Packet Filter'
),
'configd'
=>
array
(
'restart'
=>
array
(
'filter reload'
),
'start'
=>
array
(
'filter reload'
),
'stop'
=>
array
(
'filter reload'
),
),
'nocheck'
=>
true
,
'name'
=>
'pf'
,
...
...
src/etc/inc/plugins.inc.d/rfc2136.inc
View file @
26032f66
...
...
@@ -53,6 +53,26 @@ function rfc2136_enabled()
return
false
;
}
function
rfc2136_services
()
{
global
$config
;
$services
=
array
();
if
(
rfc2136_enabled
())
{
$services
[]
=
array
(
'description'
=>
gettext
(
'RFC 2136'
),
'configd'
=>
array
(
'restart'
=>
array
(
'rfc2136 reload'
),
),
'nocheck'
=>
true
,
'name'
=>
'rfc2136'
,
);
}
return
$services
;
}
function
rfc2136_cron
()
{
$jobs
=
array
();
...
...
src/etc/inc/upgrade_config.inc
View file @
26032f66
...
...
@@ -1295,8 +1295,8 @@ function upgrade_046_to_047() {
}
}
function
upgrade_047_to_048
()
{
function
upgrade_047_to_048
()
{
global
$config
;
if
(
!
empty
(
$config
[
'dyndns'
]))
{
$config
[
'dyndnses'
]
=
array
();
...
...
@@ -1311,7 +1311,7 @@ function upgrade_047_to_048() {
$tempdyn
[
'host'
]
=
$config
[
'dyndns'
][
0
][
'host'
];
$tempdyn
[
'mx'
]
=
$config
[
'dyndns'
][
0
][
'mx'
];
$tempdyn
[
'interface'
]
=
"wan"
;
$tempdyn
[
'descr'
]
=
sprintf
(
'Upgraded
Dyndns
%s'
,
$tempdyn
[
'type'
]);
$tempdyn
[
'descr'
]
=
sprintf
(
'Upgraded
dynamic DNS
%s'
,
$tempdyn
[
'type'
]);
$config
[
'dyndnses'
][
'dyndns'
][]
=
$tempdyn
;
}
unset
(
$config
[
'dyndns'
]);
...
...
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
26032f66
...
...
@@ -246,9 +246,9 @@
</ACL>
</DNSResolver>
<DNSTools
VisibleName=
"DNS Tools"
cssClass=
"fa fa-tags fa-fw"
>
<Dyn
DNS
order=
"10"
url=
"/services_dyndns.php"
>
<Dyn
amicDNS
VisibleName=
"Dynamic DNS"
order=
"10"
url=
"/services_dyndns.php"
>
<Edit
url=
"/services_dyndns_edit.php*"
visibility=
"hidden"
/>
</DynDNS>
</Dyn
amic
DNS>
<Filter
order=
"20"
url=
"/services_opendns.php"
/>
<RFC2136
order=
"30"
VisibleName=
"RFC 2136"
url=
"/services_rfc2136.php"
>
<Edit
url=
"/services_rfc2136_edit.php*"
visibility=
"hidden"
/>
...
...
src/opnsense/service/conf/actions.d/actions_dyndns.conf
View file @
26032f66
[
reload
]
command
:/
usr
/
local
/
etc
/
rc
.
dyndns
.
update
description
:
DynDNS
Update
description
:
Dyn
amic
DNS
Update
parameters
:%
s
type
:
script
message
:
updating
dyndns
%
s
src/www/services_dyndns.php
View file @
26032f66
...
...
@@ -30,6 +30,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
require_once
(
"system.inc"
);
require_once
(
"plugins.inc.d/dyndns.inc"
);
if
(
empty
(
$config
[
'dyndnses'
][
'dyndns'
])
||
!
isset
(
$config
[
'dyndnses'
][
'dyndns'
]))
{
...
...
@@ -44,7 +45,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
@
unlink
(
"/conf/dyndns_
{
$conf
[
'interface'
]
}{
$conf
[
'type'
]
}
"
.
escapeshellarg
(
$conf
[
'host'
])
.
"
{
$conf
[
'id'
]
}
.cache"
);
unset
(
$a_dyndns
[
$_POST
[
'id'
]]);
write_config
();
configd_run
(
'dyndns reload'
,
true
);
system_cron_configure
(
);
}
exit
;
}
elseif
(
isset
(
$_POST
[
'act'
])
&&
$_POST
[
'act'
]
==
"toggle"
&&
isset
(
$_POST
[
'id'
]))
{
...
...
@@ -55,20 +56,25 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$a_dyndns
[
$_POST
[
'id'
]][
'enable'
]
=
true
;
}
write_config
();
configd_run
(
'dyndns reload'
,
true
);
system_cron_configure
();
if
(
$a_dyndns
[
$_POST
[
'id'
]][
'enable'
])
{
$a_dyndns
[
$_POST
[
'id'
]][
'force'
]
=
true
;
dyndns_configure_client
(
$a_dyndns
[
$_POST
[
'id'
]]);
}
}
exit
;
}
}
include
(
"head.inc"
);
legacy_html_escape_form_data
(
$a_dyndns
);
$main_buttons
=
array
(
array
(
'label'
=>
gettext
(
'Add'
),
'href'
=>
'services_dyndns_edit.php'
),
array
(
'label'
=>
gettext
(
'Add'
),
'href'
=>
'services_dyndns_edit.php'
),
);
?>
?>
<body>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
...
...
@@ -78,7 +84,7 @@ $main_buttons = array(
var
id
=
$
(
this
).
data
(
"
id
"
);
BootstrapDialog
.
show
({
type
:
BootstrapDialog
.
TYPE_DANGER
,
title
:
"
<?=
gettext
(
"DynDNS"
);
?>
"
,
title
:
"
<?=
gettext
(
"Dyn
amic
DNS"
);
?>
"
,
message
:
"
<?=
gettext
(
"Do you really want to delete this entry?"
);
?>
"
,
buttons
:
[{
label
:
"
<?=
gettext
(
"No"
);
?>
"
,
...
...
src/www/services_dyndns_edit.php
View file @
26032f66
...
...
@@ -30,6 +30,7 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
)
;
require_once
(
"interfaces.inc"
);
require_once
(
"system.inc"
);
require_once
(
"plugins.inc.d/dyndns.inc"
);
/* returns true if $uname is a valid dynamic DNS username */
...
...
@@ -162,17 +163,22 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
write_config
();
dyndns_configure_client
(
$dyndns
);
system_cron_configure
();
if
(
$dyndns
[
'force'
])
{
dyndns_configure_client
(
$dyndns
);
}
header
(
url_safe
(
'Location: /services_dyndns.php'
));
exit
;
}
}
legacy_html_escape_form_data
(
$pconfig
);
include
(
"head.inc"
);
?>
?>
<body>
<?php
include
(
"fbegin.inc"
);
?>
<script
type=
"text/javascript"
>
...
...
src/www/services_rfc2136.php
View file @
26032f66
...
...
@@ -30,6 +30,8 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
require_once
(
"system.inc"
);
require_once
(
"plugins.inc.d/rfc2136.inc"
);
if
(
!
isset
(
$config
[
'dnsupdates'
][
'dnsupdate'
]))
{
$config
[
'dnsupdates'
][
'dnsupdate'
]
=
array
();
...
...
@@ -42,7 +44,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if
(
!
empty
(
$a_rfc2136
[
$_POST
[
'id'
]]))
{
unset
(
$a_rfc2136
[
$_POST
[
'id'
]]);
write_config
();
configd_run
(
'dyndns reload'
,
true
);
system_cron_configure
(
);
}
exit
;
}
elseif
(
isset
(
$_POST
[
'act'
])
&&
$_POST
[
'act'
]
==
"toggle"
&&
isset
(
$_POST
[
'id'
]))
{
...
...
@@ -53,20 +55,24 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$a_rfc2136
[
$_POST
[
'id'
]][
'enable'
]
=
true
;
}
write_config
();
configd_run
(
'dyndns reload'
,
true
);
system_cron_configure
();
if
(
!
empty
(
$a_rfc2136
[
$_POST
[
'id'
]][
'enable'
]))
{
rfc2136_configure_do
(
false
,
''
,
$a_rfc2136
[
$_POST
[
'id'
]][
'host'
],
true
);
}
}
exit
;
}
}
include
(
"head.inc"
);
legacy_html_escape_form_data
(
$a_rfc2136
);
$main_buttons
=
array
(
array
(
'label'
=>
gettext
(
'Add'
),
'href'
=>
'services_rfc2136_edit.php'
),
);
?>
?>
<body>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
...
...
src/www/services_rfc2136_edit.php
View file @
26032f66
...
...
@@ -29,7 +29,9 @@
require_once
(
"guiconfig.inc"
);
require_once
(
"services.inc"
);
require_once
(
"system.inc"
);
require_once
(
"interfaces.inc"
);
require_once
(
"plugins.inc.d/rfc2136.inc"
);
if
(
!
isset
(
$config
[
'dnsupdates'
][
'dnsupdate'
]))
{
$config
[
'dnsupdates'
][
'dnsupdate'
]
=
array
();
...
...
@@ -109,12 +111,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
write_config
(
'New/Edited RFC2136 dnsupdate entry was posted'
);
system_cron_configure
();
if
(
!
empty
(
$pconfig
[
'force'
]))
{
rfc2136_configure_do
(
false
,
''
,
$rfc2136
[
'host'
],
true
);
}
else
{
rfc2136_configure_do
();
}
header
(
url_safe
(
'Location: /services_rfc2136.php'
));
exit
;
}
...
...
@@ -246,8 +248,8 @@ include("head.inc");
<td>
</td>
<td>
<input
name=
"save"
type=
"submit"
class=
"btn btn-primary"
value=
"
<?=
gettext
(
"Save"
);
?>
"
onclick=
"enable_change(true)"
/>
<input
name=
"force"
type=
"submit"
class=
"btn btn-primary"
value=
"
<?=
gettext
(
"Save & Force Update"
);
?>
"
onclick=
"enable_change(true)"
/>
<a
href=
"services_rfc2136.php"
><input
name=
"Cancel"
type=
"button"
class=
"btn btn-default"
value=
"
<?=
gettext
(
"Cancel"
);
?>
"
/></a>
<input
name=
"force"
type=
"submit"
class=
"btn btn-default"
value=
"
<?=
gettext
(
"Save & Force Update"
);
?>
"
onclick=
"enable_change(true)"
/>
<?php
if
(
isset
(
$id
))
:
?>
<input
name=
"id"
type=
"hidden"
value=
"
<?=
$id
;
?>
"
/>
<?php
endif
;
?>
...
...
src/www/system_gateway_groups.php
View file @
26032f66
...
...
@@ -58,6 +58,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$retval
=
system_routing_configure
();
configd_run
(
'dyndns reload'
);
configd_run
(
'rfc2136 reload'
);
configd_run
(
'ipsecdns reload'
);
configd_run
(
'filter reload'
);
...
...
src/www/widgets/include/dyn_dns_status.inc
View file @
26032f66
<?php
$dyn_dns_status_title
=
gettext
(
'DynDNS'
);
$dyn_dns_status_title
=
gettext
(
'Dyn
amic
DNS'
);
$dyn_dns_status_title_link
=
'services_dyndns.php'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment