Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/raspi/pyzmqarp

arp -> zmq pub
https://github.com/raspi/pyzmqarp

arp discovery kernel linux netlink network pyroute2 python zmq

Last synced: 22 days ago
JSON representation

arp -> zmq pub

Awesome Lists containing this project

README

        

# pyzmqarp

Send Linux kernel network neighbors (ARP) changes to ZMQ Publisher socket where n subscribers can listen to changes.

For example:

* Keep database of reachable IPs
* Offer realtime log for example via websocket

Equivalent to CLI tools:

% ip monitor neigh

or `arpwatch` tool found in many distributions.

[ZMQ](http://zeromq.org/) is language agnostic so zmq socket subscribers can be written in all languages that zmq supports (C, PHP, Python, Lua, Haxe, C++, C#, CL, Delphi, Erlang, F#, Felix, Haskell, Java, Objective-C, Ruby, Ada, Basic, Clojure, Go, Haxe, Node.js, ooc, Perl, Scala, ..).

# requirements

* [pyroute2](https://pypi.python.org/pypi/pyroute2)
* [zmq](https://pypi.python.org/pypi/pyzmq)