From: Christian Grothoff <christian@grothoff.org> Date: Wed, 17 Jul 2019 09:15:55 +0000 (+0200) Subject: DSTJ-disable hack X-Git-Tag: v0.11.6~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c6cb5a5e88c67440382a7a5531601c03f1e6e18;p=oweals%2Fgnunet.git DSTJ-disable hack --- diff --git a/src/transport/gnunet-service-transport.c b/src/transport/gnunet-service-transport.c index 45183afd9..1e8f81483 100644 --- a/src/transport/gnunet-service-transport.c +++ b/src/transport/gnunet-service-transport.c @@ -423,7 +423,6 @@ static struct GNUNET_ATS_SessionKiller *sk_tail; */ struct GNUNET_NT_InterfaceScanner *GST_is; - /** * Queue the given message for transmission to the given client * @@ -2695,6 +2694,18 @@ run (void *cls, if (GNUNET_SYSERR == friend_only) friend_only = GNUNET_NO; /* According to topology defaults */ /* start subsystems */ + /* Disable DSTJ peer */ + { + struct GNUNET_PeerIdentity dstj; + const char *ds = "DSTJBRRKZ8TBW3FGK6B0M5QXWT9WYNZ45H5MCV4HY7ST64Q8T9F0"; + + GNUNET_assert ( + GNUNET_OK == + GNUNET_CRYPTO_eddsa_public_key_from_string (ds, + strlen (ds), + &dstj.public_key)); + GST_blacklist_add_peer (&dstj, NULL); + } read_blacklist_configuration (GST_cfg, &GST_my_identity); GST_is = GNUNET_NT_scanner_init (); GST_ats_connect = GNUNET_ATS_connectivity_init (GST_cfg);