Re: DNS statistics from node operators
Olaf Selke schrieb: > Olaf Selke schrieb: >> Jacob Appelbaum schrieb: >>> I was actually hoping to get statistics from you specifically, so I'm >>> glad that you responded! >> ok, just got the patch. Keep you posted... > > tor now has been running for 17 hours: > > Jun 04 18:02:06.269 [notice] Our DNS cache has 7667 entries. > Jun 04 18:02:06.269 [notice] Our DNS cache size is approximately 2772880 > bytes. it doesn't change Jun 05 20:15:13.405 [notice] Our DNS cache has 7250 entries. Jun 05 20:15:13.405 [notice] Our DNS cache size is approximately 2632768 bytes. Olaf
Re: DNS statistics from node operators
Olaf Selke schrieb: > Jacob Appelbaum schrieb: >> I was actually hoping to get statistics from you specifically, so I'm >> glad that you responded! > > ok, just got the patch. Keep you posted... tor now has been running for 17 hours: Jun 04 18:02:06.269 [notice] Our DNS cache has 7667 entries. Jun 04 18:02:06.269 [notice] Our DNS cache size is approximately 2772880 bytes. Olaf
Re: DNS statistics from node operators
Jacob Appelbaum schrieb: > > I was actually hoping to get statistics from you specifically, so I'm > glad that you responded! ok, just got the patch. Keep you posted... Olaf
Re: DNS statistics from node operators
Olaf Selke wrote: > Jacob Appelbaum wrote: >> I'm looking into some simple DNS related statistics in the Tor network. >> Specifically, I wrote a small patch that tells an operator the total >> number of cached entries for their node. I'd like to know about your DNS >> cache size, especially if you run a fast node! > > how does tor dns caching work? My exit gw's tor process size increases > by about 50 MB each TB of tor traffic. > Generally speaking, your Or will cache a couple of record types when people use you to resolve names (A, PTR). You'll keep them cached for a maximum amount of time (defined in the source code) or less time depending on the returned TTL. Generally, your OR resolves names when someone extends a circuit through you for a connection or when they explicitly use your node for name resolution. I was actually hoping to get statistics from you specifically, so I'm glad that you responded! Please let us know how large your cache gets? It would be interesting to see the average size of the cache for the top twenty nodes. My node 'trusted' for example certainly does not have 50MB of entries: Jun 03 21:20:51.271 [notice] Our DNS cache has 28 entries. Jun 03 21:20:51.271 [notice] Our DNS cache size is approximately 9856 bytes. My exit policy on 'trusted' allows *:53. Simply being able to resolve names doesn't increase my cache size too much. Badbits on the other hand does allow a few other ports and today, it has a much larger cache: Jun 03 14:26:37.577 [notice] Our DNS cache has 3473 entries. Jun 03 14:26:37.577 [notice] Our DNS cache size is approximately 1104968 bytes. Best, Jacob
Re: DNS statistics from node operators
Jacob Appelbaum wrote: > > I'm looking into some simple DNS related statistics in the Tor network. > Specifically, I wrote a small patch that tells an operator the total > number of cached entries for their node. I'd like to know about your DNS > cache size, especially if you run a fast node! how does tor dns caching work? My exit gw's tor process size increases by about 50 MB each TB of tor traffic. Olaf
DNS statistics from node operators
Hi, I'm looking into some simple DNS related statistics in the Tor network. Specifically, I wrote a small patch that tells an operator the total number of cached entries for their node. I'd like to know about your DNS cache size, especially if you run a fast node! Here's an example of this feature in use with my node 'badbits', a node that averages about 20-30Mb/s. I'm running a very alpha version where Nick merged my DNS cache counting patch: r...@badbits:~# tor --version Jun 02 17:15:22.293 [notice] Tor v0.2.2.0-alpha-dev. This is experimental software. Do not rely on it for strong anonymity. (Running on Linux i686) Tor version 0.2.2.0-alpha-dev. r...@badbits:~# pkill -SIGUSR1 tor r...@badbits:~# grep -i dns /var/log/tor/notices.log Jun 02 17:14:33.597 [notice] Our DNS cache has 3486 entries. Jun 02 17:14:33.597 [notice] Our DNS cache size is approximately 1108920 bytes. Best, Jacob