flips icon indicating copy to clipboard operation
flips copied to clipboard

[Networking] FLIP: Message Forensic (MF) System

Open yhassanzadeh13 opened this issue 1 year ago • 14 comments

https://github.com/onflow/flips/issues/259

Summary

This FLIP discusses and compares two potential solutions for the Message Forensic (MF) system in the Flow protocol — a system that identifies and attributes protocol violations to the original malicious sender. The two solutions under consideration are: (1) GossipSub Message Forensic (GMF), and (2) Enforced Flow-level Signing Policy For All Messages. We delve into both, listing their pros and cons, to determine which would be more feasible given the considerations of ease of implementation, performance efficiency, and security guarantees.

Our analysis finds the "Enforced Flow-level Signing Policy For All Messages" to be the more promising option, offering a generalized solution that doesn’t hinge on the protocol utilized to send the message, steering clear of the complexities tied to maintaining GossipSub envelopes and dodging the necessity of duplicating GossipSub router’s signature verification procedure at the engine level. Furthermore, it meshes well with the Flow protocol’s existing state.

Review Guide

This FLIP is presented as a Pull Request (PR) in the flow-go repository. We welcome reviewers to express their opinions and share feedback directly on the PR page, aiming for a structured and productive discussion. To aid this, please adhere to one of the following response frameworks:

  1. I favor the "Enforced Flow-level Signing Policy For All Messages" and here are my thoughts:
  2. I support the "GossipSub Message Forensic (GMF)" approach, articulating my views as follows.
  3. I find both propositions unsatisfactory, elucidating my stance with.

yhassanzadeh13 avatar Sep 08 '23 23:09 yhassanzadeh13