Re: Problems starting relay

2008-11-02 Thread Jonathan Addington
On Sun, Nov 2, 2008 at 1:39 AM, Geoff Down [EMAIL PROTECTED] wrote:
 Hi,
 I'm not mirroring the directory server (yet) so I assume I don't need to
 worry about the directory port.
 I did enable UPnP on my router (temporarily) and tried the Test button in
 the Vidalia Relay setup page, and it reported 'Success'. However, on
 examining the Port Forwarding page, there was then no sign of a rule for Tor
 or Vidalia.
 I disabled UPnP after that.
 I'm using OSX 10.3.9.
 I went into the Firewall section of 'Sharing' and added a rule for Tor:
 This is your firewall entry for Tor: it is currently on and all TCP network
 traffic on port(s) 9001 is being let through.
 Yet still I get
 [Warning] Your server (xx.xx.xx.xx:9001) has not managed to confirm that
 its ORPort is reachable. Please check your firewalls, ports, address,
 /etc/hosts file, etc
 My Port Forwarding rule (added manually) says
 Protocol TCP
 Port Start 9001
 Port End 9001
 Port Map 9001
  Is there a way I can check the Port Forwarding independently of Tor?

 Thanks,
 GD


 On 2 Nov 2008, at 05:54, [EMAIL PROTECTED] wrote:

 On Sun, Nov 02, 2008 at 05:45:40AM +, [EMAIL PROTECTED] wrote 3.5K
 bytes in 113 lines about:

 I downloaded the Vidlalia/Tor/Privoxy bundle all together.

 Then all you need to do to run a relay is configure one via the Vidalia
 Setup Relaying button in the Vidalia Control Panel.
 Tor will generally figure out the rest.

 If your router supports upnp, Vidalia will attempt to configure any port
 forwarding for you.

 If not, then yes, you need to port forward your orport and dirport from
 the external router to your machine.  If for some reason you use the osx
 firewall, you'll also need to open the tcp ports for the orport and
 dirport.  If you are using 10.5 (leopard), when you configure a relay
 through vidalia, the system should ask you to allow or deny the correct
 ports.

 The easiest next step may be to start with a fresh torrc and let Vidalia
 do the work of configuring the relay.

 --
 Andrew



First, take any advice from Phobos before mine.

Second, I opened up Vidialia on my computer (I'm old school and
usually do this in a text editor); under sharing what is the Relay
Port set to? Is it the same as what your router currently has
configured? I *think* the default (under Vidalia 0.1.9) is 443, not
9050. Make sure your router reflects that.

Finally, note what Phobos said above about using the OSX firewall. It
could be getting in the way (says the guy who only runs Windows 
Linux)

-madjon


Re: Problems starting relay

2008-11-02 Thread Scott Bennett
 On Sun, 2 Nov 2008 06:39:31 + Geoff Down [EMAIL PROTECTED]
wrote:
I'm not mirroring the directory server (yet) so I assume I don't need 
to worry about the directory port.
I did enable UPnP on my router (temporarily) and tried the Test button 
in the Vidalia Relay setup page, and it reported 'Success'. However, on 
examining the Port Forwarding page, there was then no sign of a rule 
for Tor or Vidalia.
I disabled UPnP after that.
I'm using OSX 10.3.9.
I went into the Firewall section of 'Sharing' and added a rule for Tor:
This is your firewall entry for Tor: it is currently on and all TCP 
network traffic on port(s) 9001 is being let through.
Yet still I get
[Warning] Your server (xx.xx.xx.xx:9001) has not managed to confirm 
that its ORPort is reachable. Please check your firewalls, ports, 
address, /etc/hosts file, etc
My Port Forwarding rule (added manually) says
Protocol TCP
Port Start 9001
Port End 9001
Port Map 9001
  Is there a way I can check the Port Forwarding independently of Tor?

 Take some time out here to RTFM.  (Likewise to madjon, who posted
thoroughly bogus directions in response to your initial posting.)  After
doing that, you may find that you understand enough of what you're writing
about that you can get it set up correctly.  If you can't get it to work
after RTFM, *then* come back to the list.  At least you'll better equipped
to pose your questions and understand the responses.  Thus far it is obvious
that you don't understand your own network setup and have yet to RTF tor M.
Until you've read the basics, all you're doing here is generating noise,
not helping your situation, and possibly mucking up your setup in ways that
may be hard to backtrack from.  A person who does understand his/her local
network setup may well be able to configure a basic relay successfully just
based upon the comments in torrc, though the man page might clarify a detail
here or there.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**


Re: Problems starting relay

2008-11-02 Thread Jonathan Addington
snipped much
(Likewise to madjon, who posted
 thoroughly bogus directions in response to your initial posting.)

My sincere apologies. I didn't RTFM, only going off of my own
experience. Apparently a bad idea.

  Scott Bennett, Comm. ASMELG, CFIAG
 **
 * Internet:   bennett at cs.niu.edu  *
 **
 * A well regulated and disciplined militia, is at all times a good  *
 * objection to the introduction of that bane of all free governments *
 * -- a standing army.   *
 *-- Gov. John Hancock, New York Journal, 28 January 1790 *
 **

-madjon


Re: Problems starting relay

2008-11-02 Thread Geoff Down

Seems to be working now - with ORListenAddress 0.0.0.0:9001 .
Thanks to those who actually tried to help with suggestions, correct or 
otherwise.

GD
On 2 Nov 2008, at 06:52, Jonathan Addington wrote:

On Sun, Nov 2, 2008 at 1:39 AM, Geoff Down [EMAIL PROTECTED] 
wrote:

Hi,
I'm not mirroring the directory server (yet) so I assume I don't need 
to

worry about the directory port.
I did enable UPnP on my router (temporarily) and tried the Test 
button in

the Vidalia Relay setup page, and it reported 'Success'. However, on
examining the Port Forwarding page, there was then no sign of a rule 
for Tor

or Vidalia.
I disabled UPnP after that.
I'm using OSX 10.3.9.
I went into the Firewall section of 'Sharing' and added a rule for 
Tor:
This is your firewall entry for Tor: it is currently on and all TCP 
network

traffic on port(s) 9001 is being let through.
Yet still I get
[Warning] Your server (xx.xx.xx.xx:9001) has not managed to confirm 
that

its ORPort is reachable. Please check your firewalls, ports, address,
/etc/hosts file, etc
My Port Forwarding rule (added manually) says
Protocol TCP
Port Start 9001
Port End 9001
Port Map 9001
 Is there a way I can check the Port Forwarding independently of Tor?

Thanks,
GD


On 2 Nov 2008, at 05:54, [EMAIL PROTECTED] wrote:

On Sun, Nov 02, 2008 at 05:45:40AM +, [EMAIL PROTECTED] 
wrote 3.5K

bytes in 113 lines about:


I downloaded the Vidlalia/Tor/Privoxy bundle all together.


Then all you need to do to run a relay is configure one via the 
Vidalia

Setup Relaying button in the Vidalia Control Panel.
Tor will generally figure out the rest.

If your router supports upnp, Vidalia will attempt to configure any 
port

forwarding for you.

If not, then yes, you need to port forward your orport and dirport 
from
the external router to your machine.  If for some reason you use the 
osx

firewall, you'll also need to open the tcp ports for the orport and
dirport.  If you are using 10.5 (leopard), when you configure a relay
through vidalia, the system should ask you to allow or deny the 
correct

ports.

The easiest next step may be to start with a fresh torrc and let 
Vidalia

do the work of configuring the relay.

--
Andrew





First, take any advice from Phobos before mine.

Second, I opened up Vidialia on my computer (I'm old school and
usually do this in a text editor); under sharing what is the Relay
Port set to? Is it the same as what your router currently has
configured? I *think* the default (under Vidalia 0.1.9) is 443, not
9050. Make sure your router reflects that.

Finally, note what Phobos said above about using the OSX firewall. It
could be getting in the way (says the guy who only runs Windows 
Linux)

-madjon




Re: Problems starting relay

2008-11-01 Thread Jonathan Addington
I can only be of so much help compared to many of the others on this
list but I'll give it a shot as I am posting as it.

On Sat, Nov 1, 2008 at 11:50 PM, Geoff Down [EMAIL PROTECTED] wrote:
 Hi,
 I'm having trouble starting up a Tor relay.
 Once I set up port forwarding (I've tried to set it up for TCP and UDP),
 should I be able to

Tor only operates in TCP, you don't need to set yourself up UDP.

 a) Ping myself from a looking-glass service
 b) Traceroute myself from a looking glass ?
 At the moment neither of these work.
 I get 'cannot confirm you can be seen from the outside world' errors.
 I'm on a dynamic IP, Mac OSX, I haven't changed any of the defaults from the
 Vidalia bundle.
 the logs say
 'Nov 02 04:35:41.569 [Notice] Opening OR listener on 0.0.0.0:9001'

It probably shouldn't be listening on 0.0.0.0. localhost:9001 or
127.0.0.1:9001 are normal unless OS X is different from Windows 
Linux (sorry, not real familiar with Macs).

Changing that may be enough. It would mean editing your torrc file so
the  ORListenAddress  line is something like

ORListenAddress localhost:9001

-or--not both-

ORListenAddress 127.0.0.1:9001


Also, your ORPort line (default: ORPort 9001) must match the above
lines. E.g., if

ORPort 2394

then

ORListenAddress localhost:2394

 Thanks,
 downie



Hopefully this helps. If not, it is possible your port forwarding is
setup incorrectly. If your computer gets a different IP from your
router every so often it can cause problems (depending on the router).

I have found it is easier to make sure my Tor server has a static IP
*inside* my network. E.g., my Tor server always has the address
192.168.1.xxx. This is is easy to configure with most routers. If you
need to configure it this way and have not I or someone else on this
list ought to be able to help you.

Other questions for you to answer:
1) Whatever version or Tor/Vidalia are you running?
2) What router do you use?

-madjon


Re: Problems starting relay

2008-11-01 Thread Jonathan Addington
all snipped

Another thing (sometimes the obvious things are what kill you), is
your firewall setup on your computer to allow incoming connections to
port 9001? Or to allow Tor as a server? I have no idea how the OS X
firewall works (or whatever firewall you use, for that matter) but it
is an easy thing to overlook.

-madjon


Re: Problems starting relay

2008-11-01 Thread Geoff Down

I downloaded the Vidlalia/Tor/Privoxy bundle all together.
I'm pretty sure my PC hasn't changed from 192.168.1.2 from the point of 
view of the router (there's nothing else on the LAN). It's a Safecom 
SWART2-54125 BTW.
Other than port forwarding, I have no idea what other settings there 
could be. I have software to prevent outgoing connections, but no 
software firewall to prevent incoming ones as far as I know - the 
router is supposed to handle that.

GD
On 2 Nov 2008, at 05:30, Jonathan Addington wrote:

On Sun, Nov 2, 2008 at 12:21 AM, Geoff Down [EMAIL PROTECTED] 
wrote:

Hi,
thanks for the response.
I have no ORListenAddress line in the torrc file - I will try adding 
that

line.
The OrPort line is
ORPort 9001
as expected for non-windows
Versions are
 Tor v0.2.0.31 (r16744)
Vidalia 0.1.9


Did you download Tor and Vidalia separately?

I assume this is the stable version of Tor?

Also, post if these changes (or others) work for you.

Finally, I obviously have no idea you are setup. But if your computer
gets a dynamic address from the router (standard DHCP setup) you may
want to check the port forward part again. It is *possible* that your
computer changes IP's (again, internally) since you set up the port
forwarding.


GD

On 2 Nov 2008, at 05:09, Jonathan Addington wrote:


I can only be of so much help compared to many of the others on this
list but I'll give it a shot as I am posting as it.

On Sat, Nov 1, 2008 at 11:50 PM, Geoff Down [EMAIL PROTECTED] 
wrote:


Hi,
I'm having trouble starting up a Tor relay.
Once I set up port forwarding (I've tried to set it up for TCP and 
UDP),

should I be able to


Tor only operates in TCP, you don't need to set yourself up UDP.


a) Ping myself from a looking-glass service
b) Traceroute myself from a looking glass ?
At the moment neither of these work.
I get 'cannot confirm you can be seen from the outside world' 
errors.
I'm on a dynamic IP, Mac OSX, I haven't changed any of the defaults 
from

the
Vidalia bundle.
the logs say
'Nov 02 04:35:41.569 [Notice] Opening OR listener on 0.0.0.0:9001'


It probably shouldn't be listening on 0.0.0.0. localhost:9001 or
127.0.0.1:9001 are normal unless OS X is different from Windows 
Linux (sorry, not real familiar with Macs).

Changing that may be enough. It would mean editing your torrc file so
the  ORListenAddress  line is something like

ORListenAddress localhost:9001

-or--not both-

ORListenAddress 127.0.0.1:9001


Also, your ORPort line (default: ORPort 9001) must match the above
lines. E.g., if

ORPort 2394

then

ORListenAddress localhost:2394


Thanks,
downie




Hopefully this helps. If not, it is possible your port forwarding is
setup incorrectly. If your computer gets a different IP from your
router every so often it can cause problems (depending on the 
router).


I have found it is easier to make sure my Tor server has a static IP
*inside* my network. E.g., my Tor server always has the address
192.168.1.xxx. This is is easy to configure with most routers. If you
need to configure it this way and have not I or someone else on this
list ought to be able to help you.

Other questions for you to answer:
1) Whatever version or Tor/Vidalia are you running?
2) What router do you use?

-madjon







Re: Problems starting relay

2008-11-01 Thread phobos
On Sun, Nov 02, 2008 at 05:45:40AM +, [EMAIL PROTECTED] wrote 3.5K bytes in 
113 lines about:
 I downloaded the Vidlalia/Tor/Privoxy bundle all together.

Then all you need to do to run a relay is configure one via the Vidalia
Setup Relaying button in the Vidalia Control Panel.
Tor will generally figure out the rest.  

If your router supports upnp, Vidalia will attempt to configure any port
forwarding for you.

If not, then yes, you need to port forward your orport and dirport from
the external router to your machine.  If for some reason you use the osx
firewall, you'll also need to open the tcp ports for the orport and
dirport.  If you are using 10.5 (leopard), when you configure a relay
through vidalia, the system should ask you to allow or deny the correct
ports.

The easiest next step may be to start with a fresh torrc and let Vidalia
do the work of configuring the relay.

-- 
Andrew