Skip to content

🦀 Rust TCP server that responds with callers' IPv4 address

License

Notifications You must be signed in to change notification settings

KevinGimbel/yip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yip

Tiniest server which responds with requester IPv4 address

Why

⬆️ Back to Top

This server is the counter part to https://github.com/kevingimbel/mip.

It responds with the callers' IP address on request. That's it.

Usage

⬆️ Back to Top

Cargo

Run the server with cargo run, then connect to it on port 8111.

Binary

Build the binary for your system with cargo.

$ cargo build --release

Then copy the binary from target/release/yip to some place in your $PATH. Afterwards the server can be started by running yip.

$ yip

Specify custom port

By default port 8111 is used. A different port can be set with the environment variable PORT.

$ PORT=8080 yip

Contributing

⬆️ Back to Top

We love and welcome every form of contribution!

Where to start?

Here are some good places to start:

See open issues.

Code of Conduct

⬆️ Back to Top

You are expected to follow our code of conduct when interacting with the project via issues, pull requests or in any other form. Many thanks to the awesome contributor covenant initiative!

License

⬆️ Back to Top

GNU AFFERO GENERAL PUBLIC LICENSE 3, see LICENSE file.

About

🦀 Rust TCP server that responds with callers' IPv4 address

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published