pull down to refresh
1 sat \ 4 replies \ @0260378aef 28 Dec 2022 \ parent \ on: Can Antoine Riard’s Lightning Network Proposal Mitigate Channel Jamming Attacks? bitcoin
(Deliberately a bit vague, but hopefully understandable)
There are basically two types.
Anyone can request to do a payment routed through your node, and the point of LN's privacy is that you don't know who the original requester was, nor who the final recipient was. You just see the request coming from one of your peers, and going out to another one of your peers.
If someone requests to do a payment of 100k sats and your channel has a 105k sat capacity, then until that payment either completely succeeds or completely fails, your liquidity in the channel can be locked up by that. And that can be a not trivial amount of time, during which your channel can't be used by anyone else.
Doing that maliciously is called "capacity jamming".
On the other hand "slot jamming" happens for a less obvious reason: your channel can't deal with 1000s of payments being routed through it at once, because each one needs to take up an output (see: HTLC) in the commitment transaction which shouldn't be going on-chain, but you need to be able to broadcast it if necessary. But bitcoin transactions are limited in size (and certain other things). So someone can jam by starting tons of payments at once, even if they're only tiny, like 1 sat or whatever, it can still jam your channel because you can't accept any more, during that time.
Thx. To my understanding this is a very bad name - it has nothing to do with jamming.
reply
Oh, interesting, why do you say so? It "jams up" the channel in that there's no room for other payments. Seems like a decent name?
reply
But that's literally not what jamming is. The word "jamming" already is an attack in computer science/engineering: https://en.m.wikipedia.org/wiki/Radio_jamming
I think it's very confusing to give another unrelated attack in computer science the same name.
reply
There's a big overlap there. In both cases you are filling up bandwidth with the specific purpose of preventing other people using that bandwidth. It's basically the same thing with a different adjective (channel vs radio). I don't understand what you would see as problematic there.
reply