BSD Ports

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

SystemPortVersion
FreeBSDnet/udp-over-tcp0.4.0_23
DragonFlynet/udp-over-tcp0.4.0_8
HardenedBSDnet/udp-over-tcp0.4.0_21
GhostBSDnet/udp-over-tcp0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.0_220.4.0_23-0.4.0_110.4.0_23
FreeBSD:14:quarterly0.4.0_210.4.0_21n/a0.4.0_100.4.0_21
FreeBSD:15:latest0.4.0_230.4.0_23n/a0.4.0_110.4.0_11
FreeBSD:15:quarterly0.4.0_210.4.0_21n/an/an/a
FreeBSD:16:latest0.4.0_210.4.0_23n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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
FileSizeSHA256
rust/crates/addr2line-0.21.0.crate408078a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb
rust/crates/adler-1.0.2.crate12778f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe
rust/crates/aho-corasick-1.1.1.crate182812ea5d730647d4fadd988536d06fecce94b7b4f2a7efdae548f1cf4b63205518ab
rust/crates/anstream-0.6.4.crate205932ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44
rust/crates/anstyle-1.0.4.crate139987079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87
rust/crates/anstyle-parse-0.2.2.crate24696317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140
rust/crates/anstyle-query-1.0.0.crate86205ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b
rust/crates/anstyle-wincon-3.0.1.crate11279f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628
rust/crates/autocfg-1.1.0.crate13272d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa
rust/crates/backtrace-0.3.69.crate772992089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837
rust/crates/bitflags-2.4.0.crate36954b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635
rust/crates/bytes-1.5.0.crate58909a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223
rust/crates/cadence-1.0.0.crate50247eab51a759f502097abe855100b81b421d3a104b62a2c3209f751d90ce6dd2ea1
rust/crates/cc-1.0.83.crate68343f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0
rust/crates/cfg-if-1.0.0.crate7934baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd
rust/crates/clap-4.4.6.crate54823d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956
rust/crates/clap_builder-4.4.6.crate1624500e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45
rust/crates/clap_derive-4.4.2.crate290190862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873
rust/crates/clap_lex-0.5.1.crate11793cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961
rust/crates/colorchoice-1.0.0.crate6857acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
396c159306 Alan Somers */*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the compat-11 symbols until version 0.2.176. Patch a great many Rust ports to use a newer version of libc, to eliminate the dependency on COMPAT11. Explicitly patching Cargo.lock isn't usually necessarily, since within the build jail cargo is forced to use whichever crates Makefile.crates installs there. Notes on specific ports: * textproc/bookokrat: Rework bookokrat's existing patch to be more robust. Also, report the issue upstream: https://github.com/bugzmanov/bookokrat/issues/182 * security/sequoia-chameleon-gnupg security/sequoia-sq "cargo update -p libc" insisted on updating some other crates, too. * devel/cargo-generate finance/tickrs net-im/gurk-rs net-p2p/oura textproc/mdbook-linkcheck www/lychee …
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645