-
Notifications
You must be signed in to change notification settings - Fork 0
/
D3CK.json
executable file
·111 lines (97 loc) · 3.06 KB
/
D3CK.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"NAT": "",
"D3CK" : {
"home" : "/etc/d3ck",
"keystore" : "/d3cks",
"secretz" : "/secretz.json",
"bin" : "/exe",
"pub" : "/public",
"tmp" : "/tmp",
"logs" : "/logs",
"staging" : "/staging",
"d3ck_port_int" : "5555",
"d3ck_port_ext" : "8080",
"d3ck_port_signal" : "8080",
"d3ck_proto_signal" : "tcp",
"d3ck_port_forward" : "5556",
"default_image" : "/public/img/d3ck.png"
},
"networking" : {
"UDP_TIMEOUT" : "10000",
"STUN_PORT_D2D" : "3477",
"STUN_PORT_B2D" : "3478",
"STUN_PORT_D2B" : "3478"
},
"magic_numbers": {
"FRIEND_REQUEST_EXPIRES" : "259200"
},
"fri3nds" : {
"friend request" : { "paranoid": "off", "moderate": "ask", "trusting": "on" }
},
"trust" : {
"default": "trusting"
},
"capabilities" : {
"VPN": { "paranoid": "ask", "moderate": "ask", "trusting": "on" },
"SIP": { "paranoid": "off", "moderate": "off", "trusting": "on" },
"webRTC": { "paranoid": "off", "moderate": "ask", "trusting": "on" },
"file transfer": { "paranoid": "off", "moderate": "ask", "trusting": "on" },
"messages": { "paranoid": "ask", "moderate": "ask", "trusting": "on" },
"command execution": { "paranoid": "off", "moderate": "off", "trusting": "ask" },
"Geo-translocation": { "paranoid": "off", "moderate": "off", "trusting": "ask" }
},
"owner_capabilities" : {
"friend request" : "on",
"VPN" : "on",
"SIP" : "on",
"webRTC" : "on",
"file transfer" : "on",
"messages" : "on",
"command execution" : "on",
"Geo-translocation" : "on"
},
"crypto": {
"keysize" : "2048",
"life_d3ck" : "365",
"life_vpn" : "30",
"bcrypt_rounds" : "12",
"SESSION_SIZE_BYTES" : "256",
"SHARED_SECRET_BYTES" : "256",
"REQUEST_BYTES" : "256"
},
"limits": {
"max_upload_size" : "1073741824",
"max_image_size" : "4194304"
},
"misc": {
"did_polling_time" : "3000"
},
"ping": {
"TIMEOUT" : "10000",
"DAEMON_LOOP_TIME" : "30000"
},
"public_routes": [
"^/css/.*",
"^/favicon.ico",
"^/img/.*",
"^/images/.*",
"^/js/.*",
"^/fri3nd/request",
"^/login",
"^/login.html",
"^/ping",
"^/popup.html",
"^/loginFailure",
"^/cli3nt"
],
"routes2caps": {
"friend request": ["/ping"],
"VPN": ["/vpn"],
"file transfer": ["/up"],
"webRTC": [],
"messages": [],
"command execution": [],
"SIP": [],
"Geo-translocation": []
}
}