Use a verified ingress boundary for gateway client IPs

Open
#484 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@qiuethan is already working on this.

Since Nov 30, 2026.

  • #488 by @qiuethan — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by tracing how the gateway audit log and per-IP limiter determine client addresses, then identify how deployment configuration can verify the ingress boundary. Check existing tests for forwarded headers, direct private traffic, and quota isolation. Done means both components apply the same verified-boundary rule, public clients retain separate quotas, and deployment requirements are documented.

Written by the indexing model from the issue text.

Description

area/deployment area/observability area/service type/bug
What's wrong

The gateway audit log and per-IP limiter apply different rules for assigning a client address. Direct private traffic can be misattributed when an application treats forwarded headers as authoritative.

Area

service, observability, deployment

Environment

production (reported)

Expected

Retain the connection peer for attribution. Use forwarded client identity only at a verifiable ingress boundary and apply that rule consistently in the gateway audit log and per-IP limiter. Preserve public-client quota isolation and document deployment requirements.

Dominant language
Python
Stars
0
Forks
2
Avg merge
3d 3h
Merged PRs (30d)
31

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTMIST/Misty

All issues in UTMIST/Misty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.