Assistant

  1. You said:
    What's live right now?
  2. The assistant said:
    Three endpoints are online: https://api.example.com, https://app.example.com, and tcp://1.tcp.ngrok.io:20012. Each one has run for more than a week with no restarts.
  3. You said:
    Which of them have no traffic policy?
  4. The assistant said:
    Two have none: https://api.example.com and tcp://1.tcp.ngrok.io:20012. The first takes every request it gets. The second is open to the internet. app.example.com already has a policy, so it needs no change.
  5. You said:
    Add a rate limit by client IP to the API endpoint.
  6. The assistant said:
    Done. https://api.example.com now allows 100 requests a minute from each client IP and returns 429 above that. The change took effect at once, with no restart.
  7. You said:
    And restrict the TCP address to our office network.
  8. The assistant said:
    Done. tcp://1.tcp.ngrok.io:20012 now accepts connections from 203.0.113.0/24 only. A connection from any other address closes before it reaches your service.