Description Usage Arguments Value Note See Also Examples
Retrieves BGP Origin ASN info for a list of ASN ids
1 | bulk_origin_asn(asns, timeout = getOption("timeout"))
|
asns |
character vector of ASN ids (character) |
timeout |
numeric: the timeout (in seconds) to be used for this connection. Beware that some OSes may treat very large values as zero: however the POSIX standard requires values up to 31 days to be supported. |
data frame of BGP Origin ASN lookup results
as
- AS #
cc
- Country code
registry
- registry it falls under
allocated
- when it was allocated
as_name
- name associated with the allocation
If a socket connection cannot be made (i.e. a network problem on your
end or a service/network problem on their end), all columns will be
NA
.
The Team Cymru's service is NOT a GeoIP service! Do not use this function for that as your results will not be accurate. Data is updated every 4 hours. Also, A direct connection to TCP Port 43 (WHOIS) is required for most of these API functions to work properly.
http://www.team-cymru.org/IP-ASN-mapping.html
1 2 3 4 5 | ## Not run:
bulk_origin_asn(c(22822, 1273, 2381, 2603, 2914, 3257, 3356, 11164,
174, 286, 1299, 2914, 3257, 3356, 3549, 22822))
## End(Not run)
|
Attaching package: 'cymruservices'
The following object is masked from 'package:base':
flush
Error opening connection to v4.whois.cymru.com
as cc registry allocated as_name
1 NA NA NA NA NA
2 NA NA NA NA NA
3 NA NA NA NA NA
4 NA NA NA NA NA
5 NA NA NA NA NA
6 NA NA NA NA NA
7 NA NA NA NA NA
8 NA NA NA NA NA
9 NA NA NA NA NA
10 NA NA NA NA NA
11 NA NA NA NA NA
12 NA NA NA NA NA
13 NA NA NA NA NA
14 NA NA NA NA NA
15 NA NA NA NA NA
16 NA NA NA NA NA
Warning message:
In .f(...) : v4.whois.cymru.com:43 cannot be opened
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.