Skip to content
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

feat(irc): allow setting a small ip-range for puppets #211

Merged
merged 1 commit into from Jul 28, 2023

Conversation

TrueBrain
Copy link
Member

On AWS, it is impractical to set a /80 up; a /84 for example is way easier. And the chances on collision are still really low. Of course, the smaller range, the more likely it becomes. So at least a /96 is required.

On AWS, it is impractical to set a /80 up; a /84 for example is
way easier. And the chances on collision are still really low.
Of course, the smaller range, the more likely it becomes. So at
least a /96 is required.
@TrueBrain TrueBrain merged commit a904ce8 into OpenTTD:main Jul 28, 2023
5 checks passed
if irc_puppet_ip_range.num_addresses < 2**48:
raise Exception("--irc-puppet-ip-range needs to be an IPv6 CIDR range of at least /80 or more.")
if irc_puppet_ip_range.num_addresses < 2**32:
raise Exception("--irc-puppet-ip-range needs to be an IPv6 CIDR range of at least /64 or more.")
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it be /96?

@TrueBrain TrueBrain deleted the puppet-range-mask branch July 28, 2023 12:09
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.

None yet

2 participants