You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run the upgrade manually I'm getting this log:
$ sudo fwconsole ma upgradeall
No repos specified, using: [standard] from last GUI settings
In modulefunctions.class.php line 152:
Unable to Parse XML response from Mirror. See the log for more details
moduleadmin [-f|--force] [-d|--debug] [--edge] [--ignorecache] [--stable] [--color] [--skipchown] [-e|--autoenable] [--skipdisabled] [--snapshot SNAPSHOT] [--format FORMAT] [-R|--repo REPO] [-t|--tag TAG] [--skipbreakingcheck] [--sendemail] [--onlystdout] [--] [<args>...]
By modifying the /var/www/html/admin/libraries/modulefunctions.class.php and checking what's being downloaded I've found out that while trying to download the https://mirror.freepbx.org/all-17.0.xml it's being blocked by DDoS protection or something and it's downloading Captcha page instead of xml file.
The same Captcha page is downloaded if I download the xml file using curl over Tor:
curl https://mirror.freepbx.org/all-17.0.xml
But if I download the xml file using Firefox over Tor then I'm not getting a Captcha and I can access the xml file.
Is it possible to modify the DDoS protection settings on https://mirror.freepbx.org to allow downloading over Tor?
Or maybe modify the source code to use User Agent and headers for HTTP request in the same way as Firefox so it won't be blocked by protection?
Operating Environment
Debian 12, FreePBX Framework 17.0
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
FreePBX Version
FreePBX 17
Issue Description
I'm trying to install FreePBX 17 in Debian 12 VM using this script:
https://github.com/FreePBX/sng_freepbx_debian_install
VM is connected to the internet over Tor.
The install is failing at this step:
Trying to run the upgrade manually I'm getting this log:
By modifying the
/var/www/html/admin/libraries/modulefunctions.class.php
and checking what's being downloaded I've found out that while trying to download thehttps://mirror.freepbx.org/all-17.0.xml
it's being blocked by DDoS protection or something and it's downloading Captcha page instead of xml file.The same Captcha page is downloaded if I download the xml file using curl over Tor:
But if I download the xml file using Firefox over Tor then I'm not getting a Captcha and I can access the xml file.
Is it possible to modify the DDoS protection settings on https://mirror.freepbx.org to allow downloading over Tor?
Or maybe modify the source code to use User Agent and headers for HTTP request in the same way as Firefox so it won't be blocked by protection?
Operating Environment
Debian 12, FreePBX Framework 17.0
Relevant log output
No response
The text was updated successfully, but these errors were encountered: