google / google/kctf

Add utility to log&ban IPs

Open
#337 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
794
Forks
82
PR merge metrics
No merged PRs in 30d

Description

We can't ban IPs on TCP tasks because the Load Balancer terminates the TCP connections for us. So while we can limit (to some degree) the traffic we receive, we don't have enough visibility to know where the traffic comes from.

To make that work we need to enable https://cloud.google.com/load-balancing/docs/tcp/setting-up-tcp#proxy-protocol

This could be a simple container that just forwards packets internally and logs IPs. Blocking can be done as NetPol rules.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.