-
Notifications
You must be signed in to change notification settings - Fork 726
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
Is there any method to ensure security in Flashing avr remotely? #367
Comments
+1 |
Hi, @szjiajin , regarding your q2 - It is posible by setting correct routes on all involved gateways. For example, my setup: ESP12 ---> BlackSwift Board (OpenWrt) ---> Room's wifi (OpenWrt) ---> Main GW ---> Internet ESP12: 10.10.20.55 from BlackSwift (std dhcp alloc) To reach ESP12 (10.10.20.55) from my PC (10.10.10.222) I do once: My PC # route add 10.10.20.0/24 gw 10.10.10.123 Now My PC know where to route packets for ESP12 and involved Room's wifi also know where to find ESP12's network By adding same route as on on My PC to Main GW will allow to reach ESP12 from Internet (well, not so good idea because of yours q1, but ssh tunneling can help here) Hope this helps :) Best regards, |
Hello, A way I tested: change the reset pin, this can be done in the configuration page of the esp-link, in Pin assignment. The default for the ESP-01 is in GPIO2, but can be disabled, or changed to another pin as GPIO0. Another way would be for the avr to intercept or block access to the reset, this needs a specific hardware scheme, but it might allow for password deployment, avr could receive a password via serial port to enable access to the reset. Without access to the reset pin, avrdude informs the wrong parameter and the programmer does not respond. On the internet, the cool thing would be to be able to read email and download the attached update file. I do not know if the ESP8266 has this capability. |
Have a look at my "Security Pin" idea: |
I have spent some time learning this module and I have to say it is very useful! Thank you for all the hard work. I have two questions in my mind right now.
Thank you in advance!
The text was updated successfully, but these errors were encountered: