An open API service indexing awesome lists of open source software.

https://github.com/bwaldvogel/neighbourhood

Layer 2 network neighbourhood discovery tool that uses scapy
https://github.com/bwaldvogel/neighbourhood

arp networking python

Last synced: 2 months ago
JSON representation

Layer 2 network neighbourhood discovery tool that uses scapy

Awesome Lists containing this project

README

        

## Layer 2 Network Neighbourhood Discovery Tool ##

Easily detect hosts on your local network by sending ARP pings.
For additional information, see [this Stack Overflow question][3].

## Dependencies ##

* Python 3.8+
* [scapy][1] for networking functions like [arping][2]

## Installation and Usage ##

When [scapy][1] is installed as system library, simply run:

```
$ sudo ./neighbourhood.py [-i ]
```

Alternatively, you can use [uv][4]:

```
$ uv sync
$ sudo uv run neighbourhood.py [-i ]
```

## TODO ##

* IPv6 support

[1]: https://scapy.net/
[2]: http://en.wikipedia.org/wiki/Arping
[3]: http://stackoverflow.com/questions/207234/list-of-ip-addresses-hostnames-from-local-network-in-python/
[4]: https://github.com/astral-sh/uv