GitXplorerGitXplorer
n

yamux-cli

public
18 stars
0 forks
2 issues

Commits

List of commits on branch develop.
Verified
60ed172179428ba176ec96fbc21e8993762d5339

build(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#27)

ddependabot[bot] committed 8 months ago
Verified
61fe489baa4bb0461af1c1c5a62874eebf443191

build(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#26)

ddependabot[bot] committed 9 months ago
Verified
3d37f8846c0139a7181d0ddd101558d0a814495b

build(deps): bump actions/checkout from 4.1.1 to 4.1.3 (#25)

ddependabot[bot] committed 9 months ago
Verified
9ecace9b91905188ef6ee43d934e2f86fc947042

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

ddependabot[bot] committed a year ago
Verified
74e69ff860cccad2e21fbc4fc15d872e8fc5b1bb

build(deps): bump actions/setup-go from 4 to 5 (#23)

ddependabot[bot] committed a year ago
Verified
49add3b062bfc4700f89672d7662937964bea987

build(deps): bump actions/checkout from 3.5.3 to 4.1.1 (#21)

ddependabot[bot] committed a year 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.