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(firewall): check valid gossip and stream messages #1402

Merged
merged 8 commits into from
Jul 11, 2024

Conversation

b00f
Copy link
Collaborator

@b00f b00f commented Jul 9, 2024

Description

This PR implements a TODO to check if gossip messages are not sent directly and if stream messages are not broadcasted. If so, the message will be dropped and the peer will be banned.

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

Attention: Patch coverage is 90.47619% with 10 lines in your changes missing coverage. Please review.

Project coverage is 76.44%. Comparing base (472c347) to head (a45e4ad).
Report is 24 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1402      +/-   ##
==========================================
- Coverage   77.16%   76.44%   -0.73%     
==========================================
  Files         233      215      -18     
  Lines       11941    11066     -875     
==========================================
- Hits         9214     8459     -755     
+ Misses       2305     2214      -91     
+ Partials      422      393      -29     

@Ja7ad Ja7ad added this to the v1.4.0 milestone Jul 10, 2024
@b00f b00f force-pushed the feat/check-gossip-message branch 2 times, most recently from cf7c223 to a45e4ad Compare July 11, 2024 04:58
@b00f b00f force-pushed the feat/check-gossip-message branch from a45e4ad to 4f91ef5 Compare July 11, 2024 10:15
@b00f b00f merged commit 6318fad into pactus-project:main Jul 11, 2024
10 checks passed
@b00f b00f deleted the feat/check-gossip-message branch July 11, 2024 10:32
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