Hi Tom,
Second issue:
This is not a bug, this is intentional. I have been re-writing sections of the portal to
enhance security following several hacking attempts. One insecure script I found when I
audited the system was the getdata.php script. It has been re-written to be secure, You
should not have been able to access the encap file directly from it in the first place,
that kind of access was never documented, nor was it ever intended to be used like that.
The correct way to access the encap file remotely by script, is via FTP. I have had a
couple of people asking about an API which I may introduce at a later stage, but for now
you should access the encap file via FTP.
Regards,
Chris
Something changed with the encap file download
process. The script
that builds our IPIP tunnels uses "curl
https://portal.ampr.org/getdata.php" to download the encap data. A few
days ago this was working just fine. Now the returned file is empty.
Loading that url with a web browser also returns an empty page.
However, if I click the "download encap" link at
https://portal.ampr.org/gateways_list.php, it works fine. Some funky
session bug, I assume.
Please fix this issue, or point me towards the documentation that
explains a better way to get the encap data.