Commit Graph

429 Commits

Author SHA1 Message Date
aj 3293dcea56 remove submodule 2017-06-06 21:01:42 +00:00
tigerbot 231e54d808 went back to using `http-proxy` for non-websockets
We need to be able to insert `X-Forwarded` header for all the requests on
a TCP keep-alive connection
2017-06-02 18:10:16 -06:00
tigerbot d5dee498f5 made sure the var dir can be created if needed
looks like the var directory is not present when goldilocks is npm installed
2017-06-01 13:06:52 -06:00
tigerbot dda3dffb17 fixed problem creating x-forwarded headers 2017-06-01 11:46:28 -06:00
tigerbot be1a60d2e7 fixed inconsistency in "admin" domain definition 2017-05-31 15:56:28 -06:00
tigerbot 810d0a8e90 mDNS responder now sometimes responds directly 2017-05-30 12:35:29 -06:00
tigerbot 69d7d9e4b8 implemented GET part of the tunnel API 2017-05-30 12:15:19 -06:00
tigerbot d4573994fc added hook to remove tokens from the tunnel 2017-05-29 15:14:37 -06:00
tigerbot 8e2e071abf implemented storage of tunnel tokens 2017-05-29 13:41:09 -06:00
tigerbot d9486b8297 fixed a few problems with our connections 2017-05-29 12:50:29 -06:00
tigerbot be6900cd50 added some error event handlers 2017-05-26 19:28:39 -06:00
tigerbot e259c4d0ce changed method for wrapping socket pre-TLS 2017-05-26 19:18:53 -06:00
tigerbot 509f2f4f4f made the --tunnel option (partially) work 2017-05-26 12:11:39 -06:00
AJ ONeal 112034e26c Merge branch 'master' into forwarding 2017-05-25 15:30:17 -06:00
AJ ONeal 5c7f2321cc Merge branch 'v1.0' of git.daplie.com:Daplie/Goldilocks.js into v1.0 2017-05-25 15:29:30 -06:00
AJ ONeal 002c0059eb update node install path 2017-05-25 15:29:17 -06:00
tigerbot bd1ca9f584 Merge branch 'forwarding' 2017-05-25 11:37:15 -06:00
tigerbot 2eb6d1bc95 made more command line flags do things 2017-05-24 18:20:02 -06:00
tigerbot 3633c7570b added support for different ACME config for different domains 2017-05-24 18:16:01 -06:00
tigerbot 21a77ad10a added way to specify proxy destination 2017-05-24 13:05:37 -06:00
tigerbot be67f04afa added the mDNS options to the example config 2017-05-24 11:42:17 -06:00
tigerbot 1e3021c669 added ability to scope config by domain (issue #25) 2017-05-23 18:26:03 -06:00
tigerbot 1f8e44947f added simple mDNS responder 2017-05-23 16:23:43 -06:00
AJ ONeal 7c115c33aa move example to proper location (and install it) 2017-05-23 14:22:00 -05:00
AJ ONeal 6a7273907b move example to proper location (and install it) 2017-05-23 14:21:26 -05:00
tigerbot 73d3396609 removed some unused file and cleaned package.json
I used git grep to find all require statements coupled with sed, sort and
uniq to create a list of all node modules actually required in our code,
then went through package.json to make the list match our dependencies.
2017-05-23 12:21:24 -06:00
AJ ONeal 78e8266ce3 Merge branch 'master' into forwarding 2017-05-22 14:23:29 -05:00
AJ ONeal 100e7cee7c make /opt/goldilocks user-writable for install 2017-05-22 14:23:18 -05:00
tigerbot 5bbf57a57a tweaked proxy behavior on error/close 2017-05-18 14:14:44 -06:00
tigerbot aa28a72f3f moved HTTP static file detection to net layer 2017-05-18 14:09:02 -06:00
tigerbot dbbae2311c moved HTTP redirection to the net layer 2017-05-18 11:58:10 -06:00
tigerbot 27e818f41a started splitting http handling into multiple servers 2017-05-17 19:16:45 -06:00
tigerbot 47bcdcf2a6 added X-Forwarded header before HTTP proxy 2017-05-17 18:43:44 -06:00
tigerbot df3a818914 reduced code duplication for proxying 2017-05-17 18:00:16 -06:00
tigerbot d25ceadf4a changed how TLS sockets are wrapped 2017-05-17 18:00:06 -06:00
AJ ONeal e386b19e3f update no-config defaults 2017-05-17 14:24:19 -05:00
tigerbot febe106a81 changed how HTTP proxying works
Note that with the way it is currently, proxying modules take priority
over other modules even if they come later in the list.
2017-05-16 17:19:26 -06:00
AJ ONeal 15c80dab14 add socket-pair as dep 2017-05-16 17:10:32 -05:00
AJ ONeal 1731d09849 get packages for admin ui 2017-05-16 16:58:45 -05:00
tigerbot 474f9766d8 made `status` optional for redirection 2017-05-16 13:11:27 -06:00
tigerbot d16f857fca implemented HTTP 301 redirect with glob matching 2017-05-16 13:04:08 -06:00
AJ ONeal 0047ae69f4 don't empty the real array, duh 2017-05-16 02:27:33 -05:00
AJ ONeal 3aa1085008 can haz wss 2017-05-16 02:20:02 -05:00
AJ ONeal 47d72365cc fix ownership on os x 2017-05-16 02:17:18 -05:00
AJ ONeal b229bbc6cb scope node, npm, and module installs to /opt/goldilocks 2017-05-15 23:34:30 -05:00
tigerbot 8599d383df changed example config to use snake_case 2017-05-15 16:16:15 -06:00
tigerbot 5719a8a434 Merge branch 'forwarding' 2017-05-15 16:05:27 -06:00
tigerbot 87de2c65ad redirect localhost and IP addresses to real domains 2017-05-11 19:16:23 -06:00
tigerbot 5777a885a4 improved feedback for bad TLS/TCP gateways 2017-05-11 16:42:14 -06:00
tigerbot e24f9412dd improved error handling for TLS/TCP proxying 2017-05-10 17:21:03 -06:00