Skip to content

Commit

Permalink
feat(comms): add firewall, manage pending requests
Browse files Browse the repository at this point in the history
Add Firewall configuration, and a mpsc channel to explicitly ask for
peer rules and approvals if necessary. Verify for each inbound and
outbound request that they are approved before forwarding them.
Add RequestManager to cache requests that are waiting for approval or a
connection to the remove peer, integrate the PeerConnectionsManager into
the RequestManager. Track all pending events with their current status
in the RequestManager, manage FIFO queue for required Network Actions.
  • Loading branch information
elenaf9 committed May 7, 2021
1 parent 756f3db commit 400cabe
Show file tree
Hide file tree
Showing 12 changed files with 1,310 additions and 439 deletions.
4 changes: 3 additions & 1 deletion communication-refactored/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ mdns = [ ]

[dev-dependencies]
async-std = "1.6.2"
rand = "0.7"
rand = "0.7"
stronghold-derive = {path = "../derive", version = "0.2.0"}

Loading

0 comments on commit 400cabe

Please sign in to comment.