Hi there,<br><br>My goal is to run Tor on small cluster of embedded mips devices.<br>Because the platform runs on an older version of OpenSSL and libevent I have chosen to statically link them with Tor.<br><br>So I went ahead to compile the components.<br>
I'm aiming at the beta version: 0.2.3.17<br><br>OpenSSL 1.0.1c has been build with:<br>./Configure debian-mipsel shared enable-tlsext zlib-dynamic no-ssl2<br><br><br>libevent-2.0.19-stable has been built with:<br>./configure --enable-openssl --disable-debug-mode --with-pic<br>
<br>And of course Tor:<br><br>./configure --prefix=/usr --libdir=/usr/lib --localstatedir=/var --sysconfdir=/etc \<br>--with-zlib-dir=/home/mastag/build-mipsel/tmp/staging/mipsel-linux/lib \<br>--with-openssl-dir=/home/mastag/build-mipsel/tmp/staging/mipsel-linux/lib \<br>
--with-libevent-dir=/home/mastag/build-mipsel/tmp/staging/mipsel-linux/lib \<br>--disable-asciidoc --enable-static-openssl --enable-static-libevent \<br>--host=mipsel-linux --with-libnatpmp-dir=/home/mastag/build-mipsel/tmp/staging/mipsel-linux/lib \<br>
--with-libminiupnpc-dir=/home/mastag/build-mipsel/tmp/staging/mipsel-linux/lib \<br>--enable-upnp --enable-nat-pmp --enable-bufferevents \<br>CPPFLAGS="-I/home/mastag/openpli/build-dm800/tmp/staging/mipsel-linux/include"<br>
<br>This produces the src/or/Tor binary which runs great on the cluster.<br>Only it's giving me the following messages:<br><br>Jun 21 23:02:12.000 [notice] Tor 0.2.3.17-beta opening new log file.<br>Jun 21 23:02:12.000 [warn] You are running Tor as root. You don't need to, and you probably shouldn't.<br>
Jun 21 23:02:13.000 [notice] No AES engine found; using AES_* functions.<br>Jun 21 23:02:13.000 [notice] This OpenSSL has a good implementation of counter mode; using it.<br>Jun 21 23:02:15.000 [notice] OpenSSL OpenSSL 1.0.1c 10 May 2012 looks like version 0.9.8m or later; I will try SSL_OP to enable renegotiation<br>
Jun 21 23:02:37.000 [notice] Reloaded microdescriptor cache.  Found 4807 descriptors.<br>Jun 21 23:02:42.000 [notice] We now have enough directory information to build circuits.<br>Jun 21 23:02:42.000 [notice] Bootstrapped 80%: Connecting to the Tor network.<br>
Jun 21 23:02:43.000 [notice] Heartbeat: Tor's uptime is 0:00 hours, with 1 circuits open. I've sent 0 kB and received 0 kB.<br>Jun 21 23:02:43.000 [notice] Bootstrapped 85%: Finishing handshake with first hop.<br>
Jun 21 23:02:43.000 [warn] TLS error while creating tor_tls_t object: could not load the shared library (in DSO support routines:DLFCN_LOAD:---)<br>Jun 21 23:02:43.000 [warn] TLS error while creating tor_tls_t object: could not load the shared library (in DSO support routines:DSO_load:---)<br>
Jun 21 23:02:47.000 [notice] Bootstrapped 90%: Establishing a Tor circuit.<br>Jun 21 23:02:53.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.<br>Jun 21 23:02:53.000 [notice] Bootstrapped 100%: Done.<br>
<br>The warning about the AES engine is probably because OpenSSL has no engine for mips.<br>However the following two lines bother me:<br><br>[warn] TLS error while creating tor_tls_t object: could not load the shared library (in DSO support routines:DLFCN_LOAD:---)<br>
[warn] TLS error while creating tor_tls_t object: 
could not load the shared library (in DSO support routines:DSO_load:---)<br><br>Any way to get rid of these?<br>I did compile OpenSSL with "enable-tlsext" so I don't understand why it warns me about it.<br>
<br>Thanks in advance!<br><br>