Bug?

2009-10-20 Thread Mr. Blue
TEST:
---
Page is fetched
Then pause of 5 seconds
Page is fetched, again -- Always used SAME url! - in both cases


There is incosistency in Tor's behaviour!!
SAME test done many times and It will always be 1 of 2 outcomes:

A) - expected
Attaching circuitID 262, to streamID '607', finished with status: 'OK'
Attaching circuitID 262, to streamID '609', finished with status: 'OK'

B) - unexpected + false error
Attaching circuitID 278, to streamID '609', finished with status: 'OK'
Attaching circuitID 278, to streamID '609', finished with status: false -- 555 
Connection is not managed by controller

In B pause of 5 second still keeps same streamID
Attaching circuitID 278, to streamID '609' then  causes error as it has been 
already attached
error IS MISLEADING

PS: I don't even have to mention that __LeaveStreamsUnattached=1






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


Use that anonym relay

2009-10-12 Thread Mr. Blue
How to solve this?

There is a relay, which isn't advertised in public dir.
I know it's IP, port(OR) and policy AND it's FINGERPRINT.
How can I use it(select it), as an entry node, first hop.


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



Re: Tame circuits

2009-10-12 Thread Mr. Blue
 Is there a way to completely stop a Tor from building circuits?!
 
 Why would you want to stop Tor from building circuits? What exactly do you 
 want Tor to be doing?

To lobotomize it ;) 


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


Tame circuits

2009-10-11 Thread Mr. Blue
Is there a way to completely stop a Tor from building circuits?!
__DisablePredictedCircuits isn't achiving that, as in a middle of some progress 
Tor will sometimes, arbitrally build 2 or more random circuits AND USE THEM for 
my stream.
PS: I AM aware of stream control and it's __, but wana avoid using it, because 
of overhead.


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


Re: Which proxy to use?

2009-08-07 Thread Mr. Blue
- Original Message -
From: Fabian Keil freebsd-lis...@fabiankeil.de
To: or-talk@freehaven.net
Date: Tue, 4 Aug 2009 21:13:06 +0200
Subject: Re: Which proxy to use?

   On Sat, Aug 1, 2009 at 9:19 AM, Mr. Bluetrashd...@yahoo.com wrote:
 
2) Must be capable to run as a reverse proxy.
 
   what are you trying to do, exactly?
 
  I wana have ONE proxy app installed
  Well, curently, I am using privoxy, which achieves
  a) exit notattion striping, but it can not act as a b) reverse proxy.
 
 What's your definition of reverse proxy?
 
 If you simply want the proxy to process intercepted requests,
 you may want to have a look at Privoxy's accept-intercepted-requests
 directive.
 
 Fabian


Eh, smart counter question.

Basically, proxy(which acts as a reverse) and firewall are on one IP/machine(A) 
to which shall be send http or any other requests by clients.
All others services are on other IPs, like web on one IP and database on second 
IP/machine etc...
Clients always see IP of machine (A).
For example request to (A) for http, makes (A) forward that request to machine 
(B), which has a http server installed and sends it back to (A), which then 
serves it back to the client.
All headers, notations, IP...etc, must be exactly same as (A) served that 
request directly to the client.
Basically, each service has it's own machine and IP, but are all accessed 
through (A) and are served like (A) directly served them.





  


Re: Which proxy to use?

2009-08-04 Thread Mr. Blue
What?
No one knows or...?



--- On Sat, 8/1/09, Mr. Blue trashd...@yahoo.com wrote:

 From: Mr. Blue trashd...@yahoo.com
 Subject: Which proxy to use?
 To: or-talk@freehaven.net
 Date: Saturday, August 1, 2009, 9:19 AM
 My requirements are:
 
 1) It must have privoxy's functionality:
 hide-tor-exit-notation header filter to remove the Tor exit
 node notation in Host and Referer headers.
 
 2) Must be capable to run as a reverse proxy.
 Will be used in front of Web server
 Like: 
 reverse proxy IP 5.5.5.5
 http server IP 10.10.10.10
 And it is imperativ that, to client, web page looks
 completely, like it has been served directly from IP 5.5.5.5
 based on all headers. (striping needed?)
 Basically reverse proxy and firewall are on one IP that
 shall be requested by others and all others services on
 other IPs, like web on one IP and database on second
 IP/machine etc...
 
 
 Which proxy is best for this?
 And for that recommended proxy, could I get a working
 config(someone copy paste snips from theirs config that is
 already using this) to achieve 1) and 2) with coments for
 each line?
 
 Thx in advance!


  


Re: Which proxy to use?

2009-08-04 Thread Mr. Blue


- Original Message -
From: coderman coder...@gmail.com
To: or-talk@freehaven.net
Date: Tue, 4 Aug 2009 08:03:14 -0700
Subject: Re: Which proxy to use?

 On Sat, Aug 1, 2009 at 9:19 AM, Mr. Bluetrashd...@yahoo.com wrote:
  My requirements are:
 
  1) It must have privoxy's functionality: hide-tor-exit-notation header 
  filter to remove the Tor exit node notation in Host and Referer headers.
 
 exit notation as used this way is a deprecated feature. it will be
 removed at some point. you really want the controller to direct an
 exit for you, if you need it, rather than some mangled domain names
 implying the choice.


I see, so I must stop using it and start choosing exit node by controler?
Do you mean sending directives to tor on port 9051?
If it is so, then just give me a link to doc, on that and I will rewrite my PHP 
app.

 
 
  2) Must be capable to run as a reverse proxy.
  ...
 
 what are you trying to do, exactly?


I wana have ONE proxy app installed
Well, curently, I am using privoxy, which achieves a) exit notattion striping, 
but it can not act as a b) reverse proxy.

So I need proxy with ability for both things, as said.



  


Which proxy to use?

2009-08-01 Thread Mr. Blue
My requirements are:

1) It must have privoxy's functionality: hide-tor-exit-notation header filter 
to remove the Tor exit node notation in Host and Referer headers.

2) Must be capable to run as a reverse proxy.
Will be used in front of Web server
Like: 
reverse proxy IP 5.5.5.5
http server IP 10.10.10.10
And it is imperativ that, to client, web page looks completely, like it has 
been served directly from IP 5.5.5.5 based on all headers. (striping needed?)
Basically reverse proxy and firewall are on one IP that shall be requested by 
others and all others services on other IPs, like web on one IP and database on 
second IP/machine etc...


Which proxy is best for this?
And for that recommended proxy, could I get a working config(someone copy paste 
snips from theirs config that is already using this) to achieve 1) and 2) with 
coments for each line?

Thx in advance!


  


Re: New Privoxy 3.0.8 with Tor

2008-01-29 Thread Mr. Blue
Ok thanks Fabian,


I've already looked there and fixed it like this:

