Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCP Proxy Support? #201

Closed
ccwxl opened this issue Aug 20, 2021 · 4 comments
Closed

TCP Proxy Support? #201

ccwxl opened this issue Aug 20, 2021 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@ccwxl
Copy link

ccwxl commented Aug 20, 2021

I see the supported application layer protocol proxy. So does TCP support? There are scenarios based on Netty's TCP persistent connection applications. IoT scenarios.

@benja-wu benja-wu self-assigned this Aug 20, 2021
@benja-wu benja-wu added the question Further information is requested label Aug 20, 2021
@benja-wu benja-wu added this to To do in Easegress Project via automation Aug 20, 2021
@benja-wu
Copy link
Contributor

benja-wu commented Aug 20, 2021

Hi @siaron
Currecntly,Easegress is an L7 traffic orchestration system.

  • It doesn't support work as a TCP proxying right now. However, as being a modern traffic orchestration system, I believe it should be TCP supported in the future.

  • We are working on support MQTT proxy. And WebSocket proxy supporting had been done. MQTT proxy is aiming for IoT scenarios too, if u are also interested, feel free to join in our design issue [feature] MQTT Proxy for Message Queue #187.

  • quick brainstorm I think TCP supporting should be implemented into the TrafficController of Easegress. Then the whole raw TCP connections can be managed in one place, so the WebSocket proxy and MQTT proxy can benefit from this low-level feature too.

@benja-wu benja-wu assigned localvar, xxx7xxxx and suchen-sci and unassigned xxx7xxxx Aug 20, 2021
@jxd134
Copy link
Contributor

jxd134 commented Aug 26, 2021

Hi @siaron
Currecntly,Easegress is an L7 traffic orchestration system.

* **It doesn't support work as a TCP proxying right now**. However, as being a modern traffic orchestration system, I believe it should be TCP supported in the future.

* We are working on support `MQTT proxy`. And `WebSocket proxy` supporting had been done. `MQTT proxy` is aiming for IoT scenarios too, if u are also interested, feel free to join in our design issue [[feature] MQTT Proxy for Message Queue #187](https://github.com/megaease/easegress/issues/187).

* **quick brainstorm** I think `TCP supporting` should be implemented into the `TrafficController` of Easegress. Then the whole raw TCP connections can be managed in one place, so the `WebSocket proxy` and `MQTT proxy` can benefit from this low-level feature too.

Agree with you.
But if you want to put tcp proxy in TrafficController, it should have a good design.

@benja-wu
Copy link
Contributor

benja-wu commented Aug 27, 2021

Hi @siaron
Currecntly,Easegress is an L7 traffic orchestration system.

* **It doesn't support work as a TCP proxying right now**. However, as being a modern traffic orchestration system, I believe it should be TCP supported in the future.

* We are working on support `MQTT proxy`. And `WebSocket proxy` supporting had been done. `MQTT proxy` is aiming for IoT scenarios too, if u are also interested, feel free to join in our design issue [[feature] MQTT Proxy for Message Queue #187](https://github.com/megaease/easegress/issues/187).

* **quick brainstorm** I think `TCP supporting` should be implemented into the `TrafficController` of Easegress. Then the whole raw TCP connections can be managed in one place, so the `WebSocket proxy` and `MQTT proxy` can benefit from this low-level feature too.

Agree with you.
But if you want to put tcp proxy in TrafficController, it should have a good design.

Yes!, I was thinking about treating the TCP proxy as the HTTPServer in TrafficController. Indeed, it will be a big project. I think we will build up enough scenes when finishing WebSocketProxy and MQTTProxy, then it's time to bring Easegress into the L4 scenario.

Welcome to join us for this big, excited feature!

@benja-wu
Copy link
Contributor

benja-wu commented Sep 3, 2021

Since we had opened a design discussion issue #229 for this topic, let me close this one.
Welcome to join us in #229 .

@benja-wu benja-wu closed this as completed Sep 3, 2021
Easegress Project automation moved this from To do to Done Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Development

No branches or pull requests

6 participants