net/udp-over-tcp 0.4.0_23 FreeBSD
Proxy UDP traffic over a TCP stream
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- net
- Package size
- 833.8 KiB, 3736.2 KiB installed
Description
udp-over-tcp is a library and binaries for tunneling UDP datagrams over a TCP stream.
Some programs/protocols only work over UDP. And some networks only allow TCP. This is where `udp-over-tcp` comes in handy. This library comes in two parts:
* `udp2tcp` - Forwards incoming UDP datagrams over a TCP stream. The return stream is translated back to datagrams and sent back out over UDP again. This part can be easily used as both a library and a binary. So it can be run standalone, but can also easily be included in other Rust programs. The UDP socket is connected to the peer address of the first incoming datagram. So one [`Udp2Tcp`] instance can handle traffic from a single peer only. * `tcp2udp` - Accepts connections over TCP and translates + forwards the incoming stream as UDP datagrams to the destination specified during setup and on the command line. Designed mostly to be a standalone executable to run on servers. But can be consumed as a Rust library as well.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | net/udp-over-tcp | 0.4.0_23 |
| DragonFly | net/udp-over-tcp | 0.4.0_8 |
| HardenedBSD | net/udp-over-tcp | 0.4.0_21 |
| GhostBSD | net/udp-over-tcp | 0.4.0_21 |
Install
Binary package:
pkg install udp-over-tcp
From the ports tree:
cd /usr/ports/net/udp-over-tcp/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= udp-over-tcp>0:net/udp-over-tcp
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.4.0_22 | 0.4.0_23 | - | 0.4.0_11 | 0.4.0_23 |
| FreeBSD:14:quarterly | 0.4.0_21 | 0.4.0_21 | n/a | 0.4.0_10 | 0.4.0_21 |
| FreeBSD:15:latest | 0.4.0_23 | 0.4.0_23 | n/a | 0.4.0_11 | 0.4.0_11 |
| FreeBSD:15:quarterly | 0.4.0_21 | 0.4.0_21 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.4.0_21 | 0.4.0_23 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 11
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo
- Service scripts
- none
Files
distinfo 84
| File | Size | SHA256 |
|---|---|---|
| rust/crates/addr2line-0.21.0.crate | 40807 | 8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb |
| rust/crates/adler-1.0.2.crate | 12778 | f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe |
| rust/crates/aho-corasick-1.1.1.crate | 182812 | ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab |
| rust/crates/anstream-0.6.4.crate | 20593 | 2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44 |
| rust/crates/anstyle-1.0.4.crate | 13998 | 7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87 |
| rust/crates/anstyle-parse-0.2.2.crate | 24696 | 317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140 |
| rust/crates/anstyle-query-1.0.0.crate | 8620 | 5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b |
| rust/crates/anstyle-wincon-3.0.1.crate | 11279 | f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628 |
| rust/crates/autocfg-1.1.0.crate | 13272 | d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa |
| rust/crates/backtrace-0.3.69.crate | 77299 | 2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837 |
| rust/crates/bitflags-2.4.0.crate | 36954 | b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635 |
| rust/crates/bytes-1.5.0.crate | 58909 | a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223 |
| rust/crates/cadence-1.0.0.crate | 50247 | eab51a759f502097abe855100b81b421d3a104b62a2c3209f751d90ce6dd2ea1 |
| rust/crates/cc-1.0.83.crate | 68343 | f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0 |
| rust/crates/cfg-if-1.0.0.crate | 7934 | baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd |
| rust/crates/clap-4.4.6.crate | 54823 | d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956 |
| rust/crates/clap_builder-4.4.6.crate | 162450 | 0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45 |
| rust/crates/clap_derive-4.4.2.crate | 29019 | 0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873 |
| rust/crates/clap_lex-0.5.1.crate | 11793 | cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961 |
| rust/crates/colorchoice-1.0.0.crate | 6857 | acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7 |