gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 02/02: DSTJ-disable hack


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 02/02: DSTJ-disable hack
Date: Wed, 17 Jul 2019 11:17:07 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

commit 0c6cb5a5e88c67440382a7a5531601c03f1e6e18
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Jul 17 11:15:55 2019 +0200

    DSTJ-disable hack
---
 src/transport/gnunet-service-transport.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]