smokescreen icon indicating copy to clipboard operation
smokescreen copied to clipboard

Adding [allow|deny]_addresses settings to yaml config file

Open eastebry opened this issue 4 months ago • 0 comments

Pretty straightforward - adding the allow/deny command line arguments to the config loader so they can be included in a yaml configuration. This allows you to have a yaml config that looks like this:


ip: "127.0.0.1"
port: 8888

deny_ranges:
  - 93.0.0.0/8 

allow_addresses:
  - 93.184.215.14

allow_ranges:
  - 192.168.0.0/16

deny_addresses:
  - 192.168.1.5

I also opened a separate issue (https://github.com/stripe/smokescreen/issues/236) when playing around with this configuration, and discovering that the allow/deny configurations don't work as I would expect. This doesn't make a difference for this PR though.

eastebry avatar Oct 18 '24 23:10 eastebry