hmadison · GitHub

Conversation

@hmadison

Copy link Copy Markdown

Member

Contextualized by: #1814
Closes: #1781


This (attempts) to configure Anubis in a fashion that work with our Hatchbox hosting setup. I'm using the default configuration for now. I'm assuming that we will want to tweak things once we know it works.

@github-actions

Copy link Copy Markdown

This PR has had no activity for 30 days. Please leave a comment or commit to indicate you're still actively working on it.

@hmadison

Copy link Copy Markdown

Member Author

Not stale

pushcx

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

Thanks for setting this up and defening it from stalebot. Maybe this weekend we could get this deployed.

@@ -0,0 +1,5 @@
BIND=:9000
DIFFICULTY=4

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

Why does this specify a difficulty? It looks like the thresholds section of losbters.botPolicies.yaml sets them for the various conditions?

Copy link Copy Markdown

Member Author

Choose a reason for hiding this comment

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

From the documentation:

The difficulty of the challenge, or the number of leading zeroes that must be in successful responses.

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

It's present on all the conditions in the policy, so why set a default that's never used? Or am I misunderstanding how they relate? Is it a safety measure you wanted in place for potential future conditions?

Copy link Copy Markdown

Member Author

Choose a reason for hiding this comment

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

Digging a bit more, this value is the default difficulty which gets used if the lobsters.botPolicies.yaml does not override it with a specific value.

Copy link Copy Markdown

Member Author

Choose a reason for hiding this comment

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

To the best of my understanding, since we are explicitly setting the value, it's not going to do anything for us, but is needed to allow the application to boot.

@pushcx

@github-actions

Copy link Copy Markdown

This PR has had no activity for 30 days. Please leave a comment or commit to indicate you're still actively working on it.

@hmadison

Copy link Copy Markdown

Member Author

@github-actions not stale

Closed

@pushcx

Labels

None yet

2 participants

@hmadison @pushcx

Read the original on github.com ↗