Developing Kong custom TCP plugin #13911
Unanswered
rohank2002
asked this question in
Help
Replies: 1 comment
-
Is your requirement to match the certificate? If so, could you consider implementing this functionality in the plugin's certificate phase handler? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, we have a use case where we will have to develop a custom TCP kong plugin which can terminate requests if the client certificate presented during the TLS handshake with the server(kong is just a passthrough) does not match a certain pattern. For this we will have to decode the TCP data and validate based on its details. Based on the comment here, seems like we would not be able get access to the TCP stream at the plugin level. Can someone please confirm this ? If it is possible to access the TCP data stream at the plugin level, then are there any other TCP kong plugin available which decodes TCP packet (for our reference)?
Beta Was this translation helpful? Give feedback.
All reactions