diff options
author | lex <lex@lynx.ano> | 2011-02-05 19:20:57 +0300 |
---|---|---|
committer | lex <lex@lynx.ano> | 2011-02-05 19:20:57 +0300 |
commit | 8cb30793ff5c87419689271a8fa4fb98b761c143 (patch) | |
tree | 3a783d7eb32e32badcbebdd7c69fca0dc6cb1a57 /doc | |
parent | 503c1603d591817d8d02d66f5dfdf5132bb42fd3 (diff) | |
download | resdb-8cb30793ff5c87419689271a8fa4fb98b761c143.tar.gz resdb-8cb30793ff5c87419689271a8fa4fb98b761c143.zip |
Deleted dn42, van NS records and IP claims
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/ucis.ano/bgp_graph/graph.sh | 3 | ||||
-rwxr-xr-x | doc/ucis.ano/bgp_graph/path_list_to_dot.php | 7 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/ucis.ano/bgp_graph/graph.sh b/doc/ucis.ano/bgp_graph/graph.sh new file mode 100755 index 0000000..2e7fbec --- /dev/null +++ b/doc/ucis.ano/bgp_graph/graph.sh @@ -0,0 +1,3 @@ +#!/bin/sh +./path_list_to_dot.php < /home/vpn/public_html/.stats/bgp_paths.txt | \ +twopi -T svg -o /home/vpn/public_html/.stats/anonet.svg diff --git a/doc/ucis.ano/bgp_graph/path_list_to_dot.php b/doc/ucis.ano/bgp_graph/path_list_to_dot.php index 1aa487c..03c9b04 100755 --- a/doc/ucis.ano/bgp_graph/path_list_to_dot.php +++ b/doc/ucis.ano/bgp_graph/path_list_to_dot.php @@ -30,10 +30,7 @@ function static_nodename ($node) { switch ($node) { function nodenickname ($node) { switch ($node) { case '64731': return 'SRN'; case '64766': return 'UFO'; - case '64768': return 'yang'; - case '64738': return 'welterde'; - case '64827': return 'deelkar'; - case '64680': case '64692': return rtrim(`echo $node | ./asn2descr`); + case '3090': return 'lex'; }; return NULL; }; function nodename ($node) { @@ -41,7 +38,7 @@ function nodename ($node) { if (($name=static_nodename($node))!==NULL) return $name; $nameparts=array(); if (($nick=nodenickname($node))!==NULL) $nameparts[]=$nick; - $name=rtrim(`echo $node | ./asn2adminc | ./hdl2person`); + $name=""; // rtrim(`echo $node | ./asn2adminc | ./hdl2person`); if (empty($name)) $name='AS'.$node; else $name="AS$node ($name)"; $nameparts[]=$name; return join(' - ',$nameparts); }; |