Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiraum/peering_gossip
Peering Gossip Tool: Daily Hall of Shame for Autonomous Systems
https://github.com/kiraum/peering_gossip
alice bgp internet looking-glass peering route-server
Last synced: about 1 month ago
JSON representation
Peering Gossip Tool: Daily Hall of Shame for Autonomous Systems
- Host: GitHub
- URL: https://github.com/kiraum/peering_gossip
- Owner: kiraum
- License: agpl-3.0
- Created: 2023-06-08T18:29:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T03:20:59.000Z (about 2 months ago)
- Last Synced: 2024-10-30T06:14:49.168Z (about 2 months ago)
- Topics: alice, bgp, internet, looking-glass, peering, route-server
- Language: Python
- Homepage:
- Size: 1.75 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# peering_gossip
[![Test (linter/formatter)](https://github.com/kiraum/peering_gossip/actions/workflows/linter.yml/badge.svg)](https://github.com/kiraum/peering_gossip/actions/workflows/linter.yml)
[![CodeQL](https://github.com/kiraum/peering_gossip/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/kiraum/peering_gossip/actions/workflows/github-code-scanning/codeql)
[![Generate IXPs reports](https://github.com/kiraum/peering_gossip/actions/workflows/generate_reports.yml/badge.svg)](https://github.com/kiraum/peering_gossip/actions/workflows/generate_reports.yml)### Peering Gossip Tool: Daily Hall of Shame for Autonomous Systems
This tool generates a daily "Hall of Shame" report for Autonomous Systems (AS) that exhibit less-than-courteous behavior in their peering arrangements. It analyzes public Alice looking glass data to collect and aggregate filtered prefixes, providing insights into the practices of these AS. The reports are automatically generated and committed to this repository each day, enhancing transparency and encouraging better practices within the network community.
**Reports are being automatically generated and committed daily to this repository.**
```
% python3 peering_gossip.py -h
usage: peering_gossip.py [-h] [-lg ALICE_URL] [-a]Peering Gossip - Gossiping about bad practices!
optional arguments:
-h, --help show this help message and exit
-lg ALICE_URL Check Alice looking glass for top filtered ASNs, and generates a report.
-a Generate report for all ixps from pgossip/config.yaml.
```### daily reports
- [IX.br](reports/lg.ix.br.txt)
- [IX.br json](reports/lg.ix.br.json)
- [DE-CIX](reports/lg.de-cix.net.txt)
- [DE-CIX json](reports/lg.de-cix.net.json)
- [AMS-IX](reports/lg.ams-ix.net.txt)
- [AMS-IX json](reports/lg.ams-ix.net.json)
- [LINX](reports/alice-rs.linx.net.txt)
- [LINX json](reports/alice-rs.linx.net.json)### install
```
% git clone [email protected]:kiraum/peering_gossip.git
% python3 -m venv venv
% . venv/bin/activate
% pip install --no-cache-dir -U pip uv
% uv pip install -r requirements.txt
```### use it
```
% . venv/bin/activate
% python3 peering_gossip.py -lg https://lg.ams-ix.net
```### example usage
to run agains one looking glass:
```
% python3 peering_gossip.py -lg https://lg.ams-ix.net
Working on https://lg.ams-ix.net - nl-rc-v4
Working on https://lg.ams-ix.net - nl-rc-v6
Working on https://lg.ams-ix.net - hk-rs1-v4
Working on https://lg.ams-ix.net - hk-rs1-v6
Working on https://lg.ams-ix.net - hk-rs2-v4
Working on https://lg.ams-ix.net - hk-rs2-v6
Working on https://lg.ams-ix.net - cw-rs1-v4
Working on https://lg.ams-ix.net - cw-rs1-v6
Working on https://lg.ams-ix.net - cw-rs2-v4
Working on https://lg.ams-ix.net - cw-rs2-v6
Working on https://lg.ams-ix.net - mum-rs1-v4
Working on https://lg.ams-ix.net - mum-rs1-v6
Working on https://lg.ams-ix.net - mum-rs2-v4
Working on https://lg.ams-ix.net - mum-rs2-v6
Working on https://lg.ams-ix.net - chi-rs1-v4
Working on https://lg.ams-ix.net - chi-rs1-v6
Working on https://lg.ams-ix.net - chi-rs2-v4
Working on https://lg.ams-ix.net - chi-rs2-v6
Working on https://lg.ams-ix.net - ba-rs1-v4
Working on https://lg.ams-ix.net - ba-rs1-v6
Working on https://lg.ams-ix.net - ba-rs2-v4
Working on https://lg.ams-ix.net - ba-rs2-v6
Filtered prefixes @ https://lg.ams-ix.net | ASN | AS-NAME | AS Rank | Source | Country | PeeringDB link
1634 | 7713 | TELKOMNET-AS-AP PT Telekomunikasi Indonesia | 69 | APNIC | ID | https://www.peeringdb.com/asn/7713
198 | 134548 | DXTL-HK DXTL Tseung Kwan O Service | 2833 | APNIC | HK | https://www.peeringdb.com/asn/134548
144 | 24429 | TAOBAO Zhejiang Taobao Network Co. | 2666 | APNIC | US | https://www.peeringdb.com/asn/24429
28 | 18229 | CTRLS-AS-IN CtrlS | 294 | APNIC | IN | https://www.peeringdb.com/asn/18229
8 | 6939 | HURRICANE | 6 | ARIN | US | https://www.peeringdb.com/asn/6939
8 | 199524 | GCORE - G-Core Labs S.A. | 345 | RIPE | LU | https://www.peeringdb.com/asn/199524
8 | 9583 | SIFY-AS-IN Sify Limited | 97 | APNIC | IN | https://www.peeringdb.com/asn/9583
7 | 58779 | I4HKLIMITED-AS i4HK Limited | 2190 | APNIC | HK | https://www.peeringdb.com/asn/58779
4 | 9304 | HUTCHISON-AS-AP HGC Global Communications Limited | 86 | APNIC | HK | https://www.peeringdb.com/asn/9304
4 | 136334 | VNPL-AS Vortex Netsol Private Limited | 694 | APNIC | IN | https://www.peeringdb.com/asn/136334
2 | 7552 | VIETEL-AS-AP Viettel Group | 219 | APNIC | VN | https://www.peeringdb.com/asn/7552
2 | 64567 | AMS-IX | NA | NA | NL | https://www.peeringdb.com/asn/64567
2 | 36351 | SOFTLAYER | 1921 | ARIN | US | https://www.peeringdb.com/asn/36351
2 | 55352 | MCPL-IN Microscan Infocommtech Private Limited | 677 | APNIC | IN | https://www.peeringdb.com/asn/55352
2 | 132770 | GAZON-AS-IN Gazon Communications India Limited | 467 | APNIC | IN | https://www.peeringdb.com/asn/132770
================================================================================
We created a sharable report link, enjoy => https://glot.io/snippets/gw9fx0fc4a
```or to run againt all ASNs from config.yaml:
```
% python3 peering_gossip.py -a
...
```Happy peering! =D
#!