Skip to content

feat: IP Filtering#181

Merged
CodeShellDev merged 19 commits intomainfrom
feat/ip-filtering
Jan 6, 2026
Merged

feat: IP Filtering#181
CodeShellDev merged 19 commits intomainfrom
feat/ip-filtering

Conversation

@CodeShellDev
Copy link
Owner

@CodeShellDev CodeShellDev commented Jan 3, 2026

Summary

Adds ip filtering (blocking, allowing, trusting). As well as handling client ips (with proxy in front).

Changes

  • added proxy.go, clientip.go and ipfilter.go middleware
  • added bypass for ratelimiting for trusted clients
  • added trusted proxy config for ip resolving
  • added ip filter for blocking and allowing ips or subnets
  • added trusted ips for trusted clients
  • added internal middleware logger middleware

Checklist

  • PR tested
  • Docs updated (if applicable)

Related

@CodeShellDev CodeShellDev linked an issue Jan 3, 2026 that may be closed by this pull request
@CodeShellDev CodeShellDev mentioned this pull request Jan 6, 2026
@CodeShellDev CodeShellDev merged commit d5182a0 into main Jan 6, 2026
@CodeShellDev CodeShellDev deleted the feat/ip-filtering branch January 6, 2026 19:23
@CodeShellDev CodeShellDev mentioned this pull request Jan 8, 2026
2 tasks
@CodeShellDev CodeShellDev mentioned this pull request Jan 31, 2026
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IP Filtering

1 participant