{+client-header-filter{hide-tor-exit-notation}}
.exit/



- Original Message -
From: Fabian Keil [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Tue, 29 Jan 2008 18:18:30 +0100
Subject: Re: New Privoxy 3.0.8 with Tor


 Mr. Blue lt;[EMAIL PROTECTED]gt; wrote:
 
 gt; When I've upgraded from Privoxy 3.0.6 to New
Privoxy
 gt; 3.0.8
 gt; These rules from user.action doesn't seem to
work
 gt; anymore:
 
 gt; {+filter-client-headers
 gt; +filter{hide-tor-exit-notation}}
 gt; /
 
 With Privoxy 3.0.8 it should be:
 
 {+client-header-filter{hide-tor-exit-notation}}
 /
 
 Quoting item two on
 a target=_blank 

href=http://www.privoxy.org/3.0.8/user-manual/whatsnew.html:;span

 class=yshortcuts 

 
id=lw_1201627193_0http://www.privoxy.org/3.0.8/user-manual/whatsnew.html:/span/a
 
 | Header filtering is done with dedicated header
filters now.
 | As a result the actions filter-client-headers
and
 | filter-server-headers that were introduced with
Privoxy 3.0.5
 | to apply content filters to the headers have been
removed.
 | See the new actions server-header-filter and
client-header-filter
 | for details.
 
 Please also have a look at the Note to Upgraders
on the same page.
 
 Fabian


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



Re: New Privoxy 3.0.8 with Tor

2008-01-29 Thread Mr. Blue
Mmmm, I see...,

So it would be better to set it as:
{+client-header-filter{hide-tor-exit-notation}}
/

right?


- Original Message -
From: Fabian Keil [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Tue, 29 Jan 2008 20:08:52 +0100
Subject: Re: New Privoxy 3.0.8 with Tor



 prettMr. Blue lt;a 

 
href=/ym/[EMAIL 
PROTECTED]YY=77240y5beta=yesymv=0y5beta=yesorder=downsort=datepos=0[EMAIL
 PROTECTED]/agt;

 wrote:
 
 gt; Ok thanks Fabian,
 
 You're welcome.
 
 gt; I've already looked there and fixed it like
this:
 gt; 
 gt; {+client-header-filter{hide-tor-exit-notation}}
 gt; .exit/
 
 Note that hide-tor-exit-notation can also clean
Referer headers,
 but if you only apply it to requests for hosts
ending with .exit,
 tainted referrers to other hosts could slip
through.
 
 Of course that's only an issue if you aren't already
 blocking referrers across different hosts anyway.
 
 Fabian


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


New Privoxy 3.0.8 with Tor

2008-01-28 Thread Mr. Blue
When I've upgraded from Privoxy 3.0.6 to New Privoxy
3.0.8
These rules from user.action doesn't seem to work
anymore:

{ +filter{hide-tor-exit-notation} }
/

{+filter-client-headers
+filter{hide-tor-exit-notation}}
/


Now I can't use Tor to surf with exit node specific
urls.
Ie: 
http://showip.net.4edd4dbb3a352cee02ab8e2298b002477c778281.exit/


Please help me.


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Re: Maintanance of TOR for FreeBSD 6.2

2007-12-01 Thread Mr. Blue
Ok, thanks Fabian.



- Original Message -
From: Fabian Keil [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Sat, 1 Dec 2007 14:50:14 +0100
Subject: Re: Maintanance of TOR for FreeBSD 6.2


 Mr. Blue lt;[EMAIL PROTECTED]gt; wrote:
 
 gt; Um, lattest TOR port for above platform is
0.1.2.17_1
 gt; In order to install lattest 0.1.2.18, I was
forced to
 gt; go and build it from source.
 
 I assume it hasn't been updated yet because the
ports
 tree is frozen in preparation for the next releases.
 
 Also if the port's Makefile is out of date, it's
usually
 less work to update it yourself instead of messing
with
 the source tarballs directly.
 
 gt; Is anyone maintaining it?
 
 Check the Makefile:
 [EMAIL PROTECTED] ~ $grep MAINTAINER
/usr/ports/security/tor/Makefile
 MAINTAINER= [EMAIL PROTECTED]
 
 Fabian


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


Re: Were are DIRs now?!?

2007-10-10 Thread Mr. Blue
Oh yes!
Ok ok, my mistake..., all is clear now.
;)



- Original Message -
From: Roger Dingledine [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Wed, 10 Oct 2007 22:06:21 -0400
Subject: Re: Were are DIRs now?!?

 
 
 On Wed, Oct 10, 2007 at 06:55:19PM -0700, Mr. Blue
wrote:
  I could not open URLs:
http://belegost.mit.edu/tor/
  and http://tor.noreply.org/tor/ and
  http://moria.mit.edu:9031/tor/
  What has happened now?!?
 
 What do you mean now?
 
 belegost.mit.edu and moria.mit.edu haven't been Tor
directory
 authorities since May.
 
 Plus, the URL you're fetching from tor.noreply.org
is the version 1
 directory protocol, which has been obsolete since
August.
 
 --Roger
 



  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



Tor DIRs changed?

2007-09-16 Thread Mr. Blue
These URLs had listed tor nodes:

http://belegost.mit.edu/tor/
http://tor.noreply.org/tor/
http://moria.mit.edu:9031/tor/

Now 1st and third are timing out and second is not
giving list of nodes, but some very short info!

Can you give me a list of URLs, where I can find a
list of tor nodes?


Thanks in advance.


   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC


Re: Tor DIRs changed?

2007-09-16 Thread Mr. Blue

On Sun, Sep 16, 2007 at 10:01:19AM -0700, Mr. Blue
wrote:
 These URLs had listed tor nodes:
 
 http://belegost.mit.edu/tor/
 http://tor.noreply.org/tor/
 http://moria.mit.edu:9031/tor/
 
 Now 1st and third are timing out and second is not
 giving list of nodes, but some very short info!

There are 5 directory authorities.

The first and third you listed above moved in May:
   
http://archives.seul.org/or/cvs/May-2007/msg00212.html
(Roger needed to relocate the computer.)

The reason that none of these are giving you a list of
nodes by
requesting the url Tor is that you're using an
obsolete format:,
  
http://archives.seul.org/or/talk/May-2007/msg00229.html


yrs,
-- 
Nick Mathewson


--


Ok I see,
I've retreived:
http://128.31.0.34:9031/tor/status/all.z

In PHP, I see just some giberish data.
I've tried to base64_decode it, but nada.

Opening it in Notepad++ gives a clear list of nodes.

What is that format?
So I could see it clearly  in a string in PHP too?


   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/


Re: PHP's CURL Tor integration hangi

2007-07-26 Thread Mr. Blue
- Original Message -
From: coderman [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Wed, 25 Jul 2007 16:36:09 -0700
Subject: Re: PHP's CURL  Tor integration hangi

 
 On 7/25/07, Mr. Blue [EMAIL PROTECTED] wrote:
  ...
  php -f chk_tor.php  /dev/null 21 
  ...
  I want output that currently goes in /dev/null, be
  saved in a variable ($OUTPUT), and then piped to
mail
  function where body=$OUTPUT
 
 this is veering a bit off topic, but the following
should work:
 
 php -f chk_tor.php 21 | mailx -s my script
output [EMAIL PROTECTED]
 
 if you don't have mailx, mail should work too.
 
 best regards,


Hey CoderMan!


Yep, I do have a mailx...
;)

Off-topic or not, you DID helped!
Problem solved and all is functional now!


Thanks a lot bud!  


   

Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php


Re: PHP's CURL Tor integration hangin

2007-07-25 Thread Mr. Blue
- Original Message -
From: coderman [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Tue, 24 Jul 2007 16:27:03 -0700
Subject: Re: PHP's CURL  Tor integration hangin

 
 On 7/21/07, Mr. Blue [EMAIL PROTECTED] wrote:
  ...
  Be aware that I did set connection timeout for
CURL at
  60 seconds ...
 
 is this connect timeout, dns resolve timeout,
transfer timeout, etc?


It is: connect timeout - set to 60 sec
   dns resolve timeout - set to 120 sec
  
There is no transfer timeout, but I did found
CURLOPT_TIMEOUT (integer) - The maximum number of
seconds to allow cURL functions to execute.
So I decided to use it this time because I've never
used it before.
I've set it to 300 sec (5min).

So no matter where it hitch now - Curl will be
overruled by that 5 min rule.

 
  If site does load, then exit node is considered
valid
  and then I use it to POST data at 12 sites.
 
 you're not doing anything obnoxious, are you? :)

Of course not!
Don't be ridiculous, I would never be..., obnoxious.

I'm mommy's boy!
:D

 
  Problem is that every approx. 15th - 30th time, it
  hangs indefinitely at, for example, 7th site.
  Even when node was checked at a begening before
usage,
  against 60sec connection timeout rule it can stuck
at
  any of sites.
 
  Last time it did hang that way for 19 hours?!?
 
 that sounds like a curl/php problem.

I did wroten another PHP script which is paresed each
10 min(cron) and is checking the first one, does it
hangs.
From then..., no more problems!
:)


  Obviously, it is up to Tor, because it is sending
some
  signal to reset 60sec CURL's rule for
termination(so
  PHP's CURL can't close it!!).
 
 it is up to Tor? Tor will timeout a failed connect
attempt at 120 or
 180 seconds(?), but if you've got a connection, and
the server doesn't
 close it, and you never time it out, sure, it could
hang open for
 hours.
 
 you need to fix the curl part to timeout transfers
as well as
  connect/dns.

I added another CURL option from above:
CURLOPT_TIMEOUT (integer) - The maximum number of
seconds to allow cURL functions to execute


 best regards,


Anyway..., last question which is bash shell related.
Second script that each 10 mins check first one, is
killing first one by it's PID(if hangs more than 30
min) and the restarting it with command:

php -f chk_tor.php  /dev/null 21 

Now, I like PHP coder am not too skilled with FreeBSD
6.2' bash shell, so here is how would I like that
command to be altered.

I want output that currently goes in /dev/null, be
saved in a variable ($OUTPUT), and then piped to mail
function where body=$OUTPUT (I will set 'subject' and
'to' by mayself).
Effect should be the same one when you instal crontab
with set MAILTO=...
I don't know bash shell syntax to do it..., thanks in advance.


  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz


PHP's CURL Tor integration hanging

2007-07-21 Thread Mr. Blue
I've developed PHP script to utilize Tor.
I use PHP's curl implementation to utilize specific
exit nodes and POST data at 12 sites per node and get
response.

Now here is a problem...

Every approx. 15th - 30th time when I choose an exit
node, it hangs indefinitely during loading site.
Be aware that I did set connection timeout for CURL at
60 seconds and that I check exit node, by loading some
site, before using that node.
If site does load, then exit node is considered valid
and then I use it to POST data at 12 sites.
Problem is that every approx. 15th - 30th time, it
hangs indefinitely at, for example, 7th site.
Even when node was checked at a begening before usage,
against 60sec connection timeout rule it can stuck at
any of sites.

Last time it did hang that way for 19 hours?!?

Obviously, it is up to Tor, because it is sending some
signal to reset 60sec CURL's rule for termination(so
PHP's CURL can't close it!!).
But there is no data coming from Tor... and constantly
reseting 60sec CURL's rule, for termination in a
process.

Is this some kind of bug?

It is very annoying...
;)

