tari icon indicating copy to clipboard operation
tari copied to clipboard

ProtoBuff message can be very large in size with extra fields

Open SWvheerden opened this issue 1 year ago • 0 comments

Protobuf messages can have extra fields in the messages that are not shown by the proto file, This can increase message size up to the frame size and allow peers to send extra data around.

Local nodes should check if the protobuff message only contains the bytes it needs and ban peers that send extra data

SWvheerden avatar Sep 20 '23 17:09 SWvheerden