Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/bwaldvogel/neighbourhood

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

arp networking python

Last synced: 13 days ago
JSON representation

Layer 2 network neighbourhood discovery tool that uses scapy

Awesome Lists containing this project

README

        

## Layer 2 network neighbourhood discovery tool ##

Tool to discover hosts in your network using ARP pings.
See also [this question on stackoverflow.com][3]

## Dependencies ##

* Python 2.7 or 3.4+
* [scapy][1] for networking functions like [arping][2]

## Installation ##

Either install a recent [scapy][1] with your package manager,
or setup a [virtual environment][4]:

```
$ virtualenv virtualenv
$ source virtualenv/bin/activate
$ pip install -r requirements.txt
```

## Usage ##

```
$ sudo ./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://docs.python-guide.org/dev/virtualenvs/