ArpRequest
General
ArpRequest is a Python module designed to make an ARP gratuitous request to know if a host is online. It acts on OSI model’s level 2 unlike icmp echo (ping), so, you can use it without IP configuration, or to “ping” an host in other IP network. However, you can only use it on local networks.
Usage
>>> from arprequest import ArpRequest
>>> ar = ArpRequest('10.0.0.1', 'eth0')
>>> ar.request()
True
>>> ar2 = ArpRequest('10.0.0.123', 'eth0') # 10.0.0.123 doesen't exist
>>> ar2.request()
False
Changelog
0.3 :
You can now select type of ARP request. This is done with “arp_type” argument of ArpRequest class. You can use arprequest.ARP_GRATUITOUS to make an ARP Gratuitous request (what is currently done) or use arprequest.ARP_STANDARD to do a standard ARP request.
This option was created to use this library with systems which are configured to block Arp Gratuitous.
Constraints
ArpRequest work only on unix or unix-like platforms because it uses unix signals.
ArpRequest work only as root, because it uses raw sockets.
Module is commented in french. I will translate comments in english, some day…
Metadata
Release files for arprequest 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| arprequest-0.3.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arprequest-0.3-py2.6.egg | Legacy Egg format | - | - | Details |
Total release size: 10.0 kB
Release files / arprequest-0.3.tar.gz
| Download URL | arprequest-0.3.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddcbed9a2f7661a4683a4e3c2e9899f027bc5d3174d8486ad3587b1063fa6e3f
|
|
BLAKE2b-256 checksum How to use checksums |
55373ca8540cc03c724dc1fc39136000cd030d48468d91543367c014580b56b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / arprequest-0.3-py2.6.egg
| Download URL | arprequest-0.3-py2.6.egg |
|---|---|
| Size | 6.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
db55e4ad58b1cda4c7e9102da27cb52f1abb155998ef706ce0291b4c60e37e97
|
|
BLAKE2b-256 checksum How to use checksums |
b8a04c80b17f114eb26db88422f9d35e9e96d2637bb97e4de4866efe1433e966
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for arprequest 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.