Commit Graph

163 Commits

Author SHA1 Message Date
AJ ONeal b5136a9f08 #11 wildcard support 2018-06-30 17:56:10 -06:00
AJ ONeal 9c5aeda776 don't kill process on cli commands 2018-06-29 16:16:03 -06:00
AJ ONeal a928decbd8 renable parseCli 2018-06-29 15:53:55 -06:00
AJ ONeal 5584638907 working: manage token with client 2018-06-29 14:51:56 -06:00
AJ ONeal fce8e366c6 save config on upgrade token 2018-06-29 04:33:22 -06:00
AJ ONeal 9441bf7f8e WIP get preauth clientside and realauth daemonside 2018-06-29 04:15:23 -06:00
AJ ONeal 02a89b52a4 server will wait for token 2018-06-28 20:35:58 -06:00
AJ ONeal 2456228ae5 login/create account 2018-06-28 17:19:49 -06:00
AJ ONeal 3f319c5e9e remove some extra lines 2018-06-28 15:43:34 -06:00
AJ ONeal fcc6c6c5b5 Quiet down and stop speaking nonsense! 2018-06-28 15:37:31 -06:00
AJ ONeal 18b2584728 make 'press any key' last 2018-06-28 03:46:54 -06:00
AJ ONeal 2892316e25 read, not write, duh 2018-06-28 03:31:31 -06:00
AJ ONeal ac1e46da1f pass flags directly, not as object property 2018-06-28 03:30:29 -06:00
AJ ONeal 7301ec1125 correction: first argument must be pathname 2018-06-28 03:29:05 -06:00
AJ ONeal c1917f010b bugfix ignored path must still be a string 2018-06-28 03:27:34 -06:00
AJ ONeal 32b87f2486 refactor otp assignment slightly 2018-06-28 02:36:54 -06:00
AJ ONeal 75c971c598 good default acme dir 2018-06-28 02:20:51 -06:00
AJ ONeal ce00a9c721 bugfixes and comments 2018-06-28 01:57:57 -06:00
AJ ONeal eb27cde8c0 bugfixes and cleanup 2018-06-28 01:53:03 -06:00
AJ ONeal b3b44cdd33 update some templates and fix some bugs 2018-06-27 22:58:43 -06:00
AJ ONeal 172eaea877 update to npm launcher 2018-06-27 21:35:14 -06:00
AJ ONeal 5eb4cdefb7 node-based install launcher tested on macOS 2018-06-27 04:24:56 -06:00
AJ ONeal c77f8b6f15 add option O_NOCTTY to prevent terminal from hanging up 2018-06-26 19:11:46 -06:00
AJ ONeal cea6738319 add preliminary user systemd support 2018-06-25 23:37:51 -06:00
AJ ONeal b22018191d workaround dev/tty bugs - tell user to hit any key 2018-06-24 03:01:06 -06:00
AJ ONeal 68ed91a5c9 workaround dev/tty bugs 2018-06-24 02:53:29 -06:00
AJ ONeal 3e9620ee90 end std input from tty 2018-06-24 01:19:31 -06:00
AJ ONeal dd3b6e3512 fix question set, add final callback 2018-06-24 00:34:24 -06:00
AJ ONeal fce06087c8 ask fewer questions 2018-06-23 16:02:08 -06:00
AJ ONeal 32ad1103bc list stuff 2018-06-21 19:28:20 +00:00
AJ ONeal bcdd3cd951 don't show pairing when pairing is unavailable 2018-06-21 19:24:09 +00:00
AJ ONeal 5491b8d91d allow older relay versions, with warning 2018-06-21 18:56:36 +00:00
AJ ONeal fb1fafeb85 library-ize the token procedure a little bit 2018-06-21 11:01:16 +00:00
AJ ONeal 99b891fd99 handle pairing request via API 2018-06-21 06:10:49 +00:00
AJ ONeal a763ead434 Merge branch 'v1' of ssh://git.coolaj86.com:22042/coolaj86/telebit.js into v1 2018-06-20 09:07:42 +00:00
AJ ONeal e4640a8a00 getting closer to accounts via api 2018-06-20 09:07:35 +00:00
John Shaver 00c973e728 Moved default sorting-hat value into remote.js 2018-06-18 11:28:02 -07:00
AJ ONeal 58ed4baff1 typo and bugfixes 2018-06-16 01:47:32 +00:00
AJ ONeal 8fbd49f0e6 WIP: use API to find tunnel 2018-06-16 01:11:02 +00:00
AJ ONeal 13326a89a6 ws 2018-06-15 16:48:39 -06:00
AJ ONeal b4a2108942 check standard apis 2018-06-15 22:45:42 +00:00
AJ ONeal a135d4dd94 rename greenlock config obj 2018-06-14 20:18:42 -06:00
AJ ONeal 05dd6d90e6 sign token with ports 2018-06-14 17:05:26 -06:00
AJ ONeal 4bfc16f064 split servernames and ports strings 2018-06-14 15:35:14 -06:00
AJ ONeal 2ffdc760a3 leave servernames and ports as arrays 2018-06-14 15:30:19 -06:00
AJ ONeal b6c6b81e73 preliminary updater hook 2018-06-14 05:24:28 -06:00
AJ ONeal b29d5dcdb7 display 'telebit remote' and 'telebit daemon' 2018-06-14 02:42:41 -06:00
AJ ONeal 918437acbe whitespace 2018-06-14 02:40:52 -06:00
AJ ONeal 2045b054f8 print socket location 2018-06-14 02:39:34 -06:00
AJ ONeal a98bd306f3 log when using default pipe 2018-06-14 01:26:32 -06:00
AJ ONeal d9bca46510 add client-side otp 2018-06-13 14:48:29 -06:00
AJ ONeal bff71aa813 add client otp 2018-06-13 14:40:44 -06:00
AJ ONeal 94117c7edb add missing -servername to ssh over https docs 2018-06-13 14:12:23 -06:00
AJ ONeal 1a7e519578 print config 2018-06-13 13:52:02 -06:00
AJ ONeal 7da7e4f07e use pathname not path, update token state 2018-06-13 13:38:59 -06:00
AJ ONeal aa35402c22 parse null/undefined correctly 2018-06-13 13:21:42 -06:00
AJ ONeal 252c2c80a4 parse true/false correctly 2018-06-13 13:20:08 -06:00
AJ ONeal 34ac5cf144 output and whitespace 2018-06-13 13:16:50 -06:00
AJ ONeal f17619efd2 output and whitespace 2018-06-13 13:12:38 -06:00
AJ ONeal 8a1d9feb26 typo bugfix 2018-06-13 13:04:11 -06:00
AJ ONeal d09118f8a3 workaround for https://github.com/nodejs/node/issues/21319 2018-06-13 12:54:33 -06:00
AJ ONeal c981544bad bugfix 2018-06-13 12:39:42 -06:00
AJ ONeal 27c1b0ceeb bugfix 2018-06-13 12:34:45 -06:00
AJ ONeal 70cb390579 bugfix 2018-06-13 12:16:09 -06:00
AJ ONeal 0572b0ebef bugfix 2018-06-13 12:07:28 -06:00
AJ ONeal 4b1ed54cdf bugfix 2018-06-13 11:50:46 -06:00
AJ ONeal 788acbb7e9 bugfixes 2018-06-13 11:44:23 -06:00
AJ ONeal ad4ab2a06a useTty only when useTty is selected 2018-06-13 11:29:06 -06:00
AJ ONeal 1ff12d01f4 update question asking, fix some config stuff 2018-06-13 11:18:54 -06:00
AJ ONeal 753da7fa44 use /dev/tty for stdin when specified 2018-06-13 10:45:54 -06:00
AJ ONeal a98da102b9 move most user config into node 2018-06-12 04:36:37 -06:00
AJ ONeal e60f1fa14f fix bad if 2018-06-11 15:15:07 -06:00
AJ ONeal de7221ef37 separate remote from daemon 2018-06-11 14:52:01 -06:00
AJ ONeal a82f157b2e telebit remote, telebit daemon 2018-06-11 12:56:16 -06:00
AJ ONeal 32e7f0af04 ssh and save now work 2018-06-09 14:00:47 -06:00
AJ ONeal 34cee2dbac should restart on failure on mac 2018-06-09 11:26:30 -06:00
AJ ONeal 4a089756f1 better output 2018-06-08 10:46:18 -06:00
AJ ONeal 691cc3e56e write certs to correct path 2018-06-08 10:32:18 -06:00
AJ ONeal 5178da0330 new stuff appears to work 2018-06-08 02:50:00 -06:00
AJ ONeal b97239b252 more command and control 2018-06-08 00:46:07 -06:00
AJ ONeal ce7854b79d allow 'remote' restart 2018-06-07 16:09:30 -06:00
AJ ONeal eef08eca54 notify user to check email 2018-06-07 01:42:10 -06:00
AJ ONeal 8282abc028 update access token 2018-06-07 01:27:56 -06:00
AJ ONeal 96983d53ca move intentional user messages and client data to CLI/UI 2018-06-07 00:08:26 -06:00
AJ ONeal 092b7fe046 a little cleanup 2018-06-05 02:04:32 -06:00
AJ ONeal 50a8536bff fix agreeTos config typo 2018-06-04 23:53:26 +00:00
AJ ONeal 0b4f2c67f1 fix remote require path 2018-06-02 02:59:53 -06:00
AJ ONeal acaf22c200 working cleanup 2018-05-31 04:10:47 -06:00
AJ ONeal eada75a83e refactor and upgrade to proxy-packer 2018-05-31 00:19:53 -06:00
AJ ONeal 0c3f78147e handle connection within telebit 2018-05-29 03:00:25 -06:00
AJ ONeal 4d8e5d434b accept given token or secret-generated token 2018-05-29 01:45:47 -06:00
AJ ONeal d4c52787b9 getting closer... 2018-05-27 05:02:19 -06:00
AJ ONeal cd07820cd9 rename lib file 2018-05-27 04:32:00 -06:00
AJ ONeal b814beb6bd progress towards telebit 2018-05-27 04:26:34 -06:00
AJ ONeal 28955f8e85 moving to telebit 2018-05-27 01:58:37 -06:00
tigerbot f945f0b496 implemented throttling when we buffer too much data 2017-09-08 10:54:47 -06:00
tigerbot e6da8277c4 added audience to the tokens we generate 2017-06-05 11:20:15 -06:00
tigerbot 1a65027fe0 exposed `.end` method on the wsclient 2017-04-14 16:27:25 -06:00
tigerbot ae15111b0f changed method for mapping services to local ports 2017-04-03 15:11:59 -06:00
AJ ONeal 9547edf3cc fix deps and commandline opts 2017-03-29 19:29:37 -06:00