[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] 21/61: add GNUnet configs and scripts for test
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] 21/61: add GNUnet configs and scripts for testing |
Date: |
Sat, 13 Apr 2019 13:35:56 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet-nim.
commit 28cf7ad617bfbbc729335a15a234b7112f2f43b2
Author: lurchi <address@hidden>
AuthorDate: Mon Jul 30 23:59:27 2018 +0200
add GNUnet configs and scripts for testing
---
gnunet.conf | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++--
otherpeer.conf | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
start_peers.sh | 10 ++++++++++
stop_peers.sh | 6 ++++++
4 files changed, 117 insertions(+), 2 deletions(-)
diff --git a/gnunet.conf b/gnunet.conf
index 21edfa7..cb8af47 100644
--- a/gnunet.conf
+++ b/gnunet.conf
@@ -1,4 +1,53 @@
+[PATHS]
+GNUNET_HOME = ./gnunet_home
+GNUNET_DATA_HOME = ./gnunet_data_home
+GNUNET_RUNTIME_DIR = ./gnunet_runtime_dir
+GNUNET_USER_RUNTIME_DIR = ./gnunet_user_runtime_dir
+
[arm]
-START_SYSTEM_SERVICES = YES
-START_USER_SERVICES = YES
+GLOBAL_POSTFIX = -L WARNING -l $GNUNET_HOME/gnunet.log
+
+[cadet]
+GLOBAL_POSTFIX = -L DEBUG
+
+[fs]
+IMMEDIATE_START = NO
+
+[gns]
+IMMEDIATE_START = NO
+
+[hostlist]
+IMMEDIATE_START = NO
+
+[namecache]
+IMMEDIATE_START = NO
+
+[namestore]
+IMMEDIATE_START = NO
+
+[nat]
+IMMEDIATE_START = NO
+
+[nse]
+WORKBITS = 0
+
+[peerinfo]
+USE_INCLUDED_HELLOS = NO
+
+[revocation]
+IMMEDIATE_START = NO
+
+[topology]
+IMMEDIATE_START = NO
+
+[transport]
+PLUGINS = unix
+
+[vpn]
+IMMEDIATE_START = NO
+
+[zonemaster]
+IMMEDIATE_START = NO
+[zonemaster-monitor]
+IMMEDIATE_START = NO
diff --git a/otherpeer.conf b/otherpeer.conf
new file mode 100644
index 0000000..e0bd90b
--- /dev/null
+++ b/otherpeer.conf
@@ -0,0 +1,50 @@
+[PATHS]
+GNUNET_HOME = ./otherpeer_home
+GNUNET_DATA_HOME = ./otherpeer_data_home
+GNUNET_RUNTIME_DIR = ./otherpeer_runtime_dir
+GNUNET_USER_RUNTIME_DIR = ./otherpeer_user_runtime_dir
+
+[arm]
+GLOBAL_POSTFIX = -L WARNING -l $GNUNET_HOME/gnunet.log
+
+[fs]
+IMMEDIATE_START = NO
+
+[gns]
+IMMEDIATE_START = NO
+
+[hostlist]
+IMMEDIATE_START = NO
+
+[namecache]
+IMMEDIATE_START = NO
+
+[namestore]
+IMMEDIATE_START = NO
+
+[nat]
+IMMEDIATE_START = NO
+
+[nse]
+WORKBITS = 0
+
+[peerinfo]
+USE_INCLUDED_HELLOS = NO
+
+[revocation]
+IMMEDIATE_START = NO
+
+[topology]
+IMMEDIATE_START = NO
+
+[transport]
+PLUGINS = unix
+
+[vpn]
+IMMEDIATE_START = NO
+
+[zonemaster]
+IMMEDIATE_START = NO
+
+[zonemaster-monitor]
+IMMEDIATE_START = NO
diff --git a/start_peers.sh b/start_peers.sh
new file mode 100755
index 0000000..756edac
--- /dev/null
+++ b/start_peers.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+CONFIG_OUR_PEER=gnunet.conf
+CONFIG_OTHER_PEER=otherpeer.conf
+
+gnunet-arm -c $CONFIG_OUR_PEER -s
+echo "our peer: $(gnunet-peerinfo -c ${CONFIG_OUR_PEER} -sq)"
+gnunet-arm -c $CONFIG_OTHER_PEER -s
+echo "other peer: $(gnunet-peerinfo -c ${CONFIG_OTHER_PEER} -sq)"
+gnunet-peerinfo -c $CONFIG_OUR_PEER -p $(gnunet-peerinfo -c $CONFIG_OTHER_PEER
-g)
+gnunet-peerinfo -c $CONFIG_OTHER_PEER -p $(gnunet-peerinfo -c $CONFIG_OUR_PEER
-g)
diff --git a/stop_peers.sh b/stop_peers.sh
new file mode 100755
index 0000000..5b6ec38
--- /dev/null
+++ b/stop_peers.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+CONFIG_OUR_PEER=gnunet.conf
+CONFIG_OTHER_PEER=otherpeer.conf
+
+gnunet-arm -c $CONFIG_OUR_PEER -e
+gnunet-arm -c $CONFIG_OTHER_PEER -e
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet-nim] 29/61: fix crashes, (continued)
- [GNUnet-SVN] [gnunet-nim] 29/61: fix crashes, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 38/61: comment: explain why we're reading from stdin in a nasty way, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 28/61: newline behaviour like in gnunet-cadet, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 32/61: Revert "use ref object where we only use heap allocation", gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 26/61: first try sending messages from stdin, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 40/61: fix bug (application hangs when a peer disconnects); fixes & simplifications, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 34/61: add shutdown logic (allows GNUnet to shutdown on signals), gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 46/61: groupchat.nim: fix typo in echo message, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 25/61: fix sending messages, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 43/61: Merge branch 'master' of ssh://gnunet.org/gnunet-nim, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 21/61: add GNUnet configs and scripts for testing,
gnunet <=
- [GNUnet-SVN] [gnunet-nim] 56/61: gnunet_nim.nim: fix import paths to point to parent dir, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 37/61: disconnect from the cadet service when CadetHandle is destroyed, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 53/61: restructure groupchat application, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 44/61: add peer ID string functions, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 45/61: use peer IDs as chat identifiers, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 48/61: Makefile to clean the build., gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 52/61: workaround for missing notification about disconnected cadet channels, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 09/61: fix compilation, gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 60/61: Start of a nimble file, should probably drop nake later on., gnunet, 2019/04/13
- [GNUnet-SVN] [gnunet-nim] 49/61: added date and time string to output, gnunet, 2019/04/13