Skip to content

Fix firewall datacenter preset - #14504

Merged
ArnabChatterjee20k merged 3 commits into
mainfrom
fix-firewall-datacenter-preset
Oct 15, 2026
Merged

ArnabChatterjee20k merged 3 commits into
mainfrom
fix-firewall-datacenter-preset

Conversation

@ArnabChatterjee20k

Copy link
Copy Markdown
Member

What does this PR do?

(Provide a description of what this PR does and why it's needed.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)

Related PRs and Issues

  • (Related PR or issue)

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

ArnabChatterjee20k and others added 3 commits October 15, 2026 10:43
The "Block datacenter connection traffic" preset matched
connectionType == 'hosting', but connectionType never takes that
value (its values are Dialup/Cable-DSL/Cellular/Corporate/Satellite),
so the preset matched nothing. It duplicated the working "Block
hosting provider traffic" preset (connectionUsageType == 'hosting'),
which already covers datacenter/hosting IP ranges via the premium
Geo DB. Drop the dead preset, its id/variant, and its condition set.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@luxor-code-review

luxor-code-review Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review complete. No issues found — approved ✅.


This change updates the console and content side only: it removes the deny-datacenter-networks entry from the firewall rule-presets catalog in apps/console/src/lib/firewall/rule-presets.ts, prunes its Hebrew and Japanese label strings from the project-misc i18n dictionaries, and adds a new blog post announcing firewall presets plus a changelog entry.

Files Change
apps/console/src/lib/firewall/rule-presets.ts Removes the deny-datacenter-networks premium preset definition and its deny-variant entry
apps/console/src/lib/i18n/dictionaries/he/project-misc.ts, ja/project-misc.ts Drops the preset's translated label strings from both dictionaries
apps/console/src/content/blog/posts/announcing-firewall-presets.markdoc, changelog/entries/2026-09-21-2.markdoc Adds the preset announcement blog post and changelog entry

No verified defects were found in the preset removal or its consumers.

Reviewed commit: 0fa0480

@ghost

ghost commented Oct 15, 2026

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

Removes the datacenter firewall preset, whose condition compared connectionType to the hosting usage-type value, and retains the hosting-provider preset that also covers datacenter networks. Updates the changelog, blog copy, and Hebrew and Japanese translations to reflect the available presets and terminology.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 5
File Change
apps/console/src/content/blog/posts/announcing-firewall-presets.markdoc Rewords the scraping-prevention description to refer to hosting provider networks.
apps/console/src/content/changelog/entries/2026-09-21-2.markdoc Updates the preset count and describes the remaining network-deny preset.
apps/console/src/lib/firewall/rule-presets.ts Removes the broken datacenter preset and its variant and condition.
apps/console/src/lib/i18n/dictionaries/he/project-misc.ts Removes Hebrew translations for the removed preset.
apps/console/src/lib/i18n/dictionaries/ja/project-misc.ts Removes Japanese translations for the removed preset.

Reviewed 0fa0480 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Tier S · Looks good to merge. Summary

@ArnabChatterjee20k
ArnabChatterjee20k merged commit 14df3db into main Oct 15, 2026
37 checks passed
@ChiragAgg5k ChiragAgg5k mentioned this pull request Oct 21, 2026
6 tasks
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