How IP controls work
When a license is validated, KeyPort evaluates IPs in the following order:Platform blacklist check
KeyPort checks the IP against the platform-wide blacklist. Blacklisted IPs are blocked immediately.
Organization blacklist check
On Pro and Enterprise plans, KeyPort checks the IP against your organization’s blacklist.
Customer blacklist check
If the customer attached to the license has an IP blacklist entry, KeyPort blocks that IP before license-level IP registration rules are evaluated.
Per-license blacklist check
KeyPort checks the IP against any blacklist configured directly on the license.
Enabling IP controls
IP controls are configured at the product level. To enable them, turn on the IP system for your product in the KeyPort dashboard. Individual licenses inherit the product’s IP settings, including themax_ips limit.
IP registration behavior
How IPs are registered depends on two settings:track_ip_on_validate and auto_register_ip_on_validate.
- If
track_ip_on_validateis off, validation does not record the caller’s IP at all. - If
auto_register_ip_on_validateis off, any IP that isn’t already registered returnsip_not_registered. - If auto-registration is on, the first IP to validate can self-register.
- Once at least one active IP is registered, a different unknown IP returns
ip_not_registered. - If the license has already reached its
max_ipslimit, any new registration attempt returnsip_limit_reached.
Validate response fields
When IP controls are active, the validate response includes these fields:Whether the calling IP is registered for this license.
The number of IPs currently registered for this license.
The maximum number of IPs allowed for this license.
Blocking states
If IP validation fails, the response will include one of these states:| State | Meaning |
|---|---|
ip_blocked | The IP is on a blacklist at the platform, organization, customer, or license level. |
ip_limit_reached | The license is already at its max_ips limit; the new IP cannot register. |
ip_not_registered | The IP is not registered and auto-registration is disabled or blocked. |
