Tor on the iPhone

2010-05-16 Thread Marco Bonetti

Topic changed to stop the old thread hijack :)

On 16/mag/2010, at 11.37, w waterwai...@gmx.com wrote:


Fantastic Marco

Thanks!


A few questions:

1) The iPhone, especially the basic 3G model, seem pretty strapped  
for free resources (RAM and CPU cycles)... How does Tor fare with  
those limitations? How much RAM does it really need anyway?
I only have a 3gs model, but I got successful reports from at least an  
iPod touch user, I'd say the hardware is ok to run Tor, at least as a  
client only: keep in mind the program successfully run as a bridge on  
a 64mb ram chumby one



2) Is Privoxy/Polipo needed for iPhone apps?

Yes, iPhone os does not support socks proxies in the network settings.
Said that, I only tested tor with mobile safari so far, don't really  
know if other applications will honor those settings (think so, thought)



3) How does the Tor background process affect battery life?
Backgrounding itself is completely negligent, what affects the battery  
life are cryptography operations tor will ask the CPU to carry out,


--
Sent from my iPwn
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: Tor on the iPhone

2010-05-16 Thread w
Interesting. Well, I ask this one because I've always found that my battery 
drains the fastest when using the 3G or EDGE connection. Significantly faster 
than playing an intensive 3D game, even...

.w





On May 16, 2010, at 5:57 AM, Marco Bonetti wrote:

 Backgrounding itself is completely negligent, what affects the battery life 
 are cryptography operations tor will ask the CPU to carry out,

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: Bringing back Tor on the iPhone - take 2

2010-02-05 Thread Marco Bonetti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Nick Mathewson wrote:
 That matches with my impressions of it.  All it does is define
 __DARWIN_UNIX03 and IPHONE.  The only place in Tor that looks at
 IPHONE is set_max_file_descriptors, where instead of defaulting to
 asking for 15000 connections, it only asks for .  If the define
 and the fd limit change aren't needed any more, let's kill them.
- From my tests, I can assure it is no longer needed on firmware 3.1.2, it
would be nice if someone else will be able to provide some more data.

- --
Marco Bonetti
Tor research and other stuff: http://sid77.slackware.it/
Slackintosh Linux Project Developer: http://workaround.ch/
Linux-live for powerpc: http://workaround.ch/pub/rsync/mb/linux-live/

My GnuPG key id: 0x0B60BC5F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktspOwACgkQTYvJ9gtgvF+JlACgrofUxtg6NApq5Ojab398mCnZ
YMgAn2eTo5tejA66vIkpUNQbby3i77Yc
=Heoz
-END PGP SIGNATURE-
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: Bringing back Tor on the iPhone - take 2

2010-02-04 Thread Marco Bonetti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I spent some time polishing the build scripts and creating a repository:
if you want to try it out, take a look at http://sid77.slackware.it/iphone/
Right now it only hosts a copy of Tor, libevent and polipo.
You've to start the programs manually from the command line but they
work quite good: I did some tests and I was able to relay traffic and
host hidden services.

I hope you'll find them useful,
ciao

- --
Marco Bonetti
Tor research and other stuff: http://sid77.slackware.it/
Slackintosh Linux Project Developer: http://workaround.ch/
Linux-live for powerpc: http://workaround.ch/pub/rsync/mb/linux-live/

My GnuPG key id: 0x0B60BC5F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktrVzgACgkQTYvJ9gtgvF8RcgCZAVvsR7wqFWDjGSwX3lAjbVi3
k7wAn32vBcK+Db/d8el53Z3xODKA7akL
=9iQP
-END PGP SIGNATURE-
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: Bringing back Tor on the iPhone - take 2

2010-02-04 Thread Nick Mathewson
On Tue, Feb 2, 2010 at 8:13 AM, Marco Bonetti
marco.bone...@slackware.it wrote:
 [...]
 1) strictly related to tor: I build the latest stable release *WITHOUT*
 the --enable-iphone switch. As I can understand from the post linked
 above, that option will jusr add some compiler flags needed only by
 older version of the iphone toolchain/firmware and I think that probably
 they could be removed as no longer necessary. Does anyone know something
 more on that patch?

That matches with my impressions of it.  All it does is define
__DARWIN_UNIX03 and IPHONE.  The only place in Tor that looks at
IPHONE is set_max_file_descriptors, where instead of defaulting to
asking for 15000 connections, it only asks for .  If the define
and the fd limit change aren't needed any more, let's kill them.

-- 
Nick
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Bringing back Tor on the iPhone - take 2

2010-02-02 Thread Marco Bonetti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all,
long time ago someone ported Tor and privoxy over to the iphone
platform, together with an iTor.app application:
http://archives.seul.org/or/dev/Dec-2007/msg00023.html
Unfortunately looks like everything disappeared, does anyone still have
any pointers to that project?
In the meanwhile, I was able to build libevent, tor and polipo using the
 linux cross toolchain for iphone os 3.1.2 (that's all I got) against a
local cydia telesophoreo checkout. The result looks promising, I was
able to surf with safari proxied through local polipo:
http://yfrog.com/4iu8mkj
I'm going to do some more tests before pubblishing anything, probably
I'll ask for inclusion in telesophoreo or I'll host them on
slackware.it, anyway I got a couple of marks:
1) strictly related to tor: I build the latest stable release *WITHOUT*
the --enable-iphone switch. As I can understand from the post linked
above, that option will jusr add some compiler flags needed only by
older version of the iphone toolchain/firmware and I think that probably
they could be removed as no longer necessary. Does anyone know something
more on that patch?
2) looks like that repositories for jailbroken phones build stuff with
iphone os 2.0 toolchains, I don't know if my debs will ever work with
older firmwares: they worked for me (so far), YMMV ;-)
3) I have a couple of ideas for a .app that will behave like a smaller
vidalia for the iphone, let's see what I can get out but do not hold
your breath: I have a toolchain but I still know too less on building
Obj-C UI with it so it may take a while :D

That's all for now, I'll hope to post something more interesting soon!

ciao

- --
Marco Bonetti
Tor research and other stuff: http://sid77.slackware.it/
Slackintosh Linux Project Developer: http://workaround.ch/
Linux-live for powerpc: http://workaround.ch/pub/rsync/mb/linux-live/

My GnuPG key id: 0x0B60BC5F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktoJNwACgkQTYvJ9gtgvF/MqACeNuURmAOxch+g+EVhyK/wW0Gx
9zEAoLIwSs+Azw6LyRVRS21xbLILjOJx
=vZlq
-END PGP SIGNATURE-
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/