GitXplorerGitXplorer
n

yamux-cli

public
18 stars
0 forks
2 issues

Commits

List of commits on branch develop.
Verified
1b14748575efc6d133e8b68dd2a589e332930b8a

build(deps): bump actions/checkout from 4.2.0 to 4.2.1 (#34)

ddependabot[bot] committed 3 months ago
Verified
41b6c916f6ef9cf5ab4b82cc1fad2cb42ae4a28e

build(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#33)

ddependabot[bot] committed 3 months ago
Verified
5b6d9c10470f9a408880ac1c6d68f736fbd8b6de

build(deps): bump github.com/hashicorp/yamux from 0.1.1 to 0.1.2 (#32)

ddependabot[bot] committed 3 months ago
Verified
6bf11facdc69eb388d3fec5077f9e51620f04c1d

build(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#31)

ddependabot[bot] committed 6 months ago
Verified
723b93b57a955f919d3ceded7be8b1e3d11994f0

build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#30)

ddependabot[bot] committed 6 months ago
Verified
472eca4633931c464261144321499088ca6102ac

build(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#28)

ddependabot[bot] committed 7 months ago

README

The README file for this repository.

yamux-cli

CI

Install for macOS

brew install nwtgck/yamux-cli/yamux

Install for Ubuntu

wget https://github.com/nwtgck/yamux-cli/releases/download/v0.5.0/yamux-0.5.0-linux-amd64.deb
sudo dpkg -i yamux-0.5.0-linux-amd64.deb

Get more executables in the releases for you environment.

Usage

TCP

... | yamux localhost 80 | ...
... | yamux -l 8080 | ...

Unix-domain socket

... | yamux -U /unix/domain/socket/path | ...
... | yamux -U -l /unix/domain/socket/path | ...

UDP

... | yamux -u 1.1.1.1 53 | ...
... | yamux -ul 1053 | ...

Complete example

Here is a complete example, but not useful. This is forwarding local 80 port to local 8080 port.

mkfifo my_pipe
cat my_pipe | yamux localhost 80 | yamux -l 8080 > ./my_pipe 

An expected usage of this CLI is to combine network tools and transport a remote port.