Introducing Torsocks - Transparent socks for Tor

2008-10-26 Thread Robert Hogan
Linux users may be familiar with the various patches for tsocks that make it 
safe for use with Tor.

 https://wiki.torproject.org/noreply/TheOnionRouter/TSocksPatches

Torsocks takes all of the patches to tsocks listed at the link above: 

 http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches

applies some other enhancements:

 http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog 

and incorporates them into a new project:

  http://code.google.com/p/torsocks/

Torsocks allows you to use most socks-friendly applications in a safe way with 
Tor. Once you have installed torsocks, just launch it like so: 

  usewithtor [application] 

So, for example you can use ssh to a some.ssh.com by doing: 

  usewithtor ssh [EMAIL PROTECTED] 

or launch pidgin by doing: 

  usewithtor pidgin

You can download the current build at:

 http://torsocks.googlecode.com/files/torsocks-1.0-beta.tar.gz

Torsocks is released under the GNU GPL licence v2. As far as I can make out 
this is compatible with the original tsocks and all subsequent patches.


signature.asc
Description: This is a digitally signed message part.


Re: Introducing Torsocks - Transparent socks for Tor

2008-10-26 Thread slush
Hi,

nice work! I tried and works perfectly.

Just one typo. in src/usewithtor.in - there is missing # on line four. It
works, but print warning in runtime.

If is anybody interested, on
http://www.slush.cz/torsocks_1.0-beta-1_i386.deb is DEB package (made by
checkinstall tool) for Debian (tested on unstable) and Ubuntu (tested on
8.10).

Marek

2008/10/26 Robert Hogan <[EMAIL PROTECTED]>

> Linux users may be familiar with the various patches for tsocks that make
> it
> safe for use with Tor.
>
>  https://wiki.torproject.org/noreply/TheOnionRouter/TSocksPatches
>
> Torsocks takes all of the patches to tsocks listed at the link above:
>
>  http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches
>
> applies some other enhancements:
>
>  http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog
>
> and incorporates them into a new project:
>
>  http://code.google.com/p/torsocks/
>
> Torsocks allows you to use most socks-friendly applications in a safe way
> with
> Tor. Once you have installed torsocks, just launch it like so:
>
>  usewithtor [application]
>
> So, for example you can use ssh to a some.ssh.com by doing:
>
>  usewithtor ssh [EMAIL PROTECTED]
>
> or launch pidgin by doing:
>
>  usewithtor pidgin
>
> You can download the current build at:
>
>  http://torsocks.googlecode.com/files/torsocks-1.0-beta.tar.gz
>
> Torsocks is released under the GNU GPL licence v2. As far as I can make out
> this is compatible with the original tsocks and all subsequent patches.
>


Re: Introducing Torsocks - Transparent socks for Tor

2008-10-26 Thread Karsten N.
slush schrieb:
> If is anybody interested, on
> http://www.slush.cz/torsocks_1.0-beta-1_i386.deb is DEB package (made by
> checkinstall tool) for Debian (tested on unstable) and Ubuntu (tested on
> 8.10).

Your DEB works well in Debian stable (etch) too.

Karsten N.


Re: Introducing Torsocks - Transparent socks for Tor

2008-10-27 Thread Adlesshaven

Robert Hogan wrote:
Torsocks takes all of the patches to tsocks listed at the link above: 


 http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches

applies some other enhancements:

 http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog 


and incorporates them into a new project:

  http://code.google.com/p/torsocks/
  


That looks really cool. How well does it compile on *BSD? Any better 
than tsocks?


I'll try compiling it when I get a chance.


Re: Introducing Torsocks - Transparent socks for Tor

2008-10-27 Thread Ruben Garcia

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adlesshaven escribió:
| Robert Hogan wrote:
|> Torsocks takes all of the patches to tsocks listed at the link above:
|>  http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches
|>
|> applies some other enhancements:
|>
|>  http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog
|> and incorporates them into a new project:
|>
|>   http://code.google.com/p/torsocks/
|>
|
| That looks really cool. How well does it compile on *BSD? Any better
| than tsocks?
|
| I'll try compiling it when I get a chance.

It's supposed to compile in bsd, George Shaffer sent me a patch in 2006,
and torsocks has all my patches included, as far as I can see.

https://giig.ugr.es/~rgarcia/tsocks/
has the details.


-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkF4WkACgkQjJvgg3iy84TxIACfawD5mK1dv7gd03DkdUTIUukK
YTAAnjfi8Km6kZJvagEDayD2cCbgzPWG
=ij12
-END PGP SIGNATURE-


Re: Introducing Torsocks - Transparent socks for Tor

2008-10-27 Thread Kyle Williams
Very cool.
How is this different than proxychains?
It seems like they both do the same thing.

- Kyle



On Sun, Oct 26, 2008 at 6:13 AM, Robert Hogan <[EMAIL PROTECTED]>wrote:

