Slackbot
11/28/2023, 6:56 AMLari Hotari
11/28/2023, 10:48 AMEmre Aydin
11/28/2023, 12:24 PMLari Hotari
11/28/2023, 2:07 PMEmre Aydin
11/28/2023, 2:11 PMLari Hotari
11/28/2023, 4:05 PMThe Pulsar proxy is not intended to be exposed on the public internet. The security considerations in the current design expect network perimeter security. The requirement of network perimeter security can be achieved with private networks.
If a proxy deployment cannot be protected with network perimeter security, the alternative would be to use Pulsar's "Proxy SNI routing" feature with a properly secured and audited solution. In that case Pulsar proxy component is not used at all.https://pulsar.apache.org/docs/3.1.x/administration-proxy/ This is perhaps a surprise for many since Pulsar Helm charts do expose the proxies on the public internet by default.
Emre Aydin
11/29/2023, 6:32 AMLari Hotari
11/29/2023, 6:37 AMLari Hotari
11/29/2023, 6:43 AMEmre Aydin
11/29/2023, 6:53 AMWhile handling that CVE-2022-24280 https://github.com/apache/pulsar/wiki/CVE-2022-24280, we added the clarification to the documentation.This sounds like we can avoid having the Pulsar Proxy being vulnerable to DDoS attacks. I've looked into SNI routing docs now and it left me confused. This part more specifically:
The proxy in Pulsar acts as a reverse proxy, and creates a gateway in front of brokers. Proxies such as Apache Traffic Server (ATS), HAProxy, Nginx, and Envoy are not supported in Pulsar. These proxy-servers support SNI routing.Does this mean that we can either use Pulsar Proxy normally or one of the other reverse proxies listed by using SNI routing? IIUC in the SNI routing scenario, we'd only add authentication in the broker itself.
Lari Hotari
11/29/2023, 8:42 AMLari Hotari
11/29/2023, 8:53 AMLari Hotari
11/29/2023, 8:59 AMLari Hotari
11/29/2023, 9:00 AMLari Hotari
11/29/2023, 9:11 AMEmre Aydin
11/29/2023, 9:48 AMLari Hotari
11/29/2023, 10:12 AMLari Hotari
11/29/2023, 10:13 AM