Help please...


  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz


Re: What this data represents?

2007-06-15 Thread Mr. Blue
Thanks a lot Nick!
I'll take a look there...


Nick Mathewson [EMAIL PROTECTED] wrote: On Thu, Jun 14, 2007 at 05:18:20PM 
-0700, Mr. Blue wrote:
 Can someone tell me what this data represents?

If you want to know what the control port interface does, the best
place to look is in the documentation at: 
http://tor.eff.org/svn/trunk/doc/spec/control-spec.txt

The ns/* stuff is in the same format as v2 directories.  For that, see
the directory documentation at: 
http://tor.eff.org/svn/trunk/doc/spec/dir-spec-v2.txt

You want section 3; it explains the format in pretty intense detail.

cheers,
-- 
Nick Mathewson


 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.

What this data represents?

2007-06-14 Thread Mr. Blue
Can someone tell me what this data represents?
I get this from Tor control port:

Example:
r tornado324235 AQ7032pcDbAYFeXBX0OXd4iyttk XF86u6Z9ghMFa8Xw+62oQGBOlmI 
2007-06-14 14:12:11 130.88.133.14 9001 9030
s Valid V2Dir

As I know for each node you get 2 lines.
First starting with r is:
r nicname fingerprint ? publis_date IP ?

PS: To get fingerprint you must first base64 decode that string and then 
convert it from bin2hex.
Now what is string exactly AFTER fingerprint marked with ?

For s line I know.
   
-
Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.

Compile TOR 0.1.2.14 under FreeBSD

2007-06-03 Thread Mr. Blue
Has anyone done this successfully under FreeBSD 6.

There is no package for latest Tor but onlty for
0.1.1.26, so I am forced to install it from source.

./configure passes well, but
I get error after typing: make

And yes I got ALL dependicies.

Curently I am at old 0.1.1.26 from packages / ports


   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


Re: Compile TOR 0.1.2.14 under FreeBSD

2007-06-03 Thread Mr. Blue
cd /usr/local/tor-0.1.2.14
./configure
make

And here is an echo after typing make:

make  all-recursive
Making all in src
Making all in common
Making all in or
gcc -DHAVE_CONFIG_H -I. -I../..   
-I/usr/local/include  -g -O2 -Wall -g -O2 -MT config.o
-MD -MP -MF .deps/config.Tpo -c -o config.o config.c
config.c: In function `check_libevent_version':
config.c:3905: error: syntax error before '}' token
*** Error code 1

Stop in /usr/local/tor-0.1.2.14/src/or.
*** Error code 1

Stop in /usr/local/tor-0.1.2.14/src.
*** Error code 1

Stop in /usr/local/tor-0.1.2.14.
*** Error code 1

Stop in /usr/local/tor-0.1.2.14.


Libevent is 1.3b latest version and it works with
current Tor version




- Original Message -
From: Peter Palfrader [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Sun, 3 Jun 2007 14:03:15 +0200
Subject: Re: Compile TOR 0.1.2.14 under FreeBSD

 
 On Sun, 03 Jun 2007, Mr. Blue wrote:
 
  Has anyone done this successfully under FreeBSD 6.
  
  There is no package for latest Tor but onlty for
  0.1.1.26, so I am forced to install it from
source.
  
  ./configure passes well, but
  I get error after typing: make
 
 Much to learn you have, young Skywalker. One of the
things is that
 crystal balls are hardly reliably (for instance mine
has been in
 maintenance for the last three weeks and it's still
not back), so it's
 always a good idea to share the error message with
some context. At
 least for those whose divination devices are not in
working order at 
 the
 moment.
 -- 
 | .''`. ** Debian GNU/Linux **
  Peter Palfrader | : :' : The universal
  http://www.palfrader.org/ | `. `' Operating System
  | `- http://www.debian.org/


   

Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
 


Re: Compile TOR 0.1.2.14 under FreeBSD

2007-06-03 Thread Mr. Blue
How should Iapply it?


- Original Message -
From: Nils Vogels [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Sun, 3 Jun 2007 14:20:13 +0200
Subject: Re: Compile TOR 0.1.2.14 under FreeBSD

 
 
 There is a small typo there.
 
 Try this patch:
 
 --- config.c.orig Sun Jun 3 14:15:13 2007
 +++ config.c Sun Jun 3 14:15:17 2007
 @@ -3901,7 +3901,7 @@
  #if defined(__OpenBSD__) || defined(__FreeBSD__) ||

 defined(__NetBSD__)
  if (server  version  LE_13B) {
  thread_unsafe = 1;
 - sad_os = BSD variants
 + sad_os = BSD variants;
  }
  #elif defined(__APPLE__) || defined(__darwin__)
  if (server  version  LE_13B) {
 
 
 On 6/3/07, Mr. Blue [EMAIL PROTECTED] wrote:
  cd /usr/local/tor-0.1.2.14
  ./configure
  make
 
  And here is an echo after typing make:
 
  make all-recursive
  Making all in src
  Making all in common
  Making all in or
  gcc -DHAVE_CONFIG_H -I. -I../..
  -I/usr/local/include -g -O2 -Wall -g -O2 -MT
config.o
  -MD -MP -MF .deps/config.Tpo -c -o config.o
config.c
  config.c: In function `check_libevent_version':
  config.c:3905: error: syntax error before '}'
token
  *** Error code 1
 
  Stop in /usr/local/tor-0.1.2.14/src/or.
  *** Error code 1
 
  Stop in /usr/local/tor-0.1.2.14/src.
  *** Error code 1
 
  Stop in /usr/local/tor-0.1.2.14.
  *** Error code 1
 
  Stop in /usr/local/tor-0.1.2.14.
 
 
  Libevent is 1.3b latest version and it works with
  current Tor version
 
 
 
 
  - Original Message -
  From: Peter Palfrader [EMAIL PROTECTED]
  To: or-talk@freehaven.net
  Date: Sun, 3 Jun 2007 14:03:15 +0200
  Subject: Re: Compile TOR 0.1.2.14 under FreeBSD
 
  
   On Sun, 03 Jun 2007, Mr. Blue wrote:
  
Has anyone done this successfully under
FreeBSD 6.
   
There is no package for latest Tor but onlty
for
0.1.1.26, so I am forced to install it from
  source.
   
./configure passes well, but
I get error after typing: make
  
   Much to learn you have, young Skywalker. One of
the
  things is that
   crystal balls are hardly reliably (for instance
mine
  has been in
   maintenance for the last three weeks and it's
still
  not back), so it's
   always a good idea to share the error message
with
  some context. At
   least for those whose divination devices are not
in
  working order at
   the
   moment.
   --
   | .''`. ** Debian GNU/Linux **
   Peter Palfrader | : :' : The universal
   http://www.palfrader.org/ | `. `' Operating
System
   | `- http://www.debian.org/
 
 
 
  
 


  Got a little couch potato?
  Check out fun summer activities for kids.
  
 

http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
 
 
 
 -- 
 Simple guidelines to happiness:
 Work like you don't need the money,
 Love like your heart has never been broken and
 Dance like no one can see you.



   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC


Re: Compile TOR 0.1.2.14 under FreeBSD

2007-06-03 Thread Mr. Blue
After applying patch I get:

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|--- config.c.orig  Sun Jun  3 14:15:13 2007
|+++ config.c   Sun Jun  3 14:15:17 2007
--
Patching file config.c using Plan A...
patch:  malformed patch at line 5:
defined(__NetBSD__)


and after ./configure  make I get same error as
before

- Original Message -
From: Nils Vogels [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: or-talk@freehaven.net
Date: Sun, 3 Jun 2007 14:38:44 +0200
Subject: Re: Compile TOR 0.1.2.14 under FreeBSD

 
 Copy the patch as a file into your
tor-1.2.14/src/or, and apply it like 
 this:
 
 # cp /tmp/patch tor-1.2.14/src/or
 # cd tor-1.2.14/src/or
 # patch -p0  patch
 # cd ../..
 # ./configure  make
 
 It's all in the patch manpage as well, btw.
 
 HTH  HAND
 
 On 6/3/07, Mr. Blue [EMAIL PROTECTED] wrote:
  How should Iapply it?
 
 
  - Original Message -
  From: Nils Vogels [EMAIL PROTECTED]
  To: or-talk@freehaven.net
  Date: Sun, 3 Jun 2007 14:20:13 +0200
  Subject: Re: Compile TOR 0.1.2.14 under FreeBSD
 
  
  
   There is a small typo there.
  
   Try this patch:
  
   --- config.c.orig Sun Jun 3 14:15:13 2007
   +++ config.c Sun Jun 3 14:15:17 2007
   @@ -3901,7 +3901,7 @@
   #if defined(__OpenBSD__) || defined(__FreeBSD__)
||
 
   defined(__NetBSD__)
   if (server  version  LE_13B) {
   thread_unsafe = 1;
   - sad_os = BSD variants
   + sad_os = BSD variants;
   }
   #elif defined(__APPLE__) || defined(__darwin__)
   if (server  version  LE_13B) {
  
  
   On 6/3/07, Mr. Blue [EMAIL PROTECTED] wrote:
cd /usr/local/tor-0.1.2.14
./configure
make
   
And here is an echo after typing make:
   
make all-recursive
Making all in src
Making all in common
Making all in or
gcc -DHAVE_CONFIG_H -I. -I../..
-I/usr/local/include -g -O2 -Wall -g -O2 -MT
  config.o
-MD -MP -MF .deps/config.Tpo -c -o config.o
  config.c
config.c: In function
`check_libevent_version':
config.c:3905: error: syntax error before '}'
  token
*** Error code 1
   
Stop in /usr/local/tor-0.1.2.14/src/or.
*** Error code 1
   
Stop in /usr/local/tor-0.1.2.14/src.
*** Error code 1
   
Stop in /usr/local/tor-0.1.2.14.
*** Error code 1
   
Stop in /usr/local/tor-0.1.2.14.
   
   
Libevent is 1.3b latest version and it works
with
current Tor version
   
   
   
   
- Original Message -
From: Peter Palfrader [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Sun, 3 Jun 2007 14:03:15 +0200
Subject: Re: Compile TOR 0.1.2.14 under
FreeBSD
   

 On Sun, 03 Jun 2007, Mr. Blue wrote:

  Has anyone done this successfully under
  FreeBSD 6.
 
  There is no package for latest Tor but
onlty
  for
  0.1.1.26, so I am forced to install it
from
source.
 
  ./configure passes well, but
  I get error after typing: make

 Much to learn you have, young Skywalker. One
of
  the
things is that
 crystal balls are hardly reliably (for
instance
  mine
has been in
 maintenance for the last three weeks and
it's
  still
not back), so it's
 always a good idea to share the error
message
  with
some context. At
 least for those whose divination devices are
not
  in
working order at
 the
 moment.
 --
 | .''`. ** Debian GNU/Linux **
 Peter Palfrader | : :' : The universal
 http://www.palfrader.org/ | `. `' Operating
  System
 | `- http://www.debian.org/
   
   
   
   
  
  
  
 


Got a little couch potato?
Check out fun summer activities for kids.
   
  
  
  
 

http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
   
  
  
   --
   Simple guidelines to happiness:
   Work like you don't need the money,
   Love like your heart has never been broken and
   Dance like no one can see you.
  
 
 
 
  
 


  Yahoo! oneSearch: Finally, mobile search
  that gives answers, not web links.
 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
 
 
 
 -- 
 Simple guidelines to happiness:
 Work like you don't need the money,
 Love like your heart has never been broken and
 Dance like no one can see you.



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097


Re: Compile TOR 0.1.2.14 under FreeBSD

2007-06-03 Thread Mr. Blue
Ok, ok I've solved it on my own...

So I've opened config.c with nano
I went to line 3904 and there I added ; symbol that
was missing at the end of a variable

Then it all went through

So now I have installed newest tor-0.1.2.14

Problem syntax error in code itself!
Devs should fix that and reupload source tarbals at
http://tor.eff.org/download.html.en




- Original Message -
From: Mr. Blue [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Sun, 3 Jun 2007 06:30:30 -0700 (PDT)
Subject: Re: Compile TOR 0.1.2.14 under FreeBSD

 
 After applying patch I get:
 
 Hmm... Looks like a unified diff to me...
 The text leading up to this was:
 --
 |--- config.c.orig Sun Jun 3 14:15:13 2007
 |+++ config.c Sun Jun 3 14:15:17 2007
 --
 Patching file config.c using Plan A...
 patch:  malformed patch at line 5:
 defined(__NetBSD__)
 
 
 and after ./configure  make I get same error as
 before


  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 


Re: Compile TOR 0.1.2.14 under FreeBSD

2007-06-03 Thread Mr. Blue
Ok guys, thanks for head up!


   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  


Re: Fetching only Exit nodes

2007-06-02 Thread Mr. Blue
Ok I've installed a latest Tor,

Now, regarding classificating node like exit node


  reject 0.0.0.0/8:*
  reject 169.254.0.0/16:*
  reject 127.0.0.0/8:*
  reject 192.168.0.0/16:*
  reject 10.0.0.0/8:*
  reject 172.16.0.0/12:*
  accept *:80
  accept *:443
  reject *:*
  
  is absolutely same like:
  
  reject *:*
  
  Is that correct?
 
 No. The former rejects all addresses in private
networks; accepts
 port 80, and port 443; and rejects everything else.

Thanks, now I know that last directive does't override
previous ones...

Ok, so..., can I imply that as soon as I detect line:

accept *:80
or
accept *:*

that it is an exit node?

PS: Does exist case where there is only: accept *:443
line without accept *:80 and accept *:*
That is only SSL cahnel allowed through exit node?


   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 


Fetching only Exit nodes

2007-05-31 Thread Mr. Blue
I am using tor 1.1.26

So...,
Whenever my script detects change of MD5 value of
cached-routers,
it clears DB and by using regular expesion it fill DB
with nodes.

Now..., 
I decided I wana have only exit nodes in DB and not
all of them.

After looking at one already made script I saw that it
connects to Tors control port and uses:
GETINFO ns/all \r\n;
for geting that kind of info(and many more).

Problem is because tor 1.1.26 doesn't have it.
I've tried with GETINFO network-status \r\n, but
nada!
... and ALL othe possible values to Tor.

Now because this script isn't of use to me I guess, I
am on my own.

I will continue to get that data from cached-routers
file.
Now

reject 0.0.0.0/8:*
reject 169.254.0.0/16:*
reject 127.0.0.0/8:*
reject 192.168.0.0/16:*
reject 10.0.0.0/8:*
reject 172.16.0.0/12:*
accept *:80
accept *:443
reject *:*

is absolutely same like:

reject *:*

Is that correct?


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 




Fetching only Exit nodes

2007-05-31 Thread Mr. Blue
I am using tor 1.1.26

So...,
Whenever my script detects change of MD5 value of cached-routers,
it clears DB and by using regular expesion it fill DB with nodes.

Now..., 
I decided I wana have only exit nodes in DB.

After looking at one already made script I saw that it connects to Tors control 
port and uses:
GETINFO ns/all \r\n;
for geting that kind of info(and many more).

Problem is because tor 1.1.26 doesn't have it.
I've tried with GETINFO network-status \r\n, but nada!
... and ALL othe possible values to Tor.

Now because this script isn't of use to me I guess, I am on my own.

I will continue to get even that data from cached-routers file.
Now

reject 0.0.0.0/8:*
reject 169.254.0.0/16:*
reject 127.0.0.0/8:*
reject 192.168.0.0/16:*
reject 10.0.0.0/8:*
reject 172.16.0.0/12:*
accept *:80
accept *:443
reject *:*

is absolutely same like:

reject *:*

Is that correct?
   
-
Pinpoint customers who are looking for what you sell. 

Probed Server

2007-05-25 Thread Mr. Blue
Someone probed my server just recently like this:


[Fri May 25 20:29:21 2007] [error] [client
62.21.10.223] File does not exist:
/*/public_html/tor/server/d/0182EBC4E979994EB3D263FE414E4B77DBD22411+306208F37D6BBEF9B77363403CC3E3F476BD37C3+F3762B92C74FE9C1C98FD2EC399BE02D4FDC0115+C002882FB0A492B4149E6C820D495B72BEFDB4AF+740CC21909B142774BA1AEEEAC5BE412BEEEA51F+DCA1587A16C9FF09E9B7D4F7E3E75D8AB88B6241+73235CBE0639B6A514118447BC72348DD5A5A8A8+90F7023A54D5DC78835EC9D53F885A891BA16A67+129923AFB6EC069BA2D123245CEB7738AA4694E6+4114AB55D490E7AE343EF66B28EB674A1652B43C+B9065EDFA2037EDAF2168E9D412A8F17D1F4ECB9+AAE20EF0A1DF1914E0C317FA26362E79132FF2ED+FE01A8D16E694FC2E1A177741CBAC0DFBEDDBA9C+F0921279AB5AB26486C757A8851A3369A8C42EE1+63EDE492AF128A7E58BB465B506C3E45E7E824A6+3F0A0050E03F2B51812E362596B3F54176779A1B+F49D123C17166B145C524F6815A58766BD14425A.z

