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(sync): check expired bundles #1618

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Nov 28, 2024

Description

This PR adds a check to determine if a bundle is expired. If it is, the connection to the sender peer will be closed. This helps prevent replay attacks where an attacker attempts to inject expired messages into the network.

@themantre themantre changed the title feat(firewall): check if bundle expired feat(sync): check expired bundles Nov 28, 2024
@themantre themantre merged commit 8abf1b5 into pactus-project:1.6.x Nov 28, 2024
1 of 2 checks passed
@b00f b00f deleted the feat/check-expired-bundles branch November 28, 2024 20:44
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