[transport]
UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-transport-8
PORT = 20011
-PLUGINS = tcp udp http_client https_client http_server https_server
+PLUGINS = tcp
[transport-tcp]
PORT = 20010
ADVERTISED_PORT = 20010
-[transport-udp]
-PORT = 20009
-
-[transport-http_server]
-PORT = 20008
-
-[transport-https_server]
-PORT = 20007
-
[hostlist]
OPTIONS = -p
-SERVERs =
+SERVERs =
[nat]
BEHIND_NAT = NO
[nse]
UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-nse-12
PORT = 20015
-
-
-
[transport]
UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-transport-50
PORT = 20065
-PLUGINS = tcp udp http_client https_client
+PLUGINS = tcp
[transport-tcp]
PORT = 0
PRIVATE_KEY = hostkeys/c_no_nat_client
[transport]
-PLUGINS = tcp udp http_client https_client
+PLUGINS = tcp
UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-transport-22
PORT = 20029
PORT = 20028
ADVERTISED_PORT = 20028
-[transport-udp]
-PORT = 20027
-BROADCAST_INTERVAL = 30 s
-
[hostlist]
SERVERS = http://localhost:8080/
[transport]
-PLUGINS = tcp udp http_client https_client
+PLUGINS = tcp
UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-transport-22
PORT = 20039
[dv]
UNIXPATH = $GNUNET_RUNTIME_DIR/test-service-dv-36
PORT = 20039
-
-
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
}
ping = (const struct TransportPingMessage *) hdr;
if (0 !=
- memcmp (&ping->target, &GST_my_identity,
+ memcmp (&ping->target,
+ &GST_my_identity,
sizeof (struct GNUNET_PeerIdentity)))
{
GNUNET_STATISTICS_update (GST_stats,
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
args = sizeof (t4);
break;
case AF_INET6:
+ if (IN6_IS_ADDR_LINKLOCAL (&((struct sockaddr_in6 *) addr)->sin6_addr))
+ {
+ /* skip link local, we don't allow them in
+ #tcp_plugin_check_address() */
+ return;
+ }
GNUNET_assert(addrlen == sizeof(struct sockaddr_in6));
memset (&t6, 0, sizeof(t6));
GNUNET_memcpy (&t6.ipv6_addr,