> Linux users may be familiar with the various patches for tsocks that make
> it
> safe for use with Tor.
>
>  https://wiki.torproject.org/noreply/TheOnionRouter/TSocksPatches
>
> Torsocks takes all of the patches to tsocks listed at the link above:
>
>  http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches
>
> applies some other enhancements:
>
>  http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog
>
> and incorporates them into a new project:
>
>  http://code.google.com/p/torsocks/
>
> Torsocks allows you to use most socks-friendly applications in a safe way
> with
> Tor. Once you have installed torsocks, just launch it like so:
>
>  usewithtor [application]
>
> So, for example you can use ssh to a some.ssh.com by doing:
>
>  usewithtor ssh [EMAIL PROTECTED]
>
> or launch pidgin by doing:
>
>  usewithtor pidgin
>
> You can download the current build at:
>
>  http://torsocks.googlecode.com/files/torsocks-1.0-beta.tar.gz
>
> Torsocks is released under the GNU GPL licence v2. As far as I can make out
> this is compatible with the original tsocks and all subsequent patches.
>


Re: Introducing Torsocks - Transparent socks for Tor

2008-10-28 Thread Robert Hogan
On Monday 27 October 2008 19:04:38 Kyle Williams wrote:
> Very cool.
> How is this different than proxychains?
> It seems like they both do the same thing.
>

I actually wasn't aware of proxychains, which looks like it was written 
about the same time as tsocks.

You're right that they more or less do the same thing, and they more or 
less do it the same way - by using LD_PRELOAD to hook a program's calls 
for writing to and reading from the network, including DNS.

Apart from the fact that proxychains allows you to chain your traffic 
through multiple proxies I think torsocks does the following 'extra' bits:

- It supports some dns/network calls that proxychains does not, e.g. 
getpeerinfo.
- It blocks primitive UDP calls by the application (to help prevent DNS 
leaks via UDP).
- It supports the use of hidden services.

I haven't looked at proxychains very closely and I have to confess I 
haven't even used it, but I *think* that is about it.

>
> On Sun, Oct 26, 2008 at 6:13 AM, Robert Hogan 
<[EMAIL PROTECTED]>wrote:
> > Linux users may be familiar with the various patches for tsocks that
> > make it
> > safe for use with Tor.
> >
> >  https://wiki.torproject.org/noreply/TheOnionRouter/TSocksPatches
> >
> > Torsocks takes all of the patches to tsocks listed at the link above:
> >
> >  http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches
> >
> > applies some other enhancements:
> >
> >  http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog
> >
> > and incorporates them into a new project:
> >
> >  http://code.google.com/p/torsocks/
> >
> > Torsocks allows you to use most socks-friendly applications in a safe
> > way with
> > Tor. Once you have installed torsocks, just launch it like so:
> >
> >  usewithtor [application]
> >
> > So, for example you can use ssh to a some.ssh.com by doing:
> >
> >  usewithtor ssh [EMAIL PROTECTED]
> >
> > or launch pidgin by doing:
> >
> >  usewithtor pidgin
> >
> > You can download the current build at:
> >
> >  http://torsocks.googlecode.com/files/torsocks-1.0-beta.tar.gz
> >
> > Torsocks is released under the GNU GPL licence v2. As far as I can
> > make out this is compatible with the original tsocks and all
> > subsequent patches.




signature.asc
Description: This is a digitally signed message part.


Re: Introducing Torsocks - Transparent socks for Tor

2008-10-28 Thread Kyle Williams
Good to know.  Thank you for a very useful tool!
- Kyle

On Tue, Oct 28, 2008 at 12:44 PM, Robert Hogan <[EMAIL PROTECTED]>wrote:

> On Monday 27 October 2008 19:04:38 Kyle Williams wrote:
> > Very cool.
> > How is this different than proxychains?
> > It seems like they both do the same thing.
> >
>
> I actually wasn't aware of proxychains, which looks like it was written
> about the same time as tsocks.
>
> You're right that they more or less do the same thing, and they more or
> less do it the same way - by using LD_PRELOAD to hook a program's calls
> for writing to and reading from the network, including DNS.
>
> Apart from the fact that proxychains allows you to chain your traffic
> through multiple proxies I think torsocks does the following 'extra' bits:
>
> - It supports some dns/network calls that proxychains does not, e.g.
> getpeerinfo.
> - It blocks primitive UDP calls by the application (to help prevent DNS
> leaks via UDP).
> - It supports the use of hidden services.
>
> I haven't looked at proxychains very closely and I have to confess I
> haven't even used it, but I *think* that is about it.
>
> >
> > On Sun, Oct 26, 2008 at 6:13 AM, Robert Hogan
> <[EMAIL PROTECTED]>wrote:
> > > Linux users may be familiar with the various patches for tsocks that
> > > make it
> > > safe for use with Tor.
> > >
> > >  https://wiki.torproject.org/noreply/TheOnionRouter/TSocksPatches
> > >
> > > Torsocks takes all of the patches to tsocks listed at the link above:
> > >
> > >  http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches
> > >
> > > applies some other enhancements:
> > >
> > >  http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog
> > >
> > > and incorporates them into a new project:
> > >
> > >  http://code.google.com/p/torsocks/
> > >
> > > Torsocks allows you to use most socks-friendly applications in a safe
> > > way with
> > > Tor. Once you have installed torsocks, just launch it like so:
> > >
> > >  usewithtor [application]
> > >
> > > So, for example you can use ssh to a some.ssh.com by doing:
> > >
> > >  usewithtor ssh [EMAIL PROTECTED]
> > >
> > > or launch pidgin by doing:
> > >
> > >  usewithtor pidgin
> > >
> > > You can download the current build at:
> > >
> > >  http://torsocks.googlecode.com/files/torsocks-1.0-beta.tar.gz
> > >
> > > Torsocks is released under the GNU GPL licence v2. As far as I can
> > > make out this is compatible with the original tsocks and all
> > > subsequent patches.
>
>
>


