Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yoshd/stun-client
A simple async-std-based STUN client written in Rust
https://github.com/yoshd/stun-client
Last synced: 7 days ago
JSON representation
A simple async-std-based STUN client written in Rust
- Host: GitHub
- URL: https://github.com/yoshd/stun-client
- Owner: yoshd
- License: mit
- Created: 2021-04-25T20:00:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-30T11:56:06.000Z (over 1 year ago)
- Last Synced: 2024-10-11T18:38:05.634Z (about 1 month ago)
- Language: Rust
- Homepage:
- Size: 43 KB
- Stars: 12
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![test](https://github.com/yoshd/stun-client/workflows/Test/badge.svg)
# stun-client
This is a simple async_std based asynchronous STUN client library.
At the moment only some features of [RFC8489](https://tools.ietf.org/html/rfc8489) are implemented and only simple binding requests are possible.It also supports the OTHER-ADDRESS and CHANGE-REQUEST attributes for [RFC5780](https://tools.ietf.org/html/rfc5780) -based NAT Behavior Discovery.
[Install](https://crates.io/crates/stun-client)
[Documentation](https://docs.rs/stun-client/)
## Examples
- [Simple STUN Binding](examples/stun_client.rs)
- [NAT Behavior Discovery](examples/nat_behavior_discovery.rs)
- [UDP Hole Punching](examples/udp_hole_punching.rs)# Running on Windows
Due to the requirements of the dependency library libpnet, additional steps are needed.
Please refer to the following.https://github.com/libpnet/libpnet#windows