146 Commits

Author SHA1 Message Date
tigerbot
b9fac21b05 switched to using new config format when connecting to tunnel 2017-10-18 15:37:35 -06:00
tigerbot
c55c034f11 started using of the ddns.loopback setting 2017-10-18 13:48:08 -06:00
tigerbot
6b2b91ba26 updated the documentation and validation for DDNS settings 2017-10-18 12:06:01 -06:00
tigerbot
cfaa8d4959 added interface to save user tokens 2017-10-17 18:36:36 -06:00
tigerbot
9c7aaa4f98 reduced some duplication in handling error responses 2017-10-17 16:16:57 -06:00
tigerbot
f2ce3e9fe1 Merge branch 'api-rewrite' into ddns
# Conflicts:
#	API.md
#	bin/goldilocks.js
#	etc/goldilocks/goldilocks.example.yml
#	lib/admin/apis.js
#	lib/app.js
#	lib/worker.js
2017-10-17 13:07:52 -06:00
tigerbot
72520679d8 updated the documentation for the config API 2017-10-16 12:59:45 -06:00
tigerbot
663fdba446 changed the valid UDP module from 'proxy' to 'forward'
forward is based on incoming port, while proxy is based on domains
	and we don't have any domain names for raw UDP or TCP
2017-10-12 14:35:19 -06:00
tigerbot
0406d0cd93 removed the acme property from the tls config 2017-10-12 11:57:43 -06:00
tigerbot
503da9efd0 implemented routes to edit and delete modules and domains 2017-10-11 17:13:33 -06:00
tigerbot
79ef9694b7 updated API to reflect moved domains 2017-10-11 12:18:01 -06:00
tigerbot
61af4707ee moved domains up a level to allow multiple module groups with same domain names 2017-10-11 12:11:20 -06:00
tigerbot
ea55d3cc73 removed bind from the http and tls settings 2017-10-10 12:34:32 -06:00
tigerbot
8371170a14 renamed dns settings to udp 2017-10-10 11:32:18 -06:00
tigerbot
485a223f86 implemented better management of arrays in the config 2017-10-10 11:08:19 -06:00
tigerbot
5761ab9d62 added JSON Schema to validate the config 2017-10-06 17:50:16 -06:00
tigerbot
8f4a733391 changed module config property name 2017-10-05 18:11:58 -06:00
tigerbot
ded53cf45c reduced a few lines of code 2017-10-05 18:10:59 -06:00
tigerbot
cc6b34dd46 made it possible to GET specific parts of the config 2017-10-04 14:42:19 -06:00
tigerbot
f25a0191bd changed config API to use an express router 2017-10-03 19:11:49 -06:00
tigerbot
3d3fac5087 simplified how the admin routes are handled 2017-10-03 17:26:44 -06:00
tigerbot
b8f282db79 fixed bug in promisifying network package 2017-10-02 15:37:58 -06:00
tigerbot
9e9b5ca9ad update DDNS to also use the specified list of domains 2017-09-29 15:29:47 -06:00
tigerbot
0dd20e4dfc removed tunnel from config and API and made DDNS responsible 2017-09-28 11:18:44 -06:00
tigerbot
5cc7e3f187 added loopback test before setting DNS records to local IP 2017-09-27 14:53:18 -06:00
tigerbot
83f72730a2 moved the DNS API calls to another file 2017-09-27 10:54:35 -06:00
tigerbot
8930a528bc moved some things related to DDNS into separate folder 2017-09-26 18:11:16 -06:00
tigerbot
cfcc1acb8c updated the DDNS and loopback to use async/await 2017-09-20 10:39:59 -06:00
tigerbot
528e58969e fixed timing problem that lead to lost request bodies 2017-09-15 18:25:23 -06:00
tigerbot
68d6322b42 made comma style more consistently broken 2017-09-15 16:07:25 -06:00
tigerbot
fcb2de516f fixed some problems with the DDNS 2017-09-14 18:28:49 -06:00
tigerbot
bc301b94c9 added first implementation of DDNS 2017-09-14 15:26:19 -06:00
tigerbot
44d11e094b tweaked some logging 2017-09-11 15:57:25 -06:00
tigerbot
66e9ecd2bf fixed bug in finding relevant http module for domains 2017-08-04 16:42:10 -06:00
tigerbot
fee0df3ec9 made sock5 enable-able from the config 2017-08-04 15:23:15 -06:00
tigerbot
188869b83e added some API docs for the Socks5 routes 2017-08-04 14:38:22 -06:00
AJ ONeal
983a6e2cd7 more descriptive error message 2017-08-03 15:56:19 -06:00
tigerbot
2357319194 changed how we wrap TLS connections that we've peaked at 2017-08-02 18:11:25 -06:00
tigerbot
3bd9bac390 fixed bug when tunnel tokens not defined in config 2017-07-31 18:35:49 -06:00
tigerbot
d859d0a44f added docs for the tunnel client 2017-07-26 11:44:08 -06:00
AJ ONeal
267ff2486a explicitly define le-store directory 2017-07-21 17:38:52 -06:00
tigerbot
d9b20b5aeb fixed local bind problem for TCP proxying 2017-07-21 17:22:45 -06:00
tigerbot
b361c0cd53 fixed problem with destroy in socksv5 server 2017-07-10 18:24:59 -06:00
tigerbot
10fc80c2b7 switched the mdns ID to be human readable 2017-07-07 17:53:12 -06:00
tigerbot
e52ae83aa4 fixed a few minor issues 2017-07-07 13:48:40 -06:00
tigerbot
85a0c3d421 Merge branch 'loopback'
# Conflicts:
#	lib/worker.js
#	packages/apis/com.daplie.goldilocks/index.js
2017-07-06 13:09:20 -06:00
tigerbot
0daf1b909a exposed the owner IDs to the API and mDNS
allows users to see which units have already been set up with owner during
the setup process
2017-07-06 11:25:30 -06:00
tigerbot
e62869b661 moved owner storage to a separate file 2017-07-06 11:01:29 -06:00
tigerbot
a4aad3184a allow loopback to use providers that are not oauth3.org 2017-06-27 10:39:59 -06:00
tigerbot
f37730c97d changed loopback endpoint to check all ports 2017-06-27 10:34:52 -06:00