diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-16 14:18:29 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-07-16 14:18:29 +0000 |
commit | f47e58bcd37ebd0c9382e0893d2045abd2c23b7a (patch) | |
tree | b0809ab3a787fae1b938e06a3e22a5ced953c084 /src/transport | |
parent | 817f07200d0d2b4001eb1fa2f8ef4fbc986714f7 (diff) | |
download | gnunet-f47e58bcd37ebd0c9382e0893d2045abd2c23b7a.tar.gz gnunet-f47e58bcd37ebd0c9382e0893d2045abd2c23b7a.zip |
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/test_transport_api_rel_http_peer1.conf | 111 | ||||
-rw-r--r-- | src/transport/test_transport_api_rel_http_peer2.conf | 115 |
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] | ||
2 | PORT = 12389 | ||
3 | DEBUG = NO | ||
4 | USE_IPv6 = NO | ||
5 | BINDTO4 = 127.0.0.1 | ||
6 | #BINDTO6 = ::1 | ||
7 | |||
8 | |||
9 | [fs] | ||
10 | AUTOSTART = NO | ||
11 | |||
12 | [datastore] | ||
13 | AUTOSTART = NO | ||
14 | |||
15 | [core] | ||
16 | AUTOSTART = NO | ||
17 | |||
18 | [hostlist] | ||
19 | HTTP-PROXY = | ||
20 | SERVERS = http://gnunet.org:8080/ | ||
21 | OPTIONS = -b | ||
22 | BINARY = gnunet-daemon-hostlist | ||
23 | CONFIG = $DEFAULTCONFIG | ||
24 | HOME = $SERVICEHOME | ||
25 | HOSTNAME = localhost | ||
26 | HTTPPORT = 8080 | ||
27 | |||
28 | [topology] | ||
29 | BINARY = gnunet-daemon-topology | ||
30 | CONFIG = $DEFAULTCONFIG | ||
31 | FRIENDS = $SERVICEHOME/friends | ||
32 | TARGET-CONNECTION-COUNT = 16 | ||
33 | AUTOCONNECT = YES | ||
34 | FRIENDS-ONLY = NO | ||
35 | MINIMUM-FRIENDS = 0 | ||
36 | |||
37 | [transport] | ||
38 | PLUGINS = http | ||
39 | #PLUGINS = tcp http | ||
40 | DEBUG = NO | ||
41 | ACCEPT_FROM6 = ::1; | ||
42 | ACCEPT_FROM = 127.0.0.1; | ||
43 | NEIGHBOUR_LIMIT = 50 | ||
44 | BINARY = gnunet-service-transport | ||
45 | CONFIG = $DEFAULTCONFIG | ||
46 | HOME = $SERVICEHOME | ||
47 | HOSTNAME = localhost | ||
48 | PORT = 12365 | ||
49 | UNIXPATH = /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] | ||
55 | TRUST = $SERVICEHOME/data/credit/ | ||
56 | HOSTS = $SERVICEHOME/data/hosts/ | ||
57 | ACCEPT_FROM6 = ::1; | ||
58 | ACCEPT_FROM = 127.0.0.1; | ||
59 | BINARY = gnunet-service-peerinfo | ||
60 | CONFIG = $DEFAULTCONFIG | ||
61 | HOME = $SERVICEHOME | ||
62 | HOSTNAME = localhost | ||
63 | PORT = 12369 | ||
64 | UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock | ||
65 | |||
66 | [resolver] | ||
67 | ACCEPT_FROM6 = ::1; | ||
68 | ACCEPT_FROM = 127.0.0.1; | ||
69 | BINARY = gnunet-service-resolver | ||
70 | CONFIG = $DEFAULTCONFIG | ||
71 | HOME = $SERVICEHOME | ||
72 | HOSTNAME = localhost | ||
73 | PORT = 12364 | ||
74 | UNIXPATH = /tmp/gnunet-p1-service-resolver.sock | ||
75 | |||
76 | [statistics] | ||
77 | ACCEPT_FROM6 = ::1; | ||
78 | ACCEPT_FROM = 127.0.0.1; | ||
79 | BINARY = gnunet-service-statistics | ||
80 | CONFIG = $DEFAULTCONFIG | ||
81 | HOME = $SERVICEHOME | ||
82 | HOSTNAME = localhost | ||
83 | PORT = 12367 | ||
84 | UNIXPATH = /tmp/gnunet-p1-service-statistics.sock | ||
85 | |||
86 | [arm] | ||
87 | DEFAULTSERVICES = | ||
88 | ACCEPT_FROM6 = ::1; | ||
89 | ACCEPT_FROM = 127.0.0.1; | ||
90 | BINARY = gnunet-service-arm | ||
91 | CONFIG = $DEFAULTCONFIG | ||
92 | HOME = $SERVICEHOME | ||
93 | HOSTNAME = localhost | ||
94 | PORT = 12366 | ||
95 | UNIXPATH = /tmp/gnunet-p1-service-arm.sock | ||
96 | |||
97 | [transport-tcp] | ||
98 | PORT = 12399 | ||
99 | DEBUG = YES | ||
100 | |||
101 | |||
102 | [TESTING] | ||
103 | WEAKRANDOM = YES | ||
104 | |||
105 | [gnunetd] | ||
106 | HOSTKEY = $SERVICEHOME/.hostkey | ||
107 | |||
108 | [PATHS] | ||
109 | DEFAULTCONFIG = test_transport_api_http_peer1.conf | ||
110 | SERVICEHOME = /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] | ||
2 | PORT = 22368 | ||
3 | DEBUG = NO | ||
4 | USE_IPv6 = NO | ||
5 | BINDTO4 = 127.0.0.1 | ||
6 | #BINDTO6 = ::1 | ||
7 | |||
8 | [fs] | ||
9 | AUTOSTART = NO | ||
10 | |||
11 | [datastore] | ||
12 | AUTOSTART = NO | ||
13 | |||
14 | [core] | ||
15 | AUTOSTART = NO | ||
16 | |||
17 | [hostlist] | ||
18 | HTTP-PROXY = | ||
19 | SERVERS = http://gnunet.org:8080/ | ||
20 | OPTIONS = -b | ||
21 | BINARY = gnunet-daemon-hostlist | ||
22 | CONFIG = $DEFAULTCONFIG | ||
23 | HOME = $SERVICEHOME | ||
24 | HOSTNAME = localhost | ||
25 | HTTPPORT = 8080 | ||
26 | |||
27 | [topology] | ||
28 | BINARY = gnunet-daemon-topology | ||
29 | CONFIG = $DEFAULTCONFIG | ||
30 | FRIENDS = $SERVICEHOME/friends | ||
31 | TARGET-CONNECTION-COUNT = 16 | ||
32 | AUTOCONNECT = YES | ||
33 | FRIENDS-ONLY = NO | ||
34 | MINIMUM-FRIENDS = 0 | ||
35 | |||
36 | [transport] | ||
37 | PLUGINS = http | ||
38 | #PLUGINS = tcp http | ||
39 | DEBUG = NO | ||
40 | ACCEPT_FROM6 = ::1; | ||
41 | ACCEPT_FROM = 127.0.0.1; | ||
42 | NEIGHBOUR_LIMIT = 50 | ||
43 | BINARY = gnunet-service-transport | ||
44 | CONFIG = $DEFAULTCONFIG | ||
45 | HOME = $SERVICEHOME | ||
46 | HOSTNAME = localhost | ||
47 | PORT = 22365 | ||
48 | UNIXPATH = /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] | ||
54 | TRUST = $SERVICEHOME/data/credit/ | ||
55 | HOSTS = $SERVICEHOME/data/hosts/ | ||
56 | ACCEPT_FROM6 = ::1; | ||
57 | ACCEPT_FROM = 127.0.0.1; | ||
58 | BINARY = gnunet-service-peerinfo | ||
59 | CONFIG = $DEFAULTCONFIG | ||
60 | HOME = $SERVICEHOME | ||
61 | HOSTNAME = localhost | ||
62 | PORT = 22369 | ||
63 | UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock | ||
64 | |||
65 | [resolver] | ||
66 | ACCEPT_FROM6 = ::1; | ||
67 | ACCEPT_FROM = 127.0.0.1; | ||
68 | BINARY = gnunet-service-resolver | ||
69 | CONFIG = $DEFAULTCONFIG | ||
70 | HOME = $SERVICEHOME | ||
71 | HOSTNAME = localhost | ||
72 | PORT = 22364 | ||
73 | UNIXPATH = /tmp/gnunet-p2-service-resolver.sock | ||
74 | |||
75 | [statistics] | ||
76 | ACCEPT_FROM6 = ::1; | ||
77 | ACCEPT_FROM = 127.0.0.1; | ||
78 | BINARY = gnunet-service-statistics | ||
79 | CONFIG = $DEFAULTCONFIG | ||
80 | HOME = $SERVICEHOME | ||
81 | HOSTNAME = localhost | ||
82 | PORT = 22367 | ||
83 | UNIXPATH = /tmp/gnunet-p2-service-statistics.sock | ||
84 | |||
85 | |||
86 | [arm] | ||
87 | DEFAULTSERVICES = | ||
88 | ACCEPT_FROM6 = ::1; | ||
89 | ACCEPT_FROM = 127.0.0.1; | ||
90 | BINARY = gnunet-service-arm | ||
91 | CONFIG = $DEFAULTCONFIG | ||
92 | HOME = $SERVICEHOME | ||
93 | HOSTNAME = localhost | ||
94 | PORT = 22366 | ||
95 | UNIXPATH = /tmp/gnunet-p2-service-arm.sock | ||
96 | |||
97 | |||
98 | [transport-http] | ||
99 | PORT = 22389 | ||
100 | DEBUG = NO | ||
101 | |||
102 | [transport-tcp] | ||
103 | PORT = 22399 | ||
104 | DEBUG = YES | ||
105 | |||
106 | [TESTING] | ||
107 | WEAKRANDOM = YES | ||
108 | |||
109 | [gnunetd] | ||
110 | HOSTKEY = $SERVICEHOME/.hostkey | ||
111 | |||
112 | [PATHS] | ||
113 | DEFAULTCONFIG = test_transport_api_http_peer2.conf | ||
114 | SERVICEHOME = /tmp/test-gnunetd-transport-peer-2/ | ||
115 | |||