Commit Graph

3061 Commits

Author SHA1 Message Date
Ward Vandewege
1b30874cf8 Check for errors from the Serve() function. 2021-04-23 17:18:14 -04:00
Ward Vandewege
252c68c50a Add HTTPS support for the web endpoint with manually configured
certificate/key files.
2021-04-23 17:18:00 -04:00
Ward Vandewege
c5a3d0b01c In absPath, skip empty paths. 2021-04-23 16:42:27 -04:00
Juan Font
328f6ea455
Merge pull request #8 from cure/relative-paths-in-config
Handle relative paths in private_key_path and derp_map_path
2021-04-23 09:40:52 +02:00
Ward Vandewege
683b151f19 If the configuration file contains relative paths (e.g. in the values
for private_key_path or derp_map_path), interpret them as relative to
the directory where the config.json file was read from.
2021-04-22 21:10:50 -04:00
Juan Font Alonso
9c40e829ec Create preauthkeys kinda working (not usable yet) 2021-04-23 00:40:42 +02:00
Juan Font Alonso
176eea4a84 WIP on PreAuthKeys 2021-04-23 00:25:01 +02:00
Juan Font Alonso
2555220a57 Merge branch 'main' of https://github.com/juanfont/headscale into main 2021-04-22 23:58:18 +02:00
Juan Font Alonso
3743f08c1f Minor fix on already defer db close 2021-04-22 23:55:07 +02:00
Juan Font
481a9a01f6
Merge pull request #6 from cure/add-standard-config-locations
Add additional locations to look for the config.json file
2021-04-22 00:52:06 +02:00
Ward Vandewege
a71387f9d2 Add additional locations to look for the config.json file:
/etc/headscale and $HOME/.headscale
2021-04-21 17:33:09 -04:00
Juan Font Alonso
eac85a31ed Merge branch 'main' of https://github.com/juanfont/headscale into main 2021-04-08 23:58:00 +02:00
Juan Font Alonso
c284f3eefa Bump mod 2021-04-08 23:57:47 +02:00
Juan Font Alonso
541d676b98 Minor code reorg 2021-04-08 23:57:31 +02:00
Juan Font
bdccd85533 Minor readme fixes 2021-03-18 23:02:36 +00:00
Juan Font Alonso
977962736a Removed log message 2021-03-17 23:09:45 +01:00
Juan Font Alonso
06003974e5 Added project overview #5 2021-03-17 21:58:38 +01:00
Juan Font Alonso
1fad8e6e5b Added basic routes functionality 2021-03-14 11:38:42 +01:00
Juan Font Alonso
db75cd39a7 Update in preparation of supporting exit nodes 2021-03-10 22:33:37 +01:00
Juan Font Alonso
fc13f74851 Minor output fix & README improvements 2021-02-28 20:29:31 +01:00
Juan Font Alonso
2733a34033 Update readme with namespace info 2021-02-28 01:04:01 +01:00
Juan Font Alonso
b7655b1f68 Initial multi-user support using namespaces 2021-02-28 00:58:09 +01:00
Juan Font Alonso
562e996996 Fixed crash when NetInfo is nil 2021-02-24 23:45:27 +01:00
Juan Font Alonso
d0e54bd59e Renamed file 2021-02-24 23:45:08 +01:00
Juan Font Alonso
5da39f9176 Readme improved 2021-02-24 22:23:36 +01:00
Juan Font Alonso
6a397345aa Headscale is working (Fixed DERP address) 2021-02-24 00:32:34 +01:00
Juan Font Alonso
93c711d2d8 Minor thing 2021-02-24 00:31:58 +01:00
Juan Font Alonso
06fb7d4587 WIP: Client updates. Long polling rewritten 2021-02-23 21:07:52 +01:00
Juan Font Alonso
ca6904fc95 Clean 2021-02-23 20:11:30 +01:00
Juan Font Alonso
2b1d92429a Added the name from the HostInfo hostname 2021-02-23 20:10:58 +01:00
Juan Font Alonso
90759688ca Send StableID 2021-02-22 23:27:33 +01:00
Juan Font Alonso
a20fffc3e9 Peers is always returned sorted by Node.ID.
(https://github.com/awsong/headscale)
2021-02-22 00:53:37 +01:00
Juan Font Alonso
563f3c4017 Fixes here and there 2021-02-21 23:54:15 +01:00
Juan Font Alonso
1b7d99d483 Improving code... 2021-02-21 22:14:38 +01:00
Juan Font Alonso
5d3c80a192 Seed the random IP address generator 2021-02-21 22:11:27 +01:00
Juan Font Alonso
272eee79fd Added support for DiscoKey
(from https://github.com/awsong/headscale)
2021-02-21 21:34:28 +01:00
Juan Font Alonso
acb645aa9d Check that peers are registered when fetching them
Fix from https://github.com/awsong/headscale
2021-02-21 21:03:25 +01:00
Juan Font Alonso
b0b9e3a9af Removed frontend stuff 2021-02-21 20:42:46 +01:00
Juan Font Alonso
18156f2efd README improved 2021-02-21 20:42:32 +01:00
Juan Font Alonso
52257e32a3 Update readme 2021-02-21 01:34:16 +01:00
Juan Font Alonso
7d52842a4c Fixed gitignore 2021-02-21 01:31:50 +01:00
Juan Font Alonso
b1d06f3ffd headscale now has a CLI - registration of machines occurs there 2021-02-21 01:30:03 +01:00
Juan Font Alonso
ff7db34b5e Fixed gitignore 2021-02-20 23:58:02 +01:00
Juan Font Alonso
a6100dc4d0 Load DERP servers from file 2021-02-20 23:57:06 +01:00
Juan Font Alonso
c5fbc5baa8 Bumped dependencies 2021-02-20 22:43:07 +01:00
Juan Font Alonso
6ca98473d4 Deleted more frontend stuff 2021-02-20 22:42:28 +01:00
Juan Font Alonso
1e1d577b83 Removed frontend stuff. We are not there yet... 2021-02-20 21:09:15 +01:00
Juan Font
92f33c15b7
Merge pull request #3 from juanfont/dependabot/npm_and_yarn/frontend/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8 in /frontend
2020-12-15 16:44:52 +01:00
Juan Font
1c154acce8
Merge pull request #4 from ignoramous/patch-1
minor readme typo
2020-12-15 16:42:14 +01:00
ignoramous
253cd4fbdb
minor readme typo 2020-12-15 20:57:06 +05:30