Gateway · Service mesh · Web application firewall

The traffic layer for Kubernetes, with one accountable supplier.

Sipar receives every request at the edge of the cluster, protects it, and secures the traffic between services. It is built on Envoy, the Kubernetes Gateway API and Istio’s ambient mode, used unmodified, and supported from within the GCC.

Included with BKE
At no extra price, with every licence
Runs in your cluster
No traffic or log leaves it for a supplier
Open standards
Routes written in the Gateway API
Upstream, unmodified
No fork to update before a security fix

Architecture

Three layers, inside the organisation’s own cluster.

Sipar Gateway receives traffic at the edge. Each team publishes its routes from its own namespace, so one team’s mistake cannot stop another team’s routes. Sipar Mesh gives every workload in an enrolled namespace an identity and encrypts the traffic between services. The control plane turns the routes and policies teams write into configuration for the proxies.

Customers and partners HTTP, gRPC, TCP and TLS
Control plane Gateway controller, admission policies and mesh control plane configuration → Sipar Gateway
Sipar Gateway Envoy proxies, two or more, on separate nodes where possible Firewall · rate limits · cache · access log
Shared store Valkey or Memcached, in the cluster: counters and cached responses counters and cached responses ↔ Sipar Gateway

Sipar Mesh: workload identity and mutual TLS

A team’s namespace Its own listener set and routes, and its applications
Another team’s namespace Isolated from the first: its mistakes stay its own

mutual TLS between services

Traffic from customers and partners reaches Sipar Gateway, which the control plane configures and which keeps its counters and cached responses in the shared store. The gateway routes each request to a team’s namespace. Between services in the mesh, traffic is encrypted with mutual TLS.

The path of one request

Each step happens before the application sees the request. The firewall runs before the cache, so a blocked request is never answered from it.

  1. 01 TLS Certificates issued and renewed automatically
  2. 02 Access Address lists and basic authentication
  3. 03 Firewall OWASP Top 10 (2021) rules, country and network blocking
  4. 04 Cache Shared responses, served without the application
  5. 05 Rate limit Counted across every replica
  6. 06 Route To the team’s service, identified by a request ID
  7. 07 Application Then one structured log line

Features and capabilities

Everything an organisation needs at the edge and between its services.

Capabilities marked SIPAR are built by Mamluk and are not part of the open source projects. Items marked APPROVED are an approved design not yet available. Unmarked items are available with the Bahriya Kubernetes Engine from 2.7.0 onwards, and on other Kubernetes distributions through Bahriya Tersane. See the full comparison.

Sipar Gateway

Routing and traffic

  • HTTP, gRPC, TCP and TLS routes in the Kubernetes Gateway API.
  • One shared gateway, with a listener set for each team’s namespace.
  • Path rules matched by prefix, with their own controls.
  • Custom domains with certificates issued and renewed automatically through cert-manager, which the Bahriya Kubernetes Engine includes.
  • Two or more proxy replicas, on separate nodes where the cluster has them.
The gateway in detail

Sipar Gateway

Access and rate limits

  • Rate limits per address or per key, counted across every replica.
  • Address allow and deny lists for HTTP.
  • Per-hostname address lists on shared TLS passthrough ports, with deny taking precedence.
  • Basic authentication.
  • Regular expressions the proxy cannot run safely are refused when the route is written, with the reason.

Sipar Gateway

Response cache

  • One cache shared by every gateway replica, in the organisation’s own Memcached or Valkey.
  • Items of up to 128 MB, with a limit set per route.
  • Rules per route for what is cached and for how long.
  • Responses served without reaching the application.

Sipar Firewall

Web application firewall SIPAR APPROVED

  • OWASP Top 10 (2021) rules included in every firewall policy, starting in log-only mode: path traversal, SQL, command, LDAP and XPath injection, cross-site scripting, server-side request forgery, sensitive file access, known vulnerability scanners, null bytes and log forging.
  • Allow, block and rate-limit rules that combine conditions on path, method, header, query and address.
  • Country and network blocking from local databases, with no outside call on the request path.
  • The configured status and message on every blocked request.
  • A count and a log line per rule, with no request body recorded.
  • Subashi Pro’s rule format from Kipchak Enterprise, with each value given its type.