Re: Introducing Torsocks - Transparent socks for Tor

2008-11-11 Thread slush
I found another problem in torsocks bash script. There is missing backslash
in sed construction around ". torsocks off". More in googlecode issue
http://code.google.com/p/torsocks/issues/detail?id=1

Bye,
Marek

2008/10/26 slush <[EMAIL PROTECTED]>

> Hi,
>
> nice work! I tried and works perfectly.
>
> Just one typo. in src/usewithtor.in - there is missing # on line four. It
> works, but print warning in runtime.
>
> If is anybody interested, on
> http://www.slush.cz/torsocks_1.0-beta-1_i386.deb is DEB package (made by
> checkinstall tool) for Debian (tested on unstable) and Ubuntu (tested on
> 8.10).
>
> Marek
>
> 2008/10/26 Robert Hogan <[EMAIL PROTECTED]>
>
> Linux users may be familiar with the various patches for tsocks that make
>> it
>> safe for use with Tor.
>>
>>  https://wiki.torproject.org/noreply/TheOnionRouter/TSocksPatches
>>
>> Torsocks takes all of the patches to tsocks listed at the link above:
>>
>>  http://code.google.com/p/torsocks/source/browse/trunk#trunk/patches
>>
>> applies some other enhancements:
>>
>>  http://code.google.com/p/torsocks/source/browse/trunk/ChangeLog
>>
>> and incorporates them into a new project:
>>
>>  http://code.google.com/p/torsocks/
>>
>> Torsocks allows you to use most socks-friendly applications in a safe way
>> with
>> Tor. Once you have installed torsocks, just launch it like so:
>>
>>  usewithtor [application]
>>
>> So, for example you can use ssh to a some.ssh.com by doing:
>>
>>  usewithtor ssh [EMAIL PROTECTED]
>>
>> or launch pidgin by doing:
>>
>>  usewithtor pidgin
>>
>> You can download the current build at:
>>
>>  http://torsocks.googlecode.com/files/torsocks-1.0-beta.tar.gz
>>
>> Torsocks is released under the GNU GPL licence v2. As far as I can make
>> out
>> this is compatible with the original tsocks and all subsequent patches.
>>
>
>
>


-- 
e-mail/jabber/msn: [EMAIL PROTECTED]
icq: 360-737-802 | skype: on request
phone: (+420) 724 249 422


Re: Introducing Torsocks - Transparent socks for Tor

2008-11-20 Thread Robert Hogan
On Tuesday 11 November 2008 23:25:59 slush wrote:
> I found another problem in torsocks bash script. There is missing
> backslash in sed construction around ". torsocks off". More in
> googlecode issue http://code.google.com/p/torsocks/issues/detail?id=1
>

Hi Slush,

This issue is fixed in SVN now. Thanks for pointing it out.




Re: Introducing Torsocks - Transparent socks for Tor

2008-11-24 Thread Roger Dingledine
On Mon, Oct 27, 2008 at 04:42:33PM +0100, Ruben Garcia wrote:
> |>   http://code.google.com/p/torsocks/
> |
> | That looks really cool. How well does it compile on *BSD? Any better
> | than tsocks?
> |
> | I'll try compiling it when I get a chance.
> 
> It's supposed to compile in bsd, George Shaffer sent me a patch in 2006,
> and torsocks has all my patches included, as far as I can see.
> 
> https://giig.ugr.es/~rgarcia/tsocks/
> has the details.

Hi Robert,

Looks great. Can you (or somebody) confirm that it does everything it
should do on BSD and OS X? I ask because there's another tool called
dsocks, from Dug Song, that is designed for OS X and friends:
http://monkey.org/~dugsong/dsocks/

I wrote an item on the volunteer page long ago to make the torify script
smarter, so it calls tsocks or dsocks depending on which is available
and recommended for the system. See item #2 at
https://www.torproject.org/volunteer#Usability

Or perhaps torsocks makes dsocks obsolete? :)

Thanks!
--Roger