nitefood / asn

ASN / RPKI validity / BGP stats / IPv4v6 / Prefix / URL / ASPath / Organization / IP reputation / IP geolocation / IP fingerprinting / Network recon / lookup API server / Web traceroute server
MIT License
1.37k stars 163 forks source link

Windows 10 Installation #9

Closed jaldhaka closed 3 years ago

jaldhaka commented 3 years ago

I am totally newbie in python. I look for a bgp asn traceroute program for my lab and find this program, which is very good for my objectives. Unfortunately, I am not able to understand that how can I use it in Windows 10. I will be very grateful, if you guide me. I am extremely sorry if I make any inconvenience to you.

nitefood commented 3 years ago

Hey there,

there's no Python involved, this is a single shell (BASH) script. BASH is fully supported on Windows through either Cygwin or WSL. I suggest you go the WSL2 route. Follow Microsoft's guide and choose Ubuntu 20.04 LTS on step 6. Once your WSL2 system is up and running, you can simply open a Linux terminal on Windows and follow the installation instructions for Debian 10 / Ubuntu 20.04 (or newer), that should give you a working tool installation.

Note however that systemd is not installed with WSL2, so you'll not be able to run the asn server in daemon mode (if you want server mode you'll have to launch it manually using asn -l). I'll update the README whenever I find (or somebody suggests) a viable alternative. If running the service in daemon mode is a mandatory requirement, you'll have to resort to a Linux or FreeBSD VM for now (or run it as a background process and nohup).

jaldhaka commented 3 years ago

Thank you master for your enlightenment. I done the same as per your instructions. Again, thank you very much.