ippush
A simple remote procedure that returns the caller's 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 execute the binary with a specified 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.