YepMsg faces two directions. Customers bind to it as an SMPP server. It binds out to carriers as an SMPP client. Both sides share one SMPP codec.
Customer accounts
An account is what a customer binds with. It has a username and password, an optional IP allowlist, limits and delivery settings. Accounts come from the control plane through provisioning, polled at an interval, with static configuration as a bootstrap.
| Setting | Effect |
|---|---|
| Password | Stored as a bcrypt hash, which the control plane serves |
| IP allowlist | Addresses, wildcards per octet or CIDR prefixes. An empty list allows any source |
| Instances | Maximum simultaneous bound sessions |
| Throughput | Messages per second, one budget shared by the account's SMPP sessions and its HTTP sends |
| Priority tier | Promotional, transactional or OTP. Orders admission on shared carrier windows |
| Daily and monthly quotas | Caps on accepted messages, counted exactly and kept in PostgreSQL so a restart does not reset them |
| Webhook URLs | Deliver receipts and inbound messages over HTTP instead of SMPP |
| Firewall exemption | Skips screening for an account that is itself a trusted screen |
Provisioning is ETag-aware, so unchanged lists cost nothing. A change applies without a restart. If the control plane is unreachable the gateway keeps the last good list. An account removed from the list cannot bind again, and its existing sessions stay until they are closed through the admin API.
Bind security
- Bind authentication has a per-source failure throttle and a deadline for the bind to complete.
- The throttle is shared between SMPP binds and the HTTP send API, so attacks cannot be moved between the two.
- An SMPPS listener serves TLS for customer binds.
- PROXY protocol v1 is supported behind a load balancer, and the gateway honours the header only from configured trusted proxies so a client cannot forge the source address its allowlist checks.
- A firewall synchroniser can keep an iptables chain equal to your accounts' allowlists.
Carrier connectors
A connector is an outbound SMPP session pool to one carrier.
| Setting | Effect |
|---|---|
| Bind type | Transceiver or transmitter |
| Window | Maximum unacknowledged submits in flight |
| Throughput | Rate limit towards the carrier |
enquire_link | Keep-alive interval |
| Reconnect delay | Delay between reconnect attempts |
| Message ID type | How the carrier's IDs are normalised for receipt matching |
| TLS | Client-side TLS with an optional custom CA and mutual TLS |
Connectors report a state: connecting, active, reconnecting, stopped or disabled. A connector with several sessions is active while any of them is bound. A carrier provisioned as disabled stays defined but unbound.
Admission to a carrier window is ordered by the account's priority tier, so OTP traffic is not queued behind a promotional flood on the same connector.
Message ID normalisation
Carriers return message IDs in different forms. A submit response may carry a hexadecimal ID while the receipt quotes it in decimal, or the reverse. Each connector declares how to normalise, so that the receipt is correlated with the message it belongs to. See Delivery receipts.
Pass-through
Unknown TLVs and PDU types that the gateway does not model are carried through unchanged, so carrier-specific parameters are not lost in transit.
Capacity
Throughput limits per account and per carrier are configuration. Overall capacity depends on hardware and the message mix, and we size it against your traffic during evaluation.
Related
- Routing through the control plane decides which connector carries each message.
- Operations lists the admin verbs for closing sessions and refreshing accounts.