libp2p / libp2p/go-libp2p

quic: require address validation when under load

Open
#1,535 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

  • #1602 by @fulviodenza — closed without merging
kind/enhancement
Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

Address validation makes sure that the client actually has the IP address that it claims to have.
By validating the address before sending a lot of data (e.g. the certificate chain) to the client, we avoid being used for reflection attacks. However, this adds one roundtrip to connection setup.

We should come up with some heuristics. An easy method would be counting the number of connection attempts per a fixed duration, and only require address validation if more connections are received.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the QUIC connection-setup path and its address-validation handling. Examine the proposed connection-attempt rate heuristic and define how load should trigger validation; done means the behavior is implemented and verified against reflection-attack protection and connection setup costs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.