[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Tor server crashes on a Linksys WRT54GL
- To: or-talk@xxxxxxxxxxxxx
- Subject: Re: Tor server crashes on a Linksys WRT54GL
- From: "Alexander W. Janssen" <alexander.janssen@xxxxxxxxx>
- Date: Wed, 14 Mar 2007 12:46:39 +0100
- Delivered-to: firstname.lastname@example.org
- Delivered-to: email@example.com
- Delivered-to: firstname.lastname@example.org
- Delivery-date: Wed, 14 Mar 2007 07:47:03 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KANubQVumj44wvyGX8ixud85KTq4qExU3r8BWe16tdeO/Nh259COLZgd6nWQqSrxHHUIguBvb3Zd0FjgvjFbtalGJCLpXphnRBHxcmOfyLmM7pOOo1EINs6RTxa81l7K67/UrhYlFyYkKf92CTBiZYVCVtNe+qrIH1L19a5oEm4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XpzVNYgLmgUkRfAhqwI14O/pje9IL/n0HOkS0iHeeHJhccNCeH/xhyi4+HY+KTETYfeomKMHe6lZ0hJfDGR0h5rlLTgP9C7KQ7zgJ0dN713XzsRzIAE4OTVs1Xlld98zZCN0/abeWEH3QRKkH0ZE8Ud3Yqg/lueiy3ugZjKBlFk=
- In-reply-to: <email@example.com>
- References: <firstname.lastname@example.org> <20070314072014.GO28282@moria.seul.org> <email@example.com>
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
Well what you could do is remote-debugging.
Follow instructions to build gdb-sever for OpenWRT:
Run gdb-server on your WRT:
# gdb-server $ip:12345 /path/to/tor $myoptions
(Tor won't start immediately but will wait for a "cont" on the remote-debugger)
Set ulmits and run gdb an another machine on the network:
$ ulimit -c unlimited # or whatever you consider a sane value
(gdb) target remote $ip:12345 # connect to WRT
(gdb) cont # run Tor
...wait for crash and note output...
(Note: In the referenced URL above are more architecture-specific
notes for the WRT. I haven't tried this myself)
No idea if that will result in anything, but it might give some
information about what's really going on - like if it's a memory-issue
or something else. If the programm crashes with a SEGFAULT or
something, type "bt" in the remote gdb-session to show the backtrace.
Will be a lot of work, but maybe it's worth it.
HTH, cheers, Alex.
On 3/14/07, Mark Furner <mfurner@xxxxxxxxxx> wrote:
The WRT54GL has about 16MB RAM. I was using an OpenWRT package of TOR version,
0.1.0.17. There is no gcc etc. on the box, and I doubt whether the thing
could be compiled on it: will TOR run on such as puny system?
Thanks for the tips about bandwidth changes. If I ever get this thing working,
I could donate more bandwidth when I ought be sleeping...
BTW nmap can scan higher port nos if you set with a port range (-p1-65535 )
but I take your point about netstat (on the box itself).
Thanks for the tips
On Wednesday 14 March 2007 08:20, Roger Dingledine (Roger Dingledine
<arma@xxxxxxx>) may have written:
> On Wed, Mar 14, 2007 at 07:57:24AM +0100, Mark Furner wrote:
> > I am experimenting with a tor server on my Linux router, but it starts 5
> > processes and hogs all my CPU before crashing.
> Try the 0.1.2.10-rc release -- it will start only 2 processes and then
> hog all your cpu. ;)
> > I am using a Linksys WRT54GL
> > with OpenWRT (White Russian RC6).
> How much ram does your linksys have? I hear they have been selling them
> with less and less ram to discourage people from using them for anything,
> so the newer it is the less likely it will run Tor (or heck, Linux) well.
> > An nmap scan did not show the port open (I
> > have opened TCP ports 9001 and 9030 on my firewall). Any tips so I can
> > get this working?
> nmap won't scan all the ports. It is the wrong tool for that purpose.
> Try netstat instead.
> > I would like to donate more bandwidth during the night, and think I could
> > start/stop the tor server with a different torrc config file. If someone
> > has a better idea how to do this, then please also let me know.
> You may find
> > Thanks for any help or pointers,
> Good luck,
Mark Furner, PhD
CH 8400 Winterthur
T. 0041 (0)78 641 15 92
"I am tired of all this sort of thing called science here... We have spent
millions in that sort of thing for the last few years, and it is time it
should be stopped."
-- Simon Cameron, U.S. Senator, on the Smithsonian Institute, 1901.