1 unstable release
0.1.0 | Jul 6, 2024 |
---|
#15 in #remote-procedure
22KB
56 lines
ippush
A simple remote procdure returning the callers IP address and a timestamp.
- simplicity:
- UDP as transport protocol
- JSON output
- less than 100 lines of code
Installation
You can install ippush with cargo
by running:
user@host:~$ cargo install ippush
Usage
To run the app you have to call the binary with an appropriate IP (e.g. 1.2.3.4) and port (e.g. 5678) as arguments:
user@host:~$ ippush 1.2.3.4 5678
Then you can call the remote procedure by connecting to 1.2.3.4:5678 via UDP and sending arbitrary data.
Contributing
If you want to contribute: CONTRIBUTING.
Security
For security-related issues see: SECURITY.
Dependencies
~1.7–2.8MB
~53K SLoC