Jump to content

Tormanager


Challenger

Recommended Posts

Tor Manager - V1.0

As I mentioned before this is my first attempt at a module and it's not been an easy ride. The code aspect was a piece of cake - what was not was getting Tor to actually work well on the Pineapple. It turns out that relatively speaking to the Pineapple's resources the Tor client requires huge amounts of memory and storage! This module is USB install only as although the Bar will say it's size is probably under 2MB once Tor caches it's descriptors the final size is around 6MB which is of course too much for the internal flash. When running it also uses lots of RAM so don't expect to run much else at the same time.

Originally I was playing around with getting the module to install tor and it's dependencies with opkg but after extensive testing I thought that it would be better to just include a copy of tor so that there would be an indication as to why it needs to be installed on USB storage. The other thinking behind this is it makes the module cleaner to uninstall without leaving anything behind on the system.

Features:

- Tor Socks Proxy support

- Easy editing of SocksPort and SocksListenAddress

- "Run on Boot" mode for automatically starting Tor

- Bootstrapping progress indicator

Questions I know will come up:

Why is my socks connection is not loading anything? / Why does Tor take so long to start?

It seems that due to the limited RAM Tor takes a VERY long time to initiate a connection to the Tor network. You'll notice particularly the first connection takes upwards of 15minutes. Subsequent connections even after a reboot should be much quicker - even so it can still take 5minutes or so to fully establish a connection. You don't know how many times in development this completely messed around with me making me thing that Tor just wasn't working at all! I have included a progress indicator on the module page so you can check if it's actually attempting to connect or not. Once connected however webpage loading times are not too bad - the Tor network isn't particularly quick anyhow so don't expect massive amounts of throughput.

What's this message about my Clock settings?

Tor requires that your system clock is set correctly in order to establish connections to nodes. If you continually receive this message then you might have to upgrade to a newer firmware version as there were issues with the clock not updating correctly. I've done most of my testing on 2.6.3 which seems to work well but the current stable (2.5.0) also works. I have also set up the "Run on Boot" mode so it will wait until the clock is set correctly before launching the Tor client - so do expect the module page to say that Tor is not running for the first few minutes after boot even if "Run on Boot" is enabled.

Your code sucks!

Yes I know in places my code is a bit messy and hacky. It's been a while since I've done any PHP and hence it's not my best - please do however advise me where the module could be optimised and improved.

Where is XYZ feature?

This was a quick "get me back into PHP" version of the module. I do intend to add some more features in the future - for instance I want to get Transparent Tor working and might play around with Relay configurations.

Screenshot:

tormanager.jpg

Edited by Challenger
Link to comment
Share on other sites

This sounds great Challenger! This has been on the communities "To Do" list for a while now! Do you have any screenshots of your work in progress? I'm sure many of us would like to take a sneak peek if possible. Cant wait to check it out

telot

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...