Git Product home page Git Product logo

Comments (5)

Ehco1996 avatar Ehco1996 commented on June 3, 2024

@NEK-RA

i am sorry for late reply, i can understand that your are frustrated when you encounter these problmes, i will try to add some detail docs about ehco later( when i have enough time 🤣If you are interested in participating in the construction of the document, I would be very grateful!)

let me answer your questions one by one

For each relay config there are fields:

first of all yes! the options for both listen_type and listen_type are and only are raw wss and mwss. i add some hits in this commit

How does ehco manage tcp and udp? Does it listen to both on interface and port specified in listen field of relay config?

no, udp will only be listened to if there is a value in udp_remotes

If yes, does ehco forward both tcp and udp to specified remote recievers? Does tcp traffic received by ehco goes only to tcp_remotes and udp traffic goes only to udp_remotes?

yes,ehco goes only to tcp_remotes and udp traffic goes only to udp_remotes?

Do I correctly understand, that to forward only tcp traffic (for example) I need to pass empty array to udp_remotes for such relay in config

yes , just pass empty array to udp_remotes or just don't pass this flag

Does web_token required only for prometheus web monitor

yes and no, if you want to keep you pprof endpoint safe, you can use this flag too

What does exactly do ehco install?

ehco install just write one systemd service file to /etc/systemd/system/ehco.service, and the template is here, if you want to add multiple systemd services, you can do this manully

from ehco.

NEK-RA avatar NEK-RA commented on June 3, 2024

i am sorry for late reply

It's not a problem :)

just pass empty array to udp_remotes

Then I guess there's some unnecessary output (or bug?) - in this screen as you see tcp_remotes is empty, but ehco still printing that tcp relay started

or just don't pass this flag

Does it actual for both tcp and udp remote fields?

yes and no, if you want to keep you pprof endpoint safe, you can use this flag too

Well, I guess this part need for some explanation😅

ehco install just write one systemd service file to /etc/systemd/system/ehco.service

So to use it I need to use it in next way: ehco install my-config.json. Right?

from ehco.

Ehco1996 avatar Ehco1996 commented on June 3, 2024

@NEK-RA

just pass empty array to udp_remotes

thanks, this is a bug and i fix this in a9b4ecc

Well, I guess this part need for some explanation

added some explains for this flag, but in Chinese,Given that the majority of users are Chinese, but I will soon add instructions for the English version as well

So to use it I need to use it in next way: ehco install my-config.json. Right?
no, just use ehco install , a vi editor will open for you, you just need to change the content of the file and save it

from ehco.

NEK-RA avatar NEK-RA commented on June 3, 2024

Thanks, will wait it :)

from ehco.

Ehco1996 avatar Ehco1996 commented on June 3, 2024

help wanted

from ehco.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.