ip-analyzer

command module
v0.0.0-...-cd27d27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 3 Imported by: 0

README

IP Analyzer

This project is incomplete.

  • Detects IP addresses used on the LAN.
  • Identify the intended use of the host that has the IP.
  • Notify duplicate IPs.

For Developers

I am developing on an Ubuntu 22.04 VM built with Multipass. Here is how to set up a development environment using Multipass.

cd ip-analyzer
multipass launch --name dev-ip-analyzer --mem 2G --disk 10G --cpus 2 --mount .:/home/ubuntu/ip-analyzer 22.04
multipass exec dev-ip-analyzer sudo sh go-setup.sh
multipass exec dev-ip-analyzer sudo sh namespaces/router.sh

If you build the ./ping command, you will see it work like this command.

multipass exec dev-ip-analyzer -- sudo ip netns exec ns1 ./ping 192.168.3.1 -I 192.168.2.1

If you need to create a new namespace, create a new script in ./namespaces.

When developing with a VM other than Multipass, build the environment as follows.

cd ip-analyzer
sudo sh go-setup.sh
sudo sh namespaces/router.sh

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL