Tor and privoxy had been ported to iphone and works very well.

cjacker huang cjacker at gmail.com
Mon Dec 24 08:59:58 UTC 2007


I had check it out.

use libevent-1.3d compiles with:
CFLAGS=-D__DARWIN_UNIX03 ./configure --host=arm-apple-darwin --disable-shared

I find that this is a typo  at line 34 in configure.in
It should be -D__DARWIN_UNIX03 instead of -D__DARWIN_UINX03

after that it had been compiled with:
./configure --host=arm-apple-darwin --enable-iphone

when I run it at iphone, get search result:

./tor
Dec 24 16:55:09.146 [notice] Tor v0.2.0.14-alpha-dev. This is
experimental software. Do not rely on it for strong anonymity.
(Running on Darwin iPhone1,1)
Dec 24 16:55:09.169 [notice] Initialized libevent version 1.3d using
method poll. Good.
Dec 24 16:55:09.170 [notice] Opening Socks listener on 127.0.0.1:9050
Dec 24 16:55:09.179 [warn] You are running Tor as root. You don't need
to, and you probably shouldn't.
Dec 24 16:55:21.464 [notice] I learned some more directory
information, but not enough to build a circuit: We have no
network-status consensus.
Dec 24 16:55:28.940 [notice] No current certificate known for
authority moria1; launching request.
Dec 24 16:55:28.941 [notice] No current certificate known for
authority tor26; launching request.
Dec 24 16:55:28.941 [notice] No current certificate known for
authority lefkada; launching request.
Dec 24 16:55:28.941 [notice] No current certificate known for
authority ides; launching request.
Dec 24 16:55:36.384 [err] Bug: connection.c:2943:
assert_connection_ok: Assertion conn->purpose >= _DIR_PURPOSE_MIN
failed; aborting.
connection.c:2943 assert_connection_ok: Assertion conn->purpose >=
_DIR_PURPOSE_MIN failed; aborting.
zsh: abort      ./tor

On Dec 24, 2007 2:32 AM, Nick Mathewson <nickm at freehaven.net> wrote:
> On Sun, Dec 23, 2007 at 04:09:12PM +0800, cjacker huang wrote:
>  [...]
>
> Okay, I've checked in a version of your patch as r12946 in subversion
> trunk.  If you can check out the subversion repository from
> https://tor-svn.freehaven.net/svn/tor/trunk , could you let me know
> whether it works for you?
>
> (Instead of skipping the tests when running in iphone mode, I tried to
> use autoconf's cross compilation support correctly, but I might have
> messed up.)
>
> Many thanks,
> --
> Nick
>
>



-- 
This is Cjacker.



More information about the tor-dev mailing list