Closed glaslos closed 7 years ago
Config file should be used with https://github.com/spf13/viper
I renamed the proxy config to ports.yml. Idea is to put all port configuration in one config file. This should allow to redirect ports (proxy mode), block ports (drop packages) or handle ports with a build in handler.
The Freki config is covering this quite fine.
Add support for a config file to whitelist and blacklist ports to handle/listen on. It's going to be interesting if we can drop the connection in Glutton in a way that it looks like nothing is listening on that port. Purpose is if you want to only listen on certain ports to make Glutton less obvious.