DDNS Updater DDNS Updater mit 4.3 Beta "403 Forbidden"

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.

andim2272

Benutzer
Registriert
17. Apr. 2010
Beiträge
62
Reaktionspunkte
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.
 
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:
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.
 
Mit diesem Workaround funktioniert der DDNS updater auch wieder in jedem Browser.
 
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 !
 
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.
 
Many thanks !!
Is there a plan to have a fix in DDNS updater ?
 
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.
 
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
 
I have disabled the option but it is still giving "403 Forbidden" ...
 
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.
 
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 "
 
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