[Fri May 25 20:29:20 2007] [error] [client
62.21.10.223] File does not exist:
/*/public_html/tor/server/d/6F54ABE4FA950C06498BEDE079170B44BE28A489+4EA7F1DD7817E1C8B28462D63853CEEDF81D7CA5+996F507B14E08C6DFA9AA5A628032218CC04A39A+54B115B5EAACA2D1439FD8162D6314F75FE30CB2+FA290356EC3AC1BA8961DD464991E4D622AD7F06+487DB097132FCC87DC86C73776583FA31C11D0D8+C5FB25D9432A566BEACD723FEA87BBA4555D2264+A6CD2C3E915C18692E95AE289C957456DE4EF053+08B765B0511891D0D28C40ABF41540551BB78528+2F248AE0CC8C8E2C90315DACFF13C22D0FFC1DA2+3DC3962A1A71E61D396603E518242563247DF4D5+BEB4FAF65650DEDAE45D903891D210A9258EB86A+57B0CC97BE6567E5E73EB8CA4E106A6EFE34+A48848E3567EE2CD0D20983D5E673EF6D8C480EA+93F8BFE611175702DA1699542B31B5ACC14CF7A6.z

[Fri May 25 20:28:57 2007] [error] [client
62.21.10.223] File does not exist:
/*/public_html/tor/server/d/590B9361A2DBA5AA891DAE7774B9AF3B683DC067+86BB11D23EEDA013A1FE49EF4807090385D586B2+3C6D4470C3F39DA63471984EE9C7860A853A1359+AB05D9C4AC36A129307DD29A5BC01C78D83CB9D6+56BE3FA2619C65E9FDD8843355F8F3A2DF4A6330+2D483347154A255BB9E6CE142330DC8932521D50+3E73F476F56460961E8A08683D1A61ACFF659EAF+A34A55ACF018B981A05659E787E5F60AEAC7086D+24E9E50482C5CC19B6EED84FFDF883B93B57836E+464F3142F30A770F977E54F8AE59B2F0B578AEF4+CAFFE1716453C1A076DBDC0227F4AB9F075D23E5+B28C564378462269E53DD157EEA8A8FFA2200731+EFD0CD253F541AC922DE65C0DB3708E7F7F8F87F.z


