You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have simnet beacon mock fuzz which acts as a beacon node fuzzer by returning random responses for all the beacon node API calls.
As part of our fuzz testing efforts for charon, we need to implement a malicious charon node which should act as a charon fuzzer in a cluster. The malicious charon node should send random responses to its peers in a cluster over defined libp2p protocols.
🛠️ Proposed solution
Add charon_peer_fuzz feature flag to enable charon peer fuzzing over p2p network in a cluster via CLI.
Wrap existing p2p default writers in sendRecvOpts.writersByProtocol to write random messages when called by send functions in p2p/fuzz.go as something like:
Adds support for peer to peer fuzzing by adding a fuzz reader writer which intercepts all the libp2p messages and reads/writes fuzzed data.
category: feature
ticket: #2375
🎯 Problem to be solved
Currently we have simnet beacon mock fuzz which acts as a beacon node fuzzer by returning random responses for all the beacon node API calls.
As part of our fuzz testing efforts for charon, we need to implement a malicious charon node which should act as a charon fuzzer in a cluster. The malicious charon node should send random responses to its peers in a cluster over defined libp2p protocols.
🛠️ Proposed solution
charon_peer_fuzz
feature flag to enable charon peer fuzzing over p2p network in a cluster via CLI.sendRecvOpts.writersByProtocol
to write random messages when called by send functions inp2p/fuzz.go
as something like:SendRecvOption
function as:WithFuzzWriter
whencharon_peer_fuzz
feature flag is enabled.🧪 Tests
The text was updated successfully, but these errors were encountered: