Closed microlancer closed 3 years ago
I have bad news. This looks like someone exploited the https://lists.linuxfoundation.org/pipermail/lightning-dev/2019-September/002174.html on your node before the upgrade, and it is only now coming to light (not that it would have helped to know earlier).
In particular, your node believes that it's a 0.1 BTC channel, but it's actually a 0.0006 BTC channel (this was the bug).
You seem to have shut down your node now? Is 02bb10aaa77a95a358cebb2d112c4de00e47c08f56e89b1acb44 (microlancer.io) your new node?
I upgraded this node to 0.8.1 immediately when I saw the CVE come out, but maybe someone figured out the exploit independently or simply did it in the few hours before I upgraded. Yeah, I have new node there but it is running LND.
Well, nothing I can do about getting exploited. Closing this.
I have the same status after failure in broadcasting tx. AWAITING_UNILATERAL is hanging for days. This is what I have in my debug log.
2020-12-01T19:40:53.892Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-connectd: Connected out, starting crypto
2020-12-01T19:40:54.167Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-connectd: Connect OUT
2020-12-01T19:40:54.167Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-connectd: peer_out WIRE_INIT
2020-12-01T19:40:54.488Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: seeker: starting gossip
2020-12-01T19:40:54.488Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-connectd: peer_in WIRE_INIT
2020-12-01T19:40:54.488Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-chan#4048: Peer has reconnected, state AWAITING_UNILATERAL
2020-12-01T19:40:54.490Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-openingd-chan#4072: pid 6826, msgfd 54
2020-12-01T19:40:54.499Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-openingd-chan#4072: peer_out WIRE_ERROR
2020-12-01T19:40:54.499Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-openingd-chan#4072: Handed peer, entering loop
2020-12-01T19:40:54.499Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-openingd-chan#4072: peer_out WIRE_GOSSIP_TIMESTAMP_FILTER
2020-12-01T19:40:54.538Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-openingd-chan#4072: peer_in WIRE_CHANNEL_REESTABLISH
2020-12-01T19:40:54.538Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-openingd-chan#4072: Rejecting WIRE_CHANNEL_REESTABLISH for unknown channel_id 604541dadae371d15b8cd7d1c1c539f5fd933fe635b717c3f6899f2e43597b18
2020-12-01T19:40:54.538Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-openingd-chan#4072: peer_out WIRE_ERROR
2020-12-01T19:40:57.496Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 648781x1655x1/0 now DISABLED
2020-12-01T19:40:57.496Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 651644x1649x1/0 now DISABLED
2020-12-01T19:40:57.662Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 657718x1866x1/0 now ACTIVE
2020-12-01T19:40:57.718Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 656073x947x0/0 now ACTIVE
2020-12-01T19:40:57.722Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 656566x540x0/0 now DISABLED
2020-12-01T19:40:57.723Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 656211x666x0/0 now ACTIVE
2020-12-01T19:40:57.761Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 657082x144x0/0 now ACTIVE
2020-12-01T19:40:57.762Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 658446x2335x1/0 now ACTIVE
2020-12-01T19:40:58.117Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 658849x449x1/0 now ACTIVE
2020-12-01T19:40:58.118Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Ignoring spammy update for 649283x1504x1/1 (last 1606850573, now 1606851544)
2020-12-01T19:41:51.624Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 656060x943x0/0 now ACTIVE
2020-12-01T19:42:01.529Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Ignoring spammy update for 649283x1504x1/1 (last 1606850573, now 1606851544)
2020-12-01T19:42:09.059Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: sending ping expecting response
2020-12-01T19:42:51.596Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 634960x1980x0/0 now DISABLED
2020-12-01T19:43:06.605Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received node_announcement for node 02dd2824dec03aeecaefeb41099241c241c5e36c71a652d8010d27c636ad991ba2
2020-12-01T19:43:31.625Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 630974x1968x1/1 now ACTIVE
2020-12-01T19:43:41.595Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 655620x1021x0/1 now ACTIVE
2020-12-01T19:44:51.631Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 635587x848x0/0 now ACTIVE
2020-12-01T19:44:56.723Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 635349x1632x1/1 now DISABLED
2020-12-01T19:44:56.723Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 635347x1843x1/1 now DISABLED
2020-12-01T19:45:01.632Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 654067x1353x1/0 now ACTIVE
2020-12-01T19:45:06.777Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 655975x1346x0/1 now DISABLED
2020-12-01T19:45:07.063Z DEBUG 02db4f3d829aa70c256ef184769fb15b94022ee1ae242c443cbbedcc6d261f26af-gossipd: Received channel_update for channel 646323x859x0/1 now ACTIVE
The important notification. The channel wasn't created. Never.
Issue and Steps to Reproduce
I have a channel that doesn't seem to want to close properly. In the logs, I see the message:
2020-11-13T10:21:53.461Z BROKEN .... -chan#38497: Peer internal error AWAITING_UNILATERAL: Bad tx .... 2020-11-13T10:21:53.461Z UNUSUAL ....-chan#38497: Peer permanent failure in AWAITING_UNILATERAL: Internal error
I don't know how much of these other log messages will be helpful, but I have a channel that is refusing to close.
getinfo
outputList peers output
List funds output
Links