1

Tor has some really amazing features such as NAT Punching Feature which allows a unique relatively secret .onion URL which can be accessed form anywhere in the world via Tor network. This has tremendous potential in the world of Iot and various Wireless Sensor Network applications.

I would like to know if there is currently any mechanism (perhaps a support package for arduino like MCUs) for a microcontroller and a small ESP8266 WiFi SoC to be a part of the awesome Tor network.

Is there anyone working on this type of work?

Secondly, I would also like to know your opinions about this type of work in case if you happen to answer the question.

2
  • 1
    I've done this a lot using the Raspberry Pi. It's easy to set up hidden web servers etc. It would be nice to be able to use Tor from smaller devices such as the ESP8266 though.
    – AutoBleep
    Commented Nov 3, 2018 at 11:40
  • An implementation of Tor for the ESP32 would be amaizing!
    – Denis
    Commented Nov 29, 2018 at 9:29

2 Answers 2

2

I released a Tor implementation based on ESP32. I have done it for educational purposes and the code is in modern C++ based on IDF framework. Lack of resources was an hard issue, however it works very well if you do not search for performances. I think this is the first project on Tor/IOT topic :) Take a look: https://github.com/briand-hub/toresp32

1

It's hardly possible due to the lack of resources on board: 256 or 512 Mb of RAM is a requirement for running Tor and Linux image.

UPDATE: there're a devices like PCDuino - so they're a perfect choice for Tor and IoT, 100% Arduino compatible, this one will be just awesome, I think.

7
  • 1
    we could run c code without running linux. we can go bare metal. Im just sayin.
    – Denis
    Commented Jan 15, 2017 at 11:49
  • 1
    You really don't need anywhere near that much RAM, e.g. PORTAL says 32MB of RAM is sufficient, but recommends 64MB.
    – cacahuatl
    Commented Jan 15, 2017 at 18:35
  • 1
    Cache-less operation is a bad idea in matters of speed and stability. If something is possible physically it doesn't mean that it works
    – Alexey Vesnin
    Commented Jan 15, 2017 at 21:42
  • 1
    @Qwertylicious I know, I'm playing with STM and other arm chips myself. Tor will launch kernel less, but it needs a cache memory, and here goes the problem. Either you do a paging, or using a very slow SPI memory
    – Alexey Vesnin
    Commented Jan 15, 2017 at 21:45
  • 1
    @canonizingironize even PORTAL states that 16Mb system is "almost unuseable", and - as far as I know - the maximum amount of RAM is 64Mb on Arduino Yun. But even using PORTAL - keep in mind that it's OpenWRT-based package, so - it will boot up and run, the question is how much resources will be left for the device's functionality itself
    – Alexey Vesnin
    Commented Jan 15, 2017 at 23:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .