D00Movenok/BounceBack ? reverse-engineered prompt
Reverse engineered prompt
Build me a Go app called BounceBack that acts like a configurable redirector and reverse proxy for a red team lab.
I want it to read a YAML config, start one or more listeners, and route HTTP, DNS, TCP, and UDP traffic through different filter pipelines. It should be able to block or allow requests based on things like IP ranges, geolocation, reverse DNS, request content, time of day, and simple rule combinations like and, or, and not. Add support for checking traffic against a Malleable C2 style profile too, and make it easy to plug in new rules or proxy types later.
Please include sensible default blocked IP and word lists, clear verbose logging, and a straightforward way to run it from the command line with a config file and log file. If you need to, look up current Go docs or best practices online while building it.
Are you gonna build this?
make sure you review the code using coderabbit