gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] 03/19: disable LAN/loopback for AC


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 03/19: disable LAN/loopback for AC
Date: Mon, 04 Jun 2018 19:18:54 +0200

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

grothoff pushed a commit to branch master
in repository gnunet.

commit c62b46170dfbd969f8cbadc4f3069a45832b804f
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat May 26 20:44:29 2018 +0200

    disable LAN/loopback for AC
---
 src/transport/plugin_transport_xt.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/transport/plugin_transport_xt.c 
b/src/transport/plugin_transport_xt.c
index 9ed0f43c9..21ed19da5 100644
--- a/src/transport/plugin_transport_xt.c
+++ b/src/transport/plugin_transport_xt.c
@@ -1450,6 +1450,12 @@ tcp_nat_port_map_callback (void *cls,
   void *arg;
   size_t args;
 
+  if (GNUNET_NAT_AC_LOOPBACK == ac)
+    return;
+  if (GNUNET_NAT_AC_LAN == ac)
+    return;
+  if (GNUNET_NAT_AC_LAN_PRIVATE == ac)
+    return;
   LOG (GNUNET_ERROR_TYPE_INFO,
        "NAT notification to %s address `%s'\n",
        (GNUNET_YES == add_remove) ? "add" : "remove",

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



reply via email to

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