The firewall in detail

Sipar Mesh

Security between services APPROVED

  • A cryptographic identity for every workload in an enrolled namespace.
  • Mutual TLS between services in an enrolled namespace.
  • No proxy beside each application, so applications need no change.
  • Rules that depend on which service is calling.
  • Sipar Gateway as the mesh’s default waypoint, so the same policies apply to traffic between services, enabled per cluster and per namespace.
The mesh in detail

Operations and evidence

Observability and assurance

  • A request identifier on every response.
  • One structured log line per request, with no credentials or query strings.
  • Metrics from every proxy.
  • Alarms ready on the Bahriya Kubernetes Engine.
  • Configuration an auditor can inspect on the cluster.
  • Installed and upgraded with the cluster.

Open source and Sipar

What the open source projects provide, and what Sipar adds.

Sipar uses Envoy Gateway, the Gateway API and Istio’s ambient mode unmodified, so every open source capability below is available in Sipar exactly as upstream provides it. Sipar adds the capabilities that organisations need from a commercial gateway, at the projects’ published extension points, and one supplier who installs, tests and supports the whole layer.

CapabilityOpen source projectsSipar
Gateway
HTTP, gRPC, TCP and TLS routing in the Gateway API Yes Yes
Certificates issued and renewed automatically Yes, with cert-manager Yes, with cert-manager on the Bahriya Kubernetes Engine
Rate limits counted across every replica Yes, with a store the operator provides Yes, with a store the operator provides, such as Valkey from the Bahriya Tersane catalogue
Basic authentication and address lists for HTTP Yes Yes
Address lists for TCP services such as databases, including per-hostname lists on shared TLS passthrough ports, with deny taking precedence and failing closed Per TCP route only SIPAR
Response cache shared by every gateway replica, with a size limit per item No SIPAR
Request identifier on every response, and an access log with no credentials or query strings Identifier generated by default; returning it and the log format are configured by the operator Configured by default
Web application firewall
A preconfigured OWASP Top 10 (2021) rule set, the same as in Subashi Pro APPROVED No SIPAR
Rules combining path, method, header, query and address, with allow, block and rate-limit actions APPROVED No SIPAR
Country and network blocking from local databases APPROVED No SIPAR
Log-only mode per policy, and per rule for the OWASP set, with the last accepted rules kept in force if an update fails APPROVED No SIPAR
Subashi Pro’s rule format, with each value given its type, and a converter for existing rules APPROVED No SIPAR
Service mesh
Workload identity and mutual TLS between services, with no proxy beside each application APPROVED Yes Yes
Rules that depend on which service is calling APPROVED Yes Yes
The gateway as the mesh’s default waypoint, so the same policies apply to traffic between services APPROVED Assembled by the operator SIPAR
Operation and support
Metrics from every proxy Yes Yes
Alarms ready on the Bahriya Kubernetes Engine No SIPAR
Installed and upgraded with the cluster, with every version tested together No SIPAR
Ticketed support from within the GCC, from one accountable supplier Community forums SIPAR

Built on open projects

Foundation projects, used unmodified.

Sipar is built on projects of the Cloud Native Computing Foundation, which many companies develop and no single company controls. Mamluk’s own code runs only at the extension points those projects publish, so an upstream security fix reaches a Sipar cluster without waiting for a modified copy.

Envoy
The proxy beneath the gateway and the mesh.
Gateway API
The open standard in which routes are written.
Envoy Gateway
The controller that configures the proxies.
Istio ambient mode
Identity and encryption between services.

Licensing and support

No separate product to buy.

On the Bahriya Kubernetes Engine

From 2.7.0 onwards, included with every licence at no extra price, and installed and upgraded with the cluster.

On other Kubernetes distributions

Part of the Bahriya Tersane licence, installed from the Tersane catalogue, with ticketed support from within the GCC.

Sipar is a product of Mamluk. Envoy, Istio and cert-manager are projects of the Cloud Native Computing Foundation. OWASP is a trademark of the OWASP Foundation, which does not endorse Sipar.

Sipar, pronounced si-par, is the Persian word for a shield.