1 unstable release
0.1.0 | Jul 6, 2024 |
---|
#8 in #caller
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.6–2.8MB
~52K SLoC