riswhois: reporting total number of ris-peers
Would it be possible to add current total number of rispeers somewhere in the leading comments? [whois -h riswhois.ripe.net 193.17.41.2] I would like to create script for automatic queries of riswhois and (IMHO) total number of contributing ris-peers would be handy for filtering out "local routes". e.g. ignore route to AS mappings reported by less tha half of ris-peers -- Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl All that is necessary for the triumph of evil is that good men do nothing -- Edmund Burke (1729-1797)
Hi Andrzej, On Fri, 29 Jul 2005, Andrzej Adam Filip wrote:
Would it be possible to add current total number of rispeers somewhere in the leading comments? [whois -h riswhois.ripe.net 193.17.41.2]
It's an interesting suggestion, but the number is not easily extracted from the internal data structures build by riswhois server today. We have to think how the riswhois server could get statistics on all rispeers (total # of peers, number of fullfeed peers, IPv6 peers) automatically from the collected data. Once this is clear we'll know how much coding will be involved and how long it will take to implement. -- Rene =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rene Wilhelm RIPE Network Coordination Centre Email: wilhelm@ripe.net Amsterdam, the Netherlands Phone: +31 20 535 4417 Fax: +31 20 535 4445 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rene Wilhelm wrote:
On Fri, 29 Jul 2005, Andrzej Adam Filip wrote:
Would it be possible to add current total number of rispeers somewhere in the leading comments? [whois -h riswhois.ripe.net 193.17.41.2]
It's an interesting suggestion, but the number is not easily extracted from the internal data structures build by riswhois server today. We have to think how the riswhois server could get statistics on all rispeers (total # of peers, number of fullfeed peers, IPv6 peers) automatically from the collected data. Once this is clear we'll know how much coding will be involved and how long it will take to implement.
What do you think about providing "max ris-peers per IPv4|IPv6 route" hint in riswhois replies? [I think it will be easier to compute] It should be almost as good as maximum number of ris-peers, for some users it may be even better fitted. -- Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl All that is necessary for the triumph of evil is that good men do nothing -- Edmund Burke (1729-1797)
On Mon, 1 Aug 2005, Andrzej Adam Filip wrote:
Rene Wilhelm wrote:
It's an interesting suggestion, but the number is not easily extracted from the internal data structures build by riswhois server today. We have to think how the riswhois server could get statistics on all rispeers (total # of peers, number of fullfeed peers, IPv6 peers) automatically from the collected data. Once this is clear we'll know how much coding will be involved and how long it will take to implement.
What do you think about providing "max ris-peers per IPv4|IPv6 route" hint in riswhois replies? [I think it will be easier to compute]
I don't quite understand what you mean with 'max ris-peers per route' Could you given an example? -- Rene
Rene Wilhelm wrote:
On Mon, 1 Aug 2005, Andrzej Adam Filip wrote:
Rene Wilhelm wrote:
It's an interesting suggestion, but the number is not easily extracted from the internal data structures build by riswhois server today. We have to think how the riswhois server could get statistics on all rispeers (total # of peers, number of fullfeed peers, IPv6 peers) automatically from the collected data. Once this is clear we'll know how much coding will be involved and how long it will take to implement.
What do you think about providing "max ris-peers per IPv4|IPv6 route" hint in riswhois replies? [I think it will be easier to compute]
I don't quite understand what you mean with 'max ris-peers per route' Could you given an example?
Sorry for lack of necessary precision. Current format of data in riswhoisdump.IPv4.gz and riswhoisdump.IPv6.gz is as follows: % Format: <origin> <tab> <prefix> <tab> <seen by #rispeers> I would like riswhois report (somewhere in the header comments) maximum value of "seen by #rispeers" ("num-rispeers:" in riwhois terminology) in current data set. It would make client aware about number of rispeers seeing route with the best "visibility". Based on todays dumps (2005-08-01T10:03+0000) it is: 89 for IPv4 routes 28 for IPv6 routes I used the following scriplet: zcat riswhoisdump.IPv4.gz | perl -nae ' next if /^%/; $MAX=$F[2] if $F[2]>$MAX; END {print $MAX} ' -- Andrzej [en:Andrew] Adam Filip anfi@priv.onet.pl anfi@xl.wp.pl All that is necessary for the triumph of evil is that good men do nothing -- Edmund Burke (1729-1797)
participants (2)
-
Andrzej Adam Filip
-
Rene Wilhelm