You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hypernode-platform/botstopper/how-to-use-botstopper.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,10 @@ Enable it again for that vhost with:
48
48
hypernode-manage-vhosts example.com --botstopper
49
49
```
50
50
51
+
```{tip}
52
+
Keep in mind that botstopper is only active for HTTPS domains, because it uses the Secure flag for its cookies, which requires TLS.
53
+
```
54
+
51
55
## Choose an AI Policy
52
56
53
57
Botstopper has three AI policies. The default policy is `aggressive`.
@@ -229,6 +233,19 @@ Allow JSON API requests, using [CEL expressions](https://anubis.techaro.lol/docs
229
233
- 'path.startsWith("/api/")'
230
234
```
231
235
236
+
Add suspicion weight for traffic from a specific country:
237
+
238
+
```yaml
239
+
- name: weigh-countries-with-high-bot-traffic
240
+
action: WEIGH
241
+
expression:
242
+
all:
243
+
- '"X-Country-Code" in headers'
244
+
- 'headers["X-Country-Code"] in ["BY", "RU"]'
245
+
weigh:
246
+
adjust: 10
247
+
```
248
+
232
249
You usually do not need allow rules for API or webhook traffic. Botstopper allows traffic by default. Use an `ALLOW` rule when you already have, or plan to add, a broader custom rule that could otherwise challenge or block this trusted traffic.
233
250
234
251
## Logging
@@ -237,6 +254,23 @@ The botstopper service logs to `/var/log/botstopper/botstopper.log`. The log fil
237
254
238
255
To check the Botstopper logs in a human-readable manner, you can use the `hypernode-parse-botstopper-log` command. Read more about it in [How to View Botstopper Logs on Hypernode](./how-to-view-botstopper-logs.md).
239
256
257
+
## Cookies
258
+
259
+
In order to verify visitors, Botstopper uses cookies to track whether a visitor has passed a challenge. The following cookies are used:
Copy file name to clipboardExpand all lines: docs/hypernode-platform/varnish/Investigating-varnish-errors-on-hypernode.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -127,7 +127,7 @@ If errors continue, consider gradually increasing the workspace values further (
127
127
128
128
If the problem persists after applying these fixes, contact support for further assistance.
129
129
130
-
```{information}
130
+
```{tip}
131
131
For more information about Varnish configuration and tuning, see our [documentation on improving Varnish hit rate](https://docs.hypernode.com/hypernode-platform/varnish/improving-varnish-hit-rate-on-hypernode.html) and the official
0 commit comments