rust-libp2p icon indicating copy to clipboard operation
rust-libp2p copied to clipboard

transports/webrtc: Test `StreamMuxer` implementation with test harness

Open mxinden opened this issue 3 years ago • 4 comments

Description

We should be testing the new WebRTC transport StreamMuxer implementation with the (shiny) muxers/test-harness tests.

https://github.com/libp2p/rust-libp2p/tree/master/muxers/test-harness

Motivation

Make sure the behavior of our muxers is consistent.

Are you planning to do it yourself in a pull request?

No

mxinden avatar Nov 19 '22 11:11 mxinden

sorry for any confusion. tcp-proxy doesn't have any configuration options. it runs only on 443.

local.conf configures zerotier-one not tcp-proxy

laduke avatar Oct 21 '24 15:10 laduke

Can it be changed to other ports? Port 443 is strictly controlled in China.

happytrudy avatar Oct 22 '24 14:10 happytrudy

The only way is to edit the source code.

https://github.com/zerotier/ZeroTierOne/blob/36b4659f77bc480fdc510304bc53f009fde5d629/tcp-proxy/tcp-proxy.cpp#L49

laduke avatar Oct 22 '24 16:10 laduke

Thank you for your answer. I request to add the function of specifying the port. Since zerotier itself provides the function of forwarding traffic, why do we need to provide proxy?

happytrudy avatar Oct 23 '24 12:10 happytrudy

I'm not sure why you need a custom proxy. Most people do not use a custom tcp proxy.

laduke avatar Oct 23 '24 15:10 laduke