跳转至

Tor Relays 观测点

ASNs 自治网络观测数据分析 接续讨论「连线层的在地观测」。前两篇看的是「我们在测什么网站」与「测量端落在哪些 ASN」,这篇换到节点端:台湾有多少 Tor 中继节点、跑在哪些 ASN 上、贡献多少带宽。中继节点的数量与分散程度,是台湾对全球 Tor 网络贡献量的直接指标。页面也顺带列出日本、韩国、香港的同期数据,作为邻近地区的参照。

观测地区:

此页面持续追踪各地区 Tor 中继节点的运作状况,数据每小时从 Tor 网络收集一次、以天为单位汇整呈现,涵盖健康度、多样性与版本分布等方面。

健康状态

中继节点是否正常提供服务,以及整体贡献的带宽容量。

  • 持续与停止运作的数量1 { "description": "Tor Relays Running (count), Taiwan", "data": {"url" : "https://anoni.net/api/vega/tor/relays/running?country=tw"}, "mark": { "type": "bar", "tooltip": true }, "encoding": { "x": { "field": "created_at", "type": "temporal", "timeUnit": "yearmonthdate", "axis": {"format": "%m/%d"}, "title": "日期" }, "y": {"field": "count", "type": "quantitative", "title": "数量"}, "color": { "field": "running", "title": "运作状态", "scale": { "domain": [false, true], "range": ["#ff6384", "#36a2eb"] }, "legend": { "labelExpr": "datum.label == 'true' ? '运行中' : '已停止'" } } } }

  • 每日提供的总带宽2 { "description": "Tor Relays Running (observed_bandwidth), Taiwan", "data": {"url" : "https://anoni.net/api/vega/tor/relays/running?country=tw"}, "transform": [ {"filter": "datum.running == true"}, {"calculate": "datum.observed_bandwidth/1000000", "as": "observed_bandwidth"} ], "mark": { "type": "area", "tooltip": true, "interpolate": "monotone", "point": true, "line": true }, "encoding": { "x": { "field": "created_at", "type": "temporal", "timeUnit": "yearmonthdate", "axis": {"format": "%m/%d"}, "title": "日期" }, "y": {"field": "observed_bandwidth", "type": "quantitative", "title": "带宽(MB/s)"} } }

多样性指标

自治网络(ASN)的分散程度,以及不同节点角色的分布状况,反映网络的去中心化健康度。

  • ASN 每日唯一数量4 { "description": "Tor Relays ASN unique count, Taiwan", "data": {"url" : "https://anoni.net/api/vega/tor/relays/asn?country=tw"}, "transform": [ { "aggregate": [{"op": "count", "as": "asn_unique_count"}], "groupby": ["created_at"] } ], "mark": { "type": "line", "tooltip": true, "point": true, "interpolate": "monotone" }, "encoding": { "x": { "field": "created_at", "type": "temporal", "timeUnit": "yearmonthdate", "axis": {"format": "%m/%d"}, "title": "日期" }, "y": {"field": "asn_unique_count", "type": "quantitative", "title": "唯一 ASN 数量"} } }

  • 中继点类型数量5 { "description": "Tor Relays Node Type (count), Taiwan", "data": {"url" : "https://anoni.net/api/vega/tor/relays/node_type?country=tw"}, "mark": { "type": "bar", "tooltip": true }, "encoding": { "x": { "field": "created_at", "type": "temporal", "timeUnit": "yearmonthdate", "axis": {"format": "%m/%d"}, "title": "日期" }, "y": {"field": "count", "type": "quantitative", "title": "数量"}, "color": { "field": "node", "title": "节点类型" } } }

数据日期:—

ASN 名称 中继节点数
加载中...

版本与标签

Tor 软件版本的更新状况,以及各节点所具备的能力标签分布。

  • 版本数量3 { "description": "Tor Relays Version (count), Taiwan", "data": {"url" : "https://anoni.net/api/vega/tor/relays/version?country=tw"}, "mark": { "type": "line", "tooltip": true, "point": true, "interpolate": "monotone" }, "encoding": { "x": { "field": "created_at", "type": "temporal", "timeUnit": "yearmonthdate", "axis": {"format": "%m/%d"}, "title": "日期" }, "y": {"field": "count", "type": "quantitative", "title": "数量"}, "color": { "field": "version", "title": "版本" } } }

  • 标签类型数量6 { "description": "Tor Relays Flags (count), Taiwan", "data": {"url" : "https://anoni.net/api/vega/tor/relays/flags?country=tw"}, "mark": { "type": "line", "tooltip": true, "point": false, "interpolate": "monotone" }, "encoding": { "x": { "field": "created_at", "type": "temporal", "timeUnit": "yearmonthdate", "axis": {"format": "%m/%d"}, "title": "日期" }, "y": {"field": "count", "type": "quantitative", "title": "数量"}, "color": { "field": "flag", "title": "标签" } } }

各地区比较

各地区最新一日的中继节点运作数量一览,方便对照不同地区的贡献规模。

数据日期:—

地区 运行中 已停止
加载中...

想动手做?

下一步


  1. 持续与停止运作的数量:计算每日该地区的 Tor Relay 运作状态数量,计算区间每小时不重复的 Tor Relay。 

  2. 每日提供的总带宽:计算每日该地区运行中的 Tor Relay 总带宽(MB/s),计算区间每小时不重复的 Tor Relay。 

  3. 版本数量:计算每日该地区 Tor Relay 所使用的 Tor 版本号数量,计算区间每小时不重复的 Tor Relay。 

  4. ASN 每日唯一数量:计算每日该地区的 Tor Relay 自治网络编号(ASN)的唯一数量,数值越高代表节点分散于更多不同的网络供应商,去中心化程度越佳。 

  5. 中继点类型数量:计算每日该地区的 Tor Relay 类型数量,计算区间每小时不重复的 Tor Relay。 

  6. 标签类型数量:计算每日该地区的 Tor Relay 标签类型数量;各标签不互斥,同一节点可同时具备多个标签。