rgb-cln/gossipd
Christian Decker 4a5cff8490 gossip: Try to detect broken ISP resolvers and discard broken replies
This is a best effort attempt to skip connection attempts if we detect a broken
ISP resolver. A broken ISP resolver is a resolver that will replace NXDOMAIN
replies with a dummy response. This is best effort in that it'll only detect a
single fixed dummy reply, it'll check only on startup, and will not detect if we
switched networks. It should be good enough for most cases, and in the worst
case it will result in a connection attempt that does not complete.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
Reported-by: Glenn Willen <@gwillen>
2018-06-21 11:21:16 +02:00
..
test gossip: Implement gossip_store compaction 2018-06-09 13:38:46 +02:00
Makefile gossipd/gossip_constants.h: Single place for BOLT constants. 2018-05-19 15:52:56 -04:00
broadcast.c gossip: Enable the consistency check only when really pedantic 2018-06-09 13:38:46 +02:00
broadcast.h gossip: Have the broadcast_state track its message count 2018-06-09 13:38:46 +02:00
gossip.c gossip: Try to detect broken ISP resolvers and discard broken replies 2018-06-21 11:21:16 +02:00
gossip.h gossip/tor.c: new file for socks proxy code. 2018-05-10 02:28:44 +00:00
gossip_constants.h gossipd/gossip_constants.h: Single place for BOLT constants. 2018-05-19 15:52:56 -04:00
gossip_store.c gossip: Avoid integer count overflow in gossip_store 2018-06-18 12:04:25 +02:00
gossip_store.csv gossip_store: Save local_add_channel messages and replay them 2018-04-22 12:50:34 +02:00
gossip_store.h gossip: Have gossip_store annotate gossip messages 2018-06-09 13:38:46 +02:00
gossip_wire.csv gossip: Pass use_dns option down to gossipd 2018-06-21 11:21:16 +02:00
handshake.c gossipd: fix up BOLT references. 2018-06-18 12:31:09 +02:00
handshake.h gossipd/lightningd: use wireaddr_internal. 2018-05-07 22:37:28 +02:00
netaddress.c netaddress: fix up IsTor() 2018-05-10 02:28:44 +00:00
netaddress.h gossipd: don't try to connect to non-routable addresses. 2018-05-07 22:37:28 +02:00
routing.c gossipd: fix up BOLT references. 2018-06-18 12:31:09 +02:00
routing.h gossipd: keep index of node and channel announcements. 2018-06-08 17:53:34 +02:00
tor.c tor: log proxy communications using status_io. 2018-05-11 09:15:54 +00:00
tor.h gossipd: hand io_tor_connect the host as a string. 2018-05-11 09:15:54 +00:00
tor_autoservice.c gossipd: fix compile error, uninitialized variable 2018-06-20 21:25:03 +00:00
tor_autoservice.h gossipd: take over negotiation of autogenerated Tor addresses. 2018-05-10 02:28:44 +00:00