The goal of Neighbourhoodwatch is to ensure all local traffic remains local to Kuwait. Local Traffic leaks causing additional performance degradation, security risk, waste of resources, and has a negative financial impact. Neighbourwatch is a tool that compares routes advertised to the Internet are advised to the ixkw exchange (Kuwait Local Traffic Exchange) and generates a reports.
This tool was originally written by Ali H AlShamali https://github.com/shamalco
Using Neighbourhoodwatch is easy to install and use.
Use NPM to install:
npm install -g neighbourhoodwatch
Use NPM to update:
npm update -g neighbourhoodwatch
Neighbourhoodwatch supports multiple functionality:
List all differences to ixkw between selected speaker and ixkw route servers.
neighbourhoodwatch list [speaker alias]
neighbourhoodwatch list gulfnet
//output
┌─────────┬────────────────────┐
│ (index) │ Values │
├─────────┼────────────────────┤
│ 0 │ '46.31.64.0/24' │
│ 1 │ '46.31.64.0/23' │
│ 2 │ '46.31.65.0/24' │
│ 3 │ '46.31.70.0/24' │
│ 4 │ '46.31.70.0/23' │
│ 5 │ '46.31.71.0/24' │
│ 6 │ '91.140.244.0/24' │
│ 7 │ '91.140.249.0/24' │
│ 8 │ '91.209.172.0/24' │
│ 9 │ '185.187.176.0/24' │
│ 10 │ '188.231.12.0/24' │
│ 11 │ '188.231.14.0/24' │
│ 12 │ '194.54.238.0/24' │
│ 13 │ '194.54.238.0/23' │
│ 14 │ '194.126.32.0/23' │
│ 15 │ '194.126.32.0/24' │
│ 16 │ '194.126.37.0/24' │
│ 17 │ '194.126.40.0/24' │
│ 18 │ '194.126.51.0/24' │
│ 19 │ '194.126.63.0/24' │
│ 20 │ '213.132.227.0/24' │
└─────────┴────────────────────┘
Missing Prefixes from ixkw: 21 --- ixkw: 74 / Internet: 95
List all missing prefixes from ixkw route servers compare to the internet for all Kuwait registered IPs.
neighbourhoodwatch missing
....
│ 436 │ '139.141.128.0/18' │
│ 437 │ '139.141.192.0/18' │
│ 438 │ '139.141.199.0/24' │
│ 439 │ '139.141.200.0/21' │
│ 440 │ '185.95.4.0/24' │
│ 441 │ '194.54.139.0/24' │
│ 442 │ '185.48.188.0/22' │
│ 443 │ '185.48.188.0/24' │
│ 444 │ '185.48.189.0/24' │
└─────────┴────────────────────┘
Total Routes of in ixkw: 1708
Total Routes of Kuwait: 1846
Missing Prefixes from ixkw: 445
List all BGP Speakers in Kuwait
neighbourhoodwatch speakers
neighbourhoodwatch speakers
//output
Kuwait BGP Speakers
-------------------
ISPs/MNOs
---------
Gulfnet / AS3225
KEMS / AS6412
Zajil Kuwait / AS42781
Qualitynet / AS9155
Fasttelco / AS21050
Kuwait Data Center / AS43852
Zain Kuwait / AS42961
Ooredoo Kuwait / AS29357
Viva Kuwait / AS47589
Mada Kuwait / AS47442
...
| BGP Speaker | Speaker Alias |
|---|---|
| Gulfnet | gulfnet |
| KEMS | kems |
| Zajil Kuwait | kems *Unified |
| Qualitynet | qnet |
| Fasttelco | fast |
| Kuwait Data Center | fast *Unified |
| Zain Kuwait | zainkw |
| Ooredoo Kuwait | ooredookw |
| Viva Kuwait | Not Connected |
| Mada Kuwait | madakw |
Please open an issue for additional requested features.
Ali H AlShamali -- https://github.com/shamalco
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
Ali H AlShamali -- https://github.com/shamalco
This project is licensed under the MIT License - see the LICENSE.md file for details