Jamming against Channel Jamming



Summary:

In a recent email exchange between Joost Jager and Antoine Riard, the topic of channel jamming and spamming in the Lightning Network was discussed. Jager suggested using a lightning firewall such as circuitbreaker to fight against these issues by setting limits on pending HTLCs or rate limits. However, the approach has limitations, such as failures leading to extra retries and penalization of routing nodes that apply limits. As an alternative, Jager proposed holding and queuing HTLCs that exceed the limit instead of failing them, which could punish upstream nodes for facilitating bad traffic. This strategy could lead to recursive propagation of limits across the network and push bad senders into corners where they cannot cause much harm. However, routing nodes employing the hold strategy are potentially punishing themselves as well, especially if they initiated the channel with many pending HTLCs.Jager updated circuitbreaker with a queue mode for experimentation. The email also mentioned the potential impact of fat errors and the importance of routing nodes taking a careful look at the source of bad traffic and applying limits. Overall, the discussion highlighted the challenge of balancing countering channel jamming and spamming while maintaining efficient HTLC traffic scheduling.


Updated on: 2023-06-03T10:55:33.326736+00:00