You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/07/22 06:27:55 UTC

[GitHub] [incubator-apisix] hzqij opened a new issue #1886: Does the stream proxy support authentication plugins?

hzqij opened a new issue #1886:
URL: https://github.com/apache/incubator-apisix/issues/1886


   curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "remote_addr": "127.0.0.1",
       "upstream": {
           "nodes": {
               "127.0.0.1:1995": 1
           },
           "type": "roundrobin"
       }
   }'
   
   curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
   {
       "remote_addr": "127.0.0.1",
       "plugins": {
           "mqtt-proxy": {
               "protocol_name": "MQTT",
               "protocol_level": 4,
               "upstream": {
                   "ip": "127.0.0.1",
                   "port": 1980
               }
           }
       }
   }'
   
   does the stream proxy support authentication plugins?
   
   thanks.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-apisix] moonming commented on issue #1886: Does the stream proxy support authentication plugins?

Posted by GitBox <gi...@apache.org>.
moonming commented on issue #1886:
URL: https://github.com/apache/incubator-apisix/issues/1886#issuecomment-662296019


   No, all the auth plugins are wroking in L7, and stream proxy working in L4.
   By the way, how to do auth for tcp or udp request? TCP-AO?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org