Skip to content

posts: add notice about private broadcast IP leak in 31.0#1255

Merged
achow101 merged 1 commit into
bitcoin-core:masterfrom
andrewtoth:disclose-privatebroadcast-ip-leak
Jun 11, 2026
Merged

posts: add notice about private broadcast IP leak in 31.0#1255
achow101 merged 1 commit into
bitcoin-core:masterfrom
andrewtoth:disclose-privatebroadcast-ip-leak

Conversation

@andrewtoth

Copy link
Copy Markdown
Contributor

No description provided.

@vasild vasild 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.

ACK cbdd4d1

Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md Outdated
Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md Outdated
Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md Outdated
Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md Outdated
@andrewtoth andrewtoth force-pushed the disclose-privatebroadcast-ip-leak branch from cbdd4d1 to 09c1602 Compare June 7, 2026 15:38
@andrewtoth

Copy link
Copy Markdown
Contributor Author

Thanks @vasild @l0rinc. Addressed all your suggestions.

@l0rinc

l0rinc commented Jun 7, 2026

Copy link
Copy Markdown

ACK 09c1602

Thanks for taking care of this. Left some nits, I'm also fine with it as is.

@l0rinc l0rinc 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.

ACK 09c1602

Until they can upgrade to 31.1, users of `-privatebroadcast` should apply one
of the following:

1. **Disable the feature.** Set `-privatebroadcast=0`.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: would noprivatebroadcast also work? Probably not worth changing, just thinking out loud...

Suggested change
1. **Disable the feature.** Set `-privatebroadcast=0`.
1. **Disable the feature.** Set `-noprivatebroadcast`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IMO -privatebroadcast=0 is clearer. The -no* prefixes are probably not well known to many users.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nononononoprivatebroadcast

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

...=-1

Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md Outdated
Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md
Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md Outdated

@vasild vasild 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.

ACK 09c1602

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Concept ACK

Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md Outdated
Comment thread _posts/en/posts/2026-06-06-privatebroadcast-ip-leak.md
@andrewtoth andrewtoth force-pushed the disclose-privatebroadcast-ip-leak branch from 09c1602 to d3a8e25 Compare June 8, 2026 15:13
@andrewtoth

Copy link
Copy Markdown
Contributor Author

Thanks everyone, updated with latest suggestions.

@l0rinc

l0rinc commented Jun 8, 2026

Copy link
Copy Markdown

ACK d3a8e25

Thanks for taking care of this!

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK d3a8e25

@andrewtoth

Copy link
Copy Markdown
Contributor Author

Disabling tor and only using clearnet and i2p would also be an effective workaround? That seems to me like the workaround with the least downside.

@vasild vasild 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.

ACK d3a8e25

Disabling tor and only using clearnet and i2p would also be an effective workaround?

Yes.

That seems to me like the workaround with the least downside.

Could be. I find it hard to judge myself. In my addrman there are about 3k I2P addresses and 19k Tor addresses, which is a downside of stopping to use the Tor network. I2P has no exit nodes.

@instagibbs

Copy link
Copy Markdown
Contributor

ACK d3a8e25

getting message out quicker is better thank you for this

@stickies-v stickies-v left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Concept ACK. Text (d3a8e25) reads fine to me, but did not investigate the bug and its workaround in detail, and not planning to review this more.

@polespinasa

This comment was marked as duplicate.

@Crypt-iQ

Copy link
Copy Markdown

crACK d3a8e25

Text looks good to me, thanks for doing this

@danielabrozzoni danielabrozzoni left a comment

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.

Text ACK d3a8e25

Sorry for commenting late, I had forgotten about this :)

@polespinasa polespinasa left a comment

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.

read, looks good to me

ACK d3a8e25

Just curiosity, do we have a functional test or something to try this?

@instagibbs

Copy link
Copy Markdown
Contributor

@polespinasa bitcoin/bitcoin#35410 and related tests included in comments that didnt make the cut

@achow101

Copy link
Copy Markdown
Member

ACK d3a8e25

@achow101 achow101 merged commit 43ac196 into bitcoin-core:master Jun 11, 2026
2 of 4 checks passed
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.