[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: TOR Directory file
- To: or-talk@xxxxxxxxxxxxx
- Subject: Re: TOR Directory file
- From: Joe Clark <joe_clark28@xxxxxxxxx>
- Date: Tue, 5 Sep 2006 10:12:58 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-talk-outgoing@seul.org
- Delivered-to: or-talk@seul.org
- Delivery-date: Tue, 05 Sep 2006 13:13:08 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zBd/Q0qhwPGvI0Y2+dlcGTb159qhewOd19522o+JLKfO2HEAT9otN10NBkBKSVqT/6p+v4iPLeZObWMKQtmzSjJmuMMqtXzk2pRcC3ZnWZDakxHlWL+WnEH4Yyr1u7Y2n8iauz97w/mn6LBx8TwFtAIRSdiL5YKT1cbk+ZuaypM= ;
- In-reply-to: <20060904215513.GD22110@totoro.wangafu.net>
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-talk@xxxxxxxxxxxxx
First of all, thanks !
You're saying to not rely on the cached-routers file (name and format), so what can I rely on as a list of all routers?
this:
or maybe this: (notice that this is by the old format)
?
Thanks!,
Joe.
Nick Mathewson <nickm@xxxxxxxxxxxxx> wrote:
On Mon, Sep 04, 2006 at 12:19:27AM -0700, Joe Clark wrote:
> Hi,
>
> I don't want to be rude, but please answer my little question.
>
>
> Joe
Clark wrote:
> Dear TOR users:
>
> I got a pretty newbie question to you guys:
> From where does TOR client take its routers' database ?
The directory protocol is described at
http://tor.eff.org/svn/trunk/doc/dir-spec.txt
> In v-0.1.0.17 it was a file called "cached-directory". I upgraded
> to v-0.1.1.23 and I noticed some changes in the filename
> ("cached-routers" ?!) and in the file format.
Indeed you did. The old protocol is at
http://tor.eff.org/svn/trunk/doc/dir-spec-v0.txt
The storage format is undocumented, and intentionally so: we may
change it without warning, so please don't rely on it. But basically,
the old format was just to store a raw directory to disk. The new
format is to store a network status document for each authority in a
file named cached-status/ (with the authority's
fingerprint given in hex); and to store the
router descriptors
concatenated in cached-routers and cached-routers.new. The latter is
append-only, and used as a journal; periodically, we prune out unused
router descriptors and regenerate cached-routers.
The source (in routerlist.c) should have full information.
yrs,
--
Nick Mathewson
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.