├── .buildbot ├── build.sh ├── firefly-x86_64-amdepyc_deploy.sh ├── firefly-x86_64-amdepyc_test.sh ├── install.sh └── test.sh ├── .dir-locals.el ├── .gitignore ├── .gitmodules ├── .indent.pro ├── .mailmap ├── ABOUT-NLS ├── AUTHORS ├── COPYING ├── ChangeLog ├── Makefile.am ├── NEWS ├── README ├── README.1st ├── acinclude.m4 ├── bin ├── Makefile.am ├── dosubst.awk ├── grephdr.sh ├── grepsrc.sh ├── pogen.sh └── rename.sh ├── bootstrap ├── config.rpath ├── configure.ac ├── contrib ├── .gitignore ├── A-Z.ecc ├── Makefile.am ├── Makefile.inc ├── apparmor │ ├── abstractions │ │ ├── gnunet-common │ │ ├── gnunet-db │ │ ├── gnunet-gtk │ │ ├── gnunet-sgid │ │ ├── gnunet-suid │ │ └── gnunet-test │ ├── gnunet-arm │ ├── gnunet-ats │ ├── gnunet-auto-share │ ├── gnunet-bcd │ ├── gnunet-cadet │ ├── gnunet-config │ ├── gnunet-conversation │ ├── gnunet-conversation-gtk │ ├── gnunet-conversation-test │ ├── gnunet-core │ ├── gnunet-daemon-exit │ ├── gnunet-daemon-hostlist │ ├── gnunet-daemon-latency-logger │ ├── gnunet-daemon-pt │ ├── gnunet-daemon-regexprofiler │ ├── gnunet-daemon-testbed-blacklist │ ├── gnunet-daemon-testbed-underlay │ ├── gnunet-daemon-topology │ ├── gnunet-datastore │ ├── gnunet-directory │ ├── gnunet-dns2gns │ ├── gnunet-download │ ├── gnunet-download-manager.scm │ ├── gnunet-ecc │ ├── gnunet-fs │ ├── gnunet-fs-gtk │ ├── gnunet-gns │ ├── gnunet-gns-import.sh │ ├── gnunet-gns-proxy │ ├── gnunet-gns-proxy-setup-ca │ ├── gnunet-gtk │ ├── gnunet-helper-audio-playback │ ├── gnunet-helper-audio-record │ ├── gnunet-helper-dns │ ├── gnunet-helper-exit │ ├── gnunet-helper-fs-publish │ ├── gnunet-helper-nat-client │ ├── gnunet-helper-nat-server │ ├── gnunet-helper-testbed │ ├── gnunet-helper-transport-bluetooth │ ├── gnunet-helper-transport-wlan │ ├── gnunet-helper-transport-wlan-dummy │ ├── gnunet-helper-vpn │ ├── gnunet-identity │ ├── gnunet-identity-gtk │ ├── gnunet-namecache │ ├── gnunet-namestore │ ├── gnunet-namestore-fcfsd │ ├── gnunet-namestore-gtk │ ├── gnunet-nat-server │ ├── gnunet-nse │ ├── gnunet-peerinfo │ ├── gnunet-peerinfo-gtk │ ├── gnunet-peerstore │ ├── gnunet-publish │ ├── gnunet-qr │ ├── gnunet-resolver │ ├── gnunet-revocation │ ├── gnunet-scalarproduct │ ├── gnunet-scrypt │ ├── gnunet-search │ ├── gnunet-service-arm │ ├── gnunet-service-ats │ ├── gnunet-service-cadet │ ├── gnunet-service-conversation │ ├── gnunet-service-core │ ├── gnunet-service-datastore │ ├── gnunet-service-dht │ ├── gnunet-service-dns │ ├── gnunet-service-fs │ ├── gnunet-service-gns │ ├── gnunet-service-identity │ ├── gnunet-service-mesh │ ├── gnunet-service-namecache │ ├── gnunet-service-namestore │ ├── gnunet-service-nse │ ├── gnunet-service-peerinfo │ ├── gnunet-service-peerstore │ ├── gnunet-service-regex │ ├── gnunet-service-resolver │ ├── gnunet-service-revocation │ ├── gnunet-service-scalarproduct-alice │ ├── gnunet-service-scalarproduct-bob │ ├── gnunet-service-set │ ├── gnunet-service-statistics │ ├── gnunet-service-template │ ├── gnunet-service-testbed │ ├── gnunet-service-testbed-logger │ ├── gnunet-service-transport │ ├── gnunet-service-vpn │ ├── gnunet-set-ibf-profiler │ ├── gnunet-set-profiler │ ├── gnunet-setup │ ├── gnunet-statistics │ ├── gnunet-statistics-gtk │ ├── gnunet-template │ ├── gnunet-testbed-profiler │ ├── gnunet-testing │ ├── gnunet-transport │ ├── gnunet-transport-certificate-creation │ ├── gnunet-unindex │ ├── gnunet-uri │ ├── gnunet-vpn │ ├── tunables │ │ └── gnunet │ └── usr.bin.gnunet-helper-nat-server ├── benchmark │ └── collect.awk ├── branding │ └── logo │ │ ├── gnunet-logo-big.png │ │ ├── gnunet-logo-color.png │ │ ├── gnunet-logo-dark-only-text.svg │ │ ├── gnunet-logo-dark-text.svg │ │ ├── gnunet-logo.pdf │ │ ├── gnunet-logo.png │ │ ├── lynXified-amirouche-anonymous-v3.png │ │ └── lynXified-amirouche-v3.svg ├── ci │ ├── buildbot │ │ ├── buildbot-update.sh │ │ ├── ssh-config │ │ └── ssh-keys │ └── docker │ │ ├── Dockerfile │ │ └── docker-entrypoint.sh ├── conf │ ├── .style.yapf │ ├── colorit │ │ └── colorit.conf │ ├── editors │ │ ├── clang-format │ │ └── eclipse │ │ │ └── gnunet_codingstyle.xml │ ├── gnunet │ │ ├── gnunet-system.conf │ │ ├── gnunet-user.conf │ │ ├── no_autostart_above_core.conf │ │ └── no_forcestart.conf │ ├── nss │ │ └── nssswitch.conf │ ├── tox.ini │ ├── uncrustify.cfg │ ├── uncrustify_precommit │ └── wireshark │ │ └── wireshark.lua ├── docker │ ├── Dockerfile │ ├── README.md │ ├── docker-entrypoint.sh │ └── gnunet.conf ├── gns │ ├── bootstrap.min.css │ ├── def.tex │ ├── gns-bcd.html │ ├── gns-bcd.tex │ ├── gns-form-fields.xml │ └── gns-form.xslt ├── gnunet-arch-full.svg ├── gnunet_infrastructure │ └── handbook_pull.sh ├── guix.README ├── guix.scm ├── hellos │ ├── Makefile.am │ └── Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 ├── indent_pre-commit ├── nse │ └── experiments │ │ └── infiniband.conf ├── packages │ ├── alpine │ │ ├── gnunet-gtk │ │ │ └── APKBUILD │ │ ├── gnunet │ │ │ ├── APKBUILD │ │ │ ├── gnunet-gns-proxy.initd │ │ │ ├── gnunet-system-services.initd │ │ │ ├── gnunet-system.conf │ │ │ ├── gnunet-user-services.initd │ │ │ ├── gnunet-user.conf │ │ │ ├── gnunet.post-install │ │ │ ├── gnunet.pre-deinstall │ │ │ ├── gnunet.pre-install │ │ │ └── gnunet.xsession │ │ └── gnurl │ │ │ └── APKBUILD │ ├── guix │ │ ├── guix-env-gillmann.scm │ │ ├── guix-env-py2.scm │ │ └── notest-guix-env.scm │ ├── homebrew │ │ └── gnunet.rb │ └── nix │ │ ├── default.nix │ │ └── gnunet-dev.nix ├── patches │ ├── lrn-indent.diff │ ├── texi2html5-indent.diff │ └── transport_ats_years.diff ├── privacy-sensitive-symbols.mspec ├── scripts │ ├── .gitignore │ ├── Makefile.am │ ├── afferify │ ├── build-install-gnunet-debian10.sh │ ├── build_cscope.sh │ ├── changelog_delta.sh │ ├── check-texinfo.awk.in │ ├── coverage.sh │ ├── debug │ ├── doc │ │ └── texinfo-hacks.el │ ├── find_typedefs.py │ ├── gdb-iterate-dll.py │ ├── generate-monkey-db.sh │ ├── gnunet-bugreport │ ├── gnunet-chk.py.in │ ├── gnunet-logread │ │ ├── .gitignore │ │ ├── Makefile.am │ │ ├── gnunet-logread-ipc │ │ ├── gnunet-logread-ipc-sdedit.in │ │ └── gnunet-logread.in │ ├── gnunet-suidfix │ ├── gnunet_janitor.py.in │ ├── gnunet_pyexpect.py.in │ ├── lint │ │ ├── lint-man.sh │ │ └── lint-python.sh │ ├── process_log.sh │ ├── pydiffer.py.in │ ├── pydmesg │ ├── regression.sh │ ├── removetrailingwhitespace.py.in │ ├── revisionary.sh │ ├── terminate.py.in │ ├── testbed_cleanup.sh │ ├── visualize_stats.sh │ └── zonewalk-to-types.sh ├── services │ ├── Makefile.am │ ├── openrc │ │ ├── Makefile.am │ │ └── gnunet.initd │ └── systemd │ │ ├── Makefile.am │ │ └── gnunet.service ├── sounds │ ├── vonlynX-bdbAm-lo.wav │ ├── vonlynX-bdbG9-lo.wav │ └── vonlynX-ringtones.txt ├── test_gnunet_prefix.c ├── testbed_configs │ ├── regex_profiler_infiniband.conf │ ├── testbed_cluster.conf │ ├── testbed_infiniband.conf │ └── testbed_supermuc.conf ├── testbed_infiniband_results │ ├── 30000_connections_90000_peers_30_poc.txt │ ├── 6000_connections_10000_peers_100_poc.txt │ ├── 6000_connections_10000_peers_20_poc.txt │ ├── 6000_connections_10000_peers_30_poc.txt │ ├── 6000_connections_20000_peers.txt │ ├── 6000_connections_40000_peers.txt │ ├── 6000_connections_60000_peers.txt │ ├── 6000_connections_60000_peers_5_poc.txt │ ├── 6000_connections_80000_peers_20_poc.txt │ └── 6000_connections_80000_peers_5_poc.txt ├── testing_hostkeys.ecc ├── vagrant │ ├── Vagrantfile │ └── bootstrap.ubuntu.sh └── web │ └── log.php ├── doc ├── .gitignore ├── Makefile.am ├── coverage.txt ├── doc.h ├── docstyle.css ├── doxygen │ ├── Makefile.am │ ├── gnunet.doxy │ └── logo.png ├── handbook │ ├── .gitignore │ ├── Makefile.am │ ├── TODO │ ├── agpl-3.0.texi │ ├── chapters │ │ ├── configuration.texi │ │ ├── contributing.texi │ │ ├── developer.texi │ │ ├── installation.texi │ │ ├── keyconcepts.texi │ │ ├── philosophy.texi │ │ ├── preface.texi │ │ ├── user.texi │ │ └── vocabulary.texi │ ├── docstyle.css │ ├── fdl-1.3.texi │ ├── gendocs.sh │ ├── gendocs_template │ ├── gendocs_template_min │ ├── gnunet.texi │ ├── gpl-3.0.texi │ ├── htmlxref.cnf │ ├── images │ │ ├── ascension_interaction.png │ │ ├── ascension_ssd.png │ │ ├── daemon_lego_block.png │ │ ├── daemon_lego_block.svg │ │ ├── gns.dot │ │ ├── gns.eps │ │ ├── gns.jpg │ │ ├── gnunet-0-10-peerinfo.png │ │ ├── gnunet-fs-gtk-0-10-star-tab.png │ │ ├── gnunet-gtk-0-10-download-area.png │ │ ├── gnunet-gtk-0-10-fs-menu.png │ │ ├── gnunet-gtk-0-10-fs-publish-editing.png │ │ ├── gnunet-gtk-0-10-fs-publish-select.png │ │ ├── gnunet-gtk-0-10-fs-publish-with-file.png │ │ ├── gnunet-gtk-0-10-fs-publish-with-file_0.png │ │ ├── gnunet-gtk-0-10-fs-publish.png │ │ ├── gnunet-gtk-0-10-fs-published.png │ │ ├── gnunet-gtk-0-10-fs-search.png │ │ ├── gnunet-gtk-0-10-fs.png │ │ ├── gnunet-gtk-0-10-gns-a-done.png │ │ ├── gnunet-gtk-0-10-gns-a.png │ │ ├── gnunet-gtk-0-10-gns.png │ │ ├── gnunet-gtk-0-10-identity.png │ │ ├── gnunet-gtk-0-10-search-selected.png │ │ ├── gnunet-gtk-0-10-traffic.png │ │ ├── gnunet-namestore-gtk-phone.png │ │ ├── gnunet-namestore-gtk-vpn.png │ │ ├── gnunet-setup-exit.png │ │ ├── gnunet-tutorial-service.png │ │ ├── gnunet-tutorial-system.png │ │ ├── iceweasel-preferences.png │ │ ├── iceweasel-proxy.png │ │ ├── lego_stack.svg │ │ ├── service_lego_block.png │ │ ├── service_lego_block.svg │ │ ├── service_stack.png │ │ └── structure.dot │ ├── manual.css │ ├── reset.css │ ├── run-gendocs.sh │ └── style.css ├── index.html ├── man │ ├── .gitignore │ ├── Makefile.am │ ├── README │ ├── TODO │ ├── gnunet-arm.1 │ ├── gnunet-ats.1 │ ├── gnunet-auto-share.1 │ ├── gnunet-bcd.1 │ ├── gnunet-bugreport.1 │ ├── gnunet-cadet.1 │ ├── gnunet-config.1 │ ├── gnunet-conversation-test.1 │ ├── gnunet-conversation.1 │ ├── gnunet-core.1 │ ├── gnunet-datastore.1 │ ├── gnunet-directory.1 │ ├── gnunet-dns2gns.1 │ ├── gnunet-download.1 │ ├── gnunet-ecc.1 │ ├── gnunet-fs.1 │ ├── gnunet-gns-proxy-setup-ca.1 │ ├── gnunet-gns-proxy.1 │ ├── gnunet-gns.1 │ ├── gnunet-identity.1 │ ├── gnunet-namecache.1 │ ├── gnunet-namestore-fcfsd.1 │ ├── gnunet-namestore.1 │ ├── gnunet-nat-auto.1 │ ├── gnunet-nat-server.1 │ ├── gnunet-nat.1 │ ├── gnunet-nse.1 │ ├── gnunet-peerinfo.1 │ ├── gnunet-publish.1 │ ├── gnunet-qr.1 │ ├── gnunet-reclaim.1 │ ├── gnunet-resolver.1 │ ├── gnunet-revocation.1 │ ├── gnunet-scalarproduct.1 │ ├── gnunet-scrypt.1 │ ├── gnunet-search.1 │ ├── gnunet-statistics.1 │ ├── gnunet-testbed-profiler.1 │ ├── gnunet-testing-run-service.1 │ ├── gnunet-testing.1 │ ├── gnunet-timeout.1 │ ├── gnunet-transport-certificate-creation.1 │ ├── gnunet-transport.1 │ ├── gnunet-unindex.1 │ ├── gnunet-uri.1 │ ├── gnunet-vpn.1 │ ├── gnunet-zoneimport.1 │ ├── gnunet.conf.5.in │ └── produce_html.sh.in ├── manual.css ├── release_policy.rfc.txt ├── reset.css ├── style.css ├── system_specific │ ├── FROM_SOURCE │ └── outdated-and-old-installation-instructions.txt └── tutorial │ ├── .gitignore │ ├── Makefile.am │ ├── agpl-3.0.texi │ ├── docstyle.css │ ├── examples │ ├── 001.c │ ├── 002.c │ ├── 003.c │ ├── 004.c │ ├── 005.c │ ├── 006.c │ ├── 007.c │ ├── 008.c │ ├── 009.c │ ├── 010.c │ ├── 011.c │ ├── 012.c │ ├── 013.1.c │ ├── 013.c │ ├── 014.c │ ├── 015.c │ ├── 016.c │ ├── 017.c │ ├── 018.c │ ├── 019.c │ ├── 020.c │ ├── 021.c │ ├── 022.c │ ├── 023.c │ ├── 024.c │ ├── 025.Makefile.am │ ├── 026.c │ └── testbed_test.c │ ├── fdl-1.3.texi │ ├── gpl-3.0.texi │ ├── htmlxref.cnf │ ├── manual.css │ ├── reset.css │ ├── run-gendocs.sh │ ├── style.css │ └── tutorial.texi ├── m4 ├── .gitignore ├── ChangeLog ├── Makefile.am ├── absolute-header.m4 ├── ac_define_dir.m4 ├── align.m4 ├── as-auto-alt.m4 ├── ax_compare_version.m4 ├── ax_lib_postgresql.m4 ├── check-libheader.m4 ├── codeset.m4 ├── extensions.m4 ├── extern-inline.m4 ├── fcntl-o.m4 ├── freetype2.m4 ├── gettext.m4 ├── glib-2.0.m4 ├── glib-gettext.m4 ├── glibc2.m4 ├── glibc21.m4 ├── gnulib-cache.m4 ├── gtk-2.0.m4 ├── iconv.m4 ├── intdiv0.m4 ├── intl.m4 ├── intldir.m4 ├── intlmacosx.m4 ├── intmax.m4 ├── inttypes-pri.m4 ├── inttypes.m4 ├── inttypes_h.m4 ├── isc-posix.m4 ├── lcmessage.m4 ├── lib-ld.m4 ├── lib-link.m4 ├── lib-prefix.m4 ├── libcurl.m4 ├── libgcrypt.m4 ├── libgnurl.m4 ├── libunistring.m4 ├── libxml2.m4 ├── lock.m4 ├── longdouble.m4 ├── longlong.m4 ├── nls.m4 ├── perl.m4 ├── pkg.m4 ├── po.m4 ├── printf-posix.m4 ├── progtest.m4 ├── signed.m4 ├── size_max.m4 ├── stdint_h.m4 ├── threadlib.m4 ├── uintmax_t.m4 ├── ulonglong.m4 ├── visibility.m4 ├── wint_t.m4 └── xsize.m4 ├── pkgconfig ├── Makefile.am ├── gnunet_config.h.in ├── gnunetarm.pc.in ├── gnunetats.pc.in ├── gnunetblock.pc.in ├── gnunetcadet.pc.in ├── gnunetconsensus.pc.in ├── gnunetconversation.pc.in ├── gnunetcore.pc.in ├── gnunetdatacache.pc.in ├── gnunetdatastore.pc.in ├── gnunetdht.pc.in ├── gnunetdns.pc.in ├── gnunetenv.pc.in ├── gnunetfragmentation.pc.in ├── gnunetfs.pc.in ├── gnunetgns.pc.in ├── gnunethello.pc.in ├── gnunetidentity.pc.in ├── gnunetmicrophone.pc.in ├── gnunetmysql.pc.in ├── gnunetnamestore.pc.in ├── gnunetnat.pc.in ├── gnunetnse.pc.in ├── gnunetpeerinfo.pc.in ├── gnunetpostgres.pc.in ├── gnunetpq.pc.in ├── gnunetregex.pc.in ├── gnunetrevocation.pc.in ├── gnunetrps.pc.in ├── gnunetscalarproduct.pc.in ├── gnunetset.pc.in ├── gnunetspeaker.pc.in ├── gnunetstatistics.pc.in ├── gnunettestbed.pc.in ├── gnunettesting.pc.in ├── gnunettransport.pc.in ├── gnunetutil.pc.in └── gnunetvpn.pc.in ├── po ├── .gitignore ├── ChangeLog ├── LINGUAS ├── Makefile.in.in ├── Makevars ├── Makevars.template ├── POTFILES.in ├── Rules-quot ├── boldquot.sed ├── de.po ├── en@boldquot.header ├── en@quot.header ├── es.po ├── fr.po ├── insert-header.sin ├── it.po ├── quot.sed ├── remove-potcdate.sin ├── stamp-po ├── sv.po ├── update.pl.in ├── vi.po └── zh_CN.po └── src ├── Makefile.am ├── abd ├── .gitignore ├── Makefile.am ├── abd.conf.in ├── abd.h ├── abd_api.c ├── abd_serialization.c ├── abd_serialization.h ├── delegate_misc.c ├── delegate_misc.h ├── gnunet-abd.c ├── gnunet-service-abd.c ├── plugin_gnsrecord_abd.c ├── test_abd_bi_and.sh ├── test_abd_bi_and2.sh ├── test_abd_bi_and3.sh ├── test_abd_bi_and4.sh ├── test_abd_bi_bw.sh ├── test_abd_bi_bw_link.sh ├── test_abd_bi_bw_link2.sh ├── test_abd_bi_fw.sh ├── test_abd_defaults.conf ├── test_abd_issue.sh ├── test_abd_lookup.conf ├── test_abd_own.sh ├── test_abd_verify.sh ├── test_abd_verify_and.sh └── test_abd_verify_simple.sh ├── abe ├── Makefile.am ├── abe.c └── test_cpabe.c ├── arm ├── .gitignore ├── Makefile.am ├── arm.conf.in ├── arm.h ├── arm_api.c ├── arm_monitor_api.c ├── gnunet-arm.c ├── gnunet-service-arm.c ├── mockup-service.c ├── mockup_service ├── test_arm_api.c ├── test_arm_api_data.conf ├── test_exponential_backoff.c ├── test_gnunet_arm.py.in └── test_gnunet_service_arm.c ├── ats-tests ├── .gitignore ├── Makefile.am ├── ats-testing-experiment.c ├── ats-testing-log.c ├── ats-testing-preferences.c ├── ats-testing-traffic.c ├── ats-testing.c ├── ats-testing.h ├── experiments │ ├── evaluation1_dru_3_peers_1addr_1scope_prop.conf │ ├── evaluation1_dru_3_peers_1addr_1scope_prop.exp │ ├── send_linear_10_sec.exp │ └── test.exp ├── gnunet-ats-sim.c ├── gnunet-solver-eval.c ├── gnunet_ats_sim_default.conf ├── perf_ats.c ├── perf_ats.h ├── perf_ats_logging.c ├── perf_ats_proportional_bandwidth.conf ├── perf_ats_proportional_latency.conf ├── perf_ats_proportional_none.conf └── template_perf_ats.conf ├── ats-tool ├── .gitignore ├── Makefile.am └── gnunet-ats.c ├── ats ├── .gitignore ├── Makefile.am ├── ats.conf.in ├── ats.h ├── ats_api_connectivity.c ├── ats_api_performance.c ├── ats_api_scanner.c ├── ats_api_scheduling.c ├── experiments │ ├── example.exp │ ├── gnunet_ats_sim_default.conf │ └── set_preference.exp ├── gnunet-ats-solver-eval.c ├── gnunet-ats-solver-eval.h ├── gnunet-service-ats.c ├── gnunet-service-ats.h ├── gnunet-service-ats_addresses.c ├── gnunet-service-ats_addresses.h ├── gnunet-service-ats_connectivity.c ├── gnunet-service-ats_connectivity.h ├── gnunet-service-ats_normalization.c ├── gnunet-service-ats_normalization.h ├── gnunet-service-ats_performance.c ├── gnunet-service-ats_performance.h ├── gnunet-service-ats_plugins.c ├── gnunet-service-ats_plugins.h ├── gnunet-service-ats_preferences.c ├── gnunet-service-ats_preferences.h ├── gnunet-service-ats_reservations.c ├── gnunet-service-ats_reservations.h ├── gnunet-service-ats_scheduling.c ├── gnunet-service-ats_scheduling.h ├── perf_ats_simplistic_bandwidth.conf ├── perf_ats_simplistic_delay.conf ├── perf_ats_solver.c ├── perf_ats_solver.conf ├── perf_ats_solver_proportional.conf ├── plugin_ats_proportional.c ├── test_ats_api.c ├── test_ats_api.conf ├── test_ats_api_delayed.conf ├── test_ats_api_proportional.conf ├── test_ats_lib.c ├── test_ats_lib.h ├── test_ats_reservation_api.c ├── test_ats_solver_default.conf ├── test_ats_solver_delayed_proportional.conf ├── test_ats_solver_proportional.conf └── test_delay ├── auction ├── .gitignore ├── Makefile.am ├── auction.conf ├── auction.h ├── gnunet-auction-create.c ├── gnunet-auction-info.c ├── gnunet-auction-join.c ├── gnunet-service-auction.c ├── test_auction_api.c └── test_auction_create.sh ├── block ├── Makefile.am ├── bg_bf.c ├── block.c ├── plugin_block_template.c └── plugin_block_test.c ├── cadet ├── .gitignore ├── Makefile.am ├── TODO ├── cadet.conf.in ├── cadet.h ├── cadet_api.c ├── cadet_api_drop_message.c ├── cadet_api_get_channel.c ├── cadet_api_get_path.c ├── cadet_api_helper.c ├── cadet_api_list_peers.c ├── cadet_api_list_tunnels.c ├── cadet_protocol.h ├── cadet_test_lib.c ├── cadet_test_lib.h ├── desirability_table.c ├── gnunet-cadet-profiler.c ├── gnunet-cadet.c ├── gnunet-service-cadet.c ├── gnunet-service-cadet.h ├── gnunet-service-cadet_channel.c ├── gnunet-service-cadet_channel.h ├── gnunet-service-cadet_connection.c ├── gnunet-service-cadet_connection.h ├── gnunet-service-cadet_core.c ├── gnunet-service-cadet_core.h ├── gnunet-service-cadet_dht.c ├── gnunet-service-cadet_dht.h ├── gnunet-service-cadet_hello.c ├── gnunet-service-cadet_hello.h ├── gnunet-service-cadet_paths.c ├── gnunet-service-cadet_paths.h ├── gnunet-service-cadet_peer.c ├── gnunet-service-cadet_peer.h ├── gnunet-service-cadet_tunnels.c ├── gnunet-service-cadet_tunnels.h ├── loopcheck.sh ├── profiler.conf ├── run_profiler.sh ├── small.dat ├── test_cadet.c ├── test_cadet.conf ├── test_cadet_drop.conf ├── test_cadet_flow.c ├── test_cadet_local_mq.c └── valgrind-cadet.supp ├── consensus ├── .gitignore ├── Makefile.am ├── consensus-simulation.py.in ├── consensus.conf.in ├── consensus.h ├── consensus_api.c ├── consensus_protocol.h ├── gnunet-consensus-profiler.c ├── gnunet-service-consensus.c ├── plugin_block_consensus.c ├── test_consensus.conf └── test_consensus_api.c ├── conversation ├── .gitignore ├── Makefile.am ├── build_gst_test.sh ├── conversation.conf.in ├── conversation.h ├── conversation_api.c ├── conversation_api_call.c ├── displaydot.sh ├── gnunet-conversation-test.c ├── gnunet-conversation.c ├── gnunet-helper-audio-playback-gst.c ├── gnunet-helper-audio-playback.c ├── gnunet-helper-audio-record-gst.c ├── gnunet-helper-audio-record.c ├── gnunet-service-conversation.c ├── gnunet_gst.c ├── gnunet_gst.h ├── gnunet_gst_def.h ├── gnunet_gst_test.c ├── mediahelper.conf ├── microphone.c ├── plugin_gnsrecord_conversation.c ├── speaker.c ├── test.sh ├── test_conversation.conf ├── test_conversation_api.c ├── test_conversation_api_reject.c └── test_conversation_api_twocalls.c ├── core ├── .gitignore ├── Makefile.am ├── core.conf.in ├── core.h ├── core_api.c ├── core_api_monitor_peers.c ├── gnunet-core.c ├── gnunet-service-core.c ├── gnunet-service-core.h ├── gnunet-service-core_kx.c ├── gnunet-service-core_kx.h ├── gnunet-service-core_sessions.c ├── gnunet-service-core_sessions.h ├── gnunet-service-core_typemap.c ├── gnunet-service-core_typemap.h ├── test_core_api.c ├── test_core_api_data.conf ├── test_core_api_peer1.conf ├── test_core_api_peer2.conf ├── test_core_api_reliability.c ├── test_core_api_send_to_self.c ├── test_core_api_send_to_self.conf ├── test_core_api_start_only.c ├── test_core_defaults.conf ├── test_core_quota_asymmetric_recv_limited_peer1.conf ├── test_core_quota_asymmetric_recv_limited_peer2.conf ├── test_core_quota_asymmetric_send_limit_peer1.conf ├── test_core_quota_asymmetric_send_limit_peer2.conf ├── test_core_quota_compliance.c ├── test_core_quota_peer1.conf └── test_core_quota_peer2.conf ├── curl ├── Makefile.am ├── curl.c └── curl_reschedule.c ├── datacache ├── .gitignore ├── Makefile.am ├── datacache.c ├── datacache.conf ├── perf_datacache.c ├── perf_datacache_data_heap.conf ├── perf_datacache_data_postgres.conf ├── perf_datacache_data_sqlite.conf ├── plugin_datacache_heap.c ├── plugin_datacache_postgres.c ├── plugin_datacache_sqlite.c ├── plugin_datacache_template.c ├── test_datacache.c ├── test_datacache_data_heap.conf ├── test_datacache_data_postgres.conf ├── test_datacache_data_sqlite.conf └── test_datacache_quota.c ├── datastore ├── .gitignore ├── Makefile.am ├── datastore.conf.in ├── datastore.h ├── datastore_api.c ├── gnunet-datastore.c ├── gnunet-service-datastore.c ├── perf_datastore_api.c ├── perf_plugin_datastore.c ├── perf_plugin_datastore_data_heap.conf ├── perf_plugin_datastore_data_mysql.conf ├── perf_plugin_datastore_data_postgres.conf ├── perf_plugin_datastore_data_sqlite.conf ├── plugin_datastore_heap.c ├── plugin_datastore_mysql.c ├── plugin_datastore_postgres.c ├── plugin_datastore_sqlite.c ├── plugin_datastore_template.c ├── selectrandom.sql ├── test_datastore_api.c ├── test_datastore_api_data_heap.conf ├── test_datastore_api_data_mysql.conf ├── test_datastore_api_data_postgres.conf ├── test_datastore_api_data_sqlite.conf ├── test_datastore_api_management.c ├── test_defaults.conf ├── test_plugin_datastore.c ├── test_plugin_datastore_data_heap.conf ├── test_plugin_datastore_data_mysql.conf ├── test_plugin_datastore_data_postgres.conf └── test_plugin_datastore_data_sqlite.conf ├── dht ├── .gitignore ├── Makefile.am ├── dht.conf.in ├── dht.h ├── dht_api.c ├── dht_test_lib.c ├── dht_test_lib.h ├── gnunet-dht-get.c ├── gnunet-dht-monitor.c ├── gnunet-dht-put.c ├── gnunet-service-dht.c ├── gnunet-service-dht.h ├── gnunet-service-dht_clients.c ├── gnunet-service-dht_datacache.c ├── gnunet-service-dht_datacache.h ├── gnunet-service-dht_hello.c ├── gnunet-service-dht_hello.h ├── gnunet-service-dht_neighbours.c ├── gnunet-service-dht_neighbours.h ├── gnunet-service-dht_nse.c ├── gnunet-service-dht_nse.h ├── gnunet-service-dht_routing.c ├── gnunet-service-dht_routing.h ├── gnunet_dht_profiler.c ├── plugin_block_dht.c ├── test_dht_2dtorus.conf ├── test_dht_api.c ├── test_dht_api_data.conf ├── test_dht_api_peer1.conf ├── test_dht_line.conf ├── test_dht_monitor.c ├── test_dht_monitor.conf ├── test_dht_multipeer.conf ├── test_dht_multipeer_topology.dat ├── test_dht_tools.conf ├── test_dht_tools.py.in ├── test_dht_tools.sh └── test_dht_topo.c ├── dns ├── .gitignore ├── Makefile.am ├── dns.conf.in ├── dns.h ├── dns_api.c ├── gnunet-dns-monitor.c ├── gnunet-dns-redirector.c ├── gnunet-helper-dns.c ├── gnunet-service-dns.c ├── gnunet-zonewalk.c ├── plugin_block_dns.c └── test_gnunet_dns.sh ├── exit ├── .gitignore ├── Makefile.am ├── exit.conf ├── exit.h ├── gnunet-daemon-exit.c └── gnunet-helper-exit.c ├── fragmentation ├── .gitignore ├── Makefile.am ├── defragmentation.c ├── fragmentation.c ├── fragmentation.h ├── test_fragmentation.c ├── test_fragmentation_data.conf └── test_fragmentation_parallel.c ├── fs ├── .gitignore ├── Makefile.am ├── fs.conf.in ├── fs.h ├── fs_api.c ├── fs_api.h ├── fs_directory.c ├── fs_dirmetascan.c ├── fs_download.c ├── fs_file_information.c ├── fs_getopt.c ├── fs_list_indexed.c ├── fs_misc.c ├── fs_namespace.c ├── fs_publish.c ├── fs_publish_ksk.c ├── fs_publish_ublock.c ├── fs_publish_ublock.h ├── fs_search.c ├── fs_sharetree.c ├── fs_test_lib.c ├── fs_test_lib.h ├── fs_test_lib_data.conf ├── fs_tree.c ├── fs_tree.h ├── fs_unindex.c ├── fs_uri.c ├── gnunet-auto-share.c ├── gnunet-daemon-fsprofiler.c ├── gnunet-directory.c ├── gnunet-download.c ├── gnunet-fs-profiler.c ├── gnunet-fs.c ├── gnunet-helper-fs-publish.c ├── gnunet-publish.c ├── gnunet-search.c ├── gnunet-service-fs.c ├── gnunet-service-fs.h ├── gnunet-service-fs_cadet.h ├── gnunet-service-fs_cadet_client.c ├── gnunet-service-fs_cadet_server.c ├── gnunet-service-fs_cp.c ├── gnunet-service-fs_cp.h ├── gnunet-service-fs_indexing.c ├── gnunet-service-fs_indexing.h ├── gnunet-service-fs_pe.c ├── gnunet-service-fs_pe.h ├── gnunet-service-fs_pr.c ├── gnunet-service-fs_pr.h ├── gnunet-service-fs_push.c ├── gnunet-service-fs_push.h ├── gnunet-service-fs_put.c ├── gnunet-service-fs_put.h ├── gnunet-unindex.c ├── perf_gnunet_service_fs_p2p.c ├── perf_gnunet_service_fs_p2p.conf ├── perf_gnunet_service_fs_p2p_respect.c ├── plugin_block_fs.c ├── test_fs.c ├── test_fs_data.conf ├── test_fs_defaults.conf ├── test_fs_directory.c ├── test_fs_download.c ├── test_fs_download_data.conf ├── test_fs_download_indexed.conf ├── test_fs_download_persistence.c ├── test_fs_file_information.c ├── test_fs_file_information_data.conf ├── test_fs_getopt.c ├── test_fs_list_indexed.c ├── test_fs_list_indexed_data.conf ├── test_fs_namespace.c ├── test_fs_namespace_data.conf ├── test_fs_namespace_list_updateable.c ├── test_fs_publish.c ├── test_fs_publish_data.conf ├── test_fs_publish_persistence.c ├── test_fs_search.c ├── test_fs_search_data.conf ├── test_fs_search_persistence.c ├── test_fs_search_probes.c ├── test_fs_search_with_and.c ├── test_fs_start_stop.c ├── test_fs_test_lib.c ├── test_fs_unindex.c ├── test_fs_unindex_data.conf ├── test_fs_unindex_persistence.c ├── test_fs_uri.c ├── test_gnunet_fs_idx.py.in ├── test_gnunet_fs_idx_data.conf ├── test_gnunet_fs_psd.py.in ├── test_gnunet_fs_psd_data.conf ├── test_gnunet_fs_rec.py.in ├── test_gnunet_fs_rec_data.conf ├── test_gnunet_fs_rec_data.tgz ├── test_gnunet_service_fs_migration.c ├── test_gnunet_service_fs_migration_data.conf ├── test_gnunet_service_fs_p2p.c ├── test_gnunet_service_fs_p2p_cadet.conf ├── test_plugin_block_fs.c └── test_pseudonym_data.conf ├── gns ├── .gitignore ├── Makefile.am ├── gns.conf.in ├── gns.h ├── gns_api.c ├── gns_api.h ├── gns_tld_api.c ├── gnunet-bcd.c ├── gnunet-dns2gns.c ├── gnunet-gns-benchmark.c ├── gnunet-gns-import.c ├── gnunet-gns-proxy-ca.template ├── gnunet-gns-proxy-setup-ca.in ├── gnunet-gns-proxy.c ├── gnunet-gns.c ├── gnunet-service-gns.c ├── gnunet-service-gns.h ├── gnunet-service-gns_interceptor.c ├── gnunet-service-gns_interceptor.h ├── gnunet-service-gns_resolver.c ├── gnunet-service-gns_resolver.h ├── gnunet_w32nsp_lib.h ├── nss │ ├── Makefile.am │ ├── map-file │ ├── nss_gns.c │ ├── nss_gns_query.c │ └── nss_gns_query.h ├── openssl.cnf ├── plugin_block_gns.c ├── plugin_gnsrecord_gns.c ├── plugin_rest_gns.c ├── test_dns2gns.conf ├── test_dns2gns.sh ├── test_gns_at_lookup.sh ├── test_gns_caa_lookup.sh ├── test_gns_cname_lookup.sh ├── test_gns_config_lookup.sh ├── test_gns_defaults.conf ├── test_gns_delegated_lookup.sh ├── test_gns_dht_lookup.sh ├── test_gns_gns2dns_cname_lookup.sh ├── test_gns_gns2dns_lookup.sh ├── test_gns_gns2dns_zkey_lookup.sh ├── test_gns_ipv6_lookup.sh ├── test_gns_lookup.conf ├── test_gns_lookup.sh ├── test_gns_lookup_peer1.conf ├── test_gns_lookup_peer2.conf ├── test_gns_multiple_record_lookup.sh ├── test_gns_mx_lookup.sh ├── test_gns_proxy.c ├── test_gns_proxy.conf ├── test_gns_quickupdate.sh ├── test_gns_rel_expiration.sh ├── test_gns_revocation.sh ├── test_gns_simple_lookup.conf ├── test_gns_soa_lookup.sh ├── test_gns_txt_lookup.sh ├── test_gns_zkey_lookup.sh ├── test_gnunet_gns.sh.in ├── test_plugin_rest_gns.sh ├── test_proxy.sh ├── w32resolver.h └── zonefiles │ ├── 188JSUMKEF25GVU8TTV0PBNNN8JVCPUEDFV1UHJJU884JD25V0T0.zkey │ ├── J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey │ ├── OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey │ └── test_zonekey ├── gnsrecord ├── .gitignore ├── Makefile.am ├── gnsrecord.c ├── gnsrecord_crypto.c ├── gnsrecord_misc.c ├── gnsrecord_serialization.c ├── gnunet-gnsrecord-tvg.c ├── perf_gnsrecord_crypto.c ├── plugin_gnsrecord_dns.c ├── test_gnsrecord_block_expiration.c ├── test_gnsrecord_crypto.c └── test_gnsrecord_serialization.c ├── hello ├── .gitignore ├── Makefile.am ├── address.c ├── gnunet-hello.c ├── hello-ng.c ├── hello.c ├── test_friend_hello.c └── test_hello.c ├── hostlist ├── .gitignore ├── Makefile.am ├── gnunet-daemon-hostlist.c ├── gnunet-daemon-hostlist.h ├── gnunet-daemon-hostlist_client.c ├── gnunet-daemon-hostlist_client.h ├── gnunet-daemon-hostlist_server.c ├── gnunet-daemon-hostlist_server.h ├── hostlist.conf ├── hostlists_learn_peer2.file ├── learning_data.conf ├── test_gnunet_daemon_hostlist.c ├── test_gnunet_daemon_hostlist_data.conf ├── test_gnunet_daemon_hostlist_learning.c ├── test_gnunet_daemon_hostlist_peer1.conf ├── test_gnunet_daemon_hostlist_peer2.conf ├── test_gnunet_daemon_hostlist_reconnect.c ├── test_hostlist_defaults.conf ├── test_learning_adv_peer.conf ├── test_learning_learn_peer.conf └── test_learning_learn_peer2.conf ├── identity ├── .gitignore ├── Makefile.am ├── gnunet-identity.c ├── gnunet-service-identity.c ├── identity.conf.in ├── identity.h ├── identity_api.c ├── identity_api_lookup.c ├── identity_api_suffix_lookup.c ├── plugin_rest_identity.c ├── test_identity.c ├── test_identity.conf ├── test_identity_defaults.c └── test_plugin_rest_identity.sh ├── include ├── Makefile.am ├── block_dns.h ├── block_fs.h ├── block_regex.h ├── compat.h ├── gauger.h ├── gettext.h ├── gnunet_abd_service.h ├── gnunet_abe_lib.h ├── gnunet_applications.h ├── gnunet_arm_service.h ├── gnunet_ats_application_service.h ├── gnunet_ats_plugin.h ├── gnunet_ats_service.h ├── gnunet_ats_transport_service.h ├── gnunet_bandwidth_lib.h ├── gnunet_bio_lib.h ├── gnunet_block_group_lib.h ├── gnunet_block_lib.h ├── gnunet_block_plugin.h ├── gnunet_buffer_lib.h ├── gnunet_cadet_service.h ├── gnunet_client_lib.h ├── gnunet_common.h ├── gnunet_configuration_lib.h ├── gnunet_consensus_service.h ├── gnunet_constants.h ├── gnunet_container_lib.h ├── gnunet_conversation_service.h ├── gnunet_core_service.h ├── gnunet_crypto_lib.h ├── gnunet_curl_lib.h ├── gnunet_datacache_lib.h ├── gnunet_datacache_plugin.h ├── gnunet_datastore_plugin.h ├── gnunet_datastore_service.h ├── gnunet_db_lib.h ├── gnunet_dht_service.h ├── gnunet_disk_lib.h ├── gnunet_dns_service.h ├── gnunet_dnsparser_lib.h ├── gnunet_dnsstub_lib.h ├── gnunet_fragmentation_lib.h ├── gnunet_friends_lib.h ├── gnunet_fs_service.h ├── gnunet_getopt_lib.h ├── gnunet_gns_service.h ├── gnunet_gnsrecord_lib.h ├── gnunet_gnsrecord_plugin.h ├── gnunet_hello_lib.h ├── gnunet_helper_lib.h ├── gnunet_identity_service.h ├── gnunet_json_lib.h ├── gnunet_load_lib.h ├── gnunet_mhd_compat.h ├── gnunet_microphone_lib.h ├── gnunet_mq_lib.h ├── gnunet_mst_lib.h ├── gnunet_my_lib.h ├── gnunet_mysql_lib.h ├── gnunet_namecache_plugin.h ├── gnunet_namecache_service.h ├── gnunet_namestore_plugin.h ├── gnunet_namestore_service.h ├── gnunet_nat_auto_service.h ├── gnunet_nat_service.h ├── gnunet_nc_lib.h ├── gnunet_network_lib.h ├── gnunet_nse_service.h ├── gnunet_nt_lib.h ├── gnunet_op_lib.h ├── gnunet_os_lib.h ├── gnunet_peer_lib.h ├── gnunet_peerinfo_service.h ├── gnunet_peerstore_plugin.h ├── gnunet_peerstore_service.h ├── gnunet_plugin_lib.h ├── gnunet_pq_lib.h ├── gnunet_program_lib.h ├── gnunet_protocols.h ├── gnunet_reclaim_lib.h ├── gnunet_reclaim_plugin.h ├── gnunet_reclaim_service.h ├── gnunet_regex_service.h ├── gnunet_resolver_service.h ├── gnunet_rest_lib.h ├── gnunet_rest_plugin.h ├── gnunet_revocation_service.h ├── gnunet_rps_service.h ├── gnunet_scalarproduct_service.h ├── gnunet_scheduler_lib.h ├── gnunet_secretsharing_service.h ├── gnunet_service_lib.h ├── gnunet_set_service.h ├── gnunet_signal_lib.h ├── gnunet_signatures.h ├── gnunet_socks.h ├── gnunet_speaker_lib.h ├── gnunet_sq_lib.h ├── gnunet_statistics_service.h ├── gnunet_strings_lib.h ├── gnunet_testbed_logger_service.h ├── gnunet_testbed_service.h ├── gnunet_testing_lib.h ├── gnunet_time_lib.h ├── gnunet_transport_application_service.h ├── gnunet_transport_communication_service.h ├── gnunet_transport_core_service.h ├── gnunet_transport_hello_service.h ├── gnunet_transport_manipulation_service.h ├── gnunet_transport_monitor_service.h ├── gnunet_transport_plugin.h ├── gnunet_transport_service.h ├── gnunet_tun_lib.h ├── gnunet_util_lib.h ├── gnunet_vpn_service.h └── platform.h ├── integration-tests ├── .gitignore ├── Makefile.am ├── confs │ ├── c_bootstrap_server.conf │ ├── c_nat_client.conf │ ├── c_no_nat_client.conf │ ├── c_no_nat_client_2.conf │ └── test_defaults.conf ├── gnunet_pyexpect.py.in ├── gnunet_testing.py.in ├── hostkeys │ ├── c_bootstrap_server │ ├── c_nat_client │ ├── c_no_nat_client │ └── c_no_nat_client_2 ├── test_integration_bootstrap_and_connect.py.in ├── test_integration_clique.py.in ├── test_integration_disconnect.py.in ├── test_integration_disconnect_nat.py.in ├── test_integration_reconnect.py.in └── test_integration_reconnect_nat.py.in ├── json ├── .gitignore ├── Makefile.am ├── json.c ├── json_generator.c ├── json_gnsrecord.c ├── json_helper.c ├── json_mhd.c ├── test_json.c └── test_json_mhd.c ├── my ├── .gitignore ├── Makefile.am ├── my.c ├── my_query_helper.c ├── my_result_helper.c ├── test_my.c └── test_my.conf ├── mysql ├── Makefile.am └── mysql.c ├── namecache ├── .gitignore ├── Makefile.am ├── gnunet-namecache.c ├── gnunet-service-namecache.c ├── namecache.conf.in ├── namecache.h ├── namecache_api.c ├── plugin_namecache_flat.c ├── plugin_namecache_postgres.c ├── plugin_namecache_sqlite.c ├── test_namecache_api.conf ├── test_namecache_api_cache_block.c ├── test_plugin_namecache.c ├── test_plugin_namecache_flat.conf ├── test_plugin_namecache_postgres.conf └── test_plugin_namecache_sqlite.conf ├── namestore ├── .gitignore ├── Makefile.am ├── gnunet-namestore-fcfsd.c ├── gnunet-namestore.c ├── gnunet-service-namestore.c ├── gnunet-zoneimport.c ├── namestore.conf.in ├── namestore.h ├── namestore_api.c ├── namestore_api_monitor.c ├── perf_namestore_api_flat.conf ├── perf_namestore_api_postgres.conf ├── perf_namestore_api_sqlite.conf ├── perf_namestore_api_zone_iteration.c ├── plugin_namestore_flat.c ├── plugin_namestore_postgres.c ├── plugin_namestore_sqlite.c ├── plugin_rest_namestore.c ├── test_common.c ├── test_hostkey ├── test_namestore_api.conf ├── test_namestore_api_flat.conf ├── test_namestore_api_lookup_nick.c ├── test_namestore_api_lookup_private.c ├── test_namestore_api_lookup_public.c ├── test_namestore_api_lookup_shadow.c ├── test_namestore_api_lookup_shadow_filter.c ├── test_namestore_api_monitoring.c ├── test_namestore_api_monitoring_existing.c ├── test_namestore_api_postgres.conf ├── test_namestore_api_remove.c ├── test_namestore_api_remove_not_existing_record.c ├── test_namestore_api_sqlite.conf ├── test_namestore_api_store.c ├── test_namestore_api_store_update.c ├── test_namestore_api_zone_iteration.c ├── test_namestore_api_zone_iteration_nick.c ├── test_namestore_api_zone_iteration_specific_zone.c ├── test_namestore_api_zone_iteration_stop.c ├── test_namestore_api_zone_to_name.c ├── test_namestore_delete.sh ├── test_namestore_lookup.sh ├── test_namestore_put.sh ├── test_namestore_put_multiple.sh ├── test_plugin_namestore.c ├── test_plugin_namestore_flat.conf ├── test_plugin_namestore_postgres.conf ├── test_plugin_namestore_sqlite.conf ├── test_plugin_rest_namestore.sh └── zonefiles │ ├── AQ835GVL939H4O8QJQ7GBLPTQC0QAAO91BN7QK01BA63MDSK6I4G.zkey │ ├── HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey │ ├── N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey │ └── S5I9DSGQVAB5FVV16T3B3CC5H1B2JGL3Q412JBKURME8EKU0600G.zkey ├── nat-auto ├── .gitignore ├── Makefile.am ├── gnunet-nat-auto.c ├── gnunet-nat-auto_legacy.c ├── gnunet-nat-server.c ├── gnunet-service-nat-auto.c ├── gnunet-service-nat-auto_legacy.c ├── nat-auto.conf.in ├── nat-auto.h ├── nat_auto_api.c └── nat_auto_api_test.c ├── nat ├── .gitignore ├── Makefile.am ├── gnunet-helper-nat-client.c ├── gnunet-helper-nat-server.c ├── gnunet-nat-client-script.sh ├── gnunet-nat-server-script.sh ├── gnunet-nat.c ├── gnunet-service-nat.c ├── gnunet-service-nat.h ├── gnunet-service-nat_externalip.c ├── gnunet-service-nat_externalip.h ├── gnunet-service-nat_helper.c ├── gnunet-service-nat_helper.h ├── gnunet-service-nat_mini.c ├── gnunet-service-nat_mini.h ├── gnunet-service-nat_stun.c ├── gnunet-service-nat_stun.h ├── nat.conf.in ├── nat.h ├── nat_api.c ├── nat_api_stun.c ├── nat_stun.h ├── test_nat.c ├── test_nat_data.conf ├── test_nat_mini.c ├── test_nat_test.c ├── test_nat_test_data.conf ├── test_stun.c └── test_stun.conf ├── nse ├── .gitignore ├── Makefile.am ├── gnunet-nse-profiler.c ├── gnunet-nse.c ├── gnunet-service-nse.c ├── hostkeys.dat ├── nse.conf.in ├── nse.h ├── nse_api.c ├── nse_infiniband.conf ├── nse_profiler_test.conf ├── perf_kdf.c ├── test_nse.conf ├── test_nse_api.c └── test_nse_multipeer.c ├── nt ├── Makefile.am └── nt.c ├── peerinfo-tool ├── .gitignore ├── Makefile.am ├── gnunet-peerinfo.c ├── gnunet-peerinfo_plugins.c ├── gnunet-peerinfo_plugins.h ├── plugin_rest_peerinfo.c ├── test_gnunet_peerinfo.py.in └── test_gnunet_peerinfo_data.conf ├── peerinfo ├── .gitignore ├── Makefile.am ├── gnunet-service-peerinfo.c ├── peerinfo.conf.in ├── peerinfo.h ├── peerinfo_api.c ├── peerinfo_api_notify.c ├── perf_peerinfo_api.c ├── test_peerinfo_api.c ├── test_peerinfo_api_data.conf ├── test_peerinfo_api_friend_only.c ├── test_peerinfo_api_notify_friend_only.c └── test_peerinfo_shipped_hellos.c ├── peerstore ├── .gitignore ├── Makefile.am ├── gnunet-peerstore.c ├── gnunet-service-peerstore.c ├── peerstore.conf.in ├── peerstore.h ├── peerstore_api.c ├── peerstore_common.c ├── peerstore_common.h ├── perf_peerstore_store.c ├── plugin_peerstore_flat.c ├── plugin_peerstore_sqlite.c ├── test_peerstore_api_data.conf ├── test_peerstore_api_iterate.c ├── test_peerstore_api_store.c ├── test_peerstore_api_sync.c ├── test_peerstore_api_watch.c ├── test_plugin_peerstore.c ├── test_plugin_peerstore_flat.conf └── test_plugin_peerstore_sqlite.conf ├── pq ├── .gitignore ├── Makefile.am ├── pq.c ├── pq.h ├── pq_connect.c ├── pq_eval.c ├── pq_exec.c ├── pq_prepare.c ├── pq_query_helper.c ├── pq_result_helper.c └── test_pq.c ├── pt ├── .gitignore ├── Makefile.am ├── gnunet-daemon-pt.c ├── pt.conf ├── test_gns_vpn.c ├── test_gns_vpn.conf ├── test_gnunet_vpn.c └── test_gnunet_vpn.conf ├── reclaim ├── .gitignore ├── Makefile.am ├── gnunet-reclaim.c ├── gnunet-service-reclaim.c ├── gnunet-service-reclaim_tickets.c ├── gnunet-service-reclaim_tickets.h ├── json_reclaim.c ├── json_reclaim.h ├── oidc_helper.c ├── oidc_helper.h ├── plugin_gnsrecord_reclaim.c ├── plugin_reclaim_attestation_jwt.c ├── plugin_reclaim_attribute_basic.c ├── plugin_rest_openid_connect.c ├── plugin_rest_reclaim.c ├── reclaim.conf ├── reclaim.h ├── reclaim_api.c ├── reclaim_attestation.c ├── reclaim_attestation.h ├── reclaim_attribute.c ├── reclaim_attribute.h ├── test_reclaim.conf ├── test_reclaim.sh ├── test_reclaim_attribute.sh ├── test_reclaim_consume.sh ├── test_reclaim_defaults.conf ├── test_reclaim_issue.sh └── test_reclaim_revoke.sh ├── regex ├── .gitignore ├── Makefile.am ├── gnunet-daemon-regexprofiler.c ├── gnunet-regex-profiler.c ├── gnunet-regex-simulation-profiler.c ├── gnunet-service-regex.c ├── perf-data.tar.gz ├── perf-regex.c ├── plugin_block_regex.c ├── regex.conf.in ├── regex_api_announce.c ├── regex_api_search.c ├── regex_block_lib.c ├── regex_block_lib.h ├── regex_internal.c ├── regex_internal.h ├── regex_internal_dht.c ├── regex_internal_lib.h ├── regex_ipc.h ├── regex_simulation_profiler_test.conf ├── regex_test_graph.c ├── regex_test_lib.c ├── regex_test_lib.h ├── regex_test_random.c ├── test_regex_api.c ├── test_regex_api_data.conf ├── test_regex_eval_api.c ├── test_regex_graph_api.c ├── test_regex_integration.c ├── test_regex_iterate_api.c └── test_regex_proofs.c ├── rest ├── .gitignore ├── Makefile.am ├── gnunet-rest-server.c ├── plugin_rest_config.c ├── plugin_rest_copying.c ├── rest.c └── rest.conf ├── revocation ├── .gitignore ├── Makefile.am ├── gnunet-revocation-tvg.c ├── gnunet-revocation.c ├── gnunet-service-revocation.c ├── plugin_block_revocation.c ├── revocation.conf.in ├── revocation.h ├── revocation_api.c ├── test_local_revocation.py.in ├── test_revocation.c └── test_revocation.conf ├── rps ├── .gitignore ├── Makefile.am ├── gnunet-rps-profiler.c ├── gnunet-rps.c ├── gnunet-service-rps.c ├── gnunet-service-rps_custommap.c ├── gnunet-service-rps_custommap.h ├── gnunet-service-rps_sampler.c ├── gnunet-service-rps_sampler.h ├── gnunet-service-rps_sampler_elem.c ├── gnunet-service-rps_sampler_elem.h ├── gnunet-service-rps_view.c ├── gnunet-service-rps_view.h ├── profiler_rps.conf ├── rps-sampler_client.c ├── rps-sampler_client.h ├── rps-sampler_common.c ├── rps-sampler_common.h ├── rps-test_util.c ├── rps-test_util.h ├── rps.conf.in ├── rps.h ├── rps_api.c ├── test_rps.c ├── test_rps.conf ├── test_rps_api.c ├── test_service_rps_custommap.c ├── test_service_rps_sampler_elem.c └── test_service_rps_view.c ├── scalarproduct ├── .gitignore ├── Makefile.am ├── gnunet-scalarproduct.c ├── gnunet-service-scalarproduct-ecc.h ├── gnunet-service-scalarproduct-ecc_alice.c ├── gnunet-service-scalarproduct-ecc_bob.c ├── gnunet-service-scalarproduct.h ├── gnunet-service-scalarproduct_alice.c ├── gnunet-service-scalarproduct_bob.c ├── perf_scalarproduct.sh ├── scalarproduct.conf.in ├── scalarproduct.h ├── scalarproduct_api.c ├── test_ecc_scalarproduct.c ├── test_scalarproduct.conf ├── test_scalarproduct.sh ├── test_scalarproduct_negative.sh └── test_scalarproduct_negativezero.sh ├── secretsharing ├── .gitignore ├── Makefile.am ├── gnunet-secretsharing-profiler.c ├── gnunet-service-secretsharing.c ├── secretsharing.conf.in ├── secretsharing.h ├── secretsharing_api.c ├── secretsharing_common.c ├── secretsharing_protocol.h ├── test_secretsharing.conf └── test_secretsharing_api.c ├── set ├── .gitignore ├── Makefile.am ├── gnunet-service-set.c ├── gnunet-service-set.h ├── gnunet-service-set_intersection.c ├── gnunet-service-set_intersection.h ├── gnunet-service-set_protocol.h ├── gnunet-service-set_union.c ├── gnunet-service-set_union.h ├── gnunet-service-set_union_strata_estimator.c ├── gnunet-service-set_union_strata_estimator.h ├── gnunet-set-ibf-profiler.c ├── gnunet-set-profiler.c ├── ibf.c ├── ibf.h ├── ibf_sim.c ├── plugin_block_set_test.c ├── set.conf.in ├── set.h ├── set_api.c ├── test_set.conf ├── test_set_api.c ├── test_set_intersection_result_full.c ├── test_set_union_copy.c └── test_set_union_result_symmetric.c ├── sq ├── .gitignore ├── Makefile.am ├── sq.c ├── sq_exec.c ├── sq_prepare.c ├── sq_query_helper.c ├── sq_result_helper.c └── test_sq.c ├── statistics ├── .gitignore ├── Makefile.am ├── gnunet-service-statistics.c ├── gnunet-statistics.c ├── statistics.conf.in ├── statistics.h ├── statistics_api.c ├── test_gnunet_statistics.py.in ├── test_statistics_api.c ├── test_statistics_api_data.conf ├── test_statistics_api_loop.c ├── test_statistics_api_watch.c └── test_statistics_api_watch_zero_value.c ├── template ├── .gitignore ├── Makefile.am ├── gnunet-service-template.c ├── gnunet-template.c ├── template.conf └── test_template_api.c ├── testbed-logger ├── .gitignore ├── Makefile.am ├── gnunet-service-testbed-logger.c ├── test_testbed_logger_api.c ├── test_testbed_logger_api.conf ├── testbed-logger.conf.in └── testbed_logger_api.c ├── testbed ├── .gitignore ├── Makefile.am ├── barriers.README.org ├── buildvars.py.in ├── generate-underlay-topology.c ├── gnunet-daemon-latency-logger.c ├── gnunet-daemon-testbed-blacklist.c ├── gnunet-daemon-testbed-underlay.c ├── gnunet-helper-testbed-valgrind.patch ├── gnunet-helper-testbed.c ├── gnunet-service-test-barriers.c ├── gnunet-service-testbed.c ├── gnunet-service-testbed.h ├── gnunet-service-testbed_barriers.c ├── gnunet-service-testbed_barriers.h ├── gnunet-service-testbed_cache.c ├── gnunet-service-testbed_connectionpool.c ├── gnunet-service-testbed_connectionpool.h ├── gnunet-service-testbed_cpustatus.c ├── gnunet-service-testbed_links.c ├── gnunet-service-testbed_links.h ├── gnunet-service-testbed_meminfo.c ├── gnunet-service-testbed_meminfo.h ├── gnunet-service-testbed_oc.c ├── gnunet-service-testbed_peers.c ├── gnunet-testbed-profiler.c ├── gnunet_mpi_test.c ├── gnunet_testbed_mpi_spawn.c ├── misc.supp ├── overlay_topology.txt ├── profile-testbed.patch ├── sample.job ├── sample_hosts.txt ├── test-underlay.sqlite ├── test_gnunet_helper_testbed.c ├── test_testbed_api.c ├── test_testbed_api.conf ├── test_testbed_api_2peers_1controller.c ├── test_testbed_api_3peers_3controllers.c ├── test_testbed_api_barriers.c ├── test_testbed_api_barriers.conf.in ├── test_testbed_api_barriers.h ├── test_testbed_api_controllerlink.c ├── test_testbed_api_hosts.c ├── test_testbed_api_operations.c ├── test_testbed_api_peer_reconfiguration.c ├── test_testbed_api_peers_manage_services.c ├── test_testbed_api_sd.c ├── test_testbed_api_statistics.c ├── test_testbed_api_statistics.conf ├── test_testbed_api_template.conf ├── test_testbed_api_test.c ├── test_testbed_api_test_timeout.c ├── test_testbed_api_test_timeout.conf ├── test_testbed_api_testbed_run.c ├── test_testbed_api_testbed_run_topology2dtorus.conf ├── test_testbed_api_testbed_run_topologyclique.conf ├── test_testbed_api_testbed_run_topologyfromfile.conf ├── test_testbed_api_testbed_run_topologyline.conf ├── test_testbed_api_testbed_run_topologyrandom.conf ├── test_testbed_api_testbed_run_topologyring.conf ├── test_testbed_api_testbed_run_topologyscalefree.conf ├── test_testbed_api_testbed_run_topologysmallworld.conf ├── test_testbed_api_testbed_run_topologysmallworldring.conf ├── test_testbed_api_testbed_run_topologystar.conf ├── test_testbed_api_topology.c ├── test_testbed_api_topology_clique.c ├── test_testbed_underlay.c ├── test_testbed_underlay.conf.in ├── testbed.conf.in ├── testbed.h ├── testbed_api.c ├── testbed_api.h ├── testbed_api_barriers.c ├── testbed_api_hosts.c ├── testbed_api_hosts.h ├── testbed_api_operations.c ├── testbed_api_operations.h ├── testbed_api_peers.c ├── testbed_api_peers.h ├── testbed_api_sd.c ├── testbed_api_sd.h ├── testbed_api_services.c ├── testbed_api_statistics.c ├── testbed_api_test.c ├── testbed_api_testbed.c ├── testbed_api_topology.c ├── testbed_api_topology.h ├── testbed_api_underlay.c ├── testbed_helper.h ├── valgrind-zlib.supp └── x64_misc.supp ├── testing ├── .gitignore ├── Makefile.am ├── gnunet-testing.c ├── list-keys.c ├── test_testing_defaults.conf ├── test_testing_peerstartup.c ├── test_testing_peerstartup2.c ├── test_testing_portreservation.c ├── test_testing_servicestartup.c ├── test_testing_sharedservices.c ├── test_testing_sharedservices.conf ├── testing.c └── testing.conf ├── topology ├── .gitignore ├── Makefile.am ├── friends.c ├── gnunet-daemon-topology.c ├── test_gnunet_daemon_topology.c ├── test_gnunet_daemon_topology_data.conf └── topology.conf ├── transport ├── .gitignore ├── Makefile.am ├── NOTES ├── benchmark.sh ├── communicator-unix.conf ├── communicator.h ├── gnunet-communicator-tcp.c ├── gnunet-communicator-udp.c ├── gnunet-communicator-unix.c ├── gnunet-helper-transport-bluetooth.c ├── gnunet-helper-transport-wlan-dummy.c ├── gnunet-helper-transport-wlan.c ├── gnunet-service-tng.c ├── gnunet-service-transport.c ├── gnunet-service-transport.h ├── gnunet-service-transport_ats.c ├── gnunet-service-transport_ats.h ├── gnunet-service-transport_hello.c ├── gnunet-service-transport_hello.h ├── gnunet-service-transport_manipulation.c ├── gnunet-service-transport_manipulation.h ├── gnunet-service-transport_neighbours.c ├── gnunet-service-transport_neighbours.h ├── gnunet-service-transport_plugins.c ├── gnunet-service-transport_plugins.h ├── gnunet-service-transport_validation.c ├── gnunet-service-transport_validation.h ├── gnunet-transport-certificate-creation.in ├── gnunet-transport-profiler.c ├── gnunet-transport-wlan-receiver.c ├── gnunet-transport-wlan-sender.c ├── gnunet-transport.c ├── ieee80211_radiotap.h ├── perf_http_peer1.conf ├── perf_http_peer2.conf ├── perf_https_peer1.conf ├── perf_https_peer2.conf ├── perf_tcp_peer1.conf ├── perf_tcp_peer2.conf ├── perf_udp_peer1.conf ├── perf_udp_peer2.conf ├── perf_unix_peer1.conf ├── perf_unix_peer2.conf ├── plugin_transport_http.h ├── plugin_transport_http_client.c ├── plugin_transport_http_common.c ├── plugin_transport_http_common.h ├── plugin_transport_http_server.c ├── plugin_transport_smtp.c ├── plugin_transport_tcp.c ├── plugin_transport_template.c ├── plugin_transport_udp.c ├── plugin_transport_udp.h ├── plugin_transport_udp_broadcasting.c ├── plugin_transport_unix.c ├── plugin_transport_wlan.c ├── plugin_transport_wlan.h ├── profile_transport.sh ├── tcp_connection_legacy.c ├── tcp_server_legacy.c ├── tcp_server_mst_legacy.c ├── tcp_service_legacy.c ├── template_cfg_peer1.conf ├── template_cfg_peer2.conf ├── test_communicator_basic.c ├── test_communicator_tcp_basic_peer1.conf ├── test_communicator_tcp_basic_peer2.conf ├── test_communicator_tcp_rekey_peer1.conf ├── test_communicator_tcp_rekey_peer2.conf ├── test_communicator_udp_backchannel_peer1.conf ├── test_communicator_udp_backchannel_peer2.conf ├── test_communicator_udp_basic_peer1.conf ├── test_communicator_udp_basic_peer2.conf ├── test_communicator_udp_rekey_peer1.conf ├── test_communicator_udp_rekey_peer2.conf ├── test_communicator_unix_basic_peer1.conf ├── test_communicator_unix_basic_peer2.conf ├── test_delay ├── test_http_common.c ├── test_plugin_hostkey ├── test_plugin_hostkey.ecc ├── test_plugin_transport.c ├── test_plugin_transport_data.conf ├── test_plugin_transport_data_udp.conf ├── test_quota_compliance.c ├── test_quota_compliance_bluetooth_asymmetric_peer1.conf ├── test_quota_compliance_bluetooth_asymmetric_peer2.conf ├── test_quota_compliance_bluetooth_peer1.conf ├── test_quota_compliance_bluetooth_peer2.conf ├── test_quota_compliance_data.conf ├── test_quota_compliance_http_asymmetric_peer1.conf ├── test_quota_compliance_http_asymmetric_peer2.conf ├── test_quota_compliance_http_peer1.conf ├── test_quota_compliance_http_peer2.conf ├── test_quota_compliance_https_asymmetric_peer1.conf ├── test_quota_compliance_https_asymmetric_peer2.conf ├── test_quota_compliance_https_peer1.conf ├── test_quota_compliance_https_peer2.conf ├── test_quota_compliance_tcp_asymmetric_peer1.conf ├── test_quota_compliance_tcp_asymmetric_peer2.conf ├── test_quota_compliance_tcp_peer1.conf ├── test_quota_compliance_tcp_peer2.conf ├── test_quota_compliance_udp_peer1.conf ├── test_quota_compliance_udp_peer2.conf ├── test_quota_compliance_unix_asymmetric_peer1.conf ├── test_quota_compliance_unix_asymmetric_peer2.conf ├── test_quota_compliance_unix_peer1.conf ├── test_quota_compliance_unix_peer2.conf ├── test_quota_compliance_wlan_asymmetric_peer1.conf ├── test_quota_compliance_wlan_asymmetric_peer2.conf ├── test_quota_compliance_wlan_peer1.conf ├── test_quota_compliance_wlan_peer2.conf ├── test_transport_address_switch.c ├── test_transport_address_switch_http_peer1.conf ├── test_transport_address_switch_http_peer2.conf ├── test_transport_address_switch_https_peer1.conf ├── test_transport_address_switch_https_peer2.conf ├── test_transport_address_switch_tcp_peer1.conf ├── test_transport_address_switch_tcp_peer2.conf ├── test_transport_address_switch_udp_peer1.conf ├── test_transport_address_switch_udp_peer2.conf ├── test_transport_api.c ├── test_transport_api_blacklisting.c ├── test_transport_api_blacklisting_tcp_peer1.conf ├── test_transport_api_blacklisting_tcp_peer2.conf ├── test_transport_api_bluetooth_peer1.conf ├── test_transport_api_bluetooth_peer2.conf ├── test_transport_api_data.conf ├── test_transport_api_disconnect.c ├── test_transport_api_disconnect_tcp_peer1.conf ├── test_transport_api_disconnect_tcp_peer2.conf ├── test_transport_api_http_peer1.conf ├── test_transport_api_http_peer2.conf ├── test_transport_api_http_reverse_peer1.conf ├── test_transport_api_http_reverse_peer2.conf ├── test_transport_api_https_peer1.conf ├── test_transport_api_https_peer2.conf ├── test_transport_api_limited_sockets.c ├── test_transport_api_limited_sockets_tcp_peer1.conf ├── test_transport_api_limited_sockets_tcp_peer2.conf ├── test_transport_api_manipulation_cfg.c ├── test_transport_api_manipulation_cfg_peer1.conf ├── test_transport_api_manipulation_cfg_peer2.conf ├── test_transport_api_manipulation_recv_tcp.c ├── test_transport_api_manipulation_recv_tcp_peer1.conf ├── test_transport_api_manipulation_recv_tcp_peer2.conf ├── test_transport_api_manipulation_send_tcp.c ├── test_transport_api_manipulation_send_tcp_peer1.conf ├── test_transport_api_manipulation_send_tcp_peer2.conf ├── test_transport_api_monitor_peers.c ├── test_transport_api_monitor_peers_peer1.conf ├── test_transport_api_monitor_peers_peer2.conf ├── test_transport_api_monitor_validation_peer1.conf ├── test_transport_api_monitor_validation_peer2.conf ├── test_transport_api_multi_peer1.conf ├── test_transport_api_multi_peer2.conf ├── test_transport_api_reliability.c ├── test_transport_api_reliability_bluetooth_peer1.conf ├── test_transport_api_reliability_bluetooth_peer2.conf ├── test_transport_api_reliability_http_peer1.conf ├── test_transport_api_reliability_http_peer2.conf ├── test_transport_api_reliability_http_xhr_peer1.conf ├── test_transport_api_reliability_http_xhr_peer2.conf ├── test_transport_api_reliability_https_peer1.conf ├── test_transport_api_reliability_https_peer2.conf ├── test_transport_api_reliability_https_xhr_peer1.conf ├── test_transport_api_reliability_https_xhr_peer2.conf ├── test_transport_api_reliability_tcp_nat_peer1.conf ├── test_transport_api_reliability_tcp_nat_peer2.conf ├── test_transport_api_reliability_tcp_peer1.conf ├── test_transport_api_reliability_tcp_peer2.conf ├── test_transport_api_reliability_udp_peer1.conf ├── test_transport_api_reliability_udp_peer2.conf ├── test_transport_api_reliability_unix_peer1.conf ├── test_transport_api_reliability_unix_peer2.conf ├── test_transport_api_reliability_wlan_peer1.conf ├── test_transport_api_reliability_wlan_peer2.conf ├── test_transport_api_restart_1peer_peer1.conf ├── test_transport_api_restart_1peer_peer2.conf ├── test_transport_api_restart_2peers_peer1.conf ├── test_transport_api_restart_2peers_peer2.conf ├── test_transport_api_restart_reconnect.c ├── test_transport_api_slow_ats_peer1.conf ├── test_transport_api_slow_ats_peer2.conf ├── test_transport_api_tcp_nat_peer1.conf ├── test_transport_api_tcp_nat_peer2.conf ├── test_transport_api_tcp_peer1.conf ├── test_transport_api_tcp_peer2.conf ├── test_transport_api_timeout.c ├── test_transport_api_timeout_bluetooth_peer1.conf ├── test_transport_api_timeout_bluetooth_peer2.conf ├── test_transport_api_timeout_http_peer1.conf ├── test_transport_api_timeout_http_peer2.conf ├── test_transport_api_timeout_https_peer1.conf ├── test_transport_api_timeout_https_peer2.conf ├── test_transport_api_timeout_tcp_peer1.conf ├── test_transport_api_timeout_tcp_peer2.conf ├── test_transport_api_timeout_udp_peer1.conf ├── test_transport_api_timeout_udp_peer2.conf ├── test_transport_api_timeout_unix_peer1.conf ├── test_transport_api_timeout_unix_peer2.conf ├── test_transport_api_timeout_wlan_peer1.conf ├── test_transport_api_timeout_wlan_peer2.conf ├── test_transport_api_udp_nat_peer1.conf ├── test_transport_api_udp_nat_peer2.conf ├── test_transport_api_udp_peer1.conf ├── test_transport_api_udp_peer2.conf ├── test_transport_api_unix_abstract_peer1.conf ├── test_transport_api_unix_abstract_peer2.conf ├── test_transport_api_unix_peer1.conf ├── test_transport_api_unix_peer2.conf ├── test_transport_api_unreliability_bluetooth_peer1.conf ├── test_transport_api_unreliability_bluetooth_peer2.conf ├── test_transport_api_unreliability_constant_udp_peer1.conf ├── test_transport_api_unreliability_constant_udp_peer2.conf ├── test_transport_api_unreliability_wlan_peer1.conf ├── test_transport_api_unreliability_wlan_peer2.conf ├── test_transport_api_wlan_peer1.conf ├── test_transport_api_wlan_peer2.conf ├── test_transport_blacklisting.c ├── test_transport_blacklisting_cfg_blp_peer1_full.conf ├── test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf ├── test_transport_blacklisting_cfg_blp_peer1_plugin.conf ├── test_transport_blacklisting_cfg_blp_peer2_full.conf ├── test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf ├── test_transport_blacklisting_cfg_blp_peer2_plugin.conf ├── test_transport_blacklisting_cfg_peer1.conf ├── test_transport_blacklisting_cfg_peer2.conf ├── test_transport_defaults.conf ├── test_transport_test_transport_address_switch_tcp_peer1.conf ├── test_transport_test_transport_address_switch_tcp_peer2.conf ├── test_transport_testing_restart.c ├── test_transport_testing_startstop.c ├── transport-testing-filenames.c ├── transport-testing-loggers.c ├── transport-testing-main.c ├── transport-testing-send.c ├── transport-testing.c ├── transport-testing.h ├── transport-testing2.c ├── transport-testing2.h ├── transport.conf.in ├── transport.h ├── transport_api2_application.c ├── transport_api2_communication.c ├── transport_api2_core.c ├── transport_api2_monitor.c ├── transport_api_address_to_string.c ├── transport_api_blacklist.c ├── transport_api_core.c ├── transport_api_hello_get.c ├── transport_api_manipulation.c ├── transport_api_monitor_peers.c ├── transport_api_monitor_plugins.c └── transport_api_offer_hello.c ├── util ├── .gitignore ├── Makefile.am ├── bandwidth.c ├── benchmark.c ├── benchmark.h ├── bio.c ├── buffer.c ├── client.c ├── common_allocation.c ├── common_endian.c ├── common_logging.c ├── configuration.c ├── configuration_loader.c ├── consttime_memcmp.c ├── container_bloomfilter.c ├── container_heap.c ├── container_meta_data.c ├── container_multihashmap.c ├── container_multihashmap32.c ├── container_multipeermap.c ├── container_multishortmap.c ├── container_multiuuidmap.c ├── crypto_abe.c ├── crypto_crc.c ├── crypto_ecc.c ├── crypto_ecc_dlog.c ├── crypto_ecc_setup.c ├── crypto_hash.c ├── crypto_hash_file.c ├── crypto_hkdf.c ├── crypto_kdf.c ├── crypto_mpi.c ├── crypto_paillier.c ├── crypto_pow.c ├── crypto_random.c ├── crypto_rsa.c ├── crypto_symmetric.c ├── disk.c ├── disk.h ├── dnsparser.c ├── dnsstub.c ├── getopt.c ├── getopt_helpers.c ├── gnunet-config-diff.c ├── gnunet-config.c ├── gnunet-crypto-tvg.c ├── gnunet-ecc.c ├── gnunet-qr.c ├── gnunet-resolver.c ├── gnunet-scrypt.c ├── gnunet-service-resolver.c ├── gnunet-timeout.c ├── gnunet-uri.c ├── helper.c ├── load.c ├── mq.c ├── mst.c ├── nc.c ├── network.c ├── op.c ├── os_installation.c ├── os_network.c ├── os_priority.c ├── peer.c ├── perf_crypto_asymmetric.c ├── perf_crypto_ecc_dlog.c ├── perf_crypto_hash.c ├── perf_crypto_paillier.c ├── perf_crypto_rsa.c ├── perf_crypto_symmetric.c ├── perf_malloc.c ├── perf_mq.c ├── perf_scheduler.c ├── plugin.c ├── proc_compat.c ├── program.c ├── regex.c ├── resolver.conf.in ├── resolver.h ├── resolver_api.c ├── scheduler.c ├── service.c ├── signal.c ├── socks.c ├── speedup.c ├── speedup.h ├── strings.c ├── test_bio.c ├── test_client.c ├── test_client_data.conf ├── test_client_unix.conf ├── test_common_allocation.c ├── test_common_endian.c ├── test_common_logging.c ├── test_common_logging_dummy.c ├── test_common_logging_runtime_loglevels.c ├── test_configuration.c ├── test_configuration_data.conf ├── test_container_bloomfilter.c ├── test_container_dll.c ├── test_container_heap.c ├── test_container_meta_data.c ├── test_container_multihashmap.c ├── test_container_multihashmap32.c ├── test_container_multipeermap.c ├── test_crypto_crc.c ├── test_crypto_ecc_dlog.c ├── test_crypto_ecdh_ecdsa.c ├── test_crypto_ecdh_eddsa.c ├── test_crypto_ecdhe.c ├── test_crypto_ecdsa.c ├── test_crypto_eddsa.c ├── test_crypto_hash.c ├── test_crypto_hash_context.c ├── test_crypto_hkdf.c ├── test_crypto_kdf.c ├── test_crypto_paillier.c ├── test_crypto_random.c ├── test_crypto_rsa.c ├── test_crypto_symmetric.c ├── test_disk.c ├── test_getopt.c ├── test_hexcoder.c ├── test_mq.c ├── test_os_network.c ├── test_os_start_process.c ├── test_peer.c ├── test_plugin.c ├── test_plugin_plug.c ├── test_program.c ├── test_program_data.conf ├── test_regex.c ├── test_resolver_api.c ├── test_resolver_api_data.conf ├── test_scheduler.c ├── test_scheduler_delay.c ├── test_service.c ├── test_service_data.conf ├── test_socks.c ├── test_speedup.c ├── test_speedup_data.conf ├── test_strings.c ├── test_strings_to_data.c ├── test_time.c ├── test_tun.c ├── time.c ├── tun.c ├── util.conf └── util.supp ├── vpn ├── .gitignore ├── Makefile.am ├── gnunet-helper-vpn.c ├── gnunet-service-vpn.c ├── gnunet-vpn.c ├── tests │ ├── expected │ ├── ping │ ├── test-helper-icmp.sh │ └── test-helper-ifaddr.sh ├── vpn.conf.in ├── vpn.h └── vpn_api.c └── zonemaster ├── .gitignore ├── Makefile.am ├── gnunet-service-zonemaster-monitor.c ├── gnunet-service-zonemaster.c └── zonemaster.conf.in /.buildbot/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./bootstrap 4 | ./configure --prefix=/tmp/gnunet --enable-experimental 5 | make 6 | -------------------------------------------------------------------------------- /.buildbot/firefly-x86_64-amdepyc_deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Deploy docs from buildbot 4 | 5 | chmod -R ag+rX doc/ 6 | rsync -a --delete doc/ handbook@firefly.gnunet.org:~/doc_deployment/ 7 | -------------------------------------------------------------------------------- /.buildbot/firefly-x86_64-amdepyc_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "Skipped" 4 | -------------------------------------------------------------------------------- /.buildbot/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | make install 4 | -------------------------------------------------------------------------------- /.buildbot/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | make check 4 | -------------------------------------------------------------------------------- /.dir-locals.el: -------------------------------------------------------------------------------- 1 | ;; Per-directory local variables for GNU Emacs 23 and later. 2 | 3 | ((nil 4 | . ((fill-column . 78) 5 | (tab-width . 4) 6 | (indent-tabs-mode . nil) 7 | (show-trailing-whitespace . t) 8 | (c-basic-offset . 2) 9 | (ispell-check-comments . exclusive) 10 | (ispell-local-dictionary . "american") 11 | (safe-local-variable-values 12 | '((c-default-style . "gnu") 13 | (sentence-end-double-space . f) 14 | (eval add-hook 'prog-mode-hook #'flyspell-prog-mode) 15 | (flyspell-issue-message-flag . f) ; avoid messages for every word 16 | ))))) 17 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "contrib/build-common"] 2 | path = contrib/build-common 3 | url = https://git.taler.net/build-common.git 4 | -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- 1 | See ChangeLog. 2 | -------------------------------------------------------------------------------- /bin/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = \ 2 | dosubst.awk \ 3 | grephdr.sh \ 4 | grepsrc.sh \ 5 | pogen.sh \ 6 | rename.sh 7 | -------------------------------------------------------------------------------- /bin/grephdr.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This script is in the public domain. 3 | # grepsrc.sh string --- greps for string over all header files 4 | find . -name "*.h" -print | grep -v "#" | xargs grep "$@" 5 | -------------------------------------------------------------------------------- /bin/grepsrc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This script is in the public domain. 3 | # grepsrc.sh string --- greps for string over all C files 4 | find . -name "*.c" -print | grep -v "#" | xargs grep -n "$*" 5 | -------------------------------------------------------------------------------- /bin/pogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This script is in the public domain. 3 | 4 | # Set language domain to C for a more stable sort! 5 | export LANG=C 6 | 7 | find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in 8 | grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in 9 | 10 | -------------------------------------------------------------------------------- /bin/rename.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This script is in the public domain. 3 | for n in `find * -name "*.c"` `find * -name "*.h"` `find * -name "*.am"` `find * -name "*.conf"` `find * -name "*.conf.in"` 4 | do 5 | cat $n | sed -e "s/$1/$2/g" > $n.new 6 | mv $n.new $n || echo "Move failed: $n.new to $n" 7 | done 8 | -------------------------------------------------------------------------------- /contrib/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet_janitor.py 2 | gnunet_pyexpect.py 3 | pydiffer.py 4 | terminate.py 5 | gnunet_pyexpect.py 6 | gnunet_pyexpect.pyc 7 | pydiffer.pyc 8 | test_gnunet_prefix 9 | timeout_watchdog 10 | -------------------------------------------------------------------------------- /contrib/A-Z.ecc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/A-Z.ecc -------------------------------------------------------------------------------- /contrib/apparmor/abstractions/gnunet-common: -------------------------------------------------------------------------------- 1 | # This files contains common permissions for gnunet 2 | 3 | #GNUnet configuration file 4 | @{GNUNET_PREFIX}/share/gnunet/config.d/ r, 5 | @{GNUNET_PREFIX}/share/gnunet/config.d/*.conf r, 6 | 7 | /etc/gnunet.conf r, 8 | @{HOME}/.config/gnunet.conf r, 9 | owner @{GNUNET_USER}/.config/gnunet.conf r, 10 | 11 | #GNUnet librairies 12 | @{GNUNET_PREFIX}/lib/libgnunet*.so.* mr, 13 | -------------------------------------------------------------------------------- /contrib/apparmor/abstractions/gnunet-db: -------------------------------------------------------------------------------- 1 | # gnunet-db 2 | @{GNUNET_USER}/.local/share/gnunet/namestore/ ra, 3 | @{GNUNET_USER}/.local/share/gnunet/namestore/sqlite.db rwk, 4 | @{GNUNET_USER}/.local/share/gnunet/namestore/sqlite.db-journal rw, 5 | 6 | @{HOME}/.local/share/gnunet/namestore/ r, 7 | @{HOME}/.local/share/gnunet/namestore/sqlite.db rwk, 8 | @{HOME}/.local/share/gnunet/namestore/sqlite.db-journal rw, 9 | -------------------------------------------------------------------------------- /contrib/apparmor/abstractions/gnunet-gtk: -------------------------------------------------------------------------------- 1 | # gnunet-gtk 2 | 3 | #include 4 | 5 | @{PROC}/@{pid}/cmdline r, 6 | 7 | /usr/share/gtk-*/settings.ini r, 8 | 9 | @{GNUNET_PREFIX}/share/gnunet-gtk/config.d/ r, 10 | @{GNUNET_PREFIX}/share/gnunet-gtk/config.d/gnunet-*-gtk.conf r, 11 | -------------------------------------------------------------------------------- /contrib/apparmor/abstractions/gnunet-sgid: -------------------------------------------------------------------------------- 1 | # gnunet-sgid 2 | -------------------------------------------------------------------------------- /contrib/apparmor/abstractions/gnunet-test: -------------------------------------------------------------------------------- 1 | 2 | #testbed (if the /tmp directory is used) 3 | /tmp/testbed*/ rw, 4 | /tmp/testbed*/** rwk, 5 | 6 | #testbed helper 7 | /tmp/testbed-helper*/ rw, 8 | 9 | #gnunet-testing 10 | /tmp/gnunet-testing* rw, 11 | /tmp/gnunet_service_test*/ rw, 12 | /tmp/gnunet_service_test*/** rw, 13 | 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-arm: -------------------------------------------------------------------------------- 1 | #Last Modified: Fri Jul 3 14:48:33 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-arm { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-arm mr, 10 | 11 | @{GNUNET_PREFIX}/lib/libgnunetarm.so.* mr, 12 | 13 | #GNUnet service 14 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-arm Px , 15 | 16 | /tmp/gnunet-*-runtime/ rw, 17 | /tmp/gnunet-*-runtime/gnunet-service-arm.sock rw, 18 | 19 | # Site-specific additions and overrides. See local/README for details. 20 | #include 21 | } 22 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-ats: -------------------------------------------------------------------------------- 1 | # Last Modified: Wed Aug 5 15:08:43 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-ats { 6 | #include 7 | #include 8 | 9 | @{HOME}/.config/gnunet.conf r, 10 | 11 | @{GNUNET_PREFIX}/bin/gnunet-ats mr, 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-bcd: -------------------------------------------------------------------------------- 1 | # Last Modified: Thu Aug 6 11:50:51 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-bcd { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-bcd mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | 14 | } 15 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-cadet: -------------------------------------------------------------------------------- 1 | # Last Modified: Thu Aug 6 11:59:53 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-cadet { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-cadet mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-config: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 15:36:02 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-config { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-config mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-conversation: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 15:41:05 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-conversation { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-conversation mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-conversation-test: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 16:02:29 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-conversation-test { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-conversation-test mr, 10 | 11 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-playback Px, 12 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-record Px, 13 | 14 | # Site-specific additions and overrides. See local/README for details. 15 | #include 16 | } 17 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-core: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 16:12:14 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-core { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-core mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-exit: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 27 15:57:50 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-exit { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-exit mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-hostlist: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Jul 10 10:43:55 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-hostlist { 6 | #include 7 | #include 8 | 9 | /etc/gai.conf r, 10 | /etc/host.conf r, 11 | /etc/hosts r, 12 | /etc/nsswitch.conf r, 13 | /etc/resolv.conf r, 14 | 15 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-hostlist mr, 16 | 17 | # Site-specific additions and overrides. See local/README for details. 18 | #include 19 | } 20 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-latency-logger: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 27 16:25:08 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-latency-logger { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-latency-logger mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-pt: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 20 17:48:20 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-pt { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-pt mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-regexprofiler: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:42:58 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-regexprofiler { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-regexprofiler mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-testbed-blacklist: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:42:58 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-blacklist { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-blacklist mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-testbed-underlay: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 27 16:37:03 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-underlay { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-testbed-underlay mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-daemon-topology: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Jul 3 17:37:12 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-topology { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-daemon-topology mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-datastore: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 16:29:48 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-datastore { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-datastore mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-directory: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 16:34:37 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-directory { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-directory mr, 10 | 11 | # Access to directory ? 12 | 13 | 14 | # Site-specific additions and overrides. See local/README for details. 15 | #include 16 | } 17 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-dns2gns: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 21 16:45:05 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-dns2gns { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-dns2gns mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-download: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 16:42:43 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-download { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-download mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-ecc: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 16:54:41 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-ecc { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-ecc mr, 10 | 11 | #Access to filename? 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-fs: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 17:09:21 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-fs { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-fs mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-gns-proxy: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 21 16:35:07 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-gns-proxy { 6 | #include 7 | #include 8 | 9 | /etc/ssl/openssl.cnf r, 10 | 11 | @{HOME}/.local/share/gnunet/gns/gns_ca_cert.pem r, 12 | 13 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-gns-proxy mr, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | } 18 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-audio-playback: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:46:24 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-playback { 6 | #include 7 | #include 8 | #include 9 | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-playback mr, 11 | 12 | /etc/machine-id r, 13 | owner @{HOME}/.Xauthority r, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | } 18 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-audio-record: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:42:58 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-record { 6 | #include 7 | #include 8 | #include 9 | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-audio-record mr, 11 | 12 | /etc/machine-id r, 13 | owner @{HOME}/.Xauthority r, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | } 18 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-exit: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:44:00 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-exit { 6 | #include 7 | 8 | capability setuid, 9 | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-exit mr, 11 | 12 | # Site-specific additions and overrides. See local/README for details. 13 | #include 14 | } 15 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-fs-publish: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:42:58 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-fs-publish { 6 | #include 7 | #include 8 | #include 9 | 10 | /dev/shm/LE-* r, 11 | 12 | /usr/share/file/misc/magic.mgc r, 13 | 14 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-fs-publish mr, 15 | 16 | # Site-specific additions and overrides. See local/README for details. 17 | #include 18 | } 19 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-nat-client: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:44:00 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-client { 6 | #include 7 | 8 | capability setuid, 9 | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-client mr, 11 | 12 | # Site-specific additions and overrides. See local/README for details. 13 | #include 14 | } 15 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-nat-server: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:44:00 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-server { 6 | #include 7 | 8 | capability setuid, 9 | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-nat-server mr, 11 | 12 | # Site-specific additions and overrides. See local/README for details. 13 | #include 14 | 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-transport-bluetooth: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:44:00 2015 2 | #include 3 | #include 4 | 5 | # Add extra libs for this helper(libthread and libbluetooth) 6 | @{LIBS}+=libpthread libbluetooth 7 | 8 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-bluetooth { 9 | #include 10 | 11 | capability setuid, 12 | 13 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-bluetooth mr, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | 18 | } 19 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-transport-wlan: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:44:00 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan { 6 | #include 7 | 8 | capability setuid, 9 | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan mr, 11 | 12 | # Site-specific additions and overrides. See local/README for details. 13 | #include 14 | 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-transport-wlan-dummy: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 28 11:36:52 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan-dummy { 6 | #include 7 | 8 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-transport-wlan-dummy mr, 9 | 10 | # Site-specific additions and overrides. See local/README for details. 11 | #include 12 | 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-helper-vpn: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 27 11:06:22 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn { 6 | #include 7 | 8 | #Capability 9 | capability net_admin, 10 | capability setuid, 11 | 12 | /dev/net/tun rw, 13 | 14 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn mr, 15 | 16 | # Site-specific additions and overrides. See local/README for details. 17 | #include 18 | } 19 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-identity: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 17:48:29 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-identity { 6 | #include 7 | #include 8 | 9 | @{HOME}/.local/share/gnunet/identity/egos/* rw, 10 | 11 | @{GNUNET_PREFIX}/bin/gnunet-identity mr, 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-identity-gtk: -------------------------------------------------------------------------------- 1 | # Last Modified: Wed Aug 5 11:24:55 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-identity-gtk { 6 | #include 7 | #include 8 | #include 9 | 10 | @{GNUNET_PREFIX}/bin/gnunet-identity-gtk mr, 11 | 12 | @{GNUNET_PREFIX}/share/gnunet-gtk/gnunet_identity_gtk_main_window.glade r, 13 | 14 | # Site-specific additions and overrides. See local/README for details. 15 | #include 16 | } 17 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-namecache: -------------------------------------------------------------------------------- 1 | # Last Modified: Fri Aug 7 18:07:23 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-namecache { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-namecache mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-namestore-fcfsd: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 21 17:25:12 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-namestore-fcfsd { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-namestore-fcfsd mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-nat-server: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 11:34:29 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-nat-server { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-nat-server mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-nse: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 11:38:47 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-nse { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-nse mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-peerinfo-gtk: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Aug 11 16:20:57 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-peerinfo-gtk { 6 | #include 7 | #include 8 | #include 9 | 10 | @{GNUNET_PREFIX}/bin/gnunet-peerinfo-gtk mr, 11 | 12 | @{GNUNET_PREFIX}/share/gnunet-gtk/* r, 13 | @{GNUNET_PREFIX}/share/gnunet-gtk/flags/*.png r, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | } 18 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-peerstore: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 12:03:53 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-peerstore { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-peerstore mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-publish: -------------------------------------------------------------------------------- 1 | # Last Modified: Thu Aug 6 12:00:00 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-publish { 6 | #include 7 | #include 8 | #include 9 | 10 | @{GNUNET_PREFIX}/bin/gnunet-publish mr, 11 | 12 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-fs-publish Px, 13 | 14 | # Site-specific additions and overrides. See local/README for details. 15 | #include 16 | } 17 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-qr: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Aug 11 16:14:05 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-qr { 6 | #include 7 | #include 8 | #include 9 | 10 | /usr/bin/python3.4 ix, 11 | @{GNUNET_PREFIX}/bin/gnunet-qr r, 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-resolver: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 12:21:50 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-resolver { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-resolver mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-revocation: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 15:03:13 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-revocation { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-revocation mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-scalarproduct: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 15:13:42 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-scalarproduct { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-scalarproduct mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-scrypt: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 15:36:34 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-scrypt { 6 | #include 7 | #include 8 | 9 | @{HOME}/.local/share/gnunet/nse/proof.dat rw, 10 | @{HOME}/.local/share/gnunet/private_key.ecc rk, 11 | 12 | @{GNUNET_PREFIX}/bin/gnunet-scrypt mr, 13 | 14 | @{GNUNET_USER}/.local/share/gnunet/nse/proof.dat rw, 15 | @{GNUNET_USER}/.local/share/gnunet/private_key.ecc rk, 16 | 17 | # Site-specific additions and overrides. See local/README for details. 18 | #include 19 | } 20 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-search: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 15:59:45 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-search { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-search mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-ats: -------------------------------------------------------------------------------- 1 | # Last Modified: Wed Jul 8 10:49:34 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-ats { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-ats mr, 10 | 11 | #Gnunet plugin 12 | # @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_ats_proportional.la r, 13 | @{GNUNET_PREFIX}/lib/gnunet/libgnunet_plugin_ats_proportional.so mr, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | 18 | } 19 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-cadet: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 27 11:09:34 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-cadet { 6 | #include 7 | #include 8 | 9 | /tmp/gnunet-system-runtime/gnunet-service-cadet.sock rw, 10 | 11 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-cadet mr, 12 | 13 | @{GNUNET_USER}/.local/share/gnunet/private_key.ecc rk, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | } 18 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-core: -------------------------------------------------------------------------------- 1 | # Last Modified: Thu Jul 9 10:16:30 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-core { 6 | #include 7 | #include 8 | 9 | @{GNUNET_USER}/.local/share/gnunet/private_key.ecc rk, 10 | 11 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-core mr, 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-gns: -------------------------------------------------------------------------------- 1 | # Last Modified: Wed Jul 8 15:17:46 2015 2 | 3 | #include 4 | #include 5 | 6 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-gns { 7 | #include 8 | #include 9 | 10 | /tmp/gnunet-*-runtime/gnunet-service-gns.sock rw, 11 | 12 | @{HOME}/.config/gnunet.conf r, 13 | 14 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-gns mr, 15 | 16 | # Site-specific additions and overrides. See local/README for details. 17 | #include 18 | } 19 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-regex: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 21 16:59:39 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-regex { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-regex mr, 10 | 11 | @{GNUNET_USER}/.local/share/gnunet/private_key.ecc rk, 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-resolver: -------------------------------------------------------------------------------- 1 | # Last Modified: Thu Jul 9 10:01:36 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver mr, 10 | 11 | /etc/nsswitch.conf r, 12 | /etc/resolv.conf r, 13 | /etc/host.conf r, 14 | /etc/hosts r, 15 | 16 | /tmp/gnunet-system-runtime/gnunet-service-resolver.sock w, 17 | 18 | # Site-specific additions and overrides. See local/README for details. 19 | #include 20 | } 21 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-scalarproduct-alice: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 27 15:48:05 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-alice { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-alice mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-scalarproduct-bob: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 27 15:48:05 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-bob { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-scalarproduct-bob mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-set: -------------------------------------------------------------------------------- 1 | # Last Modified: Wed Jul 8 10:52:48 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-set { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-set mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-statistics: -------------------------------------------------------------------------------- 1 | # Last Modified: Thu Jul 9 10:16:30 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-statistics { 6 | #include 7 | #include 8 | 9 | @{GNUNET_USER}/.local/share/gnunet/statistics.dat rw, 10 | 11 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-statistics mr, 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-template: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 21 16:06:04 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-template { 6 | #include 7 | #include 8 | 9 | /tmp/gnunet-system-runtime/ w, 10 | /tmp/gnunet-system-runtime/gnunet-service-template.sock w, 11 | 12 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-template mr, 13 | 14 | # Site-specific additions and overrides. See local/README for details. 15 | #include 16 | } 17 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-testbed-logger: -------------------------------------------------------------------------------- 1 | # Last Modified: Tue Jul 21 17:19:18 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed-logger { 6 | #include 7 | #include 8 | 9 | #??? 10 | /tmp/archlinux_*.dat w, 11 | 12 | /tmp/gnunet-system-runtime/ w, 13 | /tmp/gnunet-system-runtime/gnunet-gnunet-testbed-logger.sock w, 14 | 15 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-testbed-logger mr, 16 | 17 | # Site-specific additions and overrides. See local/README for details. 18 | #include 19 | } 20 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-service-vpn: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Jul 20 11:20:57 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-vpn { 6 | #include 7 | #include 8 | 9 | 10 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-vpn mr, 11 | 12 | #Gnunet helper 13 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-vpn Px, 14 | 15 | # Site-specific additions and overrides. See local/README for details. 16 | #include 17 | } 18 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-set-ibf-profiler: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 18:15:38 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-set-ibf-profiler { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-set-ibf-profiler mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-set-profiler: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 18:17:19 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-set-profiler { 6 | #include 7 | #include 8 | 9 | @{HOME}/.local/share/gnunet/private_key.ecc rk, 10 | @{GNUNET_PREFIX}/bin/gnunet-set-profiler mr, 11 | 12 | # Site-specific additions and overrides. See local/README for details. 13 | #include 14 | } 15 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-statistics: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 16:15:07 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-statistics { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-statistics mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-statistics-gtk: -------------------------------------------------------------------------------- 1 | # Last Modified: Wed Aug 5 11:25:27 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-statistics-gtk { 6 | #include 7 | #include 8 | #include 9 | 10 | @{GNUNET_PREFIX}/bin/gnunet-statistics-gtk mr, 11 | 12 | @{GNUNET_PREFIX}/share/gnunet-gtk/gnunet_statistics_gtk_main_window.glade r, 13 | 14 | # Site-specific additions and overrides. See local/README for details. 15 | #include 16 | } 17 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-template: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 16:22:33 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-template { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-template mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-testbed-profiler: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 16:38:17 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-testbed-profiler { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-testbed-profiler mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-testing: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 16:54:53 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-testing { 6 | #include 7 | #include 8 | #include 9 | 10 | /etc/gai.conf r, 11 | 12 | @{GNUNET_PREFIX}/bin/gnunet-testing mr, 13 | 14 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-* Px, 15 | 16 | @{GNUNET_PREFIX}/share/gnunet/testing_hostkeys.ecc r, 17 | 18 | # Site-specific additions and overrides. See local/README for details. 19 | #include 20 | } 21 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-transport: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 17:17:40 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-transport { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-transport mr, 10 | 11 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-service-resolver Px, 12 | 13 | # Site-specific additions and overrides. See local/README for details. 14 | #include 15 | } 16 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-unindex: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 17:40:53 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-unindex { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-unindex mr, 10 | 11 | @{GNUNET_PREFIX}/lib/gnunet/libexec/gnunet-helper-fs-publish Px, 12 | 13 | #Path to files to unindex ? 14 | @{HOME}/ rw, 15 | @{HOME}/** rw, 16 | deny @{HOME}/.*/ rw, 17 | deny @{HOME}/.*/** rw, 18 | 19 | # Site-specific additions and overrides. See local/README for details. 20 | #include 21 | } 22 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-uri: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 18:04:08 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-uri { 6 | #include 7 | #include 8 | 9 | #More needed 10 | @{GNUNET_PREFIX}/bin/gnunet-fs-gtk Px, 11 | 12 | @{GNUNET_PREFIX}/bin/gnunet-uri mr, 13 | 14 | # Site-specific additions and overrides. See local/README for details. 15 | #include 16 | } 17 | -------------------------------------------------------------------------------- /contrib/apparmor/gnunet-vpn: -------------------------------------------------------------------------------- 1 | # Last Modified: Mon Aug 10 18:11:26 2015 2 | #include 3 | #include 4 | 5 | profile @{GNUNET_PREFIX}/bin/gnunet-vpn { 6 | #include 7 | #include 8 | 9 | @{GNUNET_PREFIX}/bin/gnunet-vpn mr, 10 | 11 | # Site-specific additions and overrides. See local/README for details. 12 | #include 13 | } 14 | -------------------------------------------------------------------------------- /contrib/apparmor/tunables/gnunet: -------------------------------------------------------------------------------- 1 | @{GNUNET_PREFIX}=/usr/local 2 | @{GNUNET_USER}=/var/lib/gnunet 3 | @{LIBPRE}=/ /usr/ 4 | @{LIBDIRS}=lib{,32,64} lib/@{multiarch} 5 | @{LIBS}=libc libm linux-vso 6 | 7 | -------------------------------------------------------------------------------- /contrib/branding/logo/gnunet-logo-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/branding/logo/gnunet-logo-big.png -------------------------------------------------------------------------------- /contrib/branding/logo/gnunet-logo-color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/branding/logo/gnunet-logo-color.png -------------------------------------------------------------------------------- /contrib/branding/logo/gnunet-logo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/branding/logo/gnunet-logo.pdf -------------------------------------------------------------------------------- /contrib/branding/logo/gnunet-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/branding/logo/gnunet-logo.png -------------------------------------------------------------------------------- /contrib/branding/logo/lynXified-amirouche-anonymous-v3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/branding/logo/lynXified-amirouche-anonymous-v3.png -------------------------------------------------------------------------------- /contrib/ci/docker/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | gnunet-arm -s > $HOME/gnunet.log 2>&1 3 | exec bash 4 | -------------------------------------------------------------------------------- /contrib/conf/.style.yapf: -------------------------------------------------------------------------------- 1 | [style] 2 | based_on_style = pep8 3 | coalesce_brackets=True 4 | column_limit=80 5 | dedent_closing_brackets=True 6 | -------------------------------------------------------------------------------- /contrib/conf/gnunet/gnunet-system.conf: -------------------------------------------------------------------------------- 1 | # Sample configuration file to be installed in /etc/gnunet.conf 2 | # for a multi-user GNUnet setup. This is then the configuration 3 | # for the system-wide "gnunet" user. 4 | [arm] 5 | SYSTEM_ONLY = YES 6 | USER_ONLY = NO 7 | 8 | -------------------------------------------------------------------------------- /contrib/conf/gnunet/gnunet-user.conf: -------------------------------------------------------------------------------- 1 | # Sample configuration for $HOME/.config/gnunet.conf in 2 | # a multi-user setup. This configuration should be installed 3 | # in the $HOME directory of each normal user (and in 4 | # /etc/skel/). 5 | [arm] 6 | SYSTEM_ONLY = NO 7 | USER_ONLY = YES 8 | 9 | -------------------------------------------------------------------------------- /contrib/conf/nss/nssswitch.conf: -------------------------------------------------------------------------------- 1 | # /etc/nsswitch.conf 2 | # Modified to support GNUnet's GNS (.gnu, .zkey etc) 3 | # Compare with your distributions' "nsswitch.conf" file. 4 | 5 | passwd: compat 6 | shadow: compat 7 | group: compat 8 | 9 | # passwd: db files nis 10 | # shadow: db files nis 11 | # group: db files nis 12 | 13 | hosts: files gns [NOTFOUND=return] dns 14 | networks: files dns 15 | 16 | services: db files 17 | protocols: db files 18 | rpc: db files 19 | ethers: db files 20 | netmasks: files 21 | netgroup: files 22 | bootparams: files 23 | 24 | automount: files 25 | aliases: files -------------------------------------------------------------------------------- /contrib/conf/tox.ini: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 160 3 | exclude = .git *.bak 4 | filename = *.py* -------------------------------------------------------------------------------- /contrib/docker/docker-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | echo "${LOCAL_PORT_RANGE:-49152 65535}" > /proc/sys/net/ipv4/ip_local_port_range 4 | sed -i 's/$GNUNET_PORT/'${GNUNET_PORT:-2086}'/g' /etc/gnunet.conf 5 | 6 | if [[ $# -eq 0 ]]; then 7 | exec gnunet-arm \ 8 | --config=/etc/gnunet.conf \ 9 | --start \ 10 | --monitor 11 | elif [[ -z $1 ]] || [[ ${1:0:1} == '-' ]]; then 12 | exec gnunet-arm "$@" 13 | else 14 | exec "$@" 15 | fi 16 | -------------------------------------------------------------------------------- /contrib/docker/gnunet.conf: -------------------------------------------------------------------------------- 1 | [arm] 2 | SYSTEM_ONLY = NO 3 | USER_ONLY = NO 4 | 5 | [fs] 6 | FORCESTART = NO 7 | 8 | [nat] 9 | ENABLE_UPNP = NO 10 | BEHIND_NAT = YES 11 | 12 | [transport-tcp] 13 | PORT = $GNUNET_PORT 14 | ADVERTISED_PORT = $GNUNET_PORT 15 | 16 | [transport-udp] 17 | PORT = $GNUNET_PORT 18 | BROADCAST = YES 19 | 20 | [cadet] 21 | TESTING_IGNORE_KEYS = ACCEPT_FROM; 22 | -------------------------------------------------------------------------------- /contrib/hellos/Makefile.am: -------------------------------------------------------------------------------- 1 | pkghellodir= $(pkgdatadir)/hellos 2 | 3 | pkghello_DATA = \ 4 | Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 5 | 6 | EXTRA_DIST = $(pkghello_DATA) 7 | -------------------------------------------------------------------------------- /contrib/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/hellos/Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 -------------------------------------------------------------------------------- /contrib/packages/alpine/gnunet/gnunet-system-services.initd: -------------------------------------------------------------------------------- 1 | #!/sbin/openrc-run 2 | # Contributor: xrs 3 | # Maintainer: xrs 4 | 5 | name="gnunet-system-service" 6 | description="A secure and privacy enhancing peer-to-peer overlay network" 7 | command="/usr/lib/gnunet/libexec/gnunet-service-arm" 8 | command_args="-c /etc/gnunet.conf" 9 | command_user="gnunet:gnunet" 10 | command_background="yes" 11 | pidfile="/run/${SVCNAME}.pid" 12 | 13 | depend() { 14 | need net 15 | before gnunet-user-services 16 | } 17 | -------------------------------------------------------------------------------- /contrib/packages/alpine/gnunet/gnunet-system.conf: -------------------------------------------------------------------------------- 1 | [arm] 2 | START_SYSTEM_SERVICES = YES 3 | START_USER_SERVICES = NO 4 | -------------------------------------------------------------------------------- /contrib/packages/alpine/gnunet/gnunet-user.conf: -------------------------------------------------------------------------------- 1 | [arm] 2 | START_SYSTEM_SERVICES = NO 3 | START_USER_SERVICES = YES 4 | -------------------------------------------------------------------------------- /contrib/packages/alpine/gnunet/gnunet.post-install: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Enumerate users. 4 | users=`awk -F ':' '$3>=1000 && $3<2000 {print $1}' /etc/passwd` 5 | 6 | # Install gnunet.conf for existing users. 7 | for user in $users; do 8 | install -m644 -o $user -g $user -D /etc/skel/.config/gnunet.conf \ 9 | /home/$user/.config/gnunet.conf 10 | done 11 | 12 | exit 0 13 | -------------------------------------------------------------------------------- /contrib/packages/alpine/gnunet/gnunet.pre-install: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Add special group gnunetdns for controlling access to "gnunet-helper-dns". 4 | addgroup -S gnunetdns 2>/dev/null 5 | addgroup -S gnunet 2>/dev/null 6 | 7 | # Add system user/group gnunet for system services 8 | adduser -S -h "/var/lib/gnunet" -s /bin/sh \ 9 | -G gnunet -g gnunet gnunet 2>/dev/null 10 | 11 | # add users on host system to group "gnunet" 12 | users=`awk -F ':' '$3>=1000 && $3<2000 {print $1}' /etc/passwd` 13 | for user in $users; do 14 | adduser $user gnunet 2>/dev/null 15 | done 16 | 17 | exit 0 18 | -------------------------------------------------------------------------------- /contrib/scripts/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-chk.py 2 | removetrailingwhitespace.py 3 | check-texinfo.awk 4 | -------------------------------------------------------------------------------- /contrib/scripts/build_cscope.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | find . -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" -o -name "*.py" -o -name "*.sh" > cscope.files 4 | cscope -q -R -b -i cscope.files 5 | -------------------------------------------------------------------------------- /contrib/scripts/changelog_delta.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | LASTHASH=$(head -n1 ChangeLog | cut -d " " -f 7 | tr -d \( | tr -d \)) 3 | git log --invert-grep --grep="^- " --no-merges --no-color --format="%aD (%h)%n%s - %cN%n" $LASTHASH..HEAD 4 | -------------------------------------------------------------------------------- /contrib/scripts/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # make sure configure was run with coverage enabled... 3 | lcov --directory . --zerocounters 4 | make check 5 | rm `find * -name "test_*.gc??"` `find * -name "perf_*.gc??"` 6 | for n in `find * -name "*.gc??" | grep libs` 7 | do 8 | cd `dirname $n` 9 | mv `basename $n` .. 10 | cd - 11 | done 12 | lcov --directory . --capture --output-file app.info 13 | lcov --remove app.info /usr/include/* -o app.clean.info 14 | mkdir -p doc/coverage 15 | genhtml -o doc/coverage app.clean.info 16 | -------------------------------------------------------------------------------- /contrib/scripts/generate-monkey-db.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BASEPATH="$(dirname $0)" 4 | OLDDIR="${pwd}" 5 | GN_HOME="/usr/local/bin" 6 | 7 | export CC="cparser" 8 | export CFLAGS="-m32 --seaspider" 9 | 10 | cd $BASEPATH/.. && ./configure --prefix=$GN_HOME --with-extractor=$GN_HOME --with-microhttpd=$GN_HOME --with-libgcrypt=$GN_HOME && make && seaspider 11 | if test "$?" -ne 0 12 | then 13 | echo "FAIL: building GNUnet" 14 | exit 1 15 | fi 16 | 17 | cd $OLDDIR 18 | -------------------------------------------------------------------------------- /contrib/scripts/gnunet-logread/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-logread 2 | gnunet-logread-ipc-sdedit 3 | -------------------------------------------------------------------------------- /contrib/scripts/gnunet-logread/gnunet-logread-ipc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Usage: gnunet-logread-ipc | gnunet-logread 4 | # 5 | # ... obsoleted by gnunet-logread's new -f option that does the same thing 6 | 7 | # FIXME: Replace /tmp with our use of $TMPDIR and similar. 8 | ipc=${1:-/tmp/gnunet-logread-ipc.sock} 9 | test -e "$ipc" || mkfifo "$ipc" 10 | cat "$ipc" 11 | -------------------------------------------------------------------------------- /contrib/scripts/removetrailingwhitespace.py.in: -------------------------------------------------------------------------------- 1 | #!@PYTHONEXE@ 2 | 3 | import sys 4 | import re 5 | 6 | for fileName in sys.argv[1:]: 7 | f = open(fileName, 'r+') 8 | fileString = f.read() 9 | 10 | fileString = re.sub(r'[ ]+\n', r'\n', fileString) 11 | fileString = re.sub(r'\r', r'', fileString) 12 | f.seek(0) 13 | f.write(fileString) 14 | f.truncate(len(fileString)) 15 | -------------------------------------------------------------------------------- /contrib/scripts/testbed_cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ################################################################################### 4 | # Script to clean a previous run of testbed which has crashed. This scripts kills # 5 | # the peers and cleans the temporary files created for those peers # 6 | # # 7 | # Author: Sree Harsha Totakura # 8 | ################################################################################### 9 | 10 | for host in `cut -d : -f 1 < infiniband_cluster.hosts | cut -d @ -f 2` 11 | do 12 | echo "ssh --> $host" 13 | ssh $host 'pkill -SIGKILL gnunet; rm -rf /tmp/gnunet-pipe*; rm -rf /tmp/testbed*' 14 | done 15 | -------------------------------------------------------------------------------- /contrib/services/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = openrc systemd 2 | -------------------------------------------------------------------------------- /contrib/services/openrc/Makefile.am: -------------------------------------------------------------------------------- 1 | pkginitdir= $(pkgdatadir)/services/openrc 2 | 3 | pkginit_DATA = \ 4 | gnunet.initd 5 | 6 | EXTRA_DIST = \ 7 | $(pkginit_DATA) 8 | -------------------------------------------------------------------------------- /contrib/services/systemd/Makefile.am: -------------------------------------------------------------------------------- 1 | pkginitdir= $(pkgdatadir)/services/systemd 2 | 3 | pkginit_DATA = \ 4 | gnunet.service 5 | 6 | EXTRA_DIST = \ 7 | $(pkginit_DATA) 8 | -------------------------------------------------------------------------------- /contrib/services/systemd/gnunet.service: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 GNUnet e.V. 2 | # 3 | # Copying and distribution of this file, with or without modification, 4 | # are permitted in any medium without royalty provided the copyright 5 | # notice and this notice are preserved. This file is offered as-is, 6 | # without any warranty. 7 | 8 | [Unit] 9 | Description=Service that runs a GNUnet for the user gnunet 10 | After=network.target 11 | 12 | [Service] 13 | User=gnunet 14 | Type=simple 15 | ExecStart=/usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet.conf 16 | -------------------------------------------------------------------------------- /contrib/sounds/vonlynX-bdbAm-lo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/sounds/vonlynX-bdbAm-lo.wav -------------------------------------------------------------------------------- /contrib/sounds/vonlynX-bdbG9-lo.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/sounds/vonlynX-bdbG9-lo.wav -------------------------------------------------------------------------------- /contrib/sounds/vonlynX-ringtones.txt: -------------------------------------------------------------------------------- 1 | vonlynX-bdbAm-lo.wav, vonlynX-bdbG9-lo.wav: CC-BY-SA // carlo von lynX 2 | -------------------------------------------------------------------------------- /contrib/testing_hostkeys.ecc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/contrib/testing_hostkeys.ecc -------------------------------------------------------------------------------- /doc/.gitignore: -------------------------------------------------------------------------------- 1 | *.aux 2 | *.out 3 | *.log 4 | *.pdf 5 | *.toc 6 | *.cp 7 | *.cps 8 | *~ 9 | *.info 10 | *.info-1 11 | *.info-2 12 | *.info-3 13 | \#*\# 14 | version.texi 15 | mdate-sh 16 | stamp-vti 17 | texinfo.tex 18 | gnunet.t2p/ 19 | gnunet-c-tutorial.t2p/ 20 | *.t2p/ 21 | documentation/manuals 22 | .\#*doxygen/gnunet.tag 23 | -------------------------------------------------------------------------------- /doc/Makefile.am: -------------------------------------------------------------------------------- 1 | # This Makefile.am is in the public domain 2 | if DOCUMENTATION 3 | SUBDIRS = doxygen handbook tutorial 4 | endif 5 | 6 | if !DOCUMENTATION 7 | SUBDIRS = doxygen 8 | endif 9 | 10 | if INCLUDE_MANPAGES 11 | SUBDIRS += man 12 | endif 13 | 14 | EXTRA_DIST = \ 15 | system_specific/outdated-and-old-installation-instructions.txt \ 16 | system_specific/FROM_SOURCE 17 | -------------------------------------------------------------------------------- /doc/doc.h: -------------------------------------------------------------------------------- 1 | /** 2 | * @mainpage GNUnet documentation 3 | * 4 | * @section Introduction 5 | * 6 | * See the [Modules](modules.html) section for documentation of the various services, APIs and libraries of GNUnet. 7 | * 8 | * Some additional documentation can be found under [Files](files.html), in the src/include/ directory. 9 | * 10 | * See also the [handbooks](https://docs.gnunet.org/) on installation, and for user and developer documentation. 11 | */ 12 | -------------------------------------------------------------------------------- /doc/doxygen/Makefile.am: -------------------------------------------------------------------------------- 1 | # This Makefile.am is in the public domain 2 | all: 3 | @echo -e \ 4 | "Generate documentation:\n" \ 5 | "\tmake full - full documentation with dependency graphs (slow)\n" \ 6 | "\tmake fast - fast mode without dependency graphs" 7 | 8 | full: gnunet.doxy 9 | doxygen $< 10 | 11 | fast: gnunet.doxy 12 | sed 's/\(HAVE_DOT.*=\).*/\1 NO/' $< | doxygen - 13 | 14 | clean: 15 | rm -rf html 16 | 17 | EXTRA_DIST = \ 18 | gnunet.doxy 19 | -------------------------------------------------------------------------------- /doc/doxygen/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/doxygen/logo.png -------------------------------------------------------------------------------- /doc/handbook/.gitignore: -------------------------------------------------------------------------------- 1 | stamp-1 2 | version2.texi 3 | manual 4 | *.fn 5 | *.fns 6 | *.ky 7 | *.pg 8 | *.tp 9 | *.vr 10 | gnunet 11 | gnunet.html 12 | -------------------------------------------------------------------------------- /doc/handbook/chapters/configuration.texi: -------------------------------------------------------------------------------- 1 | @node Configuration Handbook 2 | @chapter Configuration Handbook 3 | 4 | This chapter has yet to be written. It is intended to be about in-depth 5 | configuration of GNUnet. 6 | -------------------------------------------------------------------------------- /doc/handbook/images/ascension_interaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/ascension_interaction.png -------------------------------------------------------------------------------- /doc/handbook/images/ascension_ssd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/ascension_ssd.png -------------------------------------------------------------------------------- /doc/handbook/images/daemon_lego_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/daemon_lego_block.png -------------------------------------------------------------------------------- /doc/handbook/images/gns.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gns.jpg -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-0-10-peerinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-0-10-peerinfo.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-fs-gtk-0-10-star-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-fs-gtk-0-10-star-tab.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-download-area.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-download-area.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-menu.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-publish-editing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-publish-editing.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-publish-select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-publish-select.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-publish-with-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-publish-with-file.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-publish-with-file_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-publish-with-file_0.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-publish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-publish.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-published.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-published.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs-search.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-fs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-fs.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-gns-a-done.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-gns-a-done.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-gns-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-gns-a.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-gns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-gns.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-identity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-identity.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-search-selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-search-selected.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-gtk-0-10-traffic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-gtk-0-10-traffic.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-namestore-gtk-phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-namestore-gtk-phone.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-namestore-gtk-vpn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-namestore-gtk-vpn.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-setup-exit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-setup-exit.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-tutorial-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-tutorial-service.png -------------------------------------------------------------------------------- /doc/handbook/images/gnunet-tutorial-system.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/gnunet-tutorial-system.png -------------------------------------------------------------------------------- /doc/handbook/images/iceweasel-preferences.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/iceweasel-preferences.png -------------------------------------------------------------------------------- /doc/handbook/images/iceweasel-proxy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/iceweasel-proxy.png -------------------------------------------------------------------------------- /doc/handbook/images/service_lego_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/service_lego_block.png -------------------------------------------------------------------------------- /doc/handbook/images/service_stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/doc/handbook/images/service_stack.png -------------------------------------------------------------------------------- /doc/handbook/run-gendocs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | make version.texi/replacement 4 | 5 | #./gendocs.sh --email gnunet-developers@gnu.org gnunet-c-tutorial "GNUnet C Tutorial" -o "manual/gnunet-c-tutorial" 6 | #cd manual 7 | #mkdir gnunet-c-tutorial 8 | #mv * gnunet-c-tutorial/ 9 | #cd .. 10 | ./gendocs.sh --email gnunet-developers@gnu.org gnunet "GNUnet Reference Manual" -o "manual/gnunet" 11 | #cd manual 12 | #mkdir handbook 13 | #mkdir ../tmp-gnunet 14 | #mv gnunet ../tmp-gnunet 15 | #mv * handbook/ 16 | #mv ../tmp-gnunet gnunet 17 | cp "index.html" manual/ 18 | printf "Success" 19 | -------------------------------------------------------------------------------- /doc/man/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet.conf.5 2 | groff_lint.log 3 | *.html 4 | gnunet-c-tutorial.7 5 | gnunet-documentation.7 6 | -------------------------------------------------------------------------------- /doc/man/README: -------------------------------------------------------------------------------- 1 | Please note that new edits in files which already are in mdoc format 2 | should only be done in mdoc format. 3 | 4 | TODO: 5 | 6 | * incomplete pages: 7 | - gnunet-timeout 8 | - gnunet-gns: Make use of .Ex macro for DIAGNOSTICS section 9 | 10 | * (maybe) add subsections in DESCRIPTION for 11 | standard options and tool-specific options? 12 | 13 | * missing pages: 14 | - gnunet-social 15 | 16 | * looks wrong in some (sub)sections: 17 | - gnunet-nat -------------------------------------------------------------------------------- /doc/man/TODO: -------------------------------------------------------------------------------- 1 | document return types 2 | 3 | Os macro: do we want to display "GNUnet eV" or use the vendor default (the OS)? 4 | -------------------------------------------------------------------------------- /doc/man/produce_html.sh.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if test -e @PKGDATADIRECTORY@/existence.sh 4 | then 5 | . @PKGDATADIRECTORY@/existence.sh 6 | else 7 | . $dir/../../contrib/build-common/sh/lib.sh/existence.sh 8 | fi 9 | 10 | if existence mandoc; 11 | then 12 | for f in `find . -name \*\.[1-9]`; 13 | do 14 | mandoc -T html $f > $f.html; 15 | done 16 | fi 17 | -------------------------------------------------------------------------------- /doc/tutorial/.gitignore: -------------------------------------------------------------------------------- 1 | stamp-1 2 | version2.texi 3 | tutorial 4 | *.fn 5 | *.fns 6 | *.ky 7 | *.pg 8 | *.tp 9 | *.vr 10 | tutorial 11 | tutorial.html 12 | -------------------------------------------------------------------------------- /doc/tutorial/examples/002.c: -------------------------------------------------------------------------------- 1 | static char *string_option; 2 | static int a_flag; 3 | 4 | // ... 5 | struct GNUNET_GETOPT_CommandLineOption options[] = { 6 | GNUNET_GETOPT_option_string ('s', "name", "SOMESTRING", 7 | gettext_noop ("text describing the string_option NAME"), 8 | &string_option}, 9 | GNUNET_GETOPT_option_flag ('f', "flag", 10 | gettext_noop ("text describing the flag option"), 11 | &a_flag), 12 | GNUNET_GETOPT_OPTION_END 13 | }; 14 | string_option = NULL; 15 | a_flag = GNUNET_SYSERR; 16 | // ... 17 | 18 | -------------------------------------------------------------------------------- /doc/tutorial/examples/003.c: -------------------------------------------------------------------------------- 1 | struct GNUNET_MQ_MessageHandlers handlers[] = { 2 | // ... 3 | GNUNET_MQ_handler_end () 4 | }; 5 | struct GNUNET_MQ_Handle *mq; 6 | 7 | mq = GNUNET_CLIENT_connect (cfg, 8 | "service-name", 9 | handlers, 10 | &error_cb, 11 | NULL); 12 | -------------------------------------------------------------------------------- /doc/tutorial/examples/004.c: -------------------------------------------------------------------------------- 1 | struct GNUNET_MessageHeader 2 | { 3 | uint16_t size GNUNET_PACKED; 4 | uint16_t type GNUNET_PACKED; 5 | }; 6 | -------------------------------------------------------------------------------- /doc/tutorial/examples/005.c: -------------------------------------------------------------------------------- 1 | struct GNUNET_MQ_Envelope *env; 2 | struct GNUNET_MessageHeader *msg; 3 | 4 | env = GNUNET_MQ_msg_extra (msg, payload_size, GNUNET_MY_MESSAGE_TYPE); 5 | GNUNET_memcpy (&msg[1], 6 | &payload, 7 | payload_size); 8 | // Send message via message queue 'mq' 9 | GNUNET_mq_send (mq, env); 10 | -------------------------------------------------------------------------------- /doc/tutorial/examples/007.c: -------------------------------------------------------------------------------- 1 | GNUNET_SERVICE_MAIN 2 | ("service-name", 3 | GNUNET_SERVICE_OPTION_NONE, 4 | &run, 5 | &client_connect_cb, 6 | &client_disconnect_cb, 7 | NULL, 8 | GNUNET_MQ_hd_fixed_size (...), 9 | GNUNET_MQ_hd_var_size (...), 10 | GNUNET_MQ_handler_end ()); 11 | -------------------------------------------------------------------------------- /doc/tutorial/examples/008.c: -------------------------------------------------------------------------------- 1 | static void 2 | run (void *cls, 3 | const struct GNUNET_CONFIGURATION_Handle *c, 4 | struct GNUNET_SERVICE_Handle *service) 5 | { 6 | } 7 | 8 | static void * 9 | client_connect_cb (void *cls, 10 | struct GNUNET_SERVICE_Client *c, 11 | struct GNUNET_MQ_Handle *mq) 12 | { 13 | return c; 14 | } 15 | 16 | static void 17 | client_disconnect_cb (void *cls, 18 | struct GNUNET_SERVICE_Client *c, 19 | void *internal_cls) 20 | { 21 | GNUNET_assert (c == internal_cls); 22 | } 23 | -------------------------------------------------------------------------------- /doc/tutorial/examples/009.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | struct GNUNET_CORE_Handle * 4 | GNUNET_CORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, 5 | void *cls, 6 | GNUNET_CORE_StartupCallback init, 7 | GNUNET_CORE_ConnectEventHandler connects, 8 | GNUNET_CORE_DisconnectEventHandler disconnects, 9 | const struct GNUNET_MQ_MessageHandler *handlers); 10 | -------------------------------------------------------------------------------- /doc/tutorial/examples/010.c: -------------------------------------------------------------------------------- 1 | void * 2 | connects (void *cls, 3 | const struct GNUNET_PeerIdentity *peer, 4 | struct GNUNET_MQ_Handle *mq) 5 | { 6 | return mq; 7 | } 8 | 9 | -------------------------------------------------------------------------------- /doc/tutorial/examples/011.c: -------------------------------------------------------------------------------- 1 | void 2 | disconnects (void *cls, 3 | const struct GNUNET_PeerIdentity * peer) 4 | { 5 | /* Remove peer's identity from known peers */ 6 | /* Make sure no messages are sent to peer from now on */ 7 | } 8 | 9 | -------------------------------------------------------------------------------- /doc/tutorial/examples/012.c: -------------------------------------------------------------------------------- 1 | #include "gnunet_peerstore_service.h" 2 | 3 | peerstore_handle = GNUNET_PEERSTORE_connect (cfg); 4 | 5 | -------------------------------------------------------------------------------- /doc/tutorial/examples/013.1.c: -------------------------------------------------------------------------------- 1 | void 2 | GNUNET_PEERSTORE_store_cancel (struct GNUNET_PEERSTORE_StoreContext 3 | *sc); 4 | -------------------------------------------------------------------------------- /doc/tutorial/examples/013.c: -------------------------------------------------------------------------------- 1 | struct GNUNET_PEERSTORE_StoreContext * 2 | GNUNET_PEERSTORE_store (struct GNUNET_PEERSTORE_Handle *h, 3 | const char *sub_system, 4 | const struct GNUNET_PeerIdentity *peer, 5 | const char *key, 6 | const void *value, 7 | size_t size, 8 | struct GNUNET_TIME_Absolute expiry, 9 | enum GNUNET_PEERSTORE_StoreOption options, 10 | GNUNET_PEERSTORE_Continuation cont, 11 | void *cont_cls); 12 | 13 | -------------------------------------------------------------------------------- /doc/tutorial/examples/014.c: -------------------------------------------------------------------------------- 1 | struct GNUNET_PEERSTORE_IterateContext * 2 | GNUNET_PEERSTORE_iterate (struct GNUNET_PEERSTORE_Handle *h, 3 | const char *sub_system, 4 | const struct GNUNET_PeerIdentity *peer, 5 | const char *key, 6 | GNUNET_PEERSTORE_Processor callback, 7 | void *callback_cls); 8 | 9 | -------------------------------------------------------------------------------- /doc/tutorial/examples/015.c: -------------------------------------------------------------------------------- 1 | struct GNUNET_PEERSTORE_WatchContext * 2 | GNUNET_PEERSTORE_watch (struct GNUNET_PEERSTORE_Handle *h, 3 | const char *sub_system, 4 | const struct GNUNET_PeerIdentity *peer, 5 | const char *key, 6 | GNUNET_PEERSTORE_Processor callback, 7 | void *callback_cls); 8 | 9 | -------------------------------------------------------------------------------- /doc/tutorial/examples/016.c: -------------------------------------------------------------------------------- 1 | void 2 | GNUNET_PEERSTORE_watch_cancel (struct GNUNET_PEERSTORE_WatchContext 3 | *wc); 4 | 5 | -------------------------------------------------------------------------------- /doc/tutorial/examples/017.c: -------------------------------------------------------------------------------- 1 | void 2 | GNUNET_PEERSTORE_disconnect (struct GNUNET_PEERSTORE_Handle *h, 3 | int sync_first); 4 | 5 | -------------------------------------------------------------------------------- /doc/tutorial/examples/018.c: -------------------------------------------------------------------------------- 1 | dht_handle = GNUNET_DHT_connect (cfg, parallel_requests); 2 | 3 | -------------------------------------------------------------------------------- /doc/tutorial/examples/021.c: -------------------------------------------------------------------------------- 1 | static enum GNUNET_BLOCK_EvaluationResult 2 | block_plugin_SERVICE_evaluate (void *cls, 3 | enum GNUNET_BLOCK_Type type, 4 | struct GNUNET_BlockGroup *bg, 5 | const GNUNET_HashCode *query, 6 | const void *xquery, 7 | size_t xquery_size, 8 | const void *reply_block, 9 | size_t reply_block_size) 10 | { 11 | // Verify type, block and bg 12 | } 13 | 14 | -------------------------------------------------------------------------------- /doc/tutorial/examples/022.c: -------------------------------------------------------------------------------- 1 | static int 2 | block_plugin_SERVICE_get_key (void *cls, enum GNUNET_BLOCK_Type type, 3 | const void *block, size_t block_size, 4 | struct GNUNET_HashCode *key) 5 | { 6 | // Store the key in the key argument, return GNUNET_OK on success. 7 | } 8 | 9 | -------------------------------------------------------------------------------- /doc/tutorial/examples/023.c: -------------------------------------------------------------------------------- 1 | void * 2 | libgnunet_plugin_block_SERVICE_init (void *cls) 3 | { 4 | static enum GNUNET_BLOCK_Type types[] = 5 | { 6 | GNUNET_BLOCK_TYPE_SERVICE_BLOCKYPE, 7 | GNUNET_BLOCK_TYPE_ANY 8 | }; 9 | struct GNUNET_BLOCK_PluginFunctions *api; 10 | 11 | api = GNUNET_new (struct GNUNET_BLOCK_PluginFunctions); 12 | api->evaluate = &block_plugin_SERICE_evaluate; 13 | api->get_key = &block_plugin_SERVICE_get_key; 14 | api->types = types; 15 | return api; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /doc/tutorial/examples/024.c: -------------------------------------------------------------------------------- 1 | void * 2 | libgnunet_plugin_block_SERVICE_done (void *cls) 3 | { 4 | struct GNUNET_TRANSPORT_PluginFunctions *api = cls; 5 | 6 | GNUNET_free (api); 7 | return NULL; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /doc/tutorial/examples/025.Makefile.am: -------------------------------------------------------------------------------- 1 | plugindir = $(libdir)/gnunet 2 | 3 | plugin_LTLIBRARIES = \ 4 | libgnunet_plugin_block_ext.la 5 | libgnunet_plugin_block_ext_la_SOURCES = \ 6 | plugin_block_ext.c 7 | libgnunet_plugin_block_ext_la_LIBADD = \ 8 | $(prefix)/lib/libgnunethello.la \ 9 | $(prefix)/lib/libgnunetblock.la \ 10 | $(prefix)/lib/libgnunetutil.la 11 | libgnunet_plugin_block_ext_la_LDFLAGS = \ 12 | $(GN_PLUGIN_LDFLAGS) 13 | libgnunet_plugin_block_ext_la_DEPENDENCIES = \ 14 | $(prefix)/lib/libgnunetblock.la 15 | 16 | -------------------------------------------------------------------------------- /doc/tutorial/run-gendocs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | make version.texi/replacement 4 | 5 | ./gendocs.sh --email gnunet-developers@gnu.org gnunet-c-tutorial "GNUnet C Tutorial" -o "manual/gnunet-c-tutorial" 6 | #cd manual 7 | #mkdir gnunet-c-tutorial 8 | #mv * gnunet-c-tutorial/ 9 | #cd .. 10 | #./gendocs.sh --email gnunet-developers@gnu.org gnunet "GNUnet Reference Manual" -o "manual/gnunet" 11 | #cd manual 12 | #mkdir handbook 13 | #mkdir ../tmp-gnunet 14 | #mv gnunet ../tmp-gnunet 15 | #mv * handbook/ 16 | #mv ../tmp-gnunet gnunet 17 | cp "index.html" manual/ 18 | printf "Success" 19 | -------------------------------------------------------------------------------- /m4/.gitignore: -------------------------------------------------------------------------------- 1 | libtool.m4 2 | ltoptions.m4 3 | ltsugar.m4 4 | ltversion.m4 5 | lt~obsolete.m4 6 | wchar_t.m4 7 | -------------------------------------------------------------------------------- /m4/xsize.m4: -------------------------------------------------------------------------------- 1 | # xsize.m4 serial 5 2 | dnl Copyright (C) 2003-2004, 2008-2014 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSIZE], 8 | [ 9 | dnl Prerequisites of lib/xsize.h. 10 | AC_REQUIRE([gl_SIZE_MAX]) 11 | AC_CHECK_HEADERS([stdint.h]) 12 | ]) 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetarm.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet ARM 7 | Description: Provides API for accessing the Automated Restart Manager service 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetarm 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetats.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet ATS 7 | Description: Provides API for allocating bandwidth, expressing preferences for certain peers and accessing allocation information 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetats 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetblock.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet block 7 | Description: Library for data block manipulation 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetblock 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetcadet.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet Cadet 7 | Description: API for multicast and multi-hop routing between GNUnet peers 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetcadet 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetconsensus.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet CONSENSUS 7 | Description: library to calculate a set union for a group of peers (multiparty consensus) 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetconsensus 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetconversation.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet CONVERSATION 7 | Description: library to transmit voice data over GNUnet 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetconversation 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetcore.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet core 7 | Description: Provides API for (encrypted) P2P communication 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetcore 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetdatacache.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet datacache 7 | Description: Provides datacache API for temporary storage to disk 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetdatacache 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetdatastore.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet datastore 7 | Description: Management API for the datastore for persistant storage to disk 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetdatastore 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetdht.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet DHT 7 | Description: Library to access GNUnet DHT service 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetdht 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetdns.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet DNS 7 | Description: Provides API to access GNUnet's DNS service (to intercept and manipulate DNS queries) 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetdns 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetenv.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet ENV 7 | Description: library to manipulate PSYC environments 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetenv 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetfragmentation.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet fragmentation 7 | Description: Provides API for sending and receiving messages that are larger than the MTU of the transport 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetfragmentation 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetfs.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet fs 7 | Description: Provides API for GNUnet File-Sharing service 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetfs 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetgns.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet GNS 7 | Description: Provides API to access the GNUnet Naming System 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetgns -lgnunetgnsrecord 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunethello.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet hello 7 | Description: Helper library for handling GNUnet HELLO messages 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunethello 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetidentity.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet IDENTITY 7 | Description: library to access and organize private keys of the user's egos 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetidentity 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetmicrophone.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet MICROPHONE 7 | Description: library to access the system's microphone (recording of OPUS-encoded data) 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetmicrophone 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetmysql.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet MySQL 7 | Description: Provides API for common interactions with libmysqlclient 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetmysql 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetnamestore.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet Namestore 7 | Description: Provides API for storing GNS records to a database 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetnamestore 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetnat.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet NAT 7 | Description: library for NAT traversal 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetnat 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetnse.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet NSE 7 | Description: library to access GNUnet network size estimate information 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetnse 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetpeerinfo.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet peerinfo 7 | Description: Provides API to access GNUnet peerinfo service 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetpeerinfo 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetpostgres.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet Postgres 7 | Description: API with common functions for interacting with libpq 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetpostgres 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetpq.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet PQ 7 | Description: API with common functions for interacting with libpq 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetpq 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetregex.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet regex 7 | Description: Provides API for parsing regular expressions into finite automata 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetregex 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetrevocation.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet REVOCATION 7 | Description: library to perform key revocation in GNUnet 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetrevocation 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetrps.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet RPS 7 | Description: random peer sampling based on the BRAHMS protocol 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetrps 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetscalarproduct.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet SCALARPRODUCT 7 | Description: library to perform privacy-preserving scalar product between two peers 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetscalarproduct 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetset.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet SET 7 | Description: library to perform set computations (union, intersection) between two peers 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetset 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetspeaker.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet SPEAKER 7 | Description: library to access the system's speaker (playback of OPUS-encoded data) 8 | URL: https://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetspeaker 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetstatistics.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet statistics 7 | Description: Provides API of GNUnet statistics service 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetstatistics 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunettestbed.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet Testbed 7 | Description: Provides API for deploying and managing testbeds 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunettestbed 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunettesting.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet testing 7 | Description: Provides convenience API for writing testcases for GNUnet 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunettesting 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunettransport.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet transport 7 | Description: Library to access the low-level GNUnet P2P IO service 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunettransport 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetutil.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet util 7 | Description: Provides miscellaneous utility functions and API for GNUnet 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetutil 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /pkgconfig/gnunetvpn.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: GNUnet VPN 7 | Description: Provides API for accessing the GNUnet VPN 8 | URL: http://gnunet.org 9 | Version: @VERSION@ 10 | Requires: 11 | Libs: -L${libdir} -lgnunetvpn 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /po/.gitignore: -------------------------------------------------------------------------------- 1 | POTFILES 2 | gnunet.pot 3 | remove-potcdate.sed 4 | -------------------------------------------------------------------------------- /po/LINGUAS: -------------------------------------------------------------------------------- 1 | # set of available languages 2 | vi de sv es zh_CN fr it 3 | -------------------------------------------------------------------------------- /po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /po/update.pl.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/po/update.pl.in -------------------------------------------------------------------------------- /src/abd/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-abd 2 | gnunet-service-abd 3 | -------------------------------------------------------------------------------- /src/abd/abd.conf.in: -------------------------------------------------------------------------------- 1 | [abd] 2 | BINARY = gnunet-service-abd 3 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-abd.sock 4 | RUN_PER_USER = YES 5 | OPTIONS = -L DEBUG 6 | -------------------------------------------------------------------------------- /src/abd/test_abd_defaults.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-abd-testing/ 5 | 6 | [namestore-sqlite] 7 | FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db 8 | 9 | [namecache-sqlite] 10 | FILENAME=$GNUNET_TEST_HOME/namecache/namecache.db 11 | 12 | [identity] 13 | # Directory where we store information about our egos 14 | EGODIR = $GNUNET_TEST_HOME/identity/egos/ 15 | 16 | [dhtcache] 17 | DATABASE = heap 18 | 19 | [transport] 20 | PLUGINS = tcp 21 | 22 | [transport-tcp] 23 | BINDTO = 127.0.0.1 24 | 25 | -------------------------------------------------------------------------------- /src/arm/.gitignore: -------------------------------------------------------------------------------- 1 | mockup-service 2 | gnunet-arm 3 | gnunet-service-arm 4 | test_arm_api 5 | test_exponential_backoff 6 | test_gnunet_arm.py 7 | test_gnunet_service_arm 8 | -------------------------------------------------------------------------------- /src/ats-tests/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-solver-eval 2 | gnunet-ats-sim 3 | perf_ats_proportional_core_bandwidth 4 | perf_ats_proportional_core_latency 5 | perf_ats_proportional_core_none 6 | perf_ats_proportional_transport_bandwidth 7 | perf_ats_proportional_transport_latency 8 | perf_ats_proportional_transport_none 9 | perf_ats_mlp_core_bandwidth 10 | perf_ats_mlp_core_latency 11 | perf_ats_mlp_core_none 12 | perf_ats_mlp_transport_bandwidth 13 | perf_ats_mlp_transport_latency 14 | perf_ats_mlp_transport_none 15 | -------------------------------------------------------------------------------- /src/ats-tests/experiments/evaluation1_dru_3_peers_1addr_1scope_prop.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_perf_ats.conf 2 | 3 | [transport] 4 | plugins = unix 5 | 6 | [ats] 7 | MODE = MLP 8 | UNSPECIFIED_QUOTA_IN = 128 KiB 9 | UNSPECIFIED_QUOTA_OUT = 128 KiB 10 | # LOOPBACK 11 | LOOPBACK_QUOTA_IN = 128 KiB 12 | LOOPBACK_QUOTA_OUT = 128 KiB 13 | # LAN 14 | LAN_QUOTA_IN = 128 KiB 15 | LAN_QUOTA_OUT = 128 KiB 16 | # WAN 17 | WAN_QUOTA_IN = 128 KiB 18 | WAN_QUOTA_OUT = 128 KiB 19 | # WLAN 20 | WLAN_QUOTA_IN = 128 KiB 21 | WLAN_QUOTA_OUT = 128 KiB 22 | # BLUETOOTH 23 | BLUETOOTH_QUOTA_IN = 128 KiB 24 | BLUETOOTH_QUOTA_OUT = 128 KiB -------------------------------------------------------------------------------- /src/ats-tests/gnunet_ats_sim_default.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_perf_ats.conf 2 | [transport] 3 | plugins = unix 4 | 5 | [ats] 6 | MODE = proportional 7 | -------------------------------------------------------------------------------- /src/ats-tests/perf_ats_proportional_bandwidth.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_perf_ats.conf 2 | 3 | [ats] 4 | MODE = proportional 5 | -------------------------------------------------------------------------------- /src/ats-tests/perf_ats_proportional_latency.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_perf_ats.conf 2 | 3 | [ats] 4 | MODE = proportional 5 | -------------------------------------------------------------------------------- /src/ats-tests/perf_ats_proportional_none.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_perf_ats.conf 2 | 3 | [ats] 4 | MODE = proportional 5 | -------------------------------------------------------------------------------- /src/ats-tool/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-ats 2 | -------------------------------------------------------------------------------- /src/ats-tool/Makefile.am: -------------------------------------------------------------------------------- 1 | # This Makefile.am is in the public domain 2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include 3 | 4 | if USE_COVERAGE 5 | AM_CFLAGS = -fprofile-arcs -ftest-coverage 6 | endif 7 | 8 | bin_PROGRAMS = \ 9 | gnunet-ats 10 | 11 | gnunet_ats_SOURCES = \ 12 | gnunet-ats.c 13 | gnunet_ats_LDADD = \ 14 | $(top_builddir)/src/util/libgnunetutil.la \ 15 | $(top_builddir)/src/ats/libgnunetats.la \ 16 | $(top_builddir)/src/nt/libgnunetnt.la \ 17 | $(top_builddir)/src/transport/libgnunettransport.la \ 18 | $(top_builddir)/src/hello/libgnunethello.la \ 19 | $(GN_LIBINTL) 20 | -------------------------------------------------------------------------------- /src/ats/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-ats 2 | test_ats_api_proportional 3 | test_ats_reservation_api_proportional 4 | test_ats_api_mlp 5 | test_ats_api_ril 6 | gnunet-service-ats-new 7 | -------------------------------------------------------------------------------- /src/ats/experiments/gnunet_ats_sim_default.conf: -------------------------------------------------------------------------------- 1 | [ats] 2 | UNSPECIFIED_QUOTA_IN = 64 KiB 3 | UNSPECIFIED_QUOTA_OUT = 64 KiB 4 | # LOOPBACK 5 | LOOPBACK_QUOTA_IN = 64 KiB 6 | LOOPBACK_QUOTA_OUT = 64 KiB 7 | # LAN 8 | LAN_QUOTA_IN = 64 KiB 9 | LAN_QUOTA_OUT = 64 KiB 10 | # WAN 11 | WAN_QUOTA_IN = 64 KiB 12 | WAN_QUOTA_OUT = 64 KiB 13 | # WLAN 14 | WLAN_QUOTA_IN = 64 KiB 15 | WLAN_QUOTA_OUT = 64 KiB 16 | # BLUETOOTH 17 | BLUETOOTH_QUOTA_IN = 64 KiB 18 | BLUETOOTH_QUOTA_OUT = 64 KiB 19 | -------------------------------------------------------------------------------- /src/ats/perf_ats_simplistic_bandwidth.conf: -------------------------------------------------------------------------------- 1 | [hostlist] 2 | SERVERS = 3 | 4 | [transport-udp] 5 | BROADCAST = NO 6 | 7 | [peerinfo] 8 | USE_INCLUDED_HELLOS = NO 9 | 10 | # Network specific inbound/outbound quotas 11 | UNSPECIFIED_QUOTA_IN = 128 KiB 12 | UNSPECIFIED_QUOTA_OUT = 128 KiB 13 | # LOOPBACK 14 | LOOPBACK_QUOTA_IN = 128 KiB 15 | LOOPBACK_QUOTA_OUT = 128 KiB 16 | # LAN 17 | LAN_QUOTA_IN = 128 KiB 18 | LAN_QUOTA_OUT = 128 KiB 19 | # WAN 20 | WAN_QUOTA_IN = 128 KiB 21 | WAN_QUOTA_OUT = 128 KiB 22 | # WLAN 23 | WLAN_QUOTA_IN = 128 KiB 24 | WLAN_QUOTA_OUT = 128 KiB 25 | # BLUETOOTH 26 | BLUETOOTH_QUOTA_IN = 128 KiB 27 | BLUETOOTH_QUOTA_OUT = 128 KiB 28 | -------------------------------------------------------------------------------- /src/ats/perf_ats_simplistic_delay.conf: -------------------------------------------------------------------------------- 1 | [hostlist] 2 | SERVERS = 3 | 4 | [transport-udp] 5 | BROADCAST = NO 6 | 7 | [peerinfo] 8 | USE_INCLUDED_HELLOS = NO 9 | -------------------------------------------------------------------------------- /src/ats/perf_ats_solver_proportional.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/ats/perf_ats_solver_proportional.conf -------------------------------------------------------------------------------- /src/ats/test_ats_api_proportional.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-ats-proportional/ 5 | 6 | [ats] 7 | # Enable PROPORTIONAL mode (default: NO) 8 | MODE = proportional 9 | # Network specific inbound/outbound quotas 10 | # UNSPECIFIED 11 | UNSPECIFIED_QUOTA_IN = unlimited 12 | UNSPECIFIED_QUOTA_OUT = unlimited 13 | # LOOPBACK 14 | LOOPBACK_QUOTA_IN = unlimited 15 | LOOPBACK_QUOTA_OUT = unlimited 16 | # LAN 17 | LAN_QUOTA_IN = unlimited 18 | LAN_QUOTA_OUT = unlimited 19 | # WAN 20 | WAN_QUOTA_IN = 64 KiB 21 | WAN_QUOTA_OUT = 64 KiB 22 | # WLAN 23 | WLAN_QUOTA_IN = 4096 24 | WLAN_QUOTA_OUT = 4096 25 | -------------------------------------------------------------------------------- /src/ats/test_ats_solver_default.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | -------------------------------------------------------------------------------- /src/ats/test_ats_solver_delayed_proportional.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_ats_solver_default.conf 2 | 3 | [ats] 4 | PREFIX = ./test_delay -t 10 -- 5 | MODE = proportional 6 | # UNSPECIFIED 7 | UNSPECIFIED_QUOTA_IN = 64 KiB 8 | UNSPECIFIED_QUOTA_OUT = 64 KiB 9 | # LOOPBACK 10 | LOOPBACK_QUOTA_IN = unlimited 11 | LOOPBACK_QUOTA_OUT = unlimited 12 | # LAN 13 | LAN_QUOTA_IN = unlimited 14 | LAN_QUOTA_OUT = unlimited 15 | # WAN 16 | WAN_QUOTA_IN = 64 KiB 17 | WAN_QUOTA_OUT = 64 KiB 18 | # WLAN 19 | WLAN_QUOTA_IN = 512 20 | WLAN_QUOTA_OUT = 512 21 | -------------------------------------------------------------------------------- /src/ats/test_ats_solver_proportional.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_ats_solver_default.conf 2 | 3 | [ats] 4 | MODE = proportional 5 | # UNSPECIFIED 6 | UNSPECIFIED_QUOTA_IN = 64 KiB 7 | UNSPECIFIED_QUOTA_OUT = 64 KiB 8 | # LOOPBACK 9 | LOOPBACK_QUOTA_IN = unlimited 10 | LOOPBACK_QUOTA_OUT = unlimited 11 | # LAN 12 | LAN_QUOTA_IN = unlimited 13 | LAN_QUOTA_OUT = unlimited 14 | # WAN 15 | WAN_QUOTA_IN = 64 KiB 16 | WAN_QUOTA_OUT = 64 KiB 17 | # WLAN 18 | WLAN_QUOTA_IN = 512 19 | WLAN_QUOTA_OUT = 512 20 | -------------------------------------------------------------------------------- /src/ats/test_delay: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | TEMP=$(getopt -o t: -- "$@") 4 | 5 | if [ $? != 0 ] ; then 6 | exit 1 7 | fi 8 | 9 | eval set -- "$TEMP" 10 | 11 | while true ; do 12 | case "$1" in 13 | (-t) sleep "$2" ; shift 2 ;; 14 | (--) shift ; break ;; 15 | (*) echo "Error parsing getopt output" ; exit 1 ;; 16 | esac 17 | done 18 | exec "$@" 19 | -------------------------------------------------------------------------------- /src/auction/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-auction-create 2 | gnunet-auction-info 3 | gnunet-auction-join 4 | gnunet-service-auction 5 | test_auction_api 6 | -------------------------------------------------------------------------------- /src/auction/auction.conf: -------------------------------------------------------------------------------- 1 | [auction] 2 | START_ON_DEMAND = NO 3 | BINARY = gnunet-service-auction 4 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-auction.sock 5 | -------------------------------------------------------------------------------- /src/cadet/profiler.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_cadet.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = RANDOM 5 | OVERLAY_RANDOM_LINKS = %LINKS% 6 | MAX_PARALLEL_SERVICE_CONNECTIONS=4000 7 | SETUP_TIMEOUT = 60 m 8 | 9 | [transport] 10 | #MANIPULATE_DELAY_IN = 50 ms 11 | MANIPULATE_DELAY_OUT = 10 ms 12 | 13 | [cadet] 14 | REFRESH_CONNECTION_TIME = 1 h 15 | DISABLE_TRY_CONNECT = YES 16 | ID_ANNOUNCE_TIME = 5 s 17 | 18 | [dht] 19 | FORCE_NSE = %NSE% 20 | -------------------------------------------------------------------------------- /src/cadet/small.dat: -------------------------------------------------------------------------------- 1 | 16 2 | 1:2 3 | 1:9 4 | 2:3 5 | 3:4 6 | 3:11 7 | 4:5 8 | 5:6 9 | 5:13 10 | 6:7 11 | 7:8 12 | 7:15 13 | 8:9 14 | 9:10 15 | 10:11 16 | 11:12 17 | 12:13 18 | 13:14 19 | 14:15 20 | 15:16 21 | 16:1 22 | -------------------------------------------------------------------------------- /src/cadet/test_cadet_drop.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_cadet.conf 2 | 3 | [cadet] 4 | DROP_PERCENT = 1 5 | -------------------------------------------------------------------------------- /src/consensus/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-evil-consensus 2 | gnunet-consensus-profiler 3 | gnunet-service-consensus 4 | test_consensus_api 5 | resource.log.master 6 | consensus-simulation.py 7 | -------------------------------------------------------------------------------- /src/consensus/consensus.conf.in: -------------------------------------------------------------------------------- 1 | [consensus] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @JAVAPORT@PORT = 2103 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-consensus 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-consensus.sock 9 | UNIX_MATCH_UID = YES 10 | UNIX_MATCH_GID = YES 11 | -------------------------------------------------------------------------------- /src/conversation/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-conversation 2 | gnunet-conversation 3 | gnunet-conversation-test 4 | gnunet-helper-audio-playback 5 | gnunet-helper-audio-record 6 | test_conversation_api 7 | test_conversation_api_reject 8 | test_conversation_api_twocalls 9 | -------------------------------------------------------------------------------- /src/conversation/displaydot.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | dot -Tpng `ls -tr1 /tmp/*rec*.dot | tail -1` | display /dev/stdin & 3 | dot -Tpng `ls -tr1 /tmp/*play*.dot | tail -1` | display /dev/stdin & 4 | -------------------------------------------------------------------------------- /src/conversation/mediahelper.conf: -------------------------------------------------------------------------------- 1 | [MEDIAHELPER] 2 | AUDIOBACKEND = JACK 3 | REMOVESILENCE = NO 4 | USERTP = NO 5 | NO_GN_HEADERS = NO 6 | JACK_PP_IN = mocp 7 | JACK_PP_OUT = system 8 | -------------------------------------------------------------------------------- /src/conversation/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export GST_DEBUG_DUMP_DOT_DIR=/tmp/ 4 | GST_DEBUG_DUMP_DOT_DIR=/tmp/ ./gnunet-helper-audio-record |GST_DEBUG_DUMP_DOT_DIR=/tmp/ ./gnunet-helper-audio-playback 5 | -------------------------------------------------------------------------------- /src/conversation/test_conversation.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | [conversation] 4 | LINE=1 5 | #PREFIX = valgrind 6 | 7 | [nse] 8 | WORKBITS = 0 9 | -------------------------------------------------------------------------------- /src/core/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-core 2 | gnunet-core 3 | test_core_api 4 | test_core_api_reliability 5 | test_core_api_send_to_self 6 | test_core_api_start_only 7 | test_core_quota_compliance_asymmetric_recv_limited 8 | test_core_quota_compliance_asymmetric_send_limited 9 | test_core_quota_compliance_symmetric 10 | -------------------------------------------------------------------------------- /src/core/core.conf.in: -------------------------------------------------------------------------------- 1 | [core] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @JAVAPORT@PORT = 2092 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-core 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-core.sock 9 | UNIX_MATCH_UID = NO 10 | UNIX_MATCH_GID = YES 11 | # DISABLE_SOCKET_FORWARDING = NO 12 | # USERNAME = 13 | # MAXBUF = 14 | # TIMEOUT = 15 | # DISABLEV6 = 16 | # BINDTO = 17 | # REJECT_FROM = 18 | # REJECT_FROM6 = 19 | # PREFIX = 20 | 21 | # Note: this MUST be set to YES in production, only set to NO for testing 22 | # for performance (testbed/cluster-scale use!). 23 | USE_EPHEMERAL_KEYS = YES 24 | -------------------------------------------------------------------------------- /src/core/test_core_api_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_core_defaults.conf 2 | [PATHS] 3 | 4 | [ats] 5 | WAN_QUOTA_IN = 64 kiB 6 | WAN_QUOTA_OUT = 64 kiB 7 | 8 | [core] 9 | PORT = 52092 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-core.sock 11 | 12 | -------------------------------------------------------------------------------- /src/core/test_core_api_send_to_self.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_core_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = ~/.gnunet/ 4 | 5 | [ats] 6 | WAN_QUOTA_IN = 104857600 7 | WAN_QUOTA_OUT = 104757600 8 | 9 | [test-sts] 10 | IMMEDIATE_START = YES 11 | PORT = 59252 12 | HOSTNAME = localhost 13 | BINARY = test_core_api_send_to_self 14 | ACCEPT_FROM = 127.0.0.1; 15 | ACCEPT_FROM6 = ::1; 16 | TOTAL_QUOTA_IN = 65536 17 | TOTAL_QUOTA_OUT = 65536 18 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-sts.sock 19 | 20 | -------------------------------------------------------------------------------- /src/core/test_core_defaults.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf 3 | 4 | [PATHS] 5 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-core/ 6 | 7 | [nat] 8 | ENABLE_UPNP = NO 9 | 10 | [ats] 11 | WAN_QUOTA_IN = 1 GB 12 | WAN_QUOTA_OUT = 1 GB 13 | 14 | [transport-tcp] 15 | BINDTO = 127.0.0.1 16 | 17 | [transport-udp] 18 | BROADCAST = NO 19 | 20 | [peerinfo] 21 | NO_IO = YES 22 | 23 | -------------------------------------------------------------------------------- /src/datacache/.gitignore: -------------------------------------------------------------------------------- 1 | test_datacache_heap 2 | test_datacache_postgres 3 | test_datacache_quota_heap 4 | test_datacache_quota_postgres 5 | test_datacache_quota_sqlite 6 | test_datacache_sqlite 7 | -------------------------------------------------------------------------------- /src/datacache/datacache.conf: -------------------------------------------------------------------------------- 1 | [datacache-postgres] 2 | CONFIG = postgres:///gnunet 3 | -------------------------------------------------------------------------------- /src/datacache/perf_datacache_data_heap.conf: -------------------------------------------------------------------------------- 1 | [perfcache] 2 | QUOTA = 500 KB 3 | DATABASE = heap 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/datacache/perf_datacache_data_postgres.conf: -------------------------------------------------------------------------------- 1 | [perfcache] 2 | QUOTA = 500 KB 3 | DATABASE = postgres 4 | 5 | [datacache-postgres] 6 | CONFIG = connect_timeout=10; dbname=gnunetcheck 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/datacache/perf_datacache_data_sqlite.conf: -------------------------------------------------------------------------------- 1 | [perfcache] 2 | QUOTA = 500 KB 3 | DATABASE = sqlite 4 | 5 | -------------------------------------------------------------------------------- /src/datacache/test_datacache_data_heap.conf: -------------------------------------------------------------------------------- 1 | [testcache] 2 | QUOTA = 1 MB 3 | DATABASE = heap 4 | 5 | -------------------------------------------------------------------------------- /src/datacache/test_datacache_data_postgres.conf: -------------------------------------------------------------------------------- 1 | 2 | [testcache] 3 | QUOTA = 1 MB 4 | DATABASE = postgres 5 | 6 | [datacache-postgres] 7 | CONFIG = connect_timeout=10; dbname=gnunetcheck 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/datacache/test_datacache_data_sqlite.conf: -------------------------------------------------------------------------------- 1 | [testcache] 2 | QUOTA = 1 MB 3 | DATABASE = sqlite 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/datastore/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-datastore 2 | gnunet-datastore 3 | perf_datastore_api_heap 4 | perf_plugin_datastore_heap 5 | test_datastore_api_heap 6 | test_datastore_api_management_heap 7 | test_datastore_api_management_mysql 8 | test_datastore_api_management_postgres 9 | test_datastore_api_management_sqlite 10 | test_datastore_api_mysql 11 | test_datastore_api_postgres 12 | test_datastore_api_sqlite 13 | test_plugin_datastore_heap 14 | test_plugin_datastore_mysql 15 | test_plugin_datastore_postgres 16 | test_plugin_datastore_sqlite 17 | -------------------------------------------------------------------------------- /src/datastore/perf_plugin_datastore_data_heap.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/perf-gnunet-datastore-heap/ 4 | 5 | 6 | [datastore] 7 | DATABASE = heap 8 | -------------------------------------------------------------------------------- /src/datastore/perf_plugin_datastore_data_mysql.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/perf-gnunet-datastore-mysql/ 4 | 5 | [datastore] 6 | DATABASE = mysql 7 | 8 | [datastore-mysql] 9 | DATABASE = gnunetcheck 10 | 11 | -------------------------------------------------------------------------------- /src/datastore/perf_plugin_datastore_data_postgres.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/perf-gnunet-datastore-postgres/ 4 | 5 | [datastore] 6 | DATABASE = postgres 7 | 8 | [datastore-postgres] 9 | CONFIG = dbname=gnunetcheck 10 | 11 | -------------------------------------------------------------------------------- /src/datastore/perf_plugin_datastore_data_sqlite.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/perf-gnunet-datastore-sqlite/ 4 | 5 | -------------------------------------------------------------------------------- /src/datastore/selectrandom.sql: -------------------------------------------------------------------------------- 1 | select * 2 | from (select random() as v from (values(1))) t1, 3 | (select max(repl) as m from data) t2, 4 | (select * from data 5 | where repl=t2.m and 6 | rnd>=t.v 7 | order by rnd 8 | limit 1) 9 | 10 | -------------------------------------------------------------------------------- /src/datastore/test_datastore_api_data_heap.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-heap/ 4 | 5 | [TESTING] 6 | WEAKRANDOM = YES 7 | 8 | [arm] 9 | PORT = 42466 10 | 11 | [statistics] 12 | PORT = 22667 13 | 14 | [resolver] 15 | PORT = 42464 16 | 17 | [datastore] 18 | QUOTA = 10 MB 19 | DATABASE = heap 20 | -------------------------------------------------------------------------------- /src/datastore/test_datastore_api_data_mysql.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-mysql/ 4 | 5 | [datastore] 6 | QUOTA = 10 MB 7 | DATABASE = mysql 8 | 9 | [datastore-mysql] 10 | DATABASE = gnunetcheck 11 | -------------------------------------------------------------------------------- /src/datastore/test_datastore_api_data_postgres.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-postgres/ 4 | 5 | [datastore] 6 | QUOTA = 10 MB 7 | DATABASE = postgres 8 | 9 | [datastore-postgres] 10 | CONFIG = dbname=gnunetcheck 11 | -------------------------------------------------------------------------------- /src/datastore/test_datastore_api_data_sqlite.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-sqlite/ 4 | 5 | [datastore] 6 | QUOTA = 10 MB 7 | DATABASE = sqlite 8 | -------------------------------------------------------------------------------- /src/datastore/test_defaults.conf: -------------------------------------------------------------------------------- 1 | @inline@ ../../contrib/conf/gnunet/no_autostart_above_core.conf 2 | @inline@ ../../contrib/conf/gnunet/no_forcestart.conf 3 | 4 | [datastore] 5 | PORT = 22654 6 | QUOTA = 1 MB 7 | START_ON_DEMAND = YES 8 | 9 | [nse] 10 | WORKBITS = 1 11 | -------------------------------------------------------------------------------- /src/datastore/test_plugin_datastore_data_heap.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-plugin-heap/ 4 | 5 | [datastore] 6 | DATABASE = heap 7 | -------------------------------------------------------------------------------- /src/datastore/test_plugin_datastore_data_mysql.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-plugin-mysql/ 4 | 5 | [datastore] 6 | DATABASE = mysql 7 | 8 | [datastore-mysql] 9 | DATABASE = gnunetcheck 10 | -------------------------------------------------------------------------------- /src/datastore/test_plugin_datastore_data_postgres.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-plugin-postgres/ 4 | 5 | [datastore] 6 | DATABASE = postgres 7 | 8 | [datastore-postgres] 9 | CONFIG = dbname=gnunetcheck 10 | 11 | -------------------------------------------------------------------------------- /src/datastore/test_plugin_datastore_data_sqlite.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-datastore-plugin-sqlite/ 4 | 5 | -------------------------------------------------------------------------------- /src/dht/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-dht-get 2 | gnunet-dht-monitor 3 | gnunet-dht-profiler 4 | gnunet-dht-put 5 | gnunet-service-dht 6 | test_dht_2dtorus 7 | test_dht_api 8 | test_dht_line 9 | test_dht_monitor 10 | test_dht_multipeer 11 | test_dht_tools.py 12 | test_dht_twopeer 13 | -------------------------------------------------------------------------------- /src/dht/test_dht_multipeer_topology.dat: -------------------------------------------------------------------------------- 1 | 0:1|6|8 2 | 1:2|7|9 3 | 2:0|3|8 4 | 3:1|4|9 5 | 4:0|2|5 6 | 5:1|3|6 7 | 6:2|4|7 8 | 7:3|5|8 9 | 8:4|6|9 10 | 9:0|5|7 11 | 12 | -------------------------------------------------------------------------------- /src/dns/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-dns 2 | gnunet-dns-monitor 3 | gnunet-dns-redirector 4 | gnunet-helper-dns 5 | test_hexcoder 6 | gnunet-zoneimport 7 | gnunet-zonewalk 8 | -------------------------------------------------------------------------------- /src/exit/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-helper-exit 2 | gnunet-daemon-exit 3 | -------------------------------------------------------------------------------- /src/fragmentation/.gitignore: -------------------------------------------------------------------------------- 1 | test_fragmentation 2 | test_fragmentation_parallel 3 | -------------------------------------------------------------------------------- /src/fragmentation/test_fragmentation_data.conf: -------------------------------------------------------------------------------- 1 | 2 | [nse] 3 | START_ON_DEMAND = NO 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/fs/fs_test_lib_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-fs-test-lib/ 4 | 5 | [ats] 6 | WAN_QUOTA_IN = 3932160 7 | WAN_QUOTA_OUT = 3932160 8 | 9 | [datastore] 10 | QUOTA = 2 GB 11 | #PLUGIN = heap 12 | # 13 | [fs] 14 | IMMEDIATE_START = YES 15 | 16 | [testbed] 17 | OVERLAY_TOPOLOGY = CLIQUE 18 | -------------------------------------------------------------------------------- /src/fs/perf_gnunet_service_fs_p2p.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ fs_test_lib_data.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-fs-test-lib/ 4 | 5 | [fs] 6 | GAUGER_HEAP = "2-peer 10 MB P2P download" 7 | # PREFIX = valgrind 8 | -------------------------------------------------------------------------------- /src/fs/test_fs_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-data/ 4 | 5 | [fs] 6 | ACTIVEMIGRATION = NO 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_fs_download_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-download/ 4 | 5 | [download-test] 6 | # set to 'YES' to test non-anonymous download 7 | USE_STREAM = NO 8 | 9 | # set to 'YES' to use indexing 10 | USE_INDEX = NO -------------------------------------------------------------------------------- /src/fs/test_fs_download_indexed.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-download/ 4 | 5 | [download-test] 6 | # set to 'YES' to test non-anonymous download 7 | USE_STREAM = NO 8 | 9 | # set to 'YES' to use indexing 10 | USE_INDEX = YES 11 | -------------------------------------------------------------------------------- /src/fs/test_fs_file_information_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-file-information/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_fs_list_indexed_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-list-indexed/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | [fs] 9 | ACTIVEMIGRATION = NO 10 | 11 | -------------------------------------------------------------------------------- /src/fs/test_fs_namespace_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-namespace/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_fs_publish_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-publish/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | [fs] 9 | ACTIVEMIGRATION = NO 10 | 11 | -------------------------------------------------------------------------------- /src/fs/test_fs_search_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-search/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_fs_unindex_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-unindex/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_gnunet_fs_idx_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-py-idx/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_gnunet_fs_psd_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-py-psd/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_gnunet_fs_rec_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-fs-py-rec/ 4 | 5 | [transport] 6 | PLUGINS = 7 | 8 | -------------------------------------------------------------------------------- /src/fs/test_gnunet_fs_rec_data.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/fs/test_gnunet_fs_rec_data.tgz -------------------------------------------------------------------------------- /src/fs/test_gnunet_service_fs_migration_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_fs_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-service-fs-migration/ 4 | 5 | [testbed] 6 | OVERLAY_TOPOLOGY = CLIQUE 7 | 8 | [ats] 9 | WAN_QUOTA_IN = 3932160 10 | WAN_QUOTA_OUT = 3932160 11 | -------------------------------------------------------------------------------- /src/fs/test_pseudonym_data.conf: -------------------------------------------------------------------------------- 1 | # General settings 2 | [fs] 3 | 4 | [TESTING] 5 | WEAKRANDOM = YES 6 | 7 | -------------------------------------------------------------------------------- /src/gns/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-gns 2 | gnunet-bcd 3 | gnunet-dns2gns 4 | gnunet-gns 5 | gnunet-gns-proxy 6 | gnunet-gns-benchmark 7 | test_gns_proxy 8 | local.crt 9 | local.der 10 | local.key 11 | server.csr 12 | gnunet-gns-proxy-setup-ca 13 | -------------------------------------------------------------------------------- /src/gns/gnunet_w32nsp_lib.h: -------------------------------------------------------------------------------- 1 | #if ! defined(GNUNET_W32NSP_LIB_H) 2 | #define GNUNET_W32NSP_LIB_H 3 | 4 | #include 5 | 6 | /* E0D24085-622C-4A93-9A0018-034469DE28DA */ 7 | DEFINE_GUID (GNUNET_NAMESPACE_PROVIDER_DNS, 0xE0D24085L, 0x622C, 0x4A93, 0x9A, 8 | 0x18, 0x03, 0x44, 0x69, 0xDE, 0x28, 0xDA); 9 | 10 | #endif /* GNUNET_W32NSP_LIB_H */ 11 | -------------------------------------------------------------------------------- /src/gns/nss/map-file: -------------------------------------------------------------------------------- 1 | NSSGNS_0 { 2 | global: 3 | _nss_gns_gethostbyaddr_r; 4 | _nss_gns4_gethostbyaddr_r; 5 | _nss_gns6_gethostbyaddr_r; 6 | _nss_gns_gethostbyname_r; 7 | _nss_gns4_gethostbyname_r; 8 | _nss_gns6_gethostbyname_r; 9 | _nss_gns_gethostbyname2_r; 10 | _nss_gns4_gethostbyname2_r; 11 | _nss_gns6_gethostbyname2_r; 12 | local: 13 | *; 14 | }; 15 | -------------------------------------------------------------------------------- /src/gns/test_gns_proxy.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_gns_defaults.conf 2 | 3 | [transport] 4 | PLUGINS = tcp 5 | 6 | [gns] 7 | # PREFIX = valgrind --leak-check=full --track-origins=yes 8 | START_ON_DEMAND = YES 9 | AUTO_IMPORT_PKEY = YES 10 | MAX_PARALLEL_BACKGROUND_QUERIES = 10 11 | DEFAULT_LOOKUP_TIMEOUT = 15 s 12 | RECORD_PUT_INTERVAL = 1 h 13 | ZONE_PUBLISH_TIME_WINDOW = 1 h 14 | DNS_ROOT=PD67SGHF3E0447TU9HADIVU9OM7V4QHTOG0EBU69TFRI2LG63DR0 15 | 16 | 17 | [gns-proxy] 18 | PROXY_CACERT = /tmp/proxy_cacert.pem 19 | PROXY_UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gns-proxy.sock 20 | 21 | [namestore] 22 | START_ON_DEMAND = YES 23 | -------------------------------------------------------------------------------- /src/gns/zonefiles/188JSUMKEF25GVU8TTV0PBNNN8JVCPUEDFV1UHJJU884JD25V0T0.zkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/gns/zonefiles/188JSUMKEF25GVU8TTV0PBNNN8JVCPUEDFV1UHJJU884JD25V0T0.zkey -------------------------------------------------------------------------------- /src/gns/zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/gns/zonefiles/J7POEUT41A8PBFS7KVVDRF88GBOU4HK8PSU5QKVLVE3R9T91E99G.zkey -------------------------------------------------------------------------------- /src/gns/zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/gns/zonefiles/OEFL7A4VEF1B40QLEMTG5D8G1CN6EN16QUSG5R2DT71GRJN34LSG.zkey -------------------------------------------------------------------------------- /src/gns/zonefiles/test_zonekey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/gns/zonefiles/test_zonekey -------------------------------------------------------------------------------- /src/gnsrecord/.gitignore: -------------------------------------------------------------------------------- 1 | test_gnsrecord_block_expiration 2 | test_gnsrecord_crypto 3 | test_gnsrecord_serialization 4 | zonefiles 5 | perf_gnsrecord_crypto 6 | -------------------------------------------------------------------------------- /src/hello/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-hello 2 | test_friend_hello 3 | test_hello 4 | -------------------------------------------------------------------------------- /src/hostlist/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-daemon-hostlist 2 | test_gnunet_daemon_hostlist 3 | test_gnunet_daemon_hostlist_learning 4 | test_gnunet_daemon_hostlist_reconnect 5 | -------------------------------------------------------------------------------- /src/hostlist/hostlists_learn_peer2.file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/hostlist/hostlists_learn_peer2.file -------------------------------------------------------------------------------- /src/hostlist/learning_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_hostlist_defaults.conf 2 | [hostlist] 3 | HTTPPORT = 28080 4 | OPTIONS = -b -e 5 | SERVERS = http://gnunet.org:8080/ 6 | PORT = 23354 7 | HOSTNAME = localhost 8 | 9 | -------------------------------------------------------------------------------- /src/hostlist/test_gnunet_daemon_hostlist_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_hostlist_defaults.conf 2 | [transport-tcp] 3 | PORT = 12968 4 | 5 | [arm] 6 | PORT = 12966 7 | 8 | [statistics] 9 | PORT = 12967 10 | 11 | [resolver] 12 | PORT = 12964 13 | 14 | [peerinfo] 15 | PORT = 12969 16 | 17 | [transport] 18 | PORT = 12965 19 | 20 | [core] 21 | PORT = 12970 22 | 23 | [hostlist] 24 | HTTPPORT = 28080 25 | SERVERS = http://gnunet.org:8080/ 26 | PORT = 23354 27 | HOSTNAME = localhost 28 | 29 | -------------------------------------------------------------------------------- /src/hostlist/test_hostlist_defaults.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf 3 | 4 | [PATHS] 5 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-hostlist/ 6 | 7 | [transport] 8 | PLUGINS = tcp 9 | 10 | [peerinfo] 11 | NO_IO = YES 12 | 13 | [core] 14 | PORT = 12470 15 | 16 | [nat] 17 | RETURN_LOCAL_ADDRESSES = YES 18 | 19 | -------------------------------------------------------------------------------- /src/identity/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-identity 2 | gnunet-identity 3 | test_identity 4 | test_identity_defaults 5 | -------------------------------------------------------------------------------- /src/identity/identity.conf.in: -------------------------------------------------------------------------------- 1 | [identity] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | RUN_PER_USER = YES 4 | @JAVAPORT@PORT = 2108 5 | HOSTNAME = localhost 6 | BINARY = gnunet-service-identity 7 | ACCEPT_FROM = 127.0.0.1; 8 | ACCEPT_FROM6 = ::1; 9 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-identity.sock 10 | UNIX_MATCH_UID = NO 11 | UNIX_MATCH_GID = YES 12 | 13 | # Directory where we store information about our egos 14 | EGODIR = $GNUNET_DATA_HOME/identity/egos/ 15 | 16 | # File where we store default identities for subsystems 17 | SUBSYSTEM_CFG = $GNUNET_CONFIG_HOME/identity/subsystem_defaults.conf 18 | -------------------------------------------------------------------------------- /src/identity/test_identity.conf: -------------------------------------------------------------------------------- 1 | [arm] 2 | PORT = 12000 3 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-arm.sock 4 | 5 | [identity] 6 | # need to overwrite paths to ensure they stay the same between runs... 7 | EGODIR = $GNUNET_TMP/test-identity-service/egos/ 8 | SUBSYSTEM_CFG = $GNUNET_TMP/test-identity-service/s.conf 9 | -------------------------------------------------------------------------------- /src/integration-tests/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet_testing.py 2 | gnunet_pyexpect.py 3 | gnunet_pyexpect.pyc 4 | gnunet_testing.pyc 5 | test_integration_bootstrap_and_connect.py 6 | test_integration_clique.py 7 | test_integration_disconnect_nat.py 8 | test_integration_disconnect.py 9 | test_integration_reconnect_nat.py 10 | test_integration_reconnect.py 11 | -------------------------------------------------------------------------------- /src/integration-tests/hostkeys/c_bootstrap_server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/integration-tests/hostkeys/c_bootstrap_server -------------------------------------------------------------------------------- /src/integration-tests/hostkeys/c_nat_client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/integration-tests/hostkeys/c_nat_client -------------------------------------------------------------------------------- /src/integration-tests/hostkeys/c_no_nat_client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/integration-tests/hostkeys/c_no_nat_client -------------------------------------------------------------------------------- /src/integration-tests/hostkeys/c_no_nat_client_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/integration-tests/hostkeys/c_no_nat_client_2 -------------------------------------------------------------------------------- /src/json/.gitignore: -------------------------------------------------------------------------------- 1 | test_json 2 | test_json_mhd 3 | -------------------------------------------------------------------------------- /src/my/.gitignore: -------------------------------------------------------------------------------- 1 | test_my 2 | -------------------------------------------------------------------------------- /src/my/test_my.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/my/test_my.conf -------------------------------------------------------------------------------- /src/mysql/Makefile.am: -------------------------------------------------------------------------------- 1 | # This Makefile.am is in the public domain 2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include 3 | 4 | if USE_COVERAGE 5 | AM_CFLAGS = --coverage 6 | endif 7 | 8 | if HAVE_MYSQL 9 | lib_LTLIBRARIES = libgnunetmysql.la 10 | endif 11 | 12 | libgnunetmysql_la_SOURCES = \ 13 | mysql.c 14 | libgnunetmysql_la_LIBADD = $(MYSQL_LDFLAGS) -lmysqlclient \ 15 | $(top_builddir)/src/util/libgnunetutil.la 16 | libgnunetmysql_la_LDFLAGS = \ 17 | $(GN_LIB_LDFLAGS) \ 18 | -version-info 0:0:0 19 | -------------------------------------------------------------------------------- /src/namecache/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-namecache 2 | gnunet-namecache 3 | test_namecache_api_cache_block 4 | test_plugin_namecache_postgres 5 | test_plugin_namecache_sqlite 6 | zonefiles 7 | test_plugin_namecache_flat 8 | -------------------------------------------------------------------------------- /src/namecache/test_namecache_api.conf: -------------------------------------------------------------------------------- 1 | [PATHS] 2 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-namecache/ 3 | 4 | [namecache] 5 | DATABASE = sqlite 6 | 7 | [namecache-sqlite] 8 | FILENAME = $GNUNET_TEST_HOME/namecache/sqlite_test.db 9 | 10 | [namecache-postgres] 11 | CONFIG = connect_timeout=10; dbname=gnunetcheck 12 | TEMPORARY_TABLE = YES 13 | 14 | -------------------------------------------------------------------------------- /src/namecache/test_plugin_namecache_flat.conf: -------------------------------------------------------------------------------- 1 | [namecache-flat] 2 | FILENAME = $GNUNET_TMP/gnunet-test-plugin-namecache-flat/flatdb 3 | -------------------------------------------------------------------------------- /src/namecache/test_plugin_namecache_postgres.conf: -------------------------------------------------------------------------------- 1 | [namestore-postgres] 2 | CONFIG = connect_timeout=10; dbname=gnunetcheck 3 | TEMPORARY_TABLE = YES 4 | -------------------------------------------------------------------------------- /src/namecache/test_plugin_namecache_sqlite.conf: -------------------------------------------------------------------------------- 1 | [namestore-sqlite] 2 | FILENAME = $GNUNET_TMP/gnunet-test-plugin-namestore-sqlite/sqlite.db 3 | -------------------------------------------------------------------------------- /src/namestore/perf_namestore_api_flat.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_namestore_api.conf 2 | 3 | [namestore] 4 | DATABASE = flat 5 | 6 | [namecache] 7 | DISABLE = YES 8 | 9 | [namestore-heap] 10 | FILENAME = $GNUNET_TEST_HOME/namestore/heap.db 11 | -------------------------------------------------------------------------------- /src/namestore/perf_namestore_api_postgres.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_namestore_api.conf 2 | 3 | [namestore] 4 | DATABASE = postgres 5 | 6 | [namecache] 7 | DISABLE = YES 8 | 9 | [namestore-postgres] 10 | CONFIG = connect_timeout=10; dbname=gnunetcheck 11 | TEMPORARY_TABLE = YES 12 | -------------------------------------------------------------------------------- /src/namestore/perf_namestore_api_sqlite.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_namestore_api.conf 2 | 3 | [namecache] 4 | DISABLE = YES 5 | 6 | [namestore-sqlite] 7 | FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db 8 | -------------------------------------------------------------------------------- /src/namestore/test_hostkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/namestore/test_hostkey -------------------------------------------------------------------------------- /src/namestore/test_namestore_api.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf 3 | 4 | [PATHS] 5 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-namestore/ 6 | 7 | [namestore] 8 | DATABASE = sqlite 9 | START_ON_DEMAND = YES 10 | 11 | [namecache] 12 | DATABASE = sqlite 13 | START_ON_DEMAND = YES 14 | 15 | [identity] 16 | START_ON_DEMAND = YES 17 | 18 | [nse] 19 | WORKBITS = 0 20 | 21 | [transport] 22 | PLUGINS = 23 | -------------------------------------------------------------------------------- /src/namestore/test_namestore_api_flat.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_namestore_api.conf 2 | 3 | [namestore] 4 | DATABASE = flat 5 | 6 | [namestore-heap] 7 | FILENAME = $GNUNET_TEST_HOME/namestore/flat.db 8 | -------------------------------------------------------------------------------- /src/namestore/test_namestore_api_postgres.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_namestore_api.conf 2 | 3 | [namestore] 4 | DATABASE = postgres 5 | 6 | 7 | [namestore-postgres] 8 | CONFIG = connect_timeout=10; dbname=gnunetcheck 9 | TEMPORARY_TABLE = YES 10 | -------------------------------------------------------------------------------- /src/namestore/test_namestore_api_sqlite.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_namestore_api.conf 2 | 3 | [namestore] 4 | DATABASE = sqlite 5 | # PREFIX = valgrind --leak-check=full --track-origins=yes --log-file=/tmp/v_log 6 | 7 | [namestore-sqlite] 8 | FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db 9 | -------------------------------------------------------------------------------- /src/namestore/test_plugin_namestore_flat.conf: -------------------------------------------------------------------------------- 1 | [namestore-flat] 2 | FILENAME = $GNUNET_TMP/gnunet-test-plugin-namestore-flat/flatdb 3 | -------------------------------------------------------------------------------- /src/namestore/test_plugin_namestore_postgres.conf: -------------------------------------------------------------------------------- 1 | [namestore-postgres] 2 | CONFIG = connect_timeout=10; dbname=gnunetcheck 3 | TEMPORARY_TABLE = YES 4 | -------------------------------------------------------------------------------- /src/namestore/test_plugin_namestore_sqlite.conf: -------------------------------------------------------------------------------- 1 | [namestore-sqlite] 2 | FILENAME = $GNUNET_TMP/gnunet-test-plugin-namestore-sqlite/sqlite.db 3 | -------------------------------------------------------------------------------- /src/namestore/zonefiles/AQ835GVL939H4O8QJQ7GBLPTQC0QAAO91BN7QK01BA63MDSK6I4G.zkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/namestore/zonefiles/AQ835GVL939H4O8QJQ7GBLPTQC0QAAO91BN7QK01BA63MDSK6I4G.zkey -------------------------------------------------------------------------------- /src/namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey -------------------------------------------------------------------------------- /src/namestore/zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/namestore/zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey -------------------------------------------------------------------------------- /src/namestore/zonefiles/S5I9DSGQVAB5FVV16T3B3CC5H1B2JGL3Q412JBKURME8EKU0600G.zkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/namestore/zonefiles/S5I9DSGQVAB5FVV16T3B3CC5H1B2JGL3Q412JBKURME8EKU0600G.zkey -------------------------------------------------------------------------------- /src/nat-auto/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-nat-auto 2 | gnunet-nat-auto 3 | gnunet-nat-server 4 | -------------------------------------------------------------------------------- /src/nat-auto/nat-auto.conf.in: -------------------------------------------------------------------------------- 1 | [nat-auto] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @UNIXONLY@ PORT = 2124 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-nat-auto 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-nat-auto.sock 9 | UNIX_MATCH_UID = YES 10 | UNIX_MATCH_GID = YES 11 | 12 | [gnunet-nat-server] 13 | HOSTNAME = gnunet.org 14 | PORT = 5724 15 | NOARMBIND = YES 16 | -------------------------------------------------------------------------------- /src/nat/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-nat 2 | gnunet-helper-nat-client 3 | gnunet-helper-nat-server 4 | gnunet-nat 5 | gnunet-nat-server 6 | -------------------------------------------------------------------------------- /src/nat/gnunet-nat-client-script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | IP=`ifconfig | grep inet | head -n1 | awk '{print $2}' | sed -e "s/addr://"` 3 | echo "Using IP $IP, trying to connect to $1" 4 | ./gnunet-nat-client-udp $IP $1 5 | -------------------------------------------------------------------------------- /src/nat/gnunet-nat-server-script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | IP=`ifconfig | grep inet | head -n1 | awk '{print $2}' | sed -e "s/addr://"` 3 | echo "Using IP $IP" 4 | ./gnunet-nat-server $IP | sed -u -e "s/.*/.\/gnunet-nat-server-udp $IP &\&/" | sh 5 | -------------------------------------------------------------------------------- /src/nat/test_stun.conf: -------------------------------------------------------------------------------- 1 | [PATHS] 2 | GNUNET_TEST_HOME = $GNUNET_TMP/test-stun 3 | 4 | [resolver] 5 | PORT = 22354 6 | HOSTNAME = localhost 7 | 8 | -------------------------------------------------------------------------------- /src/nse/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-nse 2 | gnunet-nse 3 | gnunet-nse-profiler 4 | test_nse_api 5 | perf_kdf 6 | -------------------------------------------------------------------------------- /src/nse/hostkeys.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/nse/hostkeys.dat -------------------------------------------------------------------------------- /src/peerinfo-tool/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-peerinfo 2 | test_gnunet_peerinfo.py 3 | -------------------------------------------------------------------------------- /src/peerinfo-tool/test_gnunet_peerinfo_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/gnunet-test-peerinfo/ 5 | 6 | [transport] 7 | plugins = tcp 8 | 9 | [nat] 10 | RETURN_LOCAL_ADDRESSES = YES 11 | 12 | [transport-tcp] 13 | PORT = 24357 14 | -------------------------------------------------------------------------------- /src/peerinfo/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-peerinfo 2 | test_peerinfo_api 3 | test_peerinfo_api_friend_only 4 | test_peerinfo_api_notify_friend_only 5 | test_peerinfo_shipped_hellos 6 | perf_peerinfo_api 7 | -------------------------------------------------------------------------------- /src/peerinfo/test_peerinfo_api_data.conf: -------------------------------------------------------------------------------- 1 | [PATHS] 2 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-peerinfo/ 3 | 4 | [peerinfo] 5 | PORT = 22354 6 | 7 | [dns] 8 | START_ON_DEMAND = NO 9 | 10 | 11 | 12 | [nse] 13 | START_ON_DEMAND = NO 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/peerstore/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-peerstore 2 | gnunet-peerstore 3 | perf_peerstore_store 4 | test_peerstore_api_iterate 5 | test_peerstore_api_store 6 | test_peerstore_api_sync 7 | test_peerstore_api_watch 8 | test_plugin_peerstore_sqlite 9 | test_plugin_peerstore_flat 10 | -------------------------------------------------------------------------------- /src/peerstore/peerstore.conf.in: -------------------------------------------------------------------------------- 1 | [peerstore] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @JAVAPORT@PORT = 2110 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-peerstore 6 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-peerstore.sock 7 | UNIX_MATCH_UID = NO 8 | UNIX_MATCH_GID = YES 9 | DATABASE = sqlite 10 | 11 | [peerstore-sqlite] 12 | FILENAME = $GNUNET_DATA_HOME/peerstore/sqlite.db 13 | 14 | -------------------------------------------------------------------------------- /src/peerstore/test_peerstore_api_data.conf: -------------------------------------------------------------------------------- 1 | [PATHS] 2 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-peerstore 3 | 4 | [peerstore] 5 | START_ON_DEMAND = YES 6 | BINARY = gnunet-service-peerstore 7 | UNIXPATH = $GNUNET_TMP/gnunet-service-peerstore.sock 8 | DATABASE = sqlite 9 | UNIX_MATCH_UID = NO 10 | UNIX_MATCH_GID = YES 11 | #PREFIX = xterm -e gdb --args 12 | 13 | [peerstore-sqlite] 14 | FILENAME = $GNUNET_TEST_HOME/gnunet-peerstore-sqlite.db 15 | -------------------------------------------------------------------------------- /src/peerstore/test_plugin_peerstore_flat.conf: -------------------------------------------------------------------------------- 1 | [peerstore-flat] 2 | FILENAME = $GNUNET_TMP/gnunet-test-plugin-namestore-flat/flatdb 3 | 4 | [peerstore] 5 | # PREFIX = valgrind --log-file=/home/schanzen/dev/gnunet/src/peerstore/vg_log 6 | -------------------------------------------------------------------------------- /src/peerstore/test_plugin_peerstore_sqlite.conf: -------------------------------------------------------------------------------- 1 | [peerstore-sqlite] 2 | FILENAME = $GNUNET_TMP/gnunet-test-plugin-peerstore-sqlite/sqlite.db 3 | -------------------------------------------------------------------------------- /src/pq/.gitignore: -------------------------------------------------------------------------------- 1 | test_pq 2 | -------------------------------------------------------------------------------- /src/pt/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-daemon-pt 2 | test_gns_vpn 3 | test_gnunet_vpn-4_over 4 | test_gnunet_vpn-4_to_6 5 | test_gnunet_vpn-6_over 6 | test_gnunet_vpn-6_to_4 7 | -------------------------------------------------------------------------------- /src/pt/pt.conf: -------------------------------------------------------------------------------- 1 | [pt] 2 | BINARY = gnunet-daemon-pt 3 | NOARMBIND = YES 4 | 5 | # Set this to YES to tunnel IPv4 traffic over GNUnet 6 | TUNNEL_IPV4 = NO 7 | 8 | # Set this to YES to tunnel IPv6 traffic over GNUnet 9 | TUNNEL_IPV6 = NO 10 | 11 | # Set this to YES to tunnel DNS traffic over GNUnet 12 | TUNNEL_DNS = NO 13 | -------------------------------------------------------------------------------- /src/reclaim/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-reclaim 2 | gnunet-service-reclaim 3 | -------------------------------------------------------------------------------- /src/reclaim/reclaim.conf: -------------------------------------------------------------------------------- 1 | [reclaim] 2 | START_ON_DEMAND = YES 3 | RUN_PER_USER = YES 4 | #PORT = 2108 5 | HOSTNAME = localhost 6 | BINARY = gnunet-service-reclaim 7 | ACCEPT_FROM = 127.0.0.1; 8 | ACCEPT_FROM6 = ::1; 9 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-reclaim.sock 10 | UNIX_MATCH_UID = NO 11 | UNIX_MATCH_GID = YES 12 | TICKET_REFRESH_INTERVAL = 6h 13 | 14 | [reclaim-rest-plugin] 15 | #ADDRESS = https://identity.gnu:8000#/login 16 | ADDRESS = https://ui.reclaim/#/login 17 | OIDC_CLIENT_SECRET = secret 18 | JWT_SECRET = secret 19 | EXPIRATION_TIME = 1d 20 | -------------------------------------------------------------------------------- /src/reclaim/test_reclaim_defaults.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-idp-testing/ 5 | 6 | [namestore-sqlite] 7 | FILENAME = $GNUNET_TEST_HOME/namestore/sqlite_test.db 8 | 9 | [namecache-sqlite] 10 | FILENAME=$GNUNET_TEST_HOME/namecache/namecache.db 11 | 12 | [identity] 13 | # Directory where we store information about our egos 14 | EGODIR = $GNUNET_TEST_HOME/identity/egos/ 15 | 16 | [dhtcache] 17 | DATABASE = heap 18 | 19 | [transport] 20 | PLUGINS = tcp 21 | 22 | [transport-tcp] 23 | BINDTO = 127.0.0.1 24 | 25 | -------------------------------------------------------------------------------- /src/regex/.gitignore: -------------------------------------------------------------------------------- 1 | perf-regex 2 | gnunet-daemon-regexprofiler 3 | gnunet-regex-profiler 4 | gnunet-regex-simulation-profiler 5 | gnunet-service-regex 6 | test_graph.dot 7 | test_regex_api 8 | test_regex_eval_api 9 | test_regex_graph_api 10 | test_regex_integration 11 | test_regex_iterate_api 12 | test_regex_proofs 13 | -------------------------------------------------------------------------------- /src/regex/perf-data.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/regex/perf-data.tar.gz -------------------------------------------------------------------------------- /src/regex/regex.conf.in: -------------------------------------------------------------------------------- 1 | [regex] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @UNIXONLY@ PORT = 2107 4 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-regex.sock 5 | HOSTNAME = localhost 6 | BINARY = gnunet-service-regex 7 | ACCEPT_FROM = 127.0.0.1; 8 | ACCEPT_FROM6 = ::1; 9 | -------------------------------------------------------------------------------- /src/regex/regex_simulation_profiler_test.conf: -------------------------------------------------------------------------------- 1 | [regex-mysql] 2 | DATABASE = regex 3 | USER = gnunet 4 | PASSWORD = 5 | HOST = localhost 6 | PORT = 3306 7 | REGEX_PREFIX = GNVPN-0001-PAD 8 | -------------------------------------------------------------------------------- /src/rest/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-rest-server 2 | -------------------------------------------------------------------------------- /src/rest/rest.conf: -------------------------------------------------------------------------------- 1 | [rest] 2 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-rest.sock 3 | BINARY=gnunet-rest-server 4 | IMMEDIATE_START=YES 5 | HTTP_PORT=7776 6 | BIND_TO=127.0.0.1 7 | BIND_TO6=::1 8 | REST_ALLOW_HEADERS=Authorization,Accept,Content-Type 9 | REST_ECHO_ORIGIN_WEBEXT=YES 10 | REST_ALLOW_ORIGIN=http://localhost:4200 11 | REST_ALLOW_CREDENTIALS=true 12 | RUN_PER_USER=YES 13 | -------------------------------------------------------------------------------- /src/revocation/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-revocation 2 | gnunet-revocation 3 | test_revocation 4 | test_local_revocation.py 5 | -------------------------------------------------------------------------------- /src/revocation/revocation.conf.in: -------------------------------------------------------------------------------- 1 | [revocation] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | IMMEDIATE_START = YES 4 | @JAVAPORT@PORT = 2112 5 | HOSTNAME = localhost 6 | BINARY = gnunet-service-revocation 7 | ACCEPT_FROM = 127.0.0.1; 8 | ACCEPT_FROM6 = ::1; 9 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-revocation.sock 10 | UNIX_MATCH_UID = NO 11 | UNIX_MATCH_GID = YES 12 | 13 | # 2^25 hash operations take about 16-24h on a first-generation i7 14 | # (using only a single-core) with SCRYPT. 15 | # DO NOT CHANGE THIS VALUE, doing so will break the protocol! 16 | WORKBITS = 25 17 | EPOCH_DURATION = 356 d 18 | 19 | DATABASE = $GNUNET_DATA_HOME/revocation.dat 20 | -------------------------------------------------------------------------------- /src/rps/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-rps 2 | gnunet-rps 3 | gnunet-rps-profiler 4 | test_rps_single_req 5 | test_rps_req_cancel 6 | test_rps_sub 7 | test_rps_seed_big 8 | test_rps_seed_request 9 | test_service_rps_custommap 10 | test_service_rps_sampler_elem 11 | test_service_rps_view 12 | test_rps_churn 13 | test_service_rps_peers 14 | test_rps_malicious_1 15 | test_rps_malicious_2 16 | test_rps_malicious_3 17 | -------------------------------------------------------------------------------- /src/scalarproduct/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-scalarproduct-ecc-bob 2 | gnunet-scalarproduct 3 | gnunet-service-scalarproduct-alice 4 | gnunet-service-scalarproduct-bob 5 | gnunet-service-scalarproduct-ecc-alice 6 | test_ecc_scalarproduct 7 | -------------------------------------------------------------------------------- /src/scalarproduct/test_scalarproduct.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-scalarproduct/ 5 | 6 | [testbed] 7 | OVERLAY_TOPOLOGY = CLIQUE 8 | 9 | [nse] 10 | WORKBITS=0 11 | 12 | [scalarproduct-bob] 13 | #PREFIX = valgrind --leak-check=yes 14 | 15 | [scalarproduct-alice] 16 | #PREFIX = valgrind --leak-check=yes 17 | 18 | [ats] 19 | WAN_QUOTA_IN = unlimited 20 | WAN_QUOTA_OUT = unlimited 21 | 22 | [peerinfo] 23 | USE_INCLUDED_HELLOS = NO 24 | -------------------------------------------------------------------------------- /src/secretsharing/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-secretsharing 2 | gnunet-secretsharing-profiler 3 | test_secretsharing_api 4 | -------------------------------------------------------------------------------- /src/secretsharing/secretsharing.conf.in: -------------------------------------------------------------------------------- 1 | [secretsharing] 2 | START_ON_DEMAND = NO 3 | @JAVAPORT@PORT = 2114 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-secretsharing 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-secretsharing.sock 9 | UNIX_MATCH_UID = YES 10 | UNIX_MATCH_GID = YES 11 | # PREFIX = valgrind --leak-check=yes 12 | # DISABLE_SOCKET_FORWARDING = NO 13 | # USERNAME = 14 | # MAXBUF = 15 | # TIMEOUT = 16 | # DISABLEV6 = 17 | # BINDTO = 18 | # REJECT_FROM = 19 | # REJECT_FROM6 = 20 | # PREFIX = 21 | -------------------------------------------------------------------------------- /src/set/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-set-profiler 2 | gnunet-service-set 3 | gnunet-set-ibf-profiler 4 | test_set_api 5 | test_set_intersection_result_full 6 | test_set_union_copy 7 | test_set_union_result_symmetric 8 | -------------------------------------------------------------------------------- /src/set/set.conf.in: -------------------------------------------------------------------------------- 1 | [set] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @UNIXONLY@PORT = 2106 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-set 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-set.sock 9 | UNIX_MATCH_UID = YES 10 | UNIX_MATCH_GID = YES 11 | 12 | #PREFIX = valgrind 13 | -------------------------------------------------------------------------------- /src/sq/.gitignore: -------------------------------------------------------------------------------- 1 | test_sq 2 | -------------------------------------------------------------------------------- /src/statistics/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-statistics 2 | gnunet-service-statistics 3 | test_gnunet_statistics.py 4 | test_statistics_api 5 | test_statistics_api_loop 6 | test_statistics_api_watch 7 | test_statistics_api_watch_zero_value 8 | -------------------------------------------------------------------------------- /src/statistics/statistics.conf.in: -------------------------------------------------------------------------------- 1 | [statistics] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @JAVAPORT@PORT = 2088 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-statistics 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-statistics.sock 9 | UNIX_MATCH_UID = NO 10 | UNIX_MATCH_GID = YES 11 | DATABASE = $GNUNET_DATA_HOME/statistics.dat 12 | # DISABLE_SOCKET_FORWARDING = NO 13 | # USERNAME = 14 | # MAXBUF = 15 | # TIMEOUT = 16 | # DISABLEV6 = 17 | # BINDTO = 18 | # REJECT_FROM = 19 | # REJECT_FROM6 = 20 | # PREFIX = 21 | 22 | -------------------------------------------------------------------------------- /src/statistics/test_statistics_api_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf 3 | 4 | [PATHS] 5 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-statistics/ 6 | -------------------------------------------------------------------------------- /src/template/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-template 2 | gnunet-service-template 3 | test_template_api 4 | -------------------------------------------------------------------------------- /src/testbed-logger/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-testbed-logger 2 | test_testbed_logger_api 3 | -------------------------------------------------------------------------------- /src/testbed-logger/test_testbed_logger_api.conf: -------------------------------------------------------------------------------- 1 | [testbed-logger] 2 | UNIXPATH=$GNUNET_TMP/testbed-logger.sock 3 | DIR=$GNUNET_TEST_HOME/data 4 | 5 | [PATHS] 6 | GNUNET_TEST_HOME = $GNUNET_TMP/test-testbed/ -------------------------------------------------------------------------------- /src/testbed/overlay_topology.txt: -------------------------------------------------------------------------------- 1 | 2 | 1:2|3 3 | 3:4| 0| 1 4 | 2: 3|1|0 5 | 0: 2 6 | -------------------------------------------------------------------------------- /src/testbed/sample.job: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This job command file is called job.cmd 3 | #@ job_type = parallel 4 | #@ class = general 5 | #@ node = 1 6 | #@ output = job$(jobid).out 7 | #@ error = job$(jobid).err 8 | #@ total_tasks=16 9 | #@ wall_clock_limit = 0:0:1 10 | #@ network.MPI = sn_all,not_shared,us 11 | ##@ ... other LoadLeveler keywords (see below) 12 | #@ notification = always 13 | #@ notify_user = totakura@in.tum.de 14 | #@ queue 15 | 16 | #@ executable = /bin/bash 17 | -------------------------------------------------------------------------------- /src/testbed/sample_hosts.txt: -------------------------------------------------------------------------------- 1 | totakura@192.168.0.1:22 2 | totakura@192.168.0.2:22 3 | totakura@opt01:22 4 | totakura@i19-n015:2022 5 | totakura@asgard.realm 6 | rivendal 7 | rohan:561 8 | -------------------------------------------------------------------------------- /src/testbed/test-underlay.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/testbed/test-underlay.sqlite -------------------------------------------------------------------------------- /src/testbed/test_testbed_api.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_barriers.h: -------------------------------------------------------------------------------- 1 | /** 2 | * The name to use for the barrier in the test cases 3 | */ 4 | #define TEST_BARRIER_NAME "test_barrier" 5 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_statistics.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = 2D_TORUS 5 | MAX_PARALLEL_SERVICE_CONNECTIONS = 2 6 | 7 | [statistics] 8 | START_ON_DEMAND = YES 9 | PORT = 59530 10 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_test_timeout.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = CLIQUE 5 | SETUP_TIMEOUT = 2 s 6 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topology2dtorus.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = 2D_TORUS 5 | 6 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologyclique.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = CLIQUE 5 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologyfromfile.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = FROM_FILE 5 | OVERLAY_TOPOLOGY_FILE = overlay_topology.txt 6 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologyline.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = LINE 5 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologyrandom.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = RANDOM 5 | OVERLAY_RANDOM_LINKS = 5 6 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologyring.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = RING 5 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologyscalefree.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = SCALE_FREE 5 | SCALE_FREE_TOPOLOGY_CAP = 70 6 | SCALE_FREE_TOPOLOGY_M = 5 7 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologysmallworld.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = SMALL_WORLD 5 | OVERLAY_RANDOM_LINKS = 3 6 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologysmallworldring.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = SMALL_WORLD_RING 5 | OVERLAY_RANDOM_LINKS = 3 6 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_api_testbed_run_topologystar.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = STAR 5 | -------------------------------------------------------------------------------- /src/testbed/test_testbed_underlay.conf.in: -------------------------------------------------------------------------------- 1 | @INLINE@ test_testbed_api_template.conf 2 | 3 | [testbed] 4 | OVERLAY_TOPOLOGY = LINE 5 | OPERATION_TIMEOUT = 5 s 6 | 7 | [testbed-underlay] 8 | START_ON_DEMAND = NO 9 | DBFILE = /will/be/overwritten/by/testcase 10 | IMMEDIATE_START = YES 11 | 12 | [dv] 13 | START_ON_DEMAND = NO 14 | -------------------------------------------------------------------------------- /src/testbed/valgrind-zlib.supp: -------------------------------------------------------------------------------- 1 | { 2 | 3 | Memcheck:Cond 4 | fun:inflateReset2 5 | ... 6 | } 7 | -------------------------------------------------------------------------------- /src/testing/.gitignore: -------------------------------------------------------------------------------- 1 | list-keys 2 | gnunet-testing 3 | test_testing_peerstartup 4 | test_testing_peerstartup2 5 | test_testing_portreservation 6 | test_testing_servicestartup 7 | test_testing_sharedservices 8 | -------------------------------------------------------------------------------- /src/testing/test_testing_defaults.conf: -------------------------------------------------------------------------------- 1 | [PATHS] 2 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunet-testing/ 3 | 4 | [transport] 5 | PLUGINS = tcp 6 | 7 | [transport-tcp] 8 | TESTING_IGNORE_KEYS = SOMETHING;KEY1;ACCEPT_FROM; 9 | 10 | [transport-tcp] 11 | BINDTO = 127.0.0.1 12 | 13 | [nat] 14 | DISABLEV6 = YES 15 | ENABLE_UPNP = NO 16 | BEHIND_NAT = NO 17 | ALLOW_NAT = NO 18 | INTERNAL_ADDRESS = 127.0.0.1 19 | EXTERNAL_ADDRESS = 127.0.0.1 20 | USE_LOCALADDR = NO 21 | 22 | 23 | [rps] 24 | START_ON_DEMAND = NO 25 | IMMEDIATE_START = NO 26 | -------------------------------------------------------------------------------- /src/testing/testing.conf: -------------------------------------------------------------------------------- 1 | [TESTING] 2 | # How long before failing a connection? 3 | CONNECT_TIMEOUT = 30 s 4 | # How many connect attempts should we make? 5 | CONNECT_ATTEMPTS = 3 6 | # How many connections can happen simultaneously? 7 | MAX_OUTSTANDING_CONNECTIONS = 50 8 | 9 | # Should we clean up the files on peer group shutdown? 10 | DELETE_FILES = YES 11 | 12 | -------------------------------------------------------------------------------- /src/topology/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-daemon-topology 2 | test_gnunet_daemon_topology 3 | -------------------------------------------------------------------------------- /src/topology/topology.conf: -------------------------------------------------------------------------------- 1 | [topology] 2 | IMMEDIATE_START = YES 3 | NOARMBIND = YES 4 | MINIMUM-FRIENDS = 0 5 | FRIENDS-ONLY = NO 6 | TARGET-CONNECTION-COUNT = 16 7 | FRIENDS = $GNUNET_CONFIG_HOME/topology/friends.txt 8 | BINARY = gnunet-daemon-topology 9 | -------------------------------------------------------------------------------- /src/transport/benchmark.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in $(seq 1 0) 4 | do 5 | echo RUN $i 6 | ./test_transport_api_reliability_http 7 | done 8 | 9 | for i in $(seq 1 100) 10 | do 11 | echo RUN $i 12 | ./test_transport_api_reliability_https 13 | done 14 | -------------------------------------------------------------------------------- /src/transport/communicator-unix.conf: -------------------------------------------------------------------------------- 1 | [communicator-unix] 2 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-communicator-unix.sock 3 | -------------------------------------------------------------------------------- /src/transport/profile_transport.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | C_ITERATIONS=5 4 | C_MESSAGE_DELTA=10 5 | C_MESSAGE_START=10 6 | C_MESSAGE_END=2000 7 | 8 | #for i in {$C_MESSAGE_START..$C_MESSAGE_END..$C_MESSAGE_DELTA} 9 | # do 10 | # echo "Welcome $i times" 11 | # done 12 | 13 | 14 | for $((cur=$C_MESSAGE_START; cur<=$C_MESSAGE_END; cur = cur + $C_MESSAGE_DELTA)) 15 | { 16 | ./gnunet-transport-profiler -p NSGWRTMHG2YJK9KZSTEWKJ5TK20AGRDBWHFA1ZNKKZ7T360MZ8S0 -s -c perf_https_peer1.conf -n 20240 -m $cur -i 4 17 | sleep 1 18 | } 19 | -------------------------------------------------------------------------------- /src/transport/test_communicator_udp_basic_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_transport_defaults.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-communicator-unix-1/ 5 | 6 | [PEER] 7 | PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-1/private.key 8 | 9 | [transport-tcp] 10 | PORT = 52400 11 | 12 | [transport-udp] 13 | PORT = 52401 14 | 15 | [transport] 16 | #PORT = 60000 17 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_1.sock 18 | 19 | [nat] 20 | UNIXPATH = $GNUNET_TMP/test-communicator-unix-1/nat.sock 21 | ENABLE_IPSCAN = YES 22 | 23 | [communicator-udp] 24 | BINDTO = 60002 25 | DISABLE_V6 = YES 26 | MAX_QUEUE_LENGTH=5000 27 | -------------------------------------------------------------------------------- /src/transport/test_communicator_udp_basic_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_transport_defaults.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunetd-plugin-transport/ 5 | 6 | [PEER] 7 | PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-2/private.key 8 | 9 | 10 | [transport-tcp] 11 | PORT = 52400 12 | 13 | [transport-udp] 14 | PORT = 52402 15 | 16 | [transport] 17 | #PORT = 60001 18 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_2.sock 19 | 20 | [nat] 21 | UNIXPATH = $GNUNET_TMP/test-communicator-unix-2/nat.sock 22 | 23 | [communicator-udp] 24 | BINDTO = 60003 25 | DISABLE_V6 = YES 26 | MAX_QUEUE_LENGTH=5000 27 | -------------------------------------------------------------------------------- /src/transport/test_delay: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | TEMP=$(getopt t: "$*") 4 | 5 | if [ $? != 0 ] ; then 6 | exit 1 7 | fi 8 | 9 | eval set -- "$TEMP" 10 | 11 | while true ; do 12 | case "$1" in 13 | (-t) sleep "$2" ; shift 2 ;; 14 | (--) shift ; break ;; 15 | (*) echo "Error parsing getopt output" ; exit 1 ;; 16 | esac 17 | done 18 | echo "exec $@" 19 | exec "$@" 20 | -------------------------------------------------------------------------------- /src/transport/test_plugin_hostkey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/transport/test_plugin_hostkey -------------------------------------------------------------------------------- /src/transport/test_plugin_hostkey.ecc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/transport/test_plugin_hostkey.ecc -------------------------------------------------------------------------------- /src/transport/test_plugin_transport_data_udp.conf: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/transport/test_quota_compliance_bluetooth_asymmetric_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-bluetooth-p1/ 4 | 5 | [transport-bluetooth] 6 | INTERFACE = hci0 7 | TESTMODE = 1 8 | 9 | [transport] 10 | PLUGINS = bluetooth 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/transport/test_quota_compliance_bluetooth_asymmetric_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-bluetooth-p2/ 4 | 5 | [transport-bluetooth] 6 | INTERFACE = hci1 7 | TESTMODE = 2 8 | 9 | [transport] 10 | PLUGINS = bluetooth 11 | 12 | -------------------------------------------------------------------------------- /src/transport/test_quota_compliance_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_transport_defaults.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunetd-plugin-transport/ 4 | 5 | [transport-tcp] 6 | PORT = 52368 7 | TIMEOUT = 5 s 8 | 9 | [arm] 10 | PORT = 52366 11 | 12 | [statistics] 13 | PORT = 52367 14 | 15 | [resolver] 16 | PORT = 52364 17 | 18 | [peerinfo] 19 | PORT = 52369 20 | 21 | [transport] 22 | PORT = 52365 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/transport/test_transport_address_switch_http_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [ats] 6 | UNSPECIFIED_QUOTA_IN = 8 KiB 7 | UNSPECIFIED_QUOTA_OUT = 8 KiB 8 | # LOOPBACK 9 | LOOPBACK_QUOTA_IN = 8 KiB 10 | LOOPBACK_QUOTA_OUT = 8 KiB 11 | # LAN 12 | LAN_QUOTA_IN = 8 KiB 13 | LAN_QUOTA_OUT = 8 KiB 14 | # WAN 15 | WAN_QUOTA_IN = 8 KiB 16 | WAN_QUOTA_OUT = 8 KiB 17 | # WLAN 18 | WLAN_QUOTA_IN = 8 KiB 19 | WLAN_QUOTA_OUT = 8 KiB 20 | # BLUETOOTH 21 | BLUETOOTH_QUOTA_IN = 8 KiB 22 | BLUETOOTH_QUOTA_OUT = 8 KiB 23 | 24 | [transport] 25 | PLUGINS = http_server http_client 26 | 27 | -------------------------------------------------------------------------------- /src/transport/test_transport_address_switch_http_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [ats] 6 | UNSPECIFIED_QUOTA_IN = 8 KiB 7 | UNSPECIFIED_QUOTA_OUT = 8 KiB 8 | # LOOPBACK 9 | LOOPBACK_QUOTA_IN = 8 KiB 10 | LOOPBACK_QUOTA_OUT = 8 KiB 11 | # LAN 12 | LAN_QUOTA_IN = 8 KiB 13 | LAN_QUOTA_OUT = 8 KiB 14 | # WAN 15 | WAN_QUOTA_IN = 8 KiB 16 | WAN_QUOTA_OUT = 8 KiB 17 | # WLAN 18 | WLAN_QUOTA_IN = 8 KiB 19 | WLAN_QUOTA_OUT = 8 KiB 20 | # BLUETOOTH 21 | BLUETOOTH_QUOTA_IN = 8 KiB 22 | BLUETOOTH_QUOTA_OUT = 8 KiB 23 | 24 | [transport] 25 | PLUGINS = http_client http_server 26 | 27 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_blacklisting_tcp_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_blacklisting_tcp_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_bluetooth_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-bluetooth-p1/ 4 | 5 | [transport-bluetooth] 6 | INTERFACE = hci0 7 | TESTMODE = 1 8 | 9 | [transport] 10 | PLUGINS = bluetooth 11 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_bluetooth_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-bluetooth-p2/ 4 | 5 | [transport-bluetooth] 6 | INTERFACE = hci1 7 | TESTMODE = 2 8 | 9 | [transport] 10 | PLUGINS = bluetooth 11 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_data.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ test_transport_defaults.conf 2 | [PATHS] 3 | 4 | [transport-tcp] 5 | PORT = 52094 6 | 7 | [transport-udp] 8 | PORT = 52094 9 | 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_disconnect_tcp_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_disconnect_tcp_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_http_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-http-p1/ 4 | 5 | [transport] 6 | PLUGINS = http_client 7 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_http_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-http-p2/ 4 | 5 | [transport] 6 | PLUGINS = http_server 7 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_http_reverse_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-http-p1/ 4 | 5 | [transport] 6 | PLUGINS = http_client 7 | 8 | [ats] 9 | WAN_QUOTA_IN = unlimited 10 | WAN_QUOTA_OUT = unlimited 11 | 12 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_http_reverse_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-http-p2/ 4 | 5 | [transport-http_server] 6 | PORT = 8080 7 | EXTERNAL_HOSTNAME = fulcrum.net.in.tum.de/gnunet 8 | EXTERNAL_HOSTNAME_ONLY = YES 9 | 10 | [transport] 11 | PLUGINS = http_server 12 | 13 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_limited_sockets_tcp_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 5 | 6 | [transport] 7 | PLUGINS = tcp 8 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_limited_sockets_tcp_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | @INLINE@ ../../contrib/conf/gnunet/no_autostart_above_core.conf 3 | 4 | [PATHS] 5 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 6 | 7 | [transport] 8 | PLUGINS = tcp 9 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_manipulation_cfg_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | MANIPULATE_DELAY_IN = 100 ms 8 | MANIPULATE_DELAY_OUT = 100 ms 9 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_manipulation_cfg_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | #MANIPULATE_DELAY_IN = 0 ms 8 | #MANIPULATE_DELAY_OUT = 0 ms 9 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_monitor_peers_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-monitoring-p1/ 4 | 5 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_monitor_peers_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-monitoring-p2/ 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_monitor_validation_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-monitoring-val-p1/ 4 | 5 | [transport] 6 | PLUGINS=tcp 7 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_monitor_validation_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-monitoring-val-p2/ 4 | 5 | [TRANSPORT] 6 | PLUGINS=tcp 7 | 8 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_multi_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-multi-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp udp 7 | 8 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_multi_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-multi-p2/ 4 | 5 | [nat] 6 | ALLOW_NAT = NO 7 | 8 | [transport] 9 | PLUGINS = tcp udp 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_restart_1peer_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_restart_1peer_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_restart_2peers_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_restart_2peers_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_slow_ats_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-slow-ats-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_slow_ats_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-slow-ats-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | [ats] 9 | PREFIX = ./test_delay -t 10 -- 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_tcp_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_tcp_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #[transport] 9 | #PREFIX = valgrind 10 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_timeout_https_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-https-p1/ 4 | 5 | [arm] 6 | PORT = 12105 7 | 8 | [statistics] 9 | PORT = 12104 10 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-statistics.sock 11 | 12 | [resolver] 13 | PORT = 12103 14 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-resolver.sock 15 | 16 | [peerinfo] 17 | PORT = 12102 18 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-peerinfo.sock 19 | 20 | [transport] 21 | PORT = 12101 22 | PLUGINS = https_client 23 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-p1-service-transport.sock 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_udp_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-udp-p1/ 4 | 5 | [transport-udp] 6 | PORT = 0 7 | BROADCAST = NO 8 | MAX_BPS = 50000000 9 | BINDTO = 127.0.0.1 10 | BINDTO6 = ::1 11 | 12 | [transport] 13 | PORT = 12041 14 | PLUGINS = udp 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_udp_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-udp-p2/ 4 | 5 | [transport-udp] 6 | PORT = 12050 7 | BROADCAST = NO 8 | MAX_BPS = 50000000 9 | BINDTO = 127.0.0.1 10 | BINDTO6 = ::1 11 | 12 | [transport] 13 | PLUGINS = udp 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_unix_peer1.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-unix-p1/ 4 | 5 | [transport] 6 | PLUGINS = unix 7 | 8 | [transport-unix] 9 | PORT = 12120 10 | 11 | -------------------------------------------------------------------------------- /src/transport/test_transport_api_unix_peer2.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-unix-p2/ 4 | 5 | [transport] 6 | PLUGINS = unix 7 | 8 | -------------------------------------------------------------------------------- /src/transport/test_transport_blacklisting_cfg_blp_peer1_full.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport-tcp] 6 | PORT = 12000 7 | TIMEOUT = 5 s 8 | 9 | [transport] 10 | PLUGINS = tcp 11 | 12 | #Peer 1: 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG 13 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 14 | 15 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] 16 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = 17 | -------------------------------------------------------------------------------- /src/transport/test_transport_blacklisting_cfg_blp_peer1_multiple_plugins.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp udp 7 | 8 | #Peer 1: 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG 9 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 10 | 11 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] 12 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = tcp 13 | 14 | -------------------------------------------------------------------------------- /src/transport/test_transport_blacklisting_cfg_blp_peer1_plugin.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer1.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p1/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #Peer 1: 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG 9 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 10 | 11 | [transport-blacklist-6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG] 12 | DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 = tcp 13 | 14 | -------------------------------------------------------------------------------- /src/transport/test_transport_blacklisting_cfg_blp_peer2_full.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #Peer 1: 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG 9 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 10 | 11 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] 12 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = 13 | 14 | -------------------------------------------------------------------------------- /src/transport/test_transport_blacklisting_cfg_blp_peer2_multiple_plugins.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp udp 7 | 8 | #Peer 1: 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG 9 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 10 | 11 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] 12 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = tcp 13 | -------------------------------------------------------------------------------- /src/transport/test_transport_blacklisting_cfg_blp_peer2_plugin.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ template_cfg_peer2.conf 2 | [PATHS] 3 | GNUNET_TEST_HOME = $GNUNET_TMP/test-transport/api-tcp-p2/ 4 | 5 | [transport] 6 | PLUGINS = tcp 7 | 8 | #Peer 1: 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG 9 | #Peer 2: DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50 10 | 11 | [transport-blacklist-DK5WZKKDHH06BH1H0DE0Z8CPBTG9AD8P85SF02WW3285AT3V0V50] 12 | 6YNBKM6TTK64FAG9DF0292AW5JA9CCAC04JTY0HF8XHP635HPBBG = tcp 13 | -------------------------------------------------------------------------------- /src/transport/test_transport_defaults.conf: -------------------------------------------------------------------------------- 1 | @INLINE@ ../../contrib/conf/gnunet/no_forcestart.conf 2 | 3 | [PATHS] 4 | GNUNET_TEST_HOME = $GNUNET_TMP/test-tng/ 5 | 6 | [transport-tcp] 7 | TIMEOUT = 300 s 8 | 9 | [transport] 10 | # PREFIX = valgrind 11 | 12 | [nat] 13 | DISABLEV6 = NO 14 | RETURN_LOCAL_ADDRESSES = YES 15 | BINDTO = 127.0.0.1 16 | INTERNAL_ADDRESS = 127.0.0.1 17 | EXTERNAL_ADDRESS = 127.0.0.1 18 | 19 | [transport-udp] 20 | BROADCAST_RECEIVE = no 21 | -------------------------------------------------------------------------------- /src/util/resolver.conf.in: -------------------------------------------------------------------------------- 1 | [resolver] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @JAVAPORT@PORT = 2089 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-resolver 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-resolver.sock 9 | UNIX_MATCH_UID = NO 10 | UNIX_MATCH_GID = NO 11 | # DISABLE_SOCKET_FORWARDING = NO 12 | # USERNAME = 13 | # MAXBUF = 14 | # TIMEOUT = 15 | # DISABLEV6 = 16 | # BINDTO = 17 | # REJECT_FROM = 18 | # REJECT_FROM6 = 19 | # PREFIX = 20 | 21 | -------------------------------------------------------------------------------- /src/util/test_client_data.conf: -------------------------------------------------------------------------------- 1 | [test_client] 2 | PORT=14325 3 | HOSTNAME=localhost 4 | -------------------------------------------------------------------------------- /src/util/test_client_unix.conf: -------------------------------------------------------------------------------- 1 | [test_client] 2 | PORT=0 3 | HOSTNAME=localhost 4 | UNIXPATH=$GNUNET_RUNTIME_DIR/test-client-unix.sock 5 | UNIX_MATCH_UID = YES 6 | UNIX_MATCH_GID = YES 7 | -------------------------------------------------------------------------------- /src/util/test_configuration_data.conf: -------------------------------------------------------------------------------- 1 | [PATHS] 2 | SUBST=/hello 3 | 4 | [GNUNET] 5 | SUBST=hello 6 | GNUNET_HOME=$GNUNET_TMP/test-hello-configuration-data/ 7 | 8 | [test] 9 | a=a 10 | b=b 11 | five=5 12 | 13 | [more] 14 | c=c 15 | five=42 16 | 17 | 18 | [last] 19 | test = $SUBST/world 20 | boom = "1 2 3 testing" 21 | trailing = YES 22 | size = 512 KiB 23 | 24 | [FILENAMES] 25 | test = "/Hello /File\ Name /World" 26 | 27 | 28 | [TESTING] 29 | WEAKRANDOM = YES 30 | 31 | -------------------------------------------------------------------------------- /src/util/test_program_data.conf: -------------------------------------------------------------------------------- 1 | [resolver] 2 | HOSTNAME = localhost 3 | -------------------------------------------------------------------------------- /src/util/test_resolver_api_data.conf: -------------------------------------------------------------------------------- 1 | [PATHS] 2 | GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunetd-statistics/ 3 | 4 | [resolver] 5 | PORT = 22354 6 | HOSTNAME = localhost 7 | 8 | -------------------------------------------------------------------------------- /src/util/test_speedup_data.conf: -------------------------------------------------------------------------------- 1 | [testing] 2 | SPEEDUP_INTERVAL = 100 ms 3 | SPEEDUP_DELTA = 100 ms 4 | -------------------------------------------------------------------------------- /src/util/util.supp: -------------------------------------------------------------------------------- 1 | { 2 | cache-libexecdir-value 3 | Memcheck:Leak 4 | fun:malloc 5 | fun:GNUNET_xmalloc_unchecked_ 6 | fun:GNUNET_xmalloc_ 7 | fun:GNUNET_asprintf 8 | fun:GNUNET_OS_installation_get_path 9 | fun:GNUNET_OS_get_libexec_binary_path 10 | ... 11 | } -------------------------------------------------------------------------------- /src/vpn/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-vpn 2 | gnunet-helper-vpn 3 | gnunet-service-vpn 4 | -------------------------------------------------------------------------------- /src/vpn/tests/expected: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/vpn/tests/expected -------------------------------------------------------------------------------- /src/vpn/tests/ping: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GNUnet-Mirror/GNUnet/a3a89edc0aa3ba0bd1d38ff1c5191364d2bb3408/src/vpn/tests/ping -------------------------------------------------------------------------------- /src/vpn/tests/test-helper-icmp.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | /opt/gnunet/bin/gnunet-helper-vpn < ping > result 2>/dev/null & 4 | 5 | PID=$! 6 | 7 | sleep 1 8 | 9 | kill $PID 10 | 11 | if cmp result expected; then 12 | echo OK 13 | exit 0 14 | else 15 | echo FAILED: ICMP-Reply 16 | exit 1 17 | fi 18 | -------------------------------------------------------------------------------- /src/vpn/vpn.conf.in: -------------------------------------------------------------------------------- 1 | [vpn] 2 | START_ON_DEMAND = @START_ON_DEMAND@ 3 | @UNIXONLY@ PORT = 2105 4 | HOSTNAME = localhost 5 | BINARY = gnunet-service-vpn 6 | ACCEPT_FROM = 127.0.0.1; 7 | ACCEPT_FROM6 = ::1; 8 | UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-vpn.sock 9 | UNIX_MATCH_UID = NO 10 | UNIX_MATCH_GID = YES 11 | 12 | IPV6ADDR = 1234::1 13 | IPV6PREFIX = 32 14 | IPV4ADDR = 10.11.10.1 15 | IPV4MASK = 255.255.0.0 16 | VIRTDNS = 10.11.10.2 17 | VIRTDNS6 = 1234::17 18 | IFNAME = vpn-gnunet 19 | 20 | -------------------------------------------------------------------------------- /src/zonemaster/.gitignore: -------------------------------------------------------------------------------- 1 | gnunet-service-zonemaster 2 | gnunet-service-zonemaster-monitor 3 | --------------------------------------------------------------------------------