What has he been searching for?
What was his aim?


Thanks


 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 


Re: Nodes naming

2007-05-09 Thread Mr. Blue
Thank you very much!

And a Nodes names really should be completely
unique if possible.


- Original Message -
From: Roger Dingledine [EMAIL PROTECTED]
To: or-talk@freehaven.net
Date: Mon, 7 May 2007 01:26:13 -0400
Subject: Re: Nodes naming

 
 
 On Sun, May 06, 2007 at 10:38:58AM -0700, Mr. Blue
wrote:
  What are the rules for tor node names.
  Which chars are allowed and what is a MAX number
of
  symbols it can contain?
 
 Section 2.2 of
https://tor.eff.org/svn/trunk/doc/spec/dir-spec-v2.txt

 says:
 
  nickname ::= between 1 and 19 alphanumeric
characters, 
 case-insensitive.
 
  Are they unique?
 
 No. But in some cases there can be only one node
with a given nickname,
 if that nickname is bound to a particular identity
key by a naming
 directory authority, and if the named one is
running right now. You
 can read a bit more about the Named flag in section
3.1, but its 
 behavior
 will likely change yet again in the future; see e.g.
proposal 113:
 

https://tor.eff.org/svn/trunk/doc/spec/proposals/113-fast-authority-interface.txt

