aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2010-07-27 09:22:25 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2010-07-27 09:22:25 +0000
commita4b1e743b1a656d6436b6ba0ccb77ccde66399cc (patch)
tree1ef5752eb3750a89acd0b9051d2ed855adbec5ad
parent41f7ff229cfc88a59047b934b44b6783b3f95040 (diff)
downloadgnunet-a4b1e743b1a656d6436b6ba0ccb77ccde66399cc.tar.gz
gnunet-a4b1e743b1a656d6436b6ba0ccb77ccde66399cc.zip
added test configuration files for https
-rw-r--r--src/transport/test_transport_api_https_peer1.conf125
-rw-r--r--src/transport/test_transport_api_https_peer2.conf130
-rw-r--r--src/transport/test_transport_api_rel_https_peer1.conf123
-rw-r--r--src/transport/test_transport_api_rel_https_peer2.conf128
4 files changed, 506 insertions, 0 deletions
diff --git a/src/transport/test_transport_api_https_peer1.conf b/src/transport/test_transport_api_https_peer1.conf
new file mode 100644
index 000000000..85c9dbf65
--- /dev/null
+++ b/src/transport/test_transport_api_https_peer1.conf
@@ -0,0 +1,125 @@
1[transport-http]
2PORT = 12389
3DEBUG = NO
4USE_IPv6 = YES
5USE_IPv4 = YES
6#BINDTO4 = 127.0.0.1
7#BINDTO6 = ::1
8
9[transport-https]
10PORT = 42389
11DEBUG = NO
12USE_IPv6 = YES
13USE_IPv4 = YES
14#BINDTO4 = 127.0.0.1
15#BINDTO6 = ::1
16KEY_FILE = https_key_p1.key
17CERT_FILE = https_cert_p1.crt
18
19[fs]
20AUTOSTART = NO
21
22[datastore]
23AUTOSTART = NO
24
25[core]
26AUTOSTART = NO
27
28[hostlist]
29HTTP-PROXY =
30SERVERS = http://gnunet.org:8080/
31OPTIONS = -b
32BINARY = gnunet-daemon-hostlist
33CONFIG = $DEFAULTCONFIG
34HOME = $SERVICEHOME
35HOSTNAME = localhost
36HTTPPORT = 8080
37
38[topology]
39BINARY = gnunet-daemon-topology
40CONFIG = $DEFAULTCONFIG
41FRIENDS = $SERVICEHOME/friends
42TARGET-CONNECTION-COUNT = 16
43AUTOCONNECT = YES
44FRIENDS-ONLY = NO
45MINIMUM-FRIENDS = 0
46
47[transport]
48PLUGINS = https
49#PLUGINS = tcp http
50DEBUG = YES
51ACCEPT_FROM6 = ::1;
52ACCEPT_FROM = 127.0.0.1;
53NEIGHBOUR_LIMIT = 50
54BINARY = gnunet-service-transport
55CONFIG = $DEFAULTCONFIG
56HOME = $SERVICEHOME
57HOSTNAME = localhost
58PORT = 12365
59UNIXPATH = /tmp/gnunet-p1-service-transport.sock
60#PREFIX = xterm -T transport2 -e gdb --command=cmd --args
61#PREFIX = valgrind --leak-check=full
62#PREFIX = valgrind --tool=massif
63
64[peerinfo]
65TRUST = $SERVICEHOME/data/credit/
66HOSTS = $SERVICEHOME/data/hosts/
67ACCEPT_FROM6 = ::1;
68ACCEPT_FROM = 127.0.0.1;
69BINARY = gnunet-service-peerinfo
70CONFIG = $DEFAULTCONFIG
71HOME = $SERVICEHOME
72HOSTNAME = localhost
73PORT = 12369
74UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock
75
76[resolver]
77ACCEPT_FROM6 = ::1;
78ACCEPT_FROM = 127.0.0.1;
79BINARY = gnunet-service-resolver
80CONFIG = $DEFAULTCONFIG
81HOME = $SERVICEHOME
82HOSTNAME = localhost
83PORT = 12364
84UNIXPATH = /tmp/gnunet-p1-service-resolver.sock
85
86[statistics]
87ACCEPT_FROM6 = ::1;
88ACCEPT_FROM = 127.0.0.1;
89BINARY = gnunet-service-statistics
90CONFIG = $DEFAULTCONFIG
91HOME = $SERVICEHOME
92HOSTNAME = localhost
93PORT = 12367
94UNIXPATH = /tmp/gnunet-p1-service-statistics.sock
95
96[arm]
97DEFAULTSERVICES =
98ACCEPT_FROM6 = ::1;
99ACCEPT_FROM = 127.0.0.1;
100BINARY = gnunet-service-arm
101CONFIG = $DEFAULTCONFIG
102HOME = $SERVICEHOME
103HOSTNAME = localhost
104PORT = 12366
105UNIXPATH = /tmp/gnunet-p1-service-arm.sock
106
107[transport-tcp]
108PORT = 12399
109DEBUG = YES
110
111
112[TESTING]
113WEAKRANDOM = YES
114
115[gnunetd]
116HOSTKEY = $SERVICEHOME/.hostkey
117
118[PATHS]
119SERVICEHOME = /tmp/test-gnunetd-transport-peer-1/
120
121
122[dht]
123AUTOSTART = NO
124
125
diff --git a/src/transport/test_transport_api_https_peer2.conf b/src/transport/test_transport_api_https_peer2.conf
new file mode 100644
index 000000000..ee7b75470
--- /dev/null
+++ b/src/transport/test_transport_api_https_peer2.conf
@@ -0,0 +1,130 @@
1[transport-http]
2PORT = 22368
3DEBUG = NO
4USE_IPv6 = YES
5USE_IPv4 = YES
6#BINDTO4 = 127.0.0.1
7#BINDTO6 = ::1
8
9[transport-https]
10PORT = 42388
11DEBUG = NO
12USE_IPv6 = YES
13USE_IPv4 = YES
14#BINDTO4 = 127.0.0.1
15#BINDTO6 = ::1
16KEY_FILE = https_key_p2.key
17CERT_FILE = https_cert_p2.crt
18
19[fs]
20AUTOSTART = NO
21
22[datastore]
23AUTOSTART = NO
24
25[core]
26AUTOSTART = NO
27
28[hostlist]
29HTTP-PROXY =
30SERVERS = http://gnunet.org:8080/
31OPTIONS = -b
32BINARY = gnunet-daemon-hostlist
33CONFIG = $DEFAULTCONFIG
34HOME = $SERVICEHOME
35HOSTNAME = localhost
36HTTPPORT = 8080
37
38[topology]
39BINARY = gnunet-daemon-topology
40CONFIG = $DEFAULTCONFIG
41FRIENDS = $SERVICEHOME/friends
42TARGET-CONNECTION-COUNT = 16
43AUTOCONNECT = YES
44FRIENDS-ONLY = NO
45MINIMUM-FRIENDS = 0
46
47[transport]
48PLUGINS = https
49#PLUGINS = tcp http
50DEBUG = YES
51ACCEPT_FROM6 = ::1;
52ACCEPT_FROM = 127.0.0.1;
53NEIGHBOUR_LIMIT = 50
54BINARY = gnunet-service-transport
55CONFIG = $DEFAULTCONFIG
56HOME = $SERVICEHOME
57HOSTNAME = localhost
58PORT = 22365
59UNIXPATH = /tmp/gnunet-p2-service-transport.sock
60#PREFIX = xterm -T transport1 -e gdb --command=cmd --args
61#PREFIX = valgrind --leak-check=full
62#PREFIX = valgrind --tool=massif
63
64[peerinfo]
65TRUST = $SERVICEHOME/data/credit/
66HOSTS = $SERVICEHOME/data/hosts/
67ACCEPT_FROM6 = ::1;
68ACCEPT_FROM = 127.0.0.1;
69BINARY = gnunet-service-peerinfo
70CONFIG = $DEFAULTCONFIG
71HOME = $SERVICEHOME
72HOSTNAME = localhost
73PORT = 22369
74UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
75
76[resolver]
77ACCEPT_FROM6 = ::1;
78ACCEPT_FROM = 127.0.0.1;
79BINARY = gnunet-service-resolver
80CONFIG = $DEFAULTCONFIG
81HOME = $SERVICEHOME
82HOSTNAME = localhost
83PORT = 22364
84UNIXPATH = /tmp/gnunet-p2-service-resolver.sock
85
86[statistics]
87ACCEPT_FROM6 = ::1;
88ACCEPT_FROM = 127.0.0.1;
89BINARY = gnunet-service-statistics
90CONFIG = $DEFAULTCONFIG
91HOME = $SERVICEHOME
92HOSTNAME = localhost
93PORT = 22367
94UNIXPATH = /tmp/gnunet-p2-service-statistics.sock
95
96
97[arm]
98DEFAULTSERVICES =
99ACCEPT_FROM6 = ::1;
100ACCEPT_FROM = 127.0.0.1;
101BINARY = gnunet-service-arm
102CONFIG = $DEFAULTCONFIG
103HOME = $SERVICEHOME
104HOSTNAME = localhost
105PORT = 22366
106UNIXPATH = /tmp/gnunet-p2-service-arm.sock
107
108
109[transport-http]
110PORT = 22389
111DEBUG = NO
112
113[transport-tcp]
114PORT = 22399
115DEBUG = YES
116
117[TESTING]
118WEAKRANDOM = YES
119
120[gnunetd]
121HOSTKEY = $SERVICEHOME/.hostkey
122
123[PATHS]
124SERVICEHOME = /tmp/test-gnunetd-transport-peer-2/
125
126
127[dht]
128AUTOSTART = NO
129
130
diff --git a/src/transport/test_transport_api_rel_https_peer1.conf b/src/transport/test_transport_api_rel_https_peer1.conf
new file mode 100644
index 000000000..628a3efc5
--- /dev/null
+++ b/src/transport/test_transport_api_rel_https_peer1.conf
@@ -0,0 +1,123 @@
1[transport-http]
2PORT = 12389
3DEBUG = NO
4USE_IPv4 = YES
5USE_IPv6 = NO
6BINDTO4 = 127.0.0.1
7#BINDTO6 = ::1
8
9[transport-https]
10PORT = 32389
11#DEBUG = YES
12USE_IPv4 = YES
13USE_IPv6 = NO
14BINDTO4 = 127.0.0.1
15#BINDTO6 = ::1
16
17[fs]
18AUTOSTART = NO
19
20[datastore]
21AUTOSTART = NO
22
23[core]
24AUTOSTART = NO
25
26[hostlist]
27HTTP-PROXY =
28SERVERS = http://gnunet.org:8080/
29OPTIONS = -b
30BINARY = gnunet-daemon-hostlist
31CONFIG = $DEFAULTCONFIG
32HOME = $SERVICEHOME
33HOSTNAME = localhost
34HTTPPORT = 8080
35
36[topology]
37BINARY = gnunet-daemon-topology
38CONFIG = $DEFAULTCONFIG
39FRIENDS = $SERVICEHOME/friends
40TARGET-CONNECTION-COUNT = 16
41AUTOCONNECT = YES
42FRIENDS-ONLY = NO
43MINIMUM-FRIENDS = 0
44
45[transport]
46PLUGINS = https
47#PLUGINS = tcp http
48DEBUG = YES
49ACCEPT_FROM6 = ::1;
50ACCEPT_FROM = 127.0.0.1;
51NEIGHBOUR_LIMIT = 50
52BINARY = gnunet-service-transport
53CONFIG = $DEFAULTCONFIG
54HOME = $SERVICEHOME
55HOSTNAME = localhost
56PORT = 12365
57UNIXPATH = /tmp/gnunet-p1-service-transport.sock
58#PREFIX = xterm -T transport2 -e gdb --command=cmd --args
59#PREFIX = valgrind --leak-check=full
60#PREFIX = valgrind --tool=massif
61
62[peerinfo]
63TRUST = $SERVICEHOME/data/credit/
64HOSTS = $SERVICEHOME/data/hosts/
65ACCEPT_FROM6 = ::1;
66ACCEPT_FROM = 127.0.0.1;
67BINARY = gnunet-service-peerinfo
68CONFIG = $DEFAULTCONFIG
69HOME = $SERVICEHOME
70HOSTNAME = localhost
71PORT = 12369
72UNIXPATH = /tmp/gnunet-p1-service-peerinfo.sock
73
74[resolver]
75ACCEPT_FROM6 = ::1;
76ACCEPT_FROM = 127.0.0.1;
77BINARY = gnunet-service-resolver
78CONFIG = $DEFAULTCONFIG
79HOME = $SERVICEHOME
80HOSTNAME = localhost
81PORT = 12364
82UNIXPATH = /tmp/gnunet-p1-service-resolver.sock
83
84[statistics]
85ACCEPT_FROM6 = ::1;
86ACCEPT_FROM = 127.0.0.1;
87BINARY = gnunet-service-statistics
88CONFIG = $DEFAULTCONFIG
89HOME = $SERVICEHOME
90HOSTNAME = localhost
91PORT = 12367
92UNIXPATH = /tmp/gnunet-p1-service-statistics.sock
93
94[arm]
95DEFAULTSERVICES =
96ACCEPT_FROM6 = ::1;
97ACCEPT_FROM = 127.0.0.1;
98BINARY = gnunet-service-arm
99CONFIG = $DEFAULTCONFIG
100HOME = $SERVICEHOME
101HOSTNAME = localhost
102PORT = 12366
103UNIXPATH = /tmp/gnunet-p1-service-arm.sock
104
105[transport-tcp]
106PORT = 12399
107DEBUG = YES
108
109
110[TESTING]
111WEAKRANDOM = YES
112
113[gnunetd]
114HOSTKEY = $SERVICEHOME/.hostkey
115
116[PATHS]
117SERVICEHOME = /tmp/test-gnunetd-transport-peer-1/
118
119
120[dht]
121AUTOSTART = NO
122
123
diff --git a/src/transport/test_transport_api_rel_https_peer2.conf b/src/transport/test_transport_api_rel_https_peer2.conf
new file mode 100644
index 000000000..5b4582a30
--- /dev/null
+++ b/src/transport/test_transport_api_rel_https_peer2.conf
@@ -0,0 +1,128 @@
1[transport-http]
2PORT = 22389
3DEBUG = NO
4USE_IPv4 = YES
5USE_IPv6 = NO
6BINDTO4 = 127.0.0.1
7#BINDTO6 = ::1
8
9[transport-https]
10PORT = 32388
11DEBUG = NO
12USE_IPv4 = YES
13USE_IPv6 = NO
14BINDTO4 = 127.0.0.1
15#BINDTO6 = ::1
16
17[fs]
18AUTOSTART = NO
19
20[datastore]
21AUTOSTART = NO
22
23[core]
24AUTOSTART = NO
25
26[hostlist]
27HTTP-PROXY =
28SERVERS = http://gnunet.org:8080/
29OPTIONS = -b
30BINARY = gnunet-daemon-hostlist
31CONFIG = $DEFAULTCONFIG
32HOME = $SERVICEHOME
33HOSTNAME = localhost
34HTTPPORT = 8080
35
36[topology]
37BINARY = gnunet-daemon-topology
38CONFIG = $DEFAULTCONFIG
39FRIENDS = $SERVICEHOME/friends
40TARGET-CONNECTION-COUNT = 16
41AUTOCONNECT = YES
42FRIENDS-ONLY = NO
43MINIMUM-FRIENDS = 0
44
45[transport]
46PLUGINS = https
47#PLUGINS = tcp http
48DEBUG = YES
49ACCEPT_FROM6 = ::1;
50ACCEPT_FROM = 127.0.0.1;
51NEIGHBOUR_LIMIT = 50
52BINARY = gnunet-service-transport
53CONFIG = $DEFAULTCONFIG
54HOME = $SERVICEHOME
55HOSTNAME = localhost
56PORT = 22365
57UNIXPATH = /tmp/gnunet-p2-service-transport.sock
58#PREFIX = xterm -T transport1 -e gdb --command=cmd --args
59#PREFIX = valgrind --leak-check=full
60#PREFIX = valgrind --tool=massif
61
62[peerinfo]
63TRUST = $SERVICEHOME/data/credit/
64HOSTS = $SERVICEHOME/data/hosts/
65ACCEPT_FROM6 = ::1;
66ACCEPT_FROM = 127.0.0.1;
67BINARY = gnunet-service-peerinfo
68CONFIG = $DEFAULTCONFIG
69HOME = $SERVICEHOME
70HOSTNAME = localhost
71PORT = 22369
72UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
73
74[resolver]
75ACCEPT_FROM6 = ::1;
76ACCEPT_FROM = 127.0.0.1;
77BINARY = gnunet-service-resolver
78CONFIG = $DEFAULTCONFIG
79HOME = $SERVICEHOME
80HOSTNAME = localhost
81PORT = 22364
82UNIXPATH = /tmp/gnunet-p2-service-resolver.sock
83
84[statistics]
85ACCEPT_FROM6 = ::1;
86ACCEPT_FROM = 127.0.0.1;
87BINARY = gnunet-service-statistics
88CONFIG = $DEFAULTCONFIG
89HOME = $SERVICEHOME
90HOSTNAME = localhost
91PORT = 22367
92UNIXPATH = /tmp/gnunet-p2-service-statistics.sock
93
94
95[arm]
96DEFAULTSERVICES =
97ACCEPT_FROM6 = ::1;
98ACCEPT_FROM = 127.0.0.1;
99BINARY = gnunet-service-arm
100CONFIG = $DEFAULTCONFIG
101HOME = $SERVICEHOME
102HOSTNAME = localhost
103PORT = 22366
104UNIXPATH = /tmp/gnunet-p2-service-arm.sock
105
106
107[transport-http]
108PORT = 22389
109DEBUG = NO
110
111[transport-tcp]
112PORT = 22399
113DEBUG = YES
114
115[TESTING]
116WEAKRANDOM = YES
117
118[gnunetd]
119HOSTKEY = $SERVICEHOME/.hostkey
120
121[PATHS]
122SERVICEHOME = /tmp/test-gnunetd-transport-peer-2/
123
124
125[dht]
126AUTOSTART = NO
127
128