DDNS Updater DDNS Updater mit 4.3 Beta "403 Forbidden"

Status
Für weitere Antworten geschlossen.

andim2272

Benutzer
Mitglied seit
17. Apr 2010
Beiträge
62
Punkte für Reaktionen
0
Punkte
12
Habe heute die 4.3 Beta auf meiner DS710 installiert, seit dem kommt nur noch die Fehlermeldung "403 Forbidden" wenn man den DDNS Updater aufruft.
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
13
Punkte
84
das ist ein Bug/Feature von DSM 4.3, bin noch am analysieren und werde es dann an Synology melden siehe http://www.synology-forum.de/showth...-Probleme-Bugs&p=345168&viewfull=1#post345168

als Workaround die ddnsupdater.php öffnen und die markierten Zeilen auskommentieren:

Rich (BBCode):
$user = exec('/usr/syno/synoman/webman/modules/authenticate.cgi');
if ($user === '') {
     exit("403 Forbidden");
}
print '<script type="text/javascript" src="scripts/check_appprivilege.js"></script>';
Damit wird aber der Schutz aufgehoben und jeder kann den DDNS updater auch ohne im DSM angemeldet zu sein öffnen, auch von ausserhalb!
 
Zuletzt bearbeitet:

andim2272

Benutzer
Mitglied seit
17. Apr 2010
Beiträge
62
Punkte für Reaktionen
0
Punkte
12
Na sagen wir mal so der DDNS-Updater läuft das konnte ich mit dem Tablett sehen, den da kann ich DDNS-Updater aufrufen und bearbeiten.
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
13
Punkte
84
Mit diesem Workaround funktioniert der DDNS updater auch wieder in jedem Browser.
 

fa355115

Benutzer
Mitglied seit
29. Jan 2012
Beiträge
27
Punkte für Reaktionen
0
Punkte
0
sorry I only speak french / English, and I also have this isuse.
Where is final fix going to come from ? DDNSUpdater or Synology ?
What is the current fix (I do not undertand what is mentioned here above ...)

Many Thanks !
 

Rangers

Benutzer
Mitglied seit
09. Sep 2013
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Hi fa355115,

it seems Synology changed the user-authenticaton so the ddns-updater can not verify you are allowed to access.

PHP:
$user = exec('/usr/syno/synoman/webman/modules/authenticate.cgi');

One workarround is to set some lines of code as comment, but this has the effect, there is no verification.
To do this you have to set the following lines in comment (//)

change them from:
PHP:
$user = exec('/usr/syno/synoman/webman/modules/authenticate.cgi');
if ($user === '') {
     exit("403 Forbidden");
}

to
PHP:
$user = exec('/usr/syno/synoman/webman/modules/authenticate.cgi');
//if ($user === '') {
//     exit("403 Forbidden");
//}
I just tried it and it works.

You can edit the ddnsupdater.php with following commands

open
Rich (BBCode):
vi /usr/syno/synoman/webman/3rdparty/ddnsupdater/ddnsupdater.php

change in edit-mode
Rich (BBCode):
i [return]

exit edit-mode
Rich (BBCode):
[ctrl]+[c]

save file
Rich (BBCode):
:w [return]

exit vi
Rich (BBCode):
:q [return]

I hope I could help you.
 

fa355115

Benutzer
Mitglied seit
29. Jan 2012
Beiträge
27
Punkte für Reaktionen
0
Punkte
0
Many thanks !!
Is there a plan to have a fix in DDNS updater ?
 

Rangers

Benutzer
Mitglied seit
09. Sep 2013
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
I don't know. I had just the same problem, found that workaround and saw you have the same problem but can't understand the german text and just translated and explained it but I don't know when there is an update for ddns-updater. QTip wanted to analyse the problem and send it to Synology. But all 3rdparty-apps have the problem with the authentication.
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
13
Punkte
84
pls disable "Improve protection against cross-site request forgery attacks" in dsm settings - security. The next version of DDNS updater are able to run with this feature enabled
 

fa355115

Benutzer
Mitglied seit
29. Jan 2012
Beiträge
27
Punkte für Reaktionen
0
Punkte
0
I have disabled the option but it is still giving "403 Forbidden" ...
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
13
Punkte
84
you must logout/login in dsm to disable this feature completly.
Additionally, if you are not the admin, then login as admin, go to control panel - application portal and activate DDNS updater for the desired user.
 

fa355115

Benutzer
Mitglied seit
29. Jan 2012
Beiträge
27
Punkte für Reaktionen
0
Punkte
0
It is working fine ... maybe takes longer to display the DDNS Updater information ?
anyway ...


Is this still the correct package source I need to use to be informed when a new DDNS Updater version is available ?

"http://update.10trum.de/packageupdate/getpackages.php "
 

QTip

Super-Moderator
Teammitglied
Mitglied seit
04. Sep 2008
Beiträge
2.341
Punkte für Reaktionen
13
Punkte
84
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat