Opened 14 years ago

Last modified 7 years ago

#107 closed defect (Implemented)

Bandwidth reporting/bootstrapping

Reported by: qbarf Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: qbarf Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I've been running a Tor server (barf 0.0.9.5 Linux) for 3 weeks with very little usage. My reported bandwidth in the directory is pretty low, even if I have good connectivity (100 K/s). I have at most 1 or 2 connect attempt at the server port (9001) per day. DirPort is set to 0, since I do not want to mirror the directory. Knowing that Tor client picks node that display sufficient bandwidth, it looks like the server need to be 'bootstrapped' initially by forcing some traffic through it, with another Tor client with a EntryNodes and StrictEntryNodes set. There are several 0.0.9.5 servers in the directory with such low bandwidth.

[Automatically added by flyspray2trac: Operating System: Other Linux]

Child Tickets

Change History (4)

comment:1 Changed 14 years ago by qbarf

Enabling DirPort for a few hour effectively 'pimp my ride', and now my server advertise its expected bandwidth so it is chosen more often by the clients. Thus it seems that DirPort is required to be enabled to bootstrap a Tor server.

comment:2 Changed 14 years ago by arma

Right. We need to add a better way to bootstrap servers that don't have a dirport open. This seems to be affecting several servers right now.

One approach would be to have an external script that somebody runs (say, me) that periodically pulls down a directory, notes the low-bandwidth nodes, and then makes a bunch of circuits using them to pull down (say) a directory. This remote measurement should be enough to bootstrap things. Plus, we could later adapt it into a way that dirservers can check that you're not lying *too* much about your bandwidth abilities.

comment:3 Changed 14 years ago by nickm

flyspray2trac: bug closed.
Now we have a kludgy automated script that can exercise servers for us; we run it periodically on low-bandwidth servers.

You should consider upgrading to the latest stable version, which should be 0.0.9.7 within the next day.

comment:4 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.