News for hackers. Stuff that matters.
Re:Apache Apisix: Open-Source API Gateway and API Management... by splix on Thursday September 15, 2022 @04:09PM (#32857809)
What is the advantage of using this compared to plain Nginx or Envoy? Is it just static vs. dynamic config for routing?
Re:Apache Apisix: Open-Source API Gateway and API Management... by chao-zhang on Thursday September 15, 2022 @09:07PM (#32860710)
Apache APISIX also has several security features to help reinforce API security. For instance:

1. It can dynamically manage lots of TLS certificates and do the TLS/SSL terminate or use mTLS to communicate with the upstream; 2. Plugins like ACL, IP Restriction, CSRF, and Referrer Restriction restrict API access in different dimensions.

Re:Apache Apisix: Open-Source API Gateway and API Management... by adamckay on Friday September 16, 2022 @04:42PM (#32871780)
Is it possible to perform mTLS from client->APISIX gateway and pass on the verified certificate details to the upstream (e.g. via headers)?

Or is mTLS only possible with client->pass through APISIX->upstream? It's not quite clear from the docs.

Re:Apache Apisix: Open-Source API Gateway and API Management... by bzp2010 on Saturday September 17, 2022 @02:13AM (#32875191)
As a complement to the first reply, I created a simple DEMO that will implement your needs and I placed it on the GitHub gist [1].

[1] https://gist.github.com/bzp2010/6ce0bf7c15c191029ed547245471...

Re:Apache Apisix: Open-Source API Gateway and API Management... by chao-zhang on Saturday September 17, 2022 @12:50AM (#32874844)
It's feasible while you have to write a bit of code to assemble the certificate details to the API request (e.g., request headers, or query string).

mTLS is both possible for client -> APISIX and APISIX -> upstream.

Re:Apache Apisix: Open-Source API Gateway and API Management... by moonming on Thursday September 15, 2022 @08:02PM (#32860167)
In addition to dynamic, Apache APISIX has the advantage of developing plugins in Java, Go, Python, Wasm. While Nginx uses C, Envoy uses C++ and Wasm.
Re:Apache Apisix: Open-Source API Gateway and API Management... by chenjunxu on Thursday September 15, 2022 @08:40PM (#32860476)
You can use APISIX API Gateway as a traffic entrance to process all business data, including dynamic routing, dynamic upstream, dynamic certificates, A/B testing, canary release, blue-green deployment, limit rate, defense against malicious attacks, metrics, monitoring alarms, service observability, service governance, etc.