Bridge-model Software-Defined Perimeter
Each domain keeps its own controller; a root controller decides for all of them over mutual TLS. Services stay dark until a client presents keys issued for that grant alone.
The client opens mutual TLS to the controller of its own domain, whose CA can only vouch for that domain.
The problem
Classic SDPs put every member behind a single controller. Growing organizations either funnel everything through it or rebuild their topology, and the SDP components themselves stay as exposed as any other host.
Every authentication and authorization goes through one place.
Merging existing perimeters means redesigning them around one controller.
Controllers and gateways rarely get hardening tailored to their role.
Tree of SDPs with clear delegation. Moderate redundancy.
Medium complexityRedundant pathways without a strict hierarchy.
High complexityEvery node connects to every node. Very resilient, costly to run.
Very high complexityBridges existing SDPs and keeps their topology. Chosen by SecureSDP.
High complexity · best for large deploymentsSummary of the SDP models compared in the paper (Table 1).
How it works
Bridged controllers authenticate their own members and relay requests over a persistent mutual-TLS peer link. The root re-verifies every client chain, applies the policy and installs a dedicated SPA stanza on the accepting host.
Each domain CA is name-constrained to its domain, so it can only vouch for its own members.
The bridge forwards the request and the client chain; the root does not trust the bridge blindly.
Fresh Rijndael and HMAC keys per grant; revocation closes tunnels and removes rules.
$ ./scripts/demo.sh PASS alice: http://10.232.0.20:8080/ does not answer PASS mTLS identity accepted by the bridged controller PASS authorized by the root controller through the bridge PASS alice: http://10.232.0.20:8080/ -> HTTP 200 PASS bob: http://10.232.0.20:8080/ still dark while alice's window is open PASS bob: access to web denied by the root controller PASS root controller refused a domain-b client PASS hardening profile synced to gw-a (dry-run driver) PASS alice: tunnel refused after revocation (HTTP 000) All checks passed.
Recorded from the lab (10 of the 15 checks shown). Bridge model, PKI and sequences →
Run it
The root controller holds one policy for every domain. The Compose lab starts a root and a bridged controller, a gateway in front of nginx and two clients, with the PKI generated at start-up.
services:
- name: web
gateway: gw-a
target: 10.232.1.30:80
mode: tunnel # mTLS tunnel to nginx
hardening: [http-service]
clients:
- id: alice
domain: domain-b
services: [web, web-nat]
- id: bob # registered, no entitlements
domain: domain-b
services: []
$ docker compose up -d --build --wait $ docker compose exec ih-alice sdp-client access web-nat --wait granted: sdp://domain-b/client/alice -> web-nat path: bridge sdp://domain-b/controller/ctrl-bridge -> root sdp://domain-a/controller/ctrl-root gateway: gw-a (10.232.0.20), SPA udp/62201 open: tcp/10.232.0.20:8080 for 30s -> connect now
Root and bridge roles, PKI tooling, HTTPS API and admin CLI.
Controller →Default-deny iptables, fwknopd stanzas, mTLS tunnel, hardening agent.
Accepting host →Authenticate, request access, send the SPA packet and connect.
Initiating host →Domains, gateways, services, clients and hardening profiles.
Policy reference →Results reported in the paper
The paper compared HTTP response times of Bridge, Mesh and Hybrid topologies three layers deep: Bridge was consistently fastest, with Mesh close behind at a higher cost. It also audited the controller before and after applying Egida controls.
As reported in Payá et al., IJIS 2024 (Figs. 7–9 and Table 2). Not regenerated with this implementation; scripts/bench.sh and the Lynis audit let you measure it yourself.
No. When the paper was published the repository held only a skeleton and an OpenSPA test bed. This implementation was written in 2026 following the architecture the paper describes; the paper's numbers were not regenerated with it. See history and provenance.
Existing SDPs keep their own controller and members. A root controller decides for all of them through bridged controllers, so perimeters can be joined without rebuilding them.
The root derives an Aspida program per accepting host and pushes it over the control channel.
The lab uses a dry-run driver; on a Debian host with Egida installed the egida
driver applies it. Lynis audits are reported back to the controller.
It is research software. Review the policy, the PKI handling and the hardening profiles before using it outside a lab. Two controller levels are supported (root and bridges).
Both accompany the same article. SDP Lab runs the Waverley Labs SDP with fwknop; SecureSDP is the Go implementation of the Bridge model.
Cite the SecureSDP article in the International Journal of Information Security 23(4), 2793–2808, 2024. BibTeX is on the paper page.
Start the two-domain lab, then point the policy at your own services.
git clone https://github.com/antoniopaya22/Secure-SDP && cd Secure-SDP && docker compose up -d --build --wait