Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request not from admin network (flask.json) #1222

Closed
ruirigel opened this issue Apr 13, 2024 · 1 comment
Closed

Request not from admin network (flask.json) #1222

ruirigel opened this issue Apr 13, 2024 · 1 comment

Comments

@ruirigel
Copy link

I can't flush the images and time lapses because I'm accessing the panel remotely, outside the network. As I have little space on the SDcard, how can I stop the app from saving the images but still showing them in Latest? or How can I flush if I'm not on the same network as the machine?

Thank you,
Rui

Captura de ecrã 2024-04-13 113055

@aaronwmorris
Copy link
Owner

This is just an additional safety mechanism I added to prevent unauthorized deleting of files. Most times this is because your traffic is being connected via IPv6. In the newer releases of indi-allsky, I added better dynamic detection of your local networks for both IPv4 and IPv6 so this has become less of a problem.

You can override this check by adding 0.0.0.0/0 and ::/0 to /etc/indi-allsky/flask.json in the ADMIN_NETWORKS variable.

  "ADMIN_NETWORKS": [
    "10.0.0.0/8",
    "192.168.0.0/16",
    "172.16.0.0/12",
    "169.254.0.0/16",
    "fe80::/64",
    "127.0.0.1/32",
    "::1/128",
    "0.0.0.0/0",
    "::/0"
  ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants