Skip to content

lnpeer: add some rate-limiting against ping flood#10665

Open
SomberNight wants to merge 1 commit into
spesmilo:masterfrom
SomberNight:202605_lnpeer_ping_flood
Open

lnpeer: add some rate-limiting against ping flood#10665
SomberNight wants to merge 1 commit into
spesmilo:masterfrom
SomberNight:202605_lnpeer_ping_flood

Conversation

@SomberNight
Copy link
Copy Markdown
Member

A remote peer could send us lots of small ping messages, requesting large pong responses. This is cheap for them but potentially expensive for us. Does not seem too serious, but I think we could add some rate-limiting.

note: There are many ways for a remote peer to inflate our incoming traffic usage, but the cost of that is usually shared between them and us (they need to send the data, we receive it).

A remote peer could send us lots of small ping messages, requesting large pong responses. This is cheap for them but potentially expensive for us.
Does not seem too serious, but I think we could add some rate-limiting.

note: There are many ways for a remote peer to inflate our incoming traffic usage,
but the cost of that is usually shared between them and us (they need to send the data, we receive it).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant