https://github.com/raspi/pyzmqarp
arp -> zmq pub
https://github.com/raspi/pyzmqarp
arp discovery kernel linux netlink network pyroute2 python zmq
Last synced: 27 days ago
JSON representation
arp -> zmq pub
- Host: GitHub
- URL: https://github.com/raspi/pyzmqarp
- Owner: raspi
- License: mit
- Created: 2017-11-02T10:53:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-02T11:17:24.000Z (over 8 years ago)
- Last Synced: 2025-02-25T22:46:33.909Z (over 1 year ago)
- Topics: arp, discovery, kernel, linux, netlink, network, pyroute2, python, zmq
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)