summaryrefslogtreecommitdiff log msg author committer range
diff options
 context: 12345678910152025303540 space: includeignore mode: unifiedssdiffstat only
-rw-r--r--.gitignore5
-rw-r--r--.gitmodules2
-rw-r--r--ChangeLog237
-rw-r--r--Makefile.am5
-rwxr-xr-xbootstrap59
-rw-r--r--configure.ac97
-rw-r--r--contrib/Makefile.am13
-rw-r--r--contrib/branding/logo/old-gnunet-logo-big.png (renamed from contrib/branding/logo/gnunet-logo-big.png)bin250489 -> 250489 bytes
-rw-r--r--contrib/branding/logo/old-gnunet-logo-color.png (renamed from contrib/branding/logo/gnunet-logo-color.png)bin6851 -> 6851 bytes
-rw-r--r--contrib/branding/logo/old-gnunet-logo-regrouped.svg2840
-rw-r--r--contrib/branding/logo/old-gnunet-logo.pdf (renamed from contrib/branding/logo/gnunet-logo.pdf)bin91138 -> 91138 bytes
-rw-r--r--contrib/branding/logo/old-gnunet-logo.svg2848
-rw-r--r--contrib/conf/gnunet/gnunet-system.conf14
-rw-r--r--contrib/conf/gnunet/gnunet-user.conf4
-rw-r--r--contrib/docker/.dockerignore2
-rw-r--r--contrib/docker/Dockerfile126
-rw-r--r--contrib/docker/docker-entrypoint.sh16
-rw-r--r--contrib/docker/gnunet.conf21
m---------contrib/gana0
-rwxr-xr-xcontrib/netjail/netjail_start.sh36
-rwxr-xr-xcontrib/netjail/topo.sh88
-rw-r--r--contrib/packages/arch/gnunet-git/.SRCINFO6
-rw-r--r--contrib/packages/arch/gnunet-git/PKGBUILD4
-rw-r--r--contrib/packages/arch/gnunet/.SRCINFO10
-rw-r--r--contrib/packages/arch/gnunet/PKGBUILD6
-rw-r--r--contrib/packages/fedora/10-dns2gns.sh43
-rw-r--r--contrib/packages/fedora/gnunet-system.conf12
-rw-r--r--contrib/packages/fedora/gnunet-user.service11
-rw-r--r--contrib/packages/fedora/gnunet.service14
-rwxr-xr-xcontrib/scripts/doc/warningfilter.py134
m---------contrib/sphinx0
-rw-r--r--debian/changelog12
-rwxr-xr-xdebian/rules2
-rw-r--r--doc/Makefile.am50
-rw-r--r--doc/doxygen/.gitignore5
-rw-r--r--doc/doxygen/Makefile.am3
-rw-r--r--doc/doxygen/gnunet-logo-no-text-small.pngbin0 -> 5006 bytes
-rw-r--r--doc/doxygen/gnunet.doxy2350
-rw-r--r--doc/handbook/.gitignore2
-rw-r--r--doc/man/.gitignore4
-rw-r--r--doc/man/Makefile.am2
-rw-r--r--doc/man/gnunet-identity.111
-rw-r--r--doc/man/gnunet-namestore-dbtool.187
-rw-r--r--doc/man/gnunet-namestore-zonefile.197
-rw-r--r--doc/man/gnunet-namestore.1105
-rw-r--r--doc/man/gnunet-reclaim.19
m---------doc/sphinx0
-rw-r--r--m4/Makefile.am1
-rw-r--r--m4/libgnurl.m4269
-rw-r--r--po/POTFILES.in6
-rw-r--r--po/de.po1618
-rw-r--r--po/es.po1706
-rw-r--r--po/fr.po1607
-rw-r--r--po/it.po1595
-rw-r--r--po/sr.po1676
-rw-r--r--po/sv.po1653
-rw-r--r--po/vi.po1641
-rw-r--r--po/zh_CN.po1622
-rw-r--r--src/abd/delegate_misc.c1
-rw-r--r--src/abd/gnunet-abd.c4
-rw-r--r--src/arm/gnunet-service-arm.c2
-rw-r--r--src/ats/ats_api_connectivity.c5
-rw-r--r--src/ats/ats_api_performance.c50
-rw-r--r--src/ats/ats_api_scheduling.c20
-rw-r--r--src/ats/gnunet-service-ats_connectivity.c2
-rw-r--r--src/ats/gnunet-service-ats_plugins.c18
-rw-r--r--src/ats/gnunet-service-ats_plugins.h3
-rw-r--r--src/ats/gnunet-service-ats_preferences.c5
-rw-r--r--src/ats/gnunet-service-ats_reservations.c6
-rw-r--r--src/ats/gnunet-service-ats_reservations.h2
-rw-r--r--src/ats/gnunet-service-ats_scheduling.c14
-rw-r--r--src/ats/gnunet-service-ats_scheduling.h3
-rw-r--r--src/block/bg_bf.c2
-rw-r--r--src/block/block.c7
-rw-r--r--src/block/plugin_block_template.c7
-rw-r--r--src/block/plugin_block_test.c7
-rw-r--r--src/consensus/consensus_api.c2
-rw-r--r--src/consensus/plugin_block_consensus.c1
-rw-r--r--src/conversation/conversation.h33
-rw-r--r--src/conversation/conversation_api.c40
-rw-r--r--src/conversation/conversation_api_call.c16
-rw-r--r--src/conversation/gnunet-helper-audio-playback-gst.c2
-rw-r--r--src/conversation/gnunet-service-conversation.c112
-rw-r--r--src/conversation/test_conversation.conf8
-rw-r--r--src/conversation/test_conversation_api.c13
-rw-r--r--src/conversation/test_conversation_api_reject.c13
-rw-r--r--src/conversation/test_conversation_api_twocalls.c13
-rw-r--r--src/core/core_api.c1
-rw-r--r--src/core/gnunet-service-core_kx.c16
-rw-r--r--src/core/gnunet-service-core_sessions.c15
-rw-r--r--src/core/gnunet-service-core_typemap.c6
-rw-r--r--src/core/test_core_api.c8
-rw-r--r--src/core/test_core_api_reliability.c6
-rw-r--r--src/core/test_core_api_send_to_self.conf2
-rw-r--r--src/core/test_core_api_start_only.c18
-rw-r--r--src/core/test_core_quota_compliance.c28
-rw-r--r--src/curl/Makefile.am14
-rw-r--r--src/curl/curl.c16
-rw-r--r--src/curl/curl_reschedule.c40
-rw-r--r--src/datacache/Makefile.am10
-rw-r--r--src/datacache/datacache-0001.sql48
-rw-r--r--src/datacache/datacache-drop.sql25
-rw-r--r--src/datacache/datacache.conf4
-rw-r--r--src/datacache/plugin_datacache_postgres.c104
-rw-r--r--src/datacache/plugin_datacache_sqlite.c2
-rw-r--r--src/datastore/Makefile.am9
-rw-r--r--src/datastore/datastore-0001.sql49
-rw-r--r--src/datastore/datastore-drop.sql25
-rw-r--r--src/datastore/datastore.conf.in1
-rw-r--r--src/datastore/datastore_api.c83
-rw-r--r--src/datastore/gnunet-service-datastore.c15
-rw-r--r--src/datastore/plugin_datastore_postgres.c136
-rw-r--r--src/datastore/plugin_datastore_sqlite.c1
-rw-r--r--src/dht/dht_api.c1
-rwxr-xr-xsrc/dht/dhtu_testbed_connect.sh10
-rw-r--r--src/dht/dhtu_testbed_deploy.conf2
-rwxr-xr-xsrc/dht/dhtu_testbed_deploy.sh19
-rw-r--r--src/dht/gnunet-dht-get.c19
-rw-r--r--src/dht/gnunet-service-dht.h4
-rw-r--r--src/dht/gnunet-service-dht_clients.c86
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c66
-rw-r--r--src/dht/gnunet-service-dht_neighbours.h4
-rw-r--r--src/dht/gnunet-service-dht_routing.c2
-rwxr-xr-xsrc/dht/test_dht_tools.sh5
-rw-r--r--src/dhtu/plugin_dhtu_gnunet.c2
-rw-r--r--src/dhtu/plugin_dhtu_ip.c1
-rw-r--r--src/dns/dns_api.c8
-rw-r--r--src/dns/plugin_block_dns.c1
-rw-r--r--src/exit/gnunet-daemon-exit.c5
-rw-r--r--src/fs/Makefile.am2
-rw-r--r--src/fs/fs.conf.in3
-rw-r--r--src/fs/fs_api.c55
-rw-r--r--src/fs/fs_api.h4
-rw-r--r--src/fs/fs_dirmetascan.c8
-rw-r--r--src/fs/fs_file_information.c69
-rw-r--r--src/fs/fs_list_indexed.c17
-rw-r--r--src/fs/fs_namespace.c15
-rw-r--r--src/fs/fs_publish.c2
-rw-r--r--src/fs/fs_publish_ksk.c6
-rw-r--r--src/fs/fs_publish_ublock.c25
-rw-r--r--src/fs/fs_publish_ublock.h6
-rw-r--r--src/fs/fs_search.c17
-rw-r--r--src/fs/fs_test_lib.c29
-rw-r--r--src/fs/fs_tree.c11
-rw-r--r--src/fs/fs_uri.c17
-rw-r--r--src/fs/gnunet-fs.c92
-rw-r--r--src/fs/gnunet-search.c11
-rw-r--r--src/fs/gnunet-service-fs.c16
-rw-r--r--src/fs/gnunet-service-fs_cp.c31
-rw-r--r--src/fs/gnunet-service-fs_cp.h8
-rw-r--r--src/fs/gnunet-service-fs_indexing.c26
-rw-r--r--src/fs/gnunet-service-fs_pr.c34
-rw-r--r--src/fs/gnunet-service-fs_push.c9
-rw-r--r--src/fs/gnunet-service-fs_put.c6
-rw-r--r--src/fs/perf_gnunet_service_fs_p2p.c4
-rw-r--r--src/fs/perf_gnunet_service_fs_p2p_respect.c3
-rw-r--r--src/fs/plugin_block_fs.c3
-rw-r--r--src/fs/test_fs_test_lib.c6
-rw-r--r--src/fs/test_fs_uri.c5
-rw-r--r--src/fs/test_gnunet_service_fs_migration.c4
-rw-r--r--src/fs/test_gnunet_service_fs_p2p.c3
-rw-r--r--src/gns/Makefile.am27
-rw-r--r--src/gns/gns.conf.in13
-rw-r--r--src/gns/gns.h13
-rw-r--r--src/gns/gns_api.c16
-rw-r--r--src/gns/gns_tld_api.c2
-rw-r--r--src/gns/gnunet-bcd.c8
-rw-r--r--src/gns/gnunet-dns2gns.c16
-rw-r--r--src/gns/gnunet-gns-proxy.c21
-rw-r--r--src/gns/gnunet-service-gns.c36
-rw-r--r--src/gns/gnunet-service-gns_interceptor.c6
-rw-r--r--src/gns/gnunet-service-gns_resolver.c21
-rw-r--r--src/gns/nss/nss_gns.c4
-rw-r--r--src/gns/plugin_block_gns.c1
-rw-r--r--src/gns/plugin_gnsrecord_gns.c2
-rw-r--r--src/gns/plugin_rest_gns.c2
-rw-r--r--src/gns/test_dns2gns.conf2
-rwxr-xr-xsrc/gns/test_gns_at_lookup.sh1
-rwxr-xr-xsrc/gns/test_gns_caa_lookup.sh1
-rwxr-xr-xsrc/gns/test_gns_delegated_lookup.sh1
-rwxr-xr-xsrc/gns/test_gns_dht_lookup.sh2
-rwxr-xr-xsrc/gns/test_gns_gns2dns_cname_lookup.sh3
-rwxr-xr-xsrc/gns/test_gns_gns2dns_lookup.sh8
-rwxr-xr-xsrc/gns/test_gns_gns2dns_zkey_lookup.sh6
-rwxr-xr-xsrc/gns/test_gns_ipv6_lookup.sh1
-rw-r--r--src/gns/test_gns_lookup.conf13
-rwxr-xr-xsrc/gns/test_gns_lookup.sh1
-rw-r--r--src/gns/test_gns_lookup_peer1.conf2
-rw-r--r--src/gns/test_gns_lookup_peer2.conf2
-rwxr-xr-xsrc/gns/test_gns_mx_lookup.sh6
-rw-r--r--src/gns/test_gns_proxy.conf11
-rwxr-xr-xsrc/gns/test_gns_redirect_lookup.sh4
-rwxr-xr-xsrc/gns/test_gns_rel_expiration.sh1
-rwxr-xr-xsrc/gns/test_gns_revocation.sh1
-rwxr-xr-xsrc/gns/test_gns_soa_lookup.sh1
-rwxr-xr-xsrc/gns/test_gns_txt_lookup.sh1
-rwxr-xr-xsrc/gns/test_plugin_rest_gns.sh7
-rwxr-xr-xsrc/gns/test_proxy.sh17
-rw-r--r--src/gnsrecord/gnsrecord.c16
-rw-r--r--src/gnsrecord/gnsrecord_crypto.c264
-rw-r--r--src/gnsrecord/gnsrecord_misc.c70
-rw-r--r--src/gnsrecord/gnsrecord_serialization.c17
-rw-r--r--src/gnsrecord/gnunet-gnsrecord-tvg.c12
-rw-r--r--src/gnsrecord/json_gnsrecord.c162
-rw-r--r--src/gnsrecord/plugin_gnsrecord_dns.c8
-rw-r--r--src/hello/hello-ng.c4
-rw-r--r--src/hello/hello.c22
-rw-r--r--src/hostlist/Makefile.am26
-rw-r--r--src/hostlist/gnunet-daemon-hostlist_client.c9
-rw-r--r--src/identity/Makefile.am21
-rw-r--r--src/identity/gnunet-identity.c89
-rw-r--r--src/identity/gnunet-service-identity.c325
-rw-r--r--src/identity/identity.h75
-rw-r--r--src/identity/identity_api.c378
-rw-r--r--src/identity/identity_api_lookup.c23
-rw-r--r--src/identity/identity_api_suffix_lookup.c25
-rw-r--r--src/identity/plugin_rest_identity.c490
-rw-r--r--src/identity/test_identity.c30
-rw-r--r--src/identity/test_identity_defaults.c299
-rwxr-xr-xsrc/identity/test_identity_messages.sh17
-rwxr-xr-xsrc/identity/test_plugin_rest_identity_signature.sh81
-rw-r--r--src/include/.gitignore2
-rw-r--r--src/include/Makefile.am4
-rw-r--r--src/include/block_dns.h5
-rw-r--r--src/include/block_fs.h5
-rw-r--r--src/include/gnunet_abd_service.h9
-rw-r--r--src/include/gnunet_applications.h5
-rw-r--r--src/include/gnunet_ats_application_service.h5
-rw-r--r--src/include/gnunet_ats_plugin.h5
-rw-r--r--src/include/gnunet_ats_service.h28
-rw-r--r--src/include/gnunet_bandwidth_lib.h6
-rw-r--r--src/include/gnunet_bio_lib.h6
-rw-r--r--src/include/gnunet_block_group_lib.h2
-rw-r--r--src/include/gnunet_block_lib.h8
-rw-r--r--src/include/gnunet_block_plugin.h5
-rw-r--r--src/include/gnunet_buffer_lib.h6
-rw-r--r--src/include/gnunet_child_management_lib.h6
-rw-r--r--src/include/gnunet_client_lib.h14
-rw-r--r--src/include/gnunet_common.h10
-rw-r--r--src/include/gnunet_configuration_lib.h137
-rw-r--r--src/include/gnunet_consensus_service.h9
-rw-r--r--src/include/gnunet_container_lib.h102
-rw-r--r--src/include/gnunet_conversation_service.h5
-rw-r--r--src/include/gnunet_core_service.h5
-rw-r--r--src/include/gnunet_crypto_lib.h41
-rw-r--r--src/include/gnunet_curl_lib.h20
-rw-r--r--src/include/gnunet_datacache_lib.h5
-rw-r--r--src/include/gnunet_datacache_plugin.h5
-rw-r--r--src/include/gnunet_datastore_plugin.h27
-rw-r--r--src/include/gnunet_datastore_service.h5
-rw-r--r--src/include/gnunet_dht_service.h11
-rw-r--r--src/include/gnunet_dhtu_plugin.h2
-rw-r--r--src/include/gnunet_disk_lib.h8
-rw-r--r--src/include/gnunet_dns_service.h5
-rw-r--r--src/include/gnunet_dnsparser_lib.h5
-rw-r--r--src/include/gnunet_dnsstub_lib.h7
-rw-r--r--src/include/gnunet_fragmentation_lib.h5
-rw-r--r--src/include/gnunet_friends_lib.h5
-rw-r--r--src/include/gnunet_fs_service.h12
-rw-r--r--src/include/gnunet_getopt_lib.h7
-rw-r--r--src/include/gnunet_gns_service.h5
-rw-r--r--src/include/gnunet_gnsrecord_json_lib.h7
-rw-r--r--src/include/gnunet_gnsrecord_lib.h144
-rw-r--r--src/include/gnunet_gnsrecord_plugin.h5
-rw-r--r--src/include/gnunet_hello_lib.h13
-rw-r--r--src/include/gnunet_hello_uri_lib.h5
-rw-r--r--src/include/gnunet_helper_lib.h6
-rw-r--r--src/include/gnunet_identity_service.h95
-rw-r--r--src/include/gnunet_json_lib.h85
-rw-r--r--src/include/gnunet_messenger_service.h20
-rw-r--r--src/include/gnunet_microphone_lib.h5
-rw-r--r--src/include/gnunet_mq_lib.h25
-rw-r--r--src/include/gnunet_mst_lib.h13
-rw-r--r--src/include/gnunet_my_lib.h19
-rw-r--r--src/include/gnunet_mysql_lib.h6
-rw-r--r--src/include/gnunet_namecache_plugin.h5
-rw-r--r--src/include/gnunet_namecache_service.h5
-rw-r--r--src/include/gnunet_namestore_plugin.h121
-rw-r--r--src/include/gnunet_namestore_service.h293
-rw-r--r--src/include/gnunet_nat_auto_service.h2
-rw-r--r--src/include/gnunet_nc_lib.h8
-rw-r--r--src/include/gnunet_network_lib.h11
-rw-r--r--src/include/gnunet_nse_service.h5
-rw-r--r--src/include/gnunet_nt_lib.h7
-rw-r--r--src/include/gnunet_op_lib.h6
-rw-r--r--src/include/gnunet_os_lib.h6
-rw-r--r--src/include/gnunet_peer_lib.h6
-rw-r--r--src/include/gnunet_peerinfo_service.h6
-rw-r--r--src/include/gnunet_peerstore_plugin.h5
-rw-r--r--src/include/gnunet_peerstore_service.h6
-rw-r--r--src/include/gnunet_plugin_lib.h6
-rw-r--r--src/include/gnunet_pq_lib.h84
-rw-r--r--src/include/gnunet_program_lib.h6
-rw-r--r--src/include/gnunet_protocols.h28
-rw-r--r--src/include/gnunet_reclaim_lib.h21
-rw-r--r--src/include/gnunet_reclaim_plugin.h5
-rw-r--r--src/include/gnunet_reclaim_service.h52
-rw-r--r--src/include/gnunet_regex_service.h5
-rw-r--r--src/include/gnunet_resolver_service.h5
-rw-r--r--src/include/gnunet_rest_lib.h5
-rw-r--r--src/include/gnunet_rest_plugin.h5
-rw-r--r--src/include/gnunet_revocation_service.h5
-rw-r--r--src/include/gnunet_rps_service.h5
-rw-r--r--src/include/gnunet_scalarproduct_service.h2
-rw-r--r--src/include/gnunet_scheduler_lib.h6
-rw-r--r--src/include/gnunet_service_lib.h15
-rw-r--r--src/include/gnunet_set_service.h15
-rw-r--r--src/include/gnunet_seti_service.h5
-rw-r--r--src/include/gnunet_setu_service.h11
-rw-r--r--src/include/gnunet_signal_lib.h6
-rw-r--r--src/include/gnunet_socks.h5
-rw-r--r--src/include/gnunet_speaker_lib.h5
-rw-r--r--src/include/gnunet_sq_lib.h2
-rw-r--r--src/include/gnunet_statistics_service.h5
-rw-r--r--src/include/gnunet_strings_lib.h10
-rw-r--r--src/include/gnunet_testbed_logger_service.h5
-rw-r--r--src/include/gnunet_testbed_service.h13
-rw-r--r--src/include/gnunet_testing_lib.h11
-rw-r--r--src/include/gnunet_testing_netjail_lib.h70
-rw-r--r--src/include/gnunet_testing_ng_lib.h4
-rw-r--r--src/include/gnunet_testing_plugin.h6
-rw-r--r--src/include/gnunet_time_lib.h8
-rw-r--r--src/include/gnunet_transport_application_service.h9
-rw-r--r--src/include/gnunet_transport_communication_service.h10
-rw-r--r--src/include/gnunet_transport_core_service.h5
-rw-r--r--src/include/gnunet_transport_hello_service.h5
-rw-r--r--src/include/gnunet_transport_manipulation_service.h5
-rw-r--r--src/include/gnunet_transport_monitor_service.h5
-rw-r--r--src/include/gnunet_transport_plugin.h5
-rw-r--r--src/include/gnunet_transport_service.h10
-rw-r--r--src/include/gnunet_tun_lib.h5
-rw-r--r--src/include/gnunet_util_lib.h1
-rw-r--r--src/include/gnunet_vpn_service.h5
-rw-r--r--src/integration-tests/Makefile.am7
-rw-r--r--src/json/Makefile.am15
-rw-r--r--src/json/json_generator.c30
-rw-r--r--src/json/json_helper.c66
-rw-r--r--src/json/json_pack.c17
-rw-r--r--src/messenger/gnunet-messenger.c14
-rw-r--r--src/messenger/gnunet-service-messenger.c257
-rw-r--r--src/messenger/gnunet-service-messenger_ego_store.c30
-rw-r--r--src/messenger/gnunet-service-messenger_ego_store.h24
-rw-r--r--src/messenger/gnunet-service-messenger_handle.c4
-rw-r--r--src/messenger/gnunet-service-messenger_handle.h26
-rw-r--r--src/messenger/gnunet-service-messenger_list_handles.h10
-rw-r--r--src/messenger/gnunet-service-messenger_list_messages.h8
-rw-r--r--src/messenger/gnunet-service-messenger_member.h20
-rw-r--r--src/messenger/gnunet-service-messenger_member_session.h16
-rw-r--r--src/messenger/gnunet-service-messenger_member_store.h12
-rw-r--r--src/messenger/gnunet-service-messenger_message_handle.h32
-rw-r--r--src/messenger/gnunet-service-messenger_message_kind.h2
-rw-r--r--src/messenger/gnunet-service-messenger_message_recv.h12
-rw-r--r--src/messenger/gnunet-service-messenger_message_send.h16
-rw-r--r--src/messenger/gnunet-service-messenger_message_store.c2
-rw-r--r--src/messenger/gnunet-service-messenger_message_store.h12
-rw-r--r--src/messenger/gnunet-service-messenger_operation.h8
-rw-r--r--src/messenger/gnunet-service-messenger_operation_store.h8
-rw-r--r--src/messenger/gnunet-service-messenger_room.h56
-rw-r--r--src/messenger/gnunet-service-messenger_service.h32
-rw-r--r--src/messenger/gnunet-service-messenger_tunnel.h26
-rw-r--r--src/messenger/messenger_api.c14
-rw-r--r--src/messenger/messenger_api_contact.h10
-rw-r--r--src/messenger/messenger_api_contact_store.h14
-rw-r--r--src/messenger/messenger_api_handle.h18
-rw-r--r--src/messenger/messenger_api_list_tunnels.h16
-rw-r--r--src/messenger/messenger_api_message.c18
-rw-r--r--src/messenger/messenger_api_message.h10
-rw-r--r--src/messenger/messenger_api_room.h12
-rw-r--r--src/messenger/messenger_api_util.h2
-rw-r--r--src/messenger/testing_messenger_barrier.h4
-rw-r--r--src/my/my_query_helper.c14
-rw-r--r--src/my/my_result_helper.c11
-rw-r--r--src/mysql/mysql.c1
-rw-r--r--src/namecache/Makefile.am10
-rw-r--r--src/namecache/gnunet-service-namecache.c2
-rw-r--r--src/namecache/namecache-0001.sql42
-rw-r--r--src/namecache/namecache-drop.sql25
-rw-r--r--src/namecache/namecache.conf.in3
-rw-r--r--src/namecache/namecache.h20
-rw-r--r--src/namecache/namecache_api.c1
-rw-r--r--src/namecache/plugin_namecache_postgres.c87
-rw-r--r--src/namecache/plugin_namecache_sqlite.c2
-rw-r--r--src/namecache/test_namecache_api_cache_block.c4
-rw-r--r--src/namecache/test_plugin_namecache.c13
-rw-r--r--src/namestore/.gitignore42
-rw-r--r--src/namestore/Makefile.am362
-rw-r--r--src/namestore/example_zonefile27
-rw-r--r--src/namestore/gnunet-namestore-dbtool.c199
-rw-r--r--src/namestore/gnunet-namestore-fcfsd.c19
-rw-r--r--src/namestore/gnunet-namestore-zonefile.c763
-rw-r--r--src/namestore/gnunet-namestore.c1403
-rw-r--r--src/namestore/gnunet-service-namestore.c1471
-rw-r--r--src/namestore/gnunet-zoneimport.c20
-rw-r--r--src/namestore/namestore-0001.sql48
-rw-r--r--src/namestore/namestore-drop.sql25
-rw-r--r--src/namestore/namestore.conf.in9
-rw-r--r--src/namestore/namestore.h195
-rw-r--r--src/namestore/namestore_api.c590
-rw-r--r--src/namestore/namestore_api_monitor.c119
-rw-r--r--src/namestore/perf_namestore_api_flat.conf10
-rw-r--r--src/namestore/perf_namestore_api_import.c406
-rw-r--r--src/namestore/perf_namestore_api_postgres.conf5
-rw-r--r--src/namestore/perf_namestore_api_sqlite.conf1
-rw-r--r--src/namestore/perf_namestore_api_zone_iteration.c5
-rw-r--r--src/namestore/plugin_namestore_flat.c2
-rw-r--r--src/namestore/plugin_namestore_postgres.c372
-rw-r--r--src/namestore/plugin_namestore_sqlite.c364
-rw-r--r--src/namestore/plugin_rest_namestore.c505
-rw-r--r--src/namestore/test_common.c61
-rw-r--r--src/namestore/test_namestore_api.conf21
-rw-r--r--src/namestore/test_namestore_api_edit_records.c399
-rw-r--r--src/namestore/test_namestore_api_flat.conf7
-rw-r--r--src/namestore/test_namestore_api_lookup_nick.c10
-rw-r--r--src/namestore/test_namestore_api_lookup_public.c255
-rw-r--r--src/namestore/test_namestore_api_monitoring.c5
-rw-r--r--src/namestore/test_namestore_api_monitoring_existing.c46
-rw-r--r--src/namestore/test_namestore_api_postgres.conf3
-rw-r--r--src/namestore/test_namestore_api_remove.c20
-rw-r--r--src/namestore/test_namestore_api_remove_not_existing_record.c16
-rw-r--r--src/namestore/test_namestore_api_sqlite.conf1
-rw-r--r--src/namestore/test_namestore_api_store.c4
-rw-r--r--src/namestore/test_namestore_api_store_update.c75
-rw-r--r--src/namestore/test_namestore_api_tx_rollback.c (renamed from src/namestore/test_namestore_api_lookup_private.c)186
-rw-r--r--src/namestore/test_namestore_api_zone_iteration.c7
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_nick.c16
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_specific_zone.c7
-rw-r--r--src/namestore/test_namestore_api_zone_iteration_stop.c6
-rw-r--r--src/namestore/test_namestore_api_zone_to_name.c8
-rwxr-xr-x[-rw-r--r--]src/namestore/test_namestore_put_multiple.sh49
-rwxr-xr-xsrc/namestore/test_namestore_put_stdin.sh68
-rwxr-xr-xsrc/namestore/test_namestore_zonefile_import.sh33
-rw-r--r--src/namestore/test_plugin_namestore.c20
-rw-r--r--src/namestore/test_plugin_namestore_flat.conf2
-rw-r--r--src/namestore/test_plugin_namestore_postgres.conf3
-rw-r--r--src/namestore/test_plugin_namestore_sqlite.conf1
-rwxr-xr-xsrc/namestore/test_plugin_rest_namestore.sh22
-rw-r--r--src/nat-auto/gnunet-nat-server.c2
-rw-r--r--src/nat-auto/nat_auto_api_test.c2
-rw-r--r--src/nat/gnunet-nat.c2
-rw-r--r--src/nat/gnunet-service-nat.c2
-rw-r--r--src/nat/gnunet-service-nat_helper.c10
-rw-r--r--src/nat/gnunet-service-nat_mini.c13
-rw-r--r--src/nat/nat_api.c20
-rw-r--r--src/nat/nat_api_stun.c2
-rw-r--r--src/nse/gnunet-service-nse.c2
-rw-r--r--src/nt/nt.c6
-rw-r--r--src/peerinfo/peerinfo_api.c23
-rw-r--r--src/peerstore/peerstore_api.c11
-rw-r--r--src/peerstore/peerstore_common.c6
-rw-r--r--src/pq/Makefile.am11
-rw-r--r--src/pq/pq.c4
-rw-r--r--src/pq/pq.h10
-rw-r--r--src/pq/pq_connect.c92
-rw-r--r--src/pq/pq_eval.c10
-rw-r--r--src/pq/pq_event.c17
-rw-r--r--src/pq/pq_exec.c13
-rw-r--r--src/pq/pq_prepare.c93
-rw-r--r--src/pq/pq_result_helper.c26
-rw-r--r--src/pq/test_pq.c6
-rw-r--r--src/pq/versioning.sql293
-rw-r--r--src/pt/Makefile.am37
-rw-r--r--src/pt/test_gns_vpn.c11
-rw-r--r--src/pt/test_gnunet_vpn.c3
-rw-r--r--src/reclaim/.gitignore2
-rw-r--r--src/reclaim/Makefile.am46
-rw-r--r--src/reclaim/did.h6
-rw-r--r--src/reclaim/did_core.c264
-rw-r--r--src/reclaim/did_core.h138
-rw-r--r--src/reclaim/did_helper.c203
-rw-r--r--src/reclaim/did_helper.h74
-rw-r--r--src/reclaim/gnunet-did.c485
-rw-r--r--src/reclaim/gnunet-service-reclaim.c456
-rw-r--r--src/reclaim/gnunet-service-reclaim_tickets.c116
-rw-r--r--src/reclaim/oidc_helper.c38
-rw-r--r--src/reclaim/oidc_helper.h6
-rw-r--r--src/reclaim/plugin_reclaim_credential_jwt.c12
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c48
-rw-r--r--src/reclaim/plugin_rest_reclaim.c4
-rw-r--r--src/reclaim/reclaim.h170
-rw-r--r--src/reclaim/reclaim_api.c499
-rw-r--r--src/reclaim/reclaim_attribute.c47
-rw-r--r--src/reclaim/reclaim_attribute.h14
-rw-r--r--src/reclaim/reclaim_credential.c80
-rw-r--r--src/reclaim/reclaim_credential.h28
-rw-r--r--src/reclaim/test_did_helper.c132
-rw-r--r--src/reclaim/test_reclaim.conf6
-rwxr-xr-xsrc/reclaim/test_reclaim_attribute.sh2
-rwxr-xr-xsrc/reclaim/test_reclaim_consume.sh6
-rwxr-xr-xsrc/reclaim/test_reclaim_issue.sh4
-rw-r--r--src/regex/gnunet-regex-profiler.c41
-rw-r--r--src/regex/gnunet-service-regex.c6
-rw-r--r--src/regex/regex_api_announce.c5
-rw-r--r--src/regex/regex_api_search.c17
-rw-r--r--src/regex/regex_block_lib.c43
-rw-r--r--src/regex/regex_internal.c64
-rw-r--r--src/regex/regex_internal.h4
-rw-r--r--src/regex/regex_internal_dht.c6
-rw-r--r--src/rest/gnunet-rest-server.c129
-rw-r--r--src/rest/plugin_rest_config.c1
-rw-r--r--src/rest/rest.c13
-rw-r--r--src/rest/rest.conf4
-rw-r--r--src/revocation/gnunet-revocation-tvg.c7
-rw-r--r--src/revocation/gnunet-revocation.c2
-rw-r--r--src/revocation/gnunet-service-revocation.c50
-rw-r--r--src/revocation/plugin_block_revocation.c63
-rw-r--r--src/revocation/revocation.h7
-rw-r--r--src/revocation/revocation_api.c51
-rw-r--r--src/revocation/test_revocation.c6
-rw-r--r--src/rps/gnunet-rps-profiler.c2
-rw-r--r--src/rps/gnunet-rps.c2
-rw-r--r--src/rps/gnunet-service-rps.c12
-rw-r--r--src/rps/gnunet-service-rps_sampler_elem.c2
-rw-r--r--src/rps/rps-sampler_common.c22
-rw-r--r--src/rps/rps-sampler_common.h2
-rw-r--r--src/rps/rps_api.c2
-rw-r--r--src/scalarproduct/gnunet-scalarproduct.c1
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c2
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c4
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_alice.c2
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct_bob.c2
-rw-r--r--src/scalarproduct/scalarproduct_api.c25
-rw-r--r--src/secretsharing/gnunet-service-secretsharing.c1
-rw-r--r--src/secretsharing/secretsharing_api.c26
-rw-r--r--src/secretsharing/secretsharing_protocol.h8
-rw-r--r--src/set/gnunet-service-set.c4
-rw-r--r--src/set/gnunet-service-set_intersection.c9
-rw-r--r--src/set/gnunet-service-set_intersection.h2
-rw-r--r--src/set/gnunet-service-set_union.c6
-rw-r--r--src/set/gnunet-service-set_union_strata_estimator.c6
-rw-r--r--src/set/set_api.c63
-rw-r--r--src/seti/seti_api.c26
-rw-r--r--src/setu/ibf.c30
-rw-r--r--src/setu/setu_api.c26
-rw-r--r--src/sq/sq.c13
-rw-r--r--src/sq/sq_prepare.c8
-rw-r--r--src/sq/sq_query_helper.c2
-rw-r--r--src/sq/test_sq.c2
-rw-r--r--src/statistics/gnunet-service-statistics.c10
-rw-r--r--src/statistics/statistics_api.c40
-rw-r--r--src/statistics/test_gnunet_statistics.py.in23
-rw-r--r--src/testbed-logger/test_testbed_logger_api.c10
-rw-r--r--src/testbed-logger/testbed_logger_api.c7
-rw-r--r--src/testbed/gnunet-service-testbed.c9
-rw-r--r--src/testbed/gnunet-service-testbed.h11
-rw-r--r--src/testbed/gnunet-service-testbed_barriers.c4
-rw-r--r--src/testbed/gnunet-service-testbed_peers.c18
-rw-r--r--src/testbed/testbed_api.c75
-rw-r--r--src/testbed/testbed_api_barriers.c11
-rw-r--r--src/testbed/testbed_api_hosts.c19
-rw-r--r--src/testbed/testbed_api_operations.c8
-rw-r--r--src/testbed/testbed_api_operations.h4
-rw-r--r--src/testbed/testbed_api_peers.c55
-rw-r--r--src/testbed/testbed_api_testbed.c5
-rw-r--r--src/testbed/testbed_api_topology.c63
-rw-r--r--src/testbed/testbed_api_topology.h6
-rw-r--r--src/testing/gnunet-cmds-helper.c70
-rw-r--r--src/testing/testing.c365
-rw-r--r--src/testing/testing_api_cmd_local_test_prepared.c8
-rw-r--r--src/testing/testing_api_cmd_netjail_start_testsystem.c65
-rw-r--r--src/testing/testing_api_loop.c12
-rw-r--r--src/testing/testing_cmds.h3
-rw-r--r--src/topology/test_gnunet_daemon_topology.c4
-rw-r--r--src/transport/.gitignore1
-rw-r--r--src/transport/Makefile.am77
-rw-r--r--src/transport/gnunet-communicator-tcp.c37
-rw-r--r--src/transport/gnunet-communicator-udp.c19
-rw-r--r--src/transport/gnunet-service-tng.c597
-rw-r--r--src/transport/gnunet-service-transport.c14
-rw-r--r--src/transport/gnunet-service-transport_ats.c14
-rw-r--r--src/transport/gnunet-service-transport_ats.h3
-rw-r--r--src/transport/gnunet-service-transport_hello.c10
-rw-r--r--src/transport/gnunet-service-transport_manipulation.c4
-rw-r--r--src/transport/gnunet-service-transport_neighbours.c24
-rw-r--r--src/transport/gnunet-service-transport_neighbours.h2
-rw-r--r--src/transport/gnunet-service-transport_plugins.c19
-rw-r--r--src/transport/gnunet-service-transport_plugins.h4
-rw-r--r--src/transport/plugin_transport_http_client.c12
-rw-r--r--src/transport/plugin_transport_http_common.c45
-rw-r--r--src/transport/plugin_transport_http_common.h6
-rw-r--r--src/transport/plugin_transport_http_server.c2
-rw-r--r--src/transport/plugin_transport_tcp.c2
-rw-r--r--src/transport/plugin_transport_udp.c2
-rw-r--r--src/transport/tcp_server_legacy.c20
-rw-r--r--src/transport/test_transport_api2_tcp_node1.conf6
-rw-r--r--src/transport/test_transport_api2_tcp_node2.conf4
-rw-r--r--src/transport/test_transport_api2_tcp_peer1.conf4
-rw-r--r--src/transport/test_transport_api2_tcp_peer2.conf4
-rw-r--r--src/transport/test_transport_distance_vector_circle_topo.conf1
-rw-r--r--src/transport/test_transport_distance_vector_inverse_topo.conf13
-rw-r--r--src/transport/test_transport_plugin_cmd_simple_send.c69
-rw-r--r--src/transport/test_transport_plugin_cmd_simple_send_dv.c73
-rw-r--r--src/transport/test_transport_plugin_cmd_udp_backchannel.c77
-rwxr-xr-xsrc/transport/test_transport_simple_send_dv_circle.sh1
-rwxr-xr-xsrc/transport/test_transport_simple_send_dv_inverse.sh11
-rw-r--r--src/transport/transport-testing-cmds.h10
-rw-r--r--src/transport/transport-testing-communicator.c15
-rw-r--r--src/transport/transport-testing-filenames.c28
-rw-r--r--src/transport/transport-testing-main.c2
-rw-r--r--src/transport/transport-testing-main2.c2
-rw-r--r--src/transport/transport-testing2.c33
-rw-r--r--src/transport/transport-testing2.h2
-rw-r--r--src/transport/transport.h5
-rw-r--r--src/transport/transport_api2_communication.c105
-rw-r--r--src/transport/transport_api_cmd_backchannel_check.c64
-rw-r--r--src/transport/transport_api_cmd_connecting_peers.c35
-rw-r--r--src/transport/transport_api_cmd_send_simple.c52
-rw-r--r--src/transport/transport_api_cmd_start_peer.c11
-rw-r--r--src/transport/transport_api_core.c2
-rw-r--r--src/transport/transport_api_monitor_peers.c26
-rw-r--r--src/transport/transport_api_monitor_plugins.c4
-rw-r--r--src/transport/transport_api_offer_hello.c5
-rw-r--r--src/util/.gitignore3
-rw-r--r--src/util/Makefile.am6
-rw-r--r--src/util/bandwidth.c35
-rw-r--r--src/util/bio.c3
-rw-r--r--src/util/child_management.c2
-rw-r--r--src/util/client.c24
-rw-r--r--src/util/common_allocation.c17
-rw-r--r--src/util/common_endian.c10
-rw-r--r--src/util/common_logging.c80
-rw-r--r--src/util/configuration.c6
-rw-r--r--src/util/container_bloomfilter.c11
-rw-r--r--src/util/container_heap.c62
-rw-r--r--src/util/container_meta_data.c70
-rw-r--r--src/util/container_multihashmap.c125
-rw-r--r--src/util/container_multihashmap32.c77
-rw-r--r--src/util/container_multipeermap.c137
-rw-r--r--src/util/container_multishortmap.c112
-rw-r--r--src/util/container_multiuuidmap.c112
-rw-r--r--src/util/crypto_crc.c33
-rw-r--r--src/util/crypto_ecc.c21
-rw-r--r--src/util/crypto_ecc_setup.c27
-rw-r--r--src/util/crypto_hash.c3
-rw-r--r--src/util/crypto_hash_file.c10
-rw-r--r--src/util/crypto_paillier.c22
-rw-r--r--src/util/crypto_random.c13
-rw-r--r--src/util/crypto_rsa.c2
-rw-r--r--src/util/crypto_symmetric.c9
-rw-r--r--src/util/dnsparser.c4
-rw-r--r--src/util/dnsstub.c14
-rw-r--r--src/util/gnunet-config.c19
-rw-r--r--src/util/gnunet-crypto-tvg.c5
-rw-r--r--src/util/gnunet-scrypt.c1
-rw-r--r--src/util/gnunet-service-resolver.c8
-rw-r--r--src/util/helper.c46
-rw-r--r--src/util/mq.c1
-rw-r--r--src/util/mst.c35
-rw-r--r--src/util/network.c23
-rw-r--r--src/util/os_installation.c5
-rw-r--r--src/util/os_priority.c51
-rw-r--r--src/util/peer.c12
-rw-r--r--src/util/plugin.c68
-rw-r--r--src/util/regex.c42
-rw-r--r--src/util/scheduler.c28
-rw-r--r--src/util/service.c2
-rw-r--r--src/util/socks.c2
-rw-r--r--src/util/speedup.c6
-rw-r--r--src/util/tun.c39
-rw-r--r--src/vpn/gnunet-service-vpn.c4
-rw-r--r--src/vpn/vpn_api.c22
-rw-r--r--src/zonemaster/Makefile.am19
-rw-r--r--src/zonemaster/gnunet-service-zonemaster-monitor.c460
-rw-r--r--src/zonemaster/gnunet-service-zonemaster.c877
-rw-r--r--src/zonemaster/zonemaster.conf.in19
697 files changed, 30731 insertions, 19156 deletions