├── .gitignore ├── LICENSE ├── MANIFEST.in ├── README.md ├── bgpranking_redis ├── __init__.py ├── api.py ├── constraints.default.py └── tools.py ├── doc ├── Makefile └── source │ ├── code │ └── API.rst │ ├── conf.py │ └── index.rst ├── example ├── api_web │ ├── client │ │ ├── MANIFEST.in │ │ ├── README.md │ │ ├── bgpranking_web │ │ │ ├── __init__.py │ │ │ └── api.py │ │ └── setup.py │ └── server │ │ └── webservice.py ├── export │ ├── asn_ranks │ │ ├── agg_consummer.py │ │ ├── consumer.py │ │ ├── generate_aggs.py │ │ ├── init_redis.py │ │ ├── launch.sh │ │ ├── launch_local_redis.sh │ │ └── local_redis.conf │ └── day_ips │ │ ├── consumer.py │ │ ├── dates.sh │ │ ├── dump.py │ │ ├── init_redis.py │ │ ├── launch.sh │ │ ├── launch_local_redis.sh │ │ └── local_redis.conf ├── ip_zmq │ └── client.py ├── logging │ ├── logs │ │ └── .keepdir │ ├── mail.conf │ └── start_logging.sh ├── twitter_bot │ ├── microblog │ │ ├── __init__.py │ │ ├── api_wrapper.py │ │ └── python_stream_api.py │ └── start_bot.py └── website │ ├── __init__.py │ ├── compil.sh │ ├── config │ └── web_bgp-ranking.ini │ ├── data │ ├── csv │ │ └── .is_csv_dir │ ├── csv_agg │ │ └── .keepdir │ └── js │ │ └── .keepdir │ ├── js │ ├── world_benelux.js │ ├── world_luxembourg.js │ └── worldmap_script.js │ ├── logs │ └── .keepdir │ ├── master.py │ ├── master_controler.py │ ├── start_website.sh │ ├── templates │ ├── __init__.py │ ├── asn_details.tmpl │ ├── comparator.tmpl │ ├── index_asn.tmpl │ ├── ip_lookup.tmpl │ ├── map.tmpl │ ├── master.tmpl │ ├── trend.tmpl │ └── trend_benelux.tmpl │ └── thirdparty │ ├── dygraph │ └── .keepdir │ ├── jvectormap │ └── .keepdir │ └── update_thirdparty.sh └── setup.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/README.md -------------------------------------------------------------------------------- /bgpranking_redis/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/bgpranking_redis/__init__.py -------------------------------------------------------------------------------- /bgpranking_redis/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/bgpranking_redis/api.py -------------------------------------------------------------------------------- /bgpranking_redis/constraints.default.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/bgpranking_redis/constraints.default.py -------------------------------------------------------------------------------- /bgpranking_redis/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/bgpranking_redis/tools.py -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/doc/Makefile -------------------------------------------------------------------------------- /doc/source/code/API.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/doc/source/code/API.rst -------------------------------------------------------------------------------- /doc/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/doc/source/conf.py -------------------------------------------------------------------------------- /doc/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/doc/source/index.rst -------------------------------------------------------------------------------- /example/api_web/client/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include README.md 2 | -------------------------------------------------------------------------------- /example/api_web/client/README.md: -------------------------------------------------------------------------------- 1 | Python library to access the BGP Ranking REST API. 2 | -------------------------------------------------------------------------------- /example/api_web/client/bgpranking_web/__init__.py: -------------------------------------------------------------------------------- 1 | from api import * 2 | -------------------------------------------------------------------------------- /example/api_web/client/bgpranking_web/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/api_web/client/bgpranking_web/api.py -------------------------------------------------------------------------------- /example/api_web/client/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/api_web/client/setup.py -------------------------------------------------------------------------------- /example/api_web/server/webservice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/api_web/server/webservice.py -------------------------------------------------------------------------------- /example/export/asn_ranks/agg_consummer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/asn_ranks/agg_consummer.py -------------------------------------------------------------------------------- /example/export/asn_ranks/consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/asn_ranks/consumer.py -------------------------------------------------------------------------------- /example/export/asn_ranks/generate_aggs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/asn_ranks/generate_aggs.py -------------------------------------------------------------------------------- /example/export/asn_ranks/init_redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/asn_ranks/init_redis.py -------------------------------------------------------------------------------- /example/export/asn_ranks/launch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/asn_ranks/launch.sh -------------------------------------------------------------------------------- /example/export/asn_ranks/launch_local_redis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/asn_ranks/launch_local_redis.sh -------------------------------------------------------------------------------- /example/export/asn_ranks/local_redis.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/asn_ranks/local_redis.conf -------------------------------------------------------------------------------- /example/export/day_ips/consumer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/day_ips/consumer.py -------------------------------------------------------------------------------- /example/export/day_ips/dates.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/day_ips/dates.sh -------------------------------------------------------------------------------- /example/export/day_ips/dump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/day_ips/dump.py -------------------------------------------------------------------------------- /example/export/day_ips/init_redis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/day_ips/init_redis.py -------------------------------------------------------------------------------- /example/export/day_ips/launch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/day_ips/launch.sh -------------------------------------------------------------------------------- /example/export/day_ips/launch_local_redis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/day_ips/launch_local_redis.sh -------------------------------------------------------------------------------- /example/export/day_ips/local_redis.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/export/day_ips/local_redis.conf -------------------------------------------------------------------------------- /example/ip_zmq/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/ip_zmq/client.py -------------------------------------------------------------------------------- /example/logging/logs/.keepdir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/logging/mail.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/logging/mail.conf -------------------------------------------------------------------------------- /example/logging/start_logging.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/logging/start_logging.sh -------------------------------------------------------------------------------- /example/twitter_bot/microblog/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/twitter_bot/microblog/__init__.py -------------------------------------------------------------------------------- /example/twitter_bot/microblog/api_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/twitter_bot/microblog/api_wrapper.py -------------------------------------------------------------------------------- /example/twitter_bot/microblog/python_stream_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/twitter_bot/microblog/python_stream_api.py -------------------------------------------------------------------------------- /example/twitter_bot/start_bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/twitter_bot/start_bot.py -------------------------------------------------------------------------------- /example/website/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /example/website/compil.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cheetah compile -R 4 | -------------------------------------------------------------------------------- /example/website/config/web_bgp-ranking.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/config/web_bgp-ranking.ini -------------------------------------------------------------------------------- /example/website/data/csv/.is_csv_dir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/website/data/csv_agg/.keepdir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/website/data/js/.keepdir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/website/js/world_benelux.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/js/world_benelux.js -------------------------------------------------------------------------------- /example/website/js/world_luxembourg.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/js/world_luxembourg.js -------------------------------------------------------------------------------- /example/website/js/worldmap_script.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/js/worldmap_script.js -------------------------------------------------------------------------------- /example/website/logs/.keepdir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/website/master.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/master.py -------------------------------------------------------------------------------- /example/website/master_controler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/master_controler.py -------------------------------------------------------------------------------- /example/website/start_website.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | python master.py 4 | -------------------------------------------------------------------------------- /example/website/templates/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/website/templates/asn_details.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/asn_details.tmpl -------------------------------------------------------------------------------- /example/website/templates/comparator.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/comparator.tmpl -------------------------------------------------------------------------------- /example/website/templates/index_asn.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/index_asn.tmpl -------------------------------------------------------------------------------- /example/website/templates/ip_lookup.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/ip_lookup.tmpl -------------------------------------------------------------------------------- /example/website/templates/map.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/map.tmpl -------------------------------------------------------------------------------- /example/website/templates/master.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/master.tmpl -------------------------------------------------------------------------------- /example/website/templates/trend.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/trend.tmpl -------------------------------------------------------------------------------- /example/website/templates/trend_benelux.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/templates/trend_benelux.tmpl -------------------------------------------------------------------------------- /example/website/thirdparty/dygraph/.keepdir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/website/thirdparty/jvectormap/.keepdir: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/website/thirdparty/update_thirdparty.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/example/website/thirdparty/update_thirdparty.sh -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CIRCL/bgpranking-redis-api/HEAD/setup.py --------------------------------------------------------------------------------