<oembed><type>rich</type><version>1.0</version><author_name>npub1vjzmc45k8dgujppapp2ue20h3l9apnsntgv4c0ukncvv549q64gsz4x8dd</author_name><author_url>https://nostr.ae/npub1vjzmc45k8dgujppapp2ue20h3l9apnsntgv4c0ukncvv549q64gsz4x8dd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2023-05-06&#xA;🗒️ Summary of this message: The Lightning Network community is exploring data gathering and local reputation tracking to mitigate channel jamming, starting with a binary endorsement field. They aim to experiment with different algorithms for tracking local reputation and gather real-world data for future simulation work.&#xA;📝 Original message:&#xA;Hi *,&#xA;&#xA;&gt; Our suggestion is to start simple with a binary endorsement field. As&#xA;&gt; we learn more, we will be better equipped to understand whether a&#xA;&gt; more expressive value is required.&#xA;&#xA;I think the HTLC endorsement scheme as proposed is still suffering from a&#xA;vulnerability as local reputation can be built up during periods of low&#xA;routing fees, endorsement gained and then abused during periods of high&#xA;routing fees. Therefore, it sounds to me this scheme should aim for some&#xA;reputational transitivity between incoming traffic and outgoing traffic.&#xA;Namely, the acquisition cost of the local reputation should be equal to the&#xA;max timevalue damage that one can inflict on a routing node channel&#xA;accessible from its local counterparty granting this high-level of&#xA;reputation.&#xA;&#xA;I don&#39;t know if this can be fixed by ensuring permanent link-level &#34;gossip&#34;&#xA;where counterparties along a payment path expose their reputation&#xA;heuristics to guarantee this transitivity, or it&#39;s a fundamental issue with&#xA;a point-to-point approach like HTLC endorsement.&#xA;&#xA;Opened an issue on the repository to converge on a threat model:&#xA;https://github.com/ClaraShk/LNJamming/pull/13&#xA;&#xA;I still think building data gathering infrastructure for Lightning is&#xA;valuable as ultimately any jamming mitigation will have to adapt its&#xA;upfront fees or reputation acquisition cost in function of HTLC traffic and&#xA;market forces.&#xA;&#xA;Looking forward to giving an update on Staking Credentials [0], an&#xA;end-to-end approach to mitigate channel jamming.&#xA;&#xA;Best,&#xA;Antoine&#xA;&#xA;[0]&#xA;https://lists.linuxfoundation.org/pipermail/lightning-dev/2022-November/003754.html&#xA;&#xA;Le dim. 30 avr. 2023 à 03:57, Carla Kirk-Cohen &lt;kirkcohenc at gmail.com&gt; a&#xA;écrit :&#xA;&#xA;&gt; Hi list,&#xA;&gt;&#xA;&gt; Some updates on channel jamming!&#xA;&gt;&#xA;&gt; # Next Call&#xA;&gt; - Monday 01 May @ 15:00 UTC&#xA;&gt; - https://meet.jit.si/UnjammingLN&#xA;&gt; - Agenda: https://github.com/ClaraShk/LNJamming/issues/12&#xA;&gt;&#xA;&gt; # Data Gathering&#xA;&gt; During these weekly calls, we&#39;ve come to agreement that we would like&#xA;&gt; to gather data about the use of HTLC endorsement and local reputation&#xA;&gt; tracking for jamming mitigation. A reminder of the full scheme is&#xA;&gt; included at the end of this email, and covered more verbosely in [1].&#xA;&gt;&#xA;&gt; We have a few goals in mind:&#xA;&gt; - Observe the effect of endorsement in the steady state with&#xA;&gt;   logging-only implementation.&#xA;&gt; - Gather real-world data for use in future simulation work.&#xA;&gt; - Experiment with different algorithms for tracking local reputation.&#xA;&gt;&#xA;&gt; The minimal changes required to add HTLC endorsement are outlined in [2].&#xA;&gt; Our suggestion is to start simple with a binary endorsement field. As&#xA;&gt; we learn more, we will be better equipped to understand whether a&#xA;&gt; more expressive value is required.&#xA;&gt;&#xA;&gt; With this infrastructure in place, we can start to experiment with&#xA;&gt; various local reputation schemes and data gathering, possibly even&#xA;&gt; externally to LN implementations in projects like circuitbreaker [3].&#xA;&gt; We&#39;d be interested to hear whether there&#39;s any appetite to deploy using&#xA;&gt; an experimental TLV value?&#xA;&gt;&#xA;&gt; # Reputation Scheme&#xA;&gt; - Each node locally tracks the reputation of its direct neighbors.&#xA;&gt; - Each node allocates, per its risk tolerance:&#xA;&gt;   - A number of slots reserved for endorsed HTLCs from high reputation&#xA;&gt;     peers.&#xA;&gt;   - A portion of liquidity reserved for endorsed HTLCs from high&#xA;&gt;     reputation peers.&#xA;&gt; - Forwarding of HTLCs:&#xA;&gt;   - If a HTLC is endorsed by a high reputation peer, it is forwarded&#xA;&gt;     as usual with endorsed = 1.&#xA;&gt;   - Otherwise, it is forwarded with endorsed = 0 if there are slots and&#xA;&gt;     liquidity available for unknown HTLCs.&#xA;&gt;&#xA;&gt; Endorsement and reputation are proposed as the first step in a two part&#xA;&gt; scheme for mitigating channel jamming:&#xA;&gt; - Reputation for slow jams which are easily detected as misbehavior.&#xA;&gt; - Unconditional fees for quick jams that are difficult to detect, as&#xA;&gt;   they can always fall under a target threshold.&#xA;&gt;&#xA;&gt; Looking forward to discussing further in the upcoming call!&#xA;&gt;&#xA;&gt; Best,&#xA;&gt; Carla and Clara&#xA;&gt;&#xA;&gt; [1] https://gist.github.com/carlaKC/be820bb638624253f3ae7b39dbd0e343&#xA;&gt; [2] https://github.com/lightning/bolts/pull/1071&#xA;&gt; [3] https://github.com/lightningequipment/circuitbreaker&#xA;&gt; _______________________________________________&#xA;&gt; Lightning-dev mailing list&#xA;&gt; Lightning-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20230506/40daccce/attachment.html&gt;</html></oembed>