http://archives.seul.org/or/dev/Apr-2007/msg00040.html
 
 If you want something unique, use the identity
fingerprint (aka 
 digest).
 
 --Roger
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Crazy with Exit nodes

2007-05-02 Thread Mr. Blue
Ok thanks guys.
I've solved it!

Mr.Blue

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Crazy with Exit nodes

2007-05-01 Thread Mr. Blue
At the moment of writing this email 
Node tamaribuchi worked great for me.
So I'll base this example on it.

I have a great need to use exact exit nodes.

When I go to: 
http://www.whatismyipaddress.com.tamaribuchi.exit/

I get expected response AND IP.

But when I go to majority sites in form like:

http://www.domain.net.tamaribuchi.exit/
I get:

Index of /

  NameLast modified   Size
 Description

[DIR] Parent Directory20-Sep-2006 00:00  -
 
[DIR] cgi-bin/19-Apr-2006 11:04  -
 

Apache/1.3.37 Server at www.server1.some-domain.com.zz
Port 80

OR when I alter it to
http://www.domain.net.tamaribuchi.exit/index.php

Not Found
The requested URL /index.php was not found on this
server.

Additionally, a 404 Not Found error was encountered
while trying to use an ErrorDocument to handle the
request.
Apache/1.3.37 Server at
www.server1.smileyhosting.com.zz Port 80

OR (in worst case)

Great Success !
Apache is working on your cPanel® and WHM™
Server... (You know the rest of story)

BUT when I access all this site withot
.tamaribuchi.exit part ALL is well.

I must access those site with prefered exit node so
what am I doing wrong here?

Thanks

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Which node is this?

2007-04-26 Thread Mr. Blue
I connected to some random exit node.
Its IP was / is 85.214.71.55

I can't find its name to use it again.
I've already checked list of ALL nodes and it simply
aint there.

Nickname, plese.

PS: Does anyone know is there a list where I can see
curent speed / bandwith of all nodes?

Thanks.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Norwegian DNS compromized

2007-02-28 Thread Mr. Blue
You better BET that if anyone is against censorship, then I AM in a FIRST LINE!
Being free and anonym is a main reason why I like Tor, so I could get rid of 
those greedy I-see-all govs eyes.

But even THIS world MUST have some rules.
Do you have rules in your own house where you live?
Imagine it without them.

Now, I personally don't care if someone use Tor to hack someone, rob a bank 
online, commit credit card fraud, or hack any other site... or anything similar.
Main reason/point is because ALL those targets have ABILITY to actually DO 
defend themselves!

Poor kids DON'T!!!

And solving this problem by simply shouting out I am neutral I just care for 
Tor and dare to consider problem solved is totally stupid and SELFISH act.

Even I AGREE that censorship is NOT a solution to this problem, because it 
would cripple Tor, so Tor wouldn't be what it was meant to be from beginning.

Point is that pedophiles are on OUR territory once they are here which doesn't 
mean we need to report them to authorities (and choose one side in a process 
how some are claiming).
We can nail them silently by ourselves, and make theirs life a hell in a 
process.
Rob them, hack them, expose them (to theirs relatives, newspapers, anonym 
vocie to police etc..)..., you name it! 
All options are opened... and in this process we don't need to abide to any 
laws.

 
-
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.

Re: Norwegian DNS compromized

2007-02-27 Thread Mr. Blue
I would just like to say that we should report that alolita.com because it is 
connected to bunch of PEDOPHILES!!!

Is must be banned from Tor netowork and it should also be reported to 
authorities.

Michael_google gmail_Gersten [EMAIL PROTECTED] wrote:
The first test, where alolita.com resolves to different addresses, is
concerning. Did the site just change addresses in the last day or so?
(Those timeout values are one hour, and one-half hour.)


 
-
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.

Re: PHP coder needs Tor details

2007-02-19 Thread Mr. Blue
Few days ago I've successfully combined Tor and PHP and am utilizing them now.

Regarding Tor nodes... where is that list stored on a computer.
I am currently harvesting http://belegost.mit.edu/tor/ and using regular 
expression to put each node in a DB by its name, uptime, IP...etc.
This makes me possible to query db for nodes I like, list them by uptime, 
listing by IP similarities etc...

Now l think that same file that is located at http://belegost.mit.edu/tor/ must 
be somewhere where Tor is, because Tor needs to use it to too.

That is because I would rather like to open file and harvest it then open 
http://belegost.mit.edu/tor/ and harvest it. - File is faster.

Thanks in advanece.

 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.

Re: PHP coder needs Tor details

2007-02-18 Thread Mr. Blue
Thank you very much...,

I didn't know that even if it is simple... :)

David O Smith [EMAIL PROTECTED] wrote: At 3:21  pm on Thursday, February 15, 
2007, [EMAIL PROTECTED] (Mr.
Blue) said:

Like: /usr/local/bin/tor
If I just type tor than it doesn't work.

That will be because your PATH environment variable for nobody doesn't
include /usr/local/bin

You can change this by doing something like:

PATH=$PATH:/usr/local/bin:
export PATH

The actual command format will depend on what shell you're running.

HTH

Dave
-- 
Dave Smith
Wordsmith and yarnspinner, singer and storyteller


 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.

Re: PHP coder needs Tor details

2007-02-15 Thread Mr. Blue
I've found put that if I want to make nobody utilize Tor I must submit FULL 
path to Tor

Like: /usr/local/bin/tor
If I just type tor than it doesn't work.

Now, when I try to execute Tor command like nobody I get this message:

[notice] Tor v0.1.1.26. This is experimental software. Do not rely on it for 
strong anonymity.
[notice] Configuration file /usr/local/etc/tor/torrc not present, using 
reasonable defaults.
Initialized libevent version 1.2a using method kqueue. Good.
Error creating directory //.tor: Permission denied
Failed to parse/validate config: Couldn't access/create private data directory 
//.tor

Last 2 rows are confusing me  -what should I do?

 
-
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

Re: PHP coder needs Tor details

2007-02-15 Thread Mr. Blue
Thank you VERY much!

Main problem is that I've never been aware of DataDirectory
And in my torrc file is commented out so I'll uncomment it and alter it if 
needed.

James Muir [EMAIL PROTECTED] wrote: Mr. Blue wrote:
 I've found put that if I want to make nobody utilize Tor I must submit 
 FULL path to Tor
 
 Like: /usr/local/bin/tor
 If I just type tor than it doesn't work.
 
 Now, when I try to execute Tor command like nobody I get this message:
 
 [notice] Tor v0.1.1.26. This is experimental software. Do not rely on it 
 for strong anonymity.
 [notice] Configuration file /usr/local/etc/tor/torrc not present, 
 using reasonable defaults.
 Initialized libevent version 1.2a using method kqueue. Good.
 Error creating directory //.tor: Permission denied
 Failed to parse/validate config: Couldn't access/create private data 
 directory //.tor
 
 Last 2 rows are confusing me  -what should I do?

Tor needs to create a directory where it can store network data.  It 
tried to create one at //.tor, but it does not have the necessary 
permissions.  You need to tell Tor someplace where it has permission to 
create a directory.

Have you had a look at the sample torrc file that comes with the tor 
source?  It is quite helpful.  Here is an excerpt:

## The directory for keeping all the keys/etc. By default, we store
## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
#DataDirectory /usr/local/var/lib/tor

So add a line like this to your torrc file:

DataDirectory /path/to/where/nobody/can/write/tor

