Skip to content

Threat control LWRP #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

asiebert
Copy link
Collaborator

@asiebert asiebert commented Aug 7, 2014

Cf. first commit and README changes:

Add a threat_control LWRP, allowing to whitelist/blacklist IPs on CloudFlare

  • Stores last action in a node attribute cache, CF API is only called once per day, or if status changes
  • IP attribute defaults to current's node IP address

…udFlare

* Stores last action in a node attribute cache, CF API is only called once per day, or if status changes
* IP attribute defaults to current's node IP address

private

# this needs to be done at run time, not compile time
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blargh. DRY that up in a lib file FFS.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implying I should refactor that bit in the dns_record resource as well?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course :-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚧

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wk8
Copy link
Owner

wk8 commented Aug 18, 2014

Re-factored and merged as #7
(some things were broken, others I just didn't like ;-P )

@wk8 wk8 closed this Aug 18, 2014
@olivierlefloch olivierlefloch deleted the asiebert/OPS-2586/WhitelistServerResource branch June 29, 2015 19:01
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.

2 participants