aboutsummaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-07-16 14:18:29 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-07-16 14:18:29 +0000
commitf47e58bcd37ebd0c9382e0893d2045abd2c23b7a (patch)
treeb0809ab3a787fae1b938e06a3e22a5ced953c084 /src/transport
parent817f07200d0d2b4001eb1fa2f8ef4fbc986714f7 (diff)
downloadgnunet-f47e58bcd37ebd0c9382e0893d2045abd2c23b7a.tar.gz
gnunet-f47e58bcd37ebd0c9382e0893d2045abd2c23b7a.zip
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/test_transport_api_rel_http_peer1.conf111
-rw-r--r--src/transport/test_transport_api_rel_http_peer2.conf115
2 files changed, 226 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_rel_http_peer1.conf b/src/transport/test_transport_api_rel_http_peer1.conf
new file mode 100644
index 000000000..b7e8fb536
--- /dev/null
+++ b/src/transport/test_transport_api_rel_http_peer1.conf
@@ -0,0 +1,111 @@
1[transport-http]
2PORT = 12389
3DEBUG = NO
4USE_IPv6 = NO
5BINDTO4 = 127.0.0.1
6#BINDTO6 = ::1
7
8
9[fs]
10AUTOSTART = NO
11
12[datastore]
13AUTOSTART = NO
14
15[core]
16AUTOSTART = NO
17
18[hostlist]
19HTTP-PROXY =
20SERVERS = http://gnunet.org:8080/
21OPTIONS = -b
22BINARY = gnunet-daemon-hostlist
23CONFIG = $DEFAULTCONFIG
24HOME = $SERVICEHOME
25HOSTNAME = localhost
26HTTPPORT = 8080
27
28[topology]
29BINARY = gnunet-daemon-topology
30CONFIG = $DEFAULTCONFIG
31FRIENDS = $SERVICEHOME/friends
32TARGET-CONNECTION-COUNT = 16
33AUTOCONNECT = YES
34FRIENDS-ONLY = NO
35MINIMUM-FRIENDS = 0
36
37[transport]
38PLUGINS = http
39#PLUGINS = tcp http
40DEBUG = NO
41ACCEPT_FROM6 = ::1;
42ACCEPT_FROM = 127.0.0.1;
43NEIGHBOUR_LIMIT = 50
44BINARY = gnunet-service-transport
45CONFIG = $DEFAULTCONFIG
46HOME = $SERVICEHOME
47HOSTNAME = localhost
48PORT = 12365
49UNIXPATH = /tmp/gnunet-p1-service-transport.sock
50#PREFIX = xterm -T transport2 -e gdb --command=cmd --args
51#PREFIX = valgrind --leak-check=full
52#PREFIX = valgrind --tool=massif
53
54[peerinfo]
55TRUST = $SERVICEHOME/data/credit/
56HOSTS = $SERVICEHOME/data/hosts/
57ACCEPT_FROM6 = ::1;
58ACCEPT_FROM = 127.0.0.1;
59BINARY = gnunet-service-peerinfo
60CONFIG = $DEFAULTCONFIG
61HOME = $SERVICEHOME
62HOSTNAME = localhost
63PORT = 12369
64UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock
65
66[resolver]
67ACCEPT_FROM6 = ::1;
68ACCEPT_FROM = 127.0.0.1;
69BINARY = gnunet-service-resolver
70CONFIG = $DEFAULTCONFIG
71HOME = $SERVICEHOME
72HOSTNAME = localhost
73PORT = 12364
74UNIXPATH = /tmp/gnunet-p1-service-resolver.sock
75
76[statistics]
77ACCEPT_FROM6 = ::1;
78ACCEPT_FROM = 127.0.0.1;
79BINARY = gnunet-service-statistics
80CONFIG = $DEFAULTCONFIG
81HOME = $SERVICEHOME
82HOSTNAME = localhost
83PORT = 12367
84UNIXPATH = /tmp/gnunet-p1-service-statistics.sock
85
86[arm]
87DEFAULTSERVICES =
88ACCEPT_FROM6 = ::1;
89ACCEPT_FROM = 127.0.0.1;
90BINARY = gnunet-service-arm
91CONFIG = $DEFAULTCONFIG
92HOME = $SERVICEHOME
93HOSTNAME = localhost
94PORT = 12366
95UNIXPATH = /tmp/gnunet-p1-service-arm.sock
96
97[transport-tcp]
98PORT = 12399
99DEBUG = YES
100
101
102[TESTING]
103WEAKRANDOM = YES
104
105[gnunetd]
106HOSTKEY = $SERVICEHOME/.hostkey
107
108[PATHS]
109DEFAULTCONFIG = test_transport_api_http_peer1.conf
110SERVICEHOME = /tmp/test-gnunetd-transport-peer-1/
111
diff --git a/src/transport/test_transport_api_rel_http_peer2.conf b/src/transport/test_transport_api_rel_http_peer2.conf
new file mode 100644
index 000000000..6cdd84fe7
--- /dev/null
+++ b/src/transport/test_transport_api_rel_http_peer2.conf
@@ -0,0 +1,115 @@
1[transport-http]
2PORT = 22368
3DEBUG = NO
4USE_IPv6 = NO
5BINDTO4 = 127.0.0.1
6#BINDTO6 = ::1
7
8[fs]
9AUTOSTART = NO
10
11[datastore]
12AUTOSTART = NO
13
14[core]
15AUTOSTART = NO
16
17[hostlist]
18HTTP-PROXY =
19SERVERS = http://gnunet.org:8080/
20OPTIONS = -b
21BINARY = gnunet-daemon-hostlist
22CONFIG = $DEFAULTCONFIG
23HOME = $SERVICEHOME
24HOSTNAME = localhost
25HTTPPORT = 8080
26
27[topology]
28BINARY = gnunet-daemon-topology
29CONFIG = $DEFAULTCONFIG
30FRIENDS = $SERVICEHOME/friends
31TARGET-CONNECTION-COUNT = 16
32AUTOCONNECT = YES
33FRIENDS-ONLY = NO
34MINIMUM-FRIENDS = 0
35
36[transport]
37PLUGINS = http
38#PLUGINS = tcp http
39DEBUG = NO
40ACCEPT_FROM6 = ::1;
41ACCEPT_FROM = 127.0.0.1;
42NEIGHBOUR_LIMIT = 50
43BINARY = gnunet-service-transport
44CONFIG = $DEFAULTCONFIG
45HOME = $SERVICEHOME
46HOSTNAME = localhost
47PORT = 22365
48UNIXPATH = /tmp/gnunet-p2-service-transport.sock
49#PREFIX = xterm -T transport1 -e gdb --command=cmd --args
50#PREFIX = valgrind --leak-check=full
51#PREFIX = valgrind --tool=massif
52
53[peerinfo]
54TRUST = $SERVICEHOME/data/credit/
55HOSTS = $SERVICEHOME/data/hosts/
56ACCEPT_FROM6 = ::1;
57ACCEPT_FROM = 127.0.0.1;
58BINARY = gnunet-service-peerinfo
59CONFIG = $DEFAULTCONFIG
60HOME = $SERVICEHOME
61HOSTNAME = localhost
62PORT = 22369
63UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
64
65[resolver]
66ACCEPT_FROM6 = ::1;
67ACCEPT_FROM = 127.0.0.1;
68BINARY = gnunet-service-resolver
69CONFIG = $DEFAULTCONFIG
70HOME = $SERVICEHOME
71HOSTNAME = localhost
72PORT = 22364
73UNIXPATH = /tmp/gnunet-p2-service-resolver.sock
74
75[statistics]
76ACCEPT_FROM6 = ::1;
77ACCEPT_FROM = 127.0.0.1;
78BINARY = gnunet-service-statistics
79CONFIG = $DEFAULTCONFIG
80HOME = $SERVICEHOME
81HOSTNAME = localhost
82PORT = 22367
83UNIXPATH = /tmp/gnunet-p2-service-statistics.sock
84
85
86[arm]
87DEFAULTSERVICES =
88ACCEPT_FROM6 = ::1;
89ACCEPT_FROM = 127.0.0.1;
90BINARY = gnunet-service-arm
91CONFIG = $DEFAULTCONFIG
92HOME = $SERVICEHOME
93HOSTNAME = localhost
94PORT = 22366
95UNIXPATH = /tmp/gnunet-p2-service-arm.sock
96
97
98[transport-http]
99PORT = 22389
100DEBUG = NO
101
102[transport-tcp]
103PORT = 22399
104DEBUG = YES
105
106[TESTING]
107WEAKRANDOM = YES
108
109[gnunetd]
110HOSTKEY = $SERVICEHOME/.hostkey
111
112[PATHS]
113DEFAULTCONFIG = test_transport_api_http_peer2.conf
114SERVICEHOME = /tmp/test-gnunetd-transport-peer-2/
115