IP Address Validation

Find out how to validate public IP addresses

On Ethiack events, we need to ensure that you own public IP addresses before adding them to scope.

In order to do so, we need you to verify it by sending a request to our API by following the steps below.

  1. Go to https://portal.ethiack.com/settings/api and generate your API key and secret
  2. Retrieve your organization ID with the command:
    curl -u [API_KEY]:[API_SECRET] https://api.ethiack.com/v1/organizations/
  3. Send a POST request from the IP address you want to add to the API endpoint below:
curl -X POST -u [API_KEY]:[API_SECRET] https://api.ethiack.com/v1/assets/ \
--header 'Content-Type: application/json' --data '{
"organization_id": [ORGANIZATION_ID],
  "asset_value": "[IP_ADDRESS]",
  "asset_type": "ip"
}'

Ensure to replace [API_KEY] and [API_SECRET] with the credentials generated in step 1, [ORGANIZATION_ID] from step 2, and [IP_ADDRESS] with the current IP address. Once added, the IP address becomes part of your assets and can then be included in the scope on Ethiack Portal or through our API. If you encounter the "IP does not match remote address" error, double-check that the IP address aligns with the current one. For troubleshooting, you can use the command curl ifconfig.me or a similar method.

You can find the documentation of the Ethiack API here.