Code Monkey home page Code Monkey logo

Comments (5)

nemesifier avatar nemesifier commented on August 28, 2024

seems like intended behaviour, if you delete the device from the openwisp2 database, the checksum and download config operations will return 404 because won't find any device with that UUID and key, if you want the device to register again you have to restore its shared secret

from openwisp-controller.

okraits avatar okraits commented on August 28, 2024

Yes, you have to restore the shared secret and unset the uuid and key, then the client is able to register the device again.

It doesn't prevent stolen devices from re-registering here either because the default config is still available in ROM.

I'm closing this issue as this is intended behaviour.

from openwisp-controller.

nemesifier avatar nemesifier commented on August 28, 2024

True, stolen devices can be problematic. A solution to that could be to modify the firmware image in order to have a strong password configured for the failsafe mode, do you think that's doable?

from openwisp-controller.

okraits avatar okraits commented on August 28, 2024

In our images there's even no failsafe mode available :-) If you're interested I can find out how that is done.

Regarding the lock out of stolen devices, I guess we have to store the openwisp-config configuration file (and thus the shared secret) in the overlay so that it can't be restored from ROM.

Another thing to consider for such a lock-out feature would be that locked-out devices can't establish a VPN connection anymore. What do you think about that?

from openwisp-controller.

nemesifier avatar nemesifier commented on August 28, 2024

The VPN lock out can be done by revoking the certificate from the OpenWISP web UI, but the openvpn server must be configured in order to preiodically download the CRL from OpenWISP and reload the openvpn config accordingly when a change is detected.

from openwisp-controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.