YepShield runs beside the gateway it screens. It makes no outbound connections beyond its own PostgreSQL and Redis.
Components
| Component | Notes |
|---|---|
shieldd | The hook. A stateless static Go binary, run as several replicas behind a load balancer |
shield-jobs | One instance, which elects itself with a database lock. It runs partition maintenance, retention, evidence key destruction and sender statistics |
| Console | A web application for staff, using the same database |
shieldctl | Operator command line |
| PostgreSQL | Decisions, evidence, registry, lists, policies, appeals and the audit chain. Daily partitions are created ahead and dropped by retention |
| Redis | Velocity counters. A Sentinel setup is supported |
Containers and Kubernetes manifests are provided, as is a Docker Compose stack for evaluation. The engine, jobs and console all ship as container images.
Connecting a gateway
YepMsg calls the hook natively, with a screen block in its configuration holding the URL, a bearer token, a timeout, the failure mode and whether hold is supported. Any other gateway implements the contract in Screening flow and the hook contract: one call per message before routing, the actions it declares, and the stamping of the verdict on its records.
Decide for each route what happens when the screen cannot answer:
| Route | Typical choice |
|---|---|
| Domestic customer and carrier traffic | Fail open: the message passes as unscreened, is stamped, counted and alarmed |
| International A2P ingress | Fail closed: the customer retries |
An account that is itself a trusted screen can be exempted. Never exempt an interconnect.
Integration with YepBoss
YepBoss stores the verdict on each message record, applies its billing rule to dead-ended messages, shows the verdict in message search and on its dashboard, and links to the console for the explanation. The customer portal can offer senders an appeal on a flagged message.
Security
- Each gateway has a bearer token that names the tenant. Mutual TLS on the hook is optional.
- The console sits behind a password or the YepBoss sign-in handoff.
- Secrets come from the environment.
- Jobs reach external systems only through an egress that you allow explicitly.
Capacity and latency
A screen call is a few milliseconds in a stack test, and shieldd scales by adding replicas. We size each deployment against your messages per second during evaluation.
Rollout
- Deploy the service, jobs and console, and load your registry and lists.
- Configure the gateway with the screen hook. Policy starts in observe mode.
- Watch the verdict mix, the unscreened count and the latency in the console and in metrics.
- Review samples, record measurements and move categories up as described in Policy matrix and modes.
- Set up the appeals contact, care centre access and report schedule.
Monitoring
shieldd exposes liveness and Prometheus metrics. Watch the answer latency, the rate limit answers, the unscreened count at the gateway and the age of the last successful job run. The gateway reports when the screen last answered and how many messages passed unscreened in the last few minutes.
Evaluation
Ask for an evaluation to get the deployment kit and a gateway stub for replaying a sample. Get in touch.