RARP server that responds to RARP requests with a configured MAC-to-IP mapping
Project description
rarpy
RARP server implemented in Python that responds to RARP requests with a configured MAC-to-IP mapping.
Installation
Sudo must be used when installing and running rarpy so that it can access the network interfaces.
sudo pip install rarpy
Usage
The server is started via the rarpy executable whose usage in the command line can be accessed via sudo rarpy --help.
The network interface that the server listens to must be specified, for example:
sudo rarpd en0
starts a server listening on interface en0.
The MAC-to-IP mapping can be configured via the command line with the --mapping (-m) option:
sudo rarpy -m 02:0d:db:a1:15:10 192.168.10.201 en0
and multiple mappings can be specified if desired:
sudo rarpy -m 02:0d:db:a1:15:10 192.168.10.201 -m 02:0d:db:a1:15:11 192.168.10.201 en0
Mappings can be also be configured in a file structured like:
02:0d:db:a1:15:10 192.168.10.201
02:0d:db:a1:15:11 192.168.10.201
and then picked up by rarpy with the --mapping-file (-f) option:
sudo rarpy -f /path/to/mapping/file en0
Mappings from a file and command line can be used simultaneously, and where there are conflicts, the command line mapping overrides the file.
If no --mapping-file is specified, rarpy will look to see if /etc/ethers exists (default file from older RARP daemon tools), and if it does, it will use that file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rarpy-0.1.3.tar.gz.
File metadata
- Download URL: rarpy-0.1.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0855572e35bb2049cccd1beb4aa56453a8a576109a18d50b5e3f7c4ff1d34fb7
|
|
| MD5 |
3c1cdec900817cedf74a65395883f777
|
|
| BLAKE2b-256 |
321dff470dd0cf545b8cdbce3aeb2f7f8076f8d15dc23cd6fd4456c119884df0
|
Provenance
The following attestation bundles were made for rarpy-0.1.3.tar.gz:
Publisher:
publish-to-pypi.yml on Charlotte-Knight/rarpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rarpy-0.1.3.tar.gz -
Subject digest:
0855572e35bb2049cccd1beb4aa56453a8a576109a18d50b5e3f7c4ff1d34fb7 - Sigstore transparency entry: 1861663431
- Sigstore integration time:
-
Permalink:
Charlotte-Knight/rarpy@120f077fc8958d807b7727a155afa083ad5b35d0 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/Charlotte-Knight
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@120f077fc8958d807b7727a155afa083ad5b35d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rarpy-0.1.3-py3-none-any.whl.
File metadata
- Download URL: rarpy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0301b63070097b7a27c216f560f67d0beedc1f298817264e8c1c6adeb4b02ff3
|
|
| MD5 |
628dc7ea855d65671afe20ba0446de28
|
|
| BLAKE2b-256 |
f334d87481f1f73063c8e45602ecfa97f1a12e98e7e5a520cbcc4e3684f58774
|
Provenance
The following attestation bundles were made for rarpy-0.1.3-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on Charlotte-Knight/rarpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rarpy-0.1.3-py3-none-any.whl -
Subject digest:
0301b63070097b7a27c216f560f67d0beedc1f298817264e8c1c6adeb4b02ff3 - Sigstore transparency entry: 1861663546
- Sigstore integration time:
-
Permalink:
Charlotte-Knight/rarpy@120f077fc8958d807b7727a155afa083ad5b35d0 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/Charlotte-Knight
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@120f077fc8958d807b7727a155afa083ad5b35d0 -
Trigger Event:
push
-
Statement type: