ippush

Crates.ioippush
lib.rsippush
version0.1.0
sourcesrc
created_at2024-07-06 14:09:04.937165
updated_at2024-07-06 14:09:04.937165
descriptionAn IP remote procedure
homepage
repositoryhttps://github.com/shtsoft/ippush
max_upload_size
id1294095
size59,130
(shtsoft)

documentation

https://docs.rs/ippush

README

ippush

crates.io GPL licensed CI

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.

Commit count: 23

cargo fmt