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

Reject expired data #4215

Merged
merged 2 commits into from Apr 30, 2020
Merged

Conversation

chimp1984
Copy link
Contributor

If a new received protectedStorageEntry is expired we do not store it
and do not broadcast.

It is unclear why we receive expired data (some are very old), but a
manipulated node might produce that and as it only removed at each
batch process running each minute to clean out expired data it still
could propagate. Is an attack vector also to flood the network with
outdated offers where the maker is likely not online.

Should fix #4026

and do not broadcast.

It is unclear why we receive expired data (some are very old), but a
manipulated node might produce that and as it only removed at each
batch process running each minute to clean out expired data it still
could propagate. Is an attack vector also to flood the network with
outdated offers where the maker is likely not online.

Should fix bisq-network#4026
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

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

NACK

Logging too much at warning level.

Let's fix the logging before merging.

@sqrrm sqrrm merged commit c57e73b into bisq-network:master Apr 30, 2020
@ripcurlx ripcurlx modified the milestone: v1.3.5 Jun 4, 2020
@chimp1984 chimp1984 deleted the reject-expired-data branch August 24, 2020 03:33
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.

Bisq does not verify maker node is online when displaying offers aka ghost offers
3 participants