(that's nobody as in the username nobody).  You can also specify this 
as a command line parameter -- read the tor man page to see how to do that.

-James





 
-
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get 
things done faster.

Re: PHP coder needs Tor details

2007-02-14 Thread Mr. Blue
Hm...,
Why no one answers?
Did I said something wrong?


Mr. Blue [EMAIL PROTECTED] wrote: Hey Crew.

Thanks to all for your help.

First for all I would like to say that this file.php(which is manipulating Tor) 
will be located in admin area ONLY and will be intended for use ONLY by admin.
Admin area is protected by Apache pass authentication (Digest) over SSL and 
after that is passed, admin must enter another login password to enter admin 
area.

Only admin will use it - NOT publicly available to users!

Next
Firstly I need to issue to shell, from PHP, command that will start Tor.
Regarding that command...
It will have ALL directives that should normally be located in torrc, but 
there is no torrc, nor I have intention to use it.
So command is:
--
tor -gid $gid -pidfile $pidfile -RunAsDaemon $b -user $uid -ClientOnly 1 
-EntryNodes $nickname, -ExitNodes $nickname -StrictExitNodes 1 
-NewCircuitPeriod 3600 -
--
Regarding  nodes
Entry and exit nodes will be same.

Before I continue I would like to say that I have made a PHP script that is 
utilizing regular expresions and harvesting all exit nodes in a list of IP 
addresses from moria dirs.
So I would like to pull from my database IP of a node(NOT nickname) and put it 
in a $nickname variable.
Will this work? Can I select node by IP and NOT by nickname?

Also when that will be achived I am going to use PHP cURL and connect with it 
to 127.0.0.1:9050 using SOCKS5 protocol - then do request to some page on the 
internet and finaly use POSIX - posix_kill($pidfile, SIGTERM); php function to 
shutdown Tor, alternatively use kill to which I pass $pidfile, all in shell.

Now someone will say that I should connect to Tor using SOCKS4a and am I 
normall to use ONLY 1 node which will be entry and exit at the same time.
Be sure that  I am VERY aware of my actions - but I am not here because I don't 
wana be tracked and because I want to surf anonimously.

Now here we come to the bigest obstacle for me.(oh men, soon as I finish this 
script I am going to read FreeBSD book that I just got and learn that UNIX at 
once!)
Creating a valid shell command:
--
 tor -gid $gid -pidfile $pidfile -RunAsDaemon $b -user $uid -ClientOnly 1 
-EntryNodes $nickname, -ExitNodes $nickname -StrictExitNodes 1 
-NewCircuitPeriod 3600 -
 --
User nobody will run it.
 - Should I exlude -gid $gid part?
 - Should $b variable be 0 OR 1 (that is..., should I run it as deamon?)
 - Should I exlude -user $uid part?
 - What about $nickname? Can I pass it IP of a node?
 - What should I put in a $pidfile variable?!? - I never saw one (number or 
letters?) It will also be used for  shuting down Tor at the end of a process...

Also I just rememberd something...
Whan tor was already runnig(started by root) I was able to utilize connection 
trough it by nobody, but when I attempted shutdown I got message that there was 
no process with pid belonging to it - or something similar - so that explains 
all.

Thank in advance...

 
-
TV dinner still cooling?
Check out Tonight's Picks on Yahoo! TV.

Re: PHP coder needs Tor details

2007-02-13 Thread Mr. Blue
Hey Crew.

Thanks to all for your help.

First for all I would like to say that this file.php(which is manipulating Tor) 
will be located in admin area ONLY and will be intended for use ONLY by admin.
Admin area is protected by Apache pass authentication (Digest) over SSL and 
after that is passed, admin must enter another login password to enter admin 
area.

Only admin will use it - NOT publicly available to users!

Next
Firstly I need to issue to shell, from PHP, command that will start Tor.
Regarding that command...
It will have ALL directives that should normally be located in torrc, but 
there is no torrc, nor I have intention to use it.
So command is:
--
tor -gid $gid -pidfile $pidfile -RunAsDaemon $b -user $uid -ClientOnly 1 
-EntryNodes $nickname, -ExitNodes $nickname -StrictExitNodes 1 
-NewCircuitPeriod 3600 -
--
Regarding nodes
Entry and exit nodes will be same.

Before I continue I would like to say that I have made a PHP script that is 
utilizing regular expresions and harvesting all exit nodes in a list of IP 
addresses from moria dirs.
So I would like to pull from my database IP of a node(NOT nickname) and put it 
in a $nickname variable.
Will this work? Can I select node by IP and NOT by nickname?

Also when that will be achived I am going to use PHP cURL and connect with it 
to 127.0.0.1:9050 using SOCKS5 protocol - then do request to some page on the 
internet and finaly use POSIX - posix_kill($pidfile, SIGTERM); php function to 
shutdown Tor, alternatively use kill to which I pass $pidfile, all in shell.

Now someone will say that I should connect to Tor using SOCKS4a and am I 
normall to use ONLY 1 node which will be entry and exit at the same time.
Be sure that I am VERY aware of my actions - but I am not here because I don't 
wana be tracked and because I want to surf anonimously.

Now here we come to the bigest obstacle for me.(oh men, soon as I finish this 
script I am going to read FreeBSD book that I just got and learn that UNIX at 
once!)
Creating a valid shell command:
--
 tor -gid $gid -pidfile $pidfile -RunAsDaemon $b -user $uid -ClientOnly 1 
-EntryNodes $nickname, -ExitNodes $nickname -StrictExitNodes 1 
-NewCircuitPeriod 3600 -
 --
User nobody will run it.
 - Should I exlude -gid $gid part?
 - Should $b variable be 0 OR 1 (that is..., should I run it as deamon?)
 - Should I exlude -user $uid part?
 - What about $nickname? Can I pass it IP of a node?
 - What should I put in a $pidfile variable?!? - I never saw one (number or 
letters?) It will also be used for shuting down Tor at the end of a process...

Also I just rememberd something...
Whan tor was already runnig(started by root) I was able to utilize connection 
trough it by nobody, but when I attempted shutdown I got message that there was 
no process with pid belonging to it - or something similar - so that explains 
all.

Thank in advance...

 
-
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.

Re: PHP coder needs Tor details

2007-02-12 Thread Mr. Blue
Thank you,
Seth and Michael

Obviously I haven't comprehend what SIGNAL really is.
For me that was just another app specific command/function.
Thanks for clarifing this... now I understand and am successfull in starting 
and stoping Tor.

From my question it is obvious that I am totally UNIX newbie and am having 
very hard time using FreeBSD 6.1.
I do my development on WinXP but for hosting am using FreeBSD because Win sucks 
in that point especially when it comes to security.

Now all this works well when I perform it like a root, but when I want 
nobody(apache) to parse file.php that is calling Tor will not work.
I know why - nobody doesn't have a permission for that.

I installed Tor like a ROOT using  portinstall -s security/tor  command.
Now..., I would like to chmod tor to allow nobody to run it with certain PID 
but I simply can't find Tor even if I use. (Yes I know - this is very funny!)
If I can't find Tor dir on my server how am I suppose to chmod it?

To shorten... How do I allow nobody to utilize Tor (It can already do that but 
I must start it like a root and stop it like a root)

PS: Why after I start Tor like a root by typing tor in command line it start 
and then I simply can't issue ANY command to my server, whatever I type in 
command line and press enter it is like I am typing some text in a word(or nano 
for a unix)?

Thank in advance

 
-
Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.

Re: List of NODES in IP form

2006-10-10 Thread Mr. Blue
Hey thanks guys!

You were both vey helpful!

Thanks again

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com