Commit graph

678 commits

Author SHA1 Message Date
afeiszli 021b6b341e adding freebsd-specific logic 2021-11-16 11:03:21 -05:00
afeiszli 84c8299bb0 freebsd working 2021-11-15 11:42:52 -05:00
afeiszli 05d27c8af3 remote route on delete 2021-11-14 19:17:30 -05:00
afeiszli 437955ab90 saving to work on linux 2021-11-14 16:50:20 -05:00
afeiszli 56ee112d1b sync logic working 2021-11-12 13:46:55 -05:00
afeiszli eb770163f8 using syncconf for freebsd 2021-11-12 13:03:31 -05:00
afeiszli 5b3b6119ae adding sync 2021-11-12 11:24:29 -05:00
afeiszli c2948a3671 added fwmark 2021-11-12 08:53:50 -05:00
afeiszli 97acdc5e8b freebsd set peers working 2021-11-10 22:02:45 +00:00
afeiszli 59db83af62 added freebsd parsing logic 2021-11-10 16:08:29 -05:00
afeiszli 656b864552 adding freebsd logic for static config 2021-11-10 11:59:03 -05:00
afeiszli c4303d2499 freebsd join, checkin, and leave functional 2021-11-09 23:44:39 +00:00
0xdcarns 7e2be51b5b leave + join error fix, windows check 2021-11-08 12:15:20 -05:00
Adrien Raffin-Caboisse a5b7ca90fc
fix(netclient): get only first part of the hostname
If the hostname is full, only take the first part of the name.
2021-11-04 11:33:54 +01:00
0xdcarns 2652efccca updated windows nc build 2021-11-03 20:33:33 -04:00
0xdcarns c7ca3c2495 added backups to help with reboot 2021-11-03 15:43:10 -04:00
0xdcarns d14573169b modified logging 2021-10-27 21:36:49 -04:00
0xdcarns f91dae5355 refactored unneccesary db call 2021-10-27 10:02:39 -04:00
0xdcarns b1595d5ef4 fixed minor client bug 2021-10-26 16:12:13 -04:00
0xdcarns 8f72ecbaa0 refactored logic 2021-10-26 12:50:34 -04:00
0xdcarns 72ce7dcfd0 format and update version in readme 2021-10-25 16:51:26 -04:00
afeiszli 7ae3559c0b fixing netclient logs 2021-10-20 11:45:11 -04:00
afeiszli 8a1b7d558b Merge branch 'develop' of https://github.com/gravitl/netmaker into hotfix_v0.8.4_netclient_dns 2021-10-20 11:07:14 -04:00
afeiszli c26f887e27 updating install script and README 2021-10-20 11:06:54 -04:00
0xdcarns e726d02206 removed server check in join 2021-10-20 10:33:40 -04:00
0xdcarns 51c1973b21 added ability to remove local instance of netmaker 2021-10-20 09:22:05 -04:00
afeiszli 46de0ea269 fixing duplicate code 2021-10-20 07:43:13 -04:00
Alex 9595d3da79
Merge pull request #366 from gravitl/feature_v0.8.4_fixtests
Feature v0.8.4 fixtests
2021-10-20 06:18:33 -04:00
afeiszli fb4d2d1272 change version of ubuntu 2021-10-19 15:53:01 -04:00
dcarns 6955222afd
Merge pull request #355 from SekoiaLab/feat/list-nodes-from-client
Feat/list nodes from client
2021-10-18 08:44:32 -04:00
afeiszli 445df67030 updated helm charts 2021-10-17 15:31:37 -04:00
dcarns da8ed89e55
Merge pull request #353 from SekoiaLab/feat/change-default-hostname
Feat/change default hostname
2021-10-15 17:52:02 -04:00
Adrien Raffin-Caboisse f51dfb5411
feat(netclient): config file cleanup on linux 2021-10-15 18:22:37 +02:00
Adrien Raffin-Caboisse bfd0c00ef2
fix(netclient): rework the returned errors on list command 2021-10-15 15:52:29 +02:00
Adrien Raffin-Caboisse 2c0a470390
feat(netclient): Add network filter to list command 2021-10-15 15:51:53 +02:00
afeiszli d7abd9c612 fix peer setting 2021-10-15 09:29:55 -04:00
Adrien Raffin-Caboisse 51a09167fc feat(netclient): add listing of nodes with hostnames 2021-10-15 15:02:32 +02:00
Adrien Raffin-Caboisse e79e20f2a7 feat(netclient): add current hostname by default when joining network 2021-10-15 13:02:10 +02:00
0xdcarns 00dd278de4 rough draft of server transplanting 2021-10-13 15:15:20 -04:00
0xdcarns 340f50c535 transplanted setwgconfig and pull 2021-10-13 10:02:04 -04:00
0xdcarns 3f2e4ab764 transplanted join. 2021-10-12 15:44:19 -04:00
0xdcarns d7cafbbc4c code linting 2021-10-08 15:07:12 -04:00
0xdcarns c2a4000126 repaired potential null pointer in pull 2021-10-08 09:09:54 -04:00
0xdcarns cf5c7f85dc remove check 2021-10-07 11:17:40 -04:00
0xdcarns 974627a9ab reorg of dockerfiles 2021-10-07 11:12:25 -04:00
0xdcarns 989676e77f Combined client + server code, Added HA ability, minor bug fixes 2021-10-06 17:48:54 -04:00
afeiszli e60aea21d9 fixing server path 2021-10-02 12:44:37 -04:00
afeiszli 21ba362eca allowing IsServer to be modified, configurable checkin time, single checkin for linux, moved cfg files 2021-10-02 12:28:17 -04:00
0xdcarns 089f026080 updated version 2021-10-02 08:54:46 -04:00
afeiszli 1661f3dabf fixing dns setting on netclient 2021-09-29 10:02:34 -04:00
afeiszli 5d786740d7 runs, but need to remove resolvectl command 2021-09-28 18:24:10 -04:00
worker-9 5cf69ebe5b added conn closes 2021-09-23 09:04:33 -04:00
afeiszli b7f9e90631 modifying syso 2021-09-23 00:14:14 -04:00
afeiszli 3ea101ba5d updating install docs 2021-09-23 00:12:32 -04:00
afeiszli dad6097202 fixing egress omission in peers: 2021-09-22 14:48:44 -04:00
afeiszli c826b782ed fixing mac interface parsing 2021-09-22 14:31:31 -04:00
afeiszli 80eb6a8cee adding backup local ip function 2021-09-22 12:03:33 -04:00
afeiszli fdcb8611ff adding logs, decreasing time 2021-09-22 10:51:18 -04:00
afeiszli 802934e993 adding udp port parsing for relay node 2021-09-22 10:40:36 -04:00
afeiszli 05f8c7435b adding logs to egress on netclient 2021-09-22 09:36:12 -04:00
afeiszli 50250d5859 userspace implementation 2021-09-21 21:35:52 -04:00
afeiszli a7a45e60e1 Merge branch 'feature_v0.8_initial_qa' of https://github.com/gravitl/netmaker into feature_v0.8_userspace 2021-09-21 20:50:34 -04:00
afeiszli b024e249c7 starting userspace 2021-09-21 20:50:32 -04:00
0xdcarns 0b645a4417 edited non kernel message, fixed comment 2021-09-21 20:32:09 -04:00
0xdcarns 3fc4c253a8 fixed windows, updated wgctrl 2021-09-21 17:50:09 -04:00
0xdcarns 6418378b07 fixed window bug? removed binaries 2021-09-21 16:43:05 -04:00
afeiszli 30edc85b14 now able to deploy service successfully 2021-09-21 14:43:14 -04:00
afeiszli ec46d303ab got service working 2021-09-21 14:01:52 -04:00
afeiszli 06811235c9 updating net check function on macos 2021-09-19 16:18:22 -04:00
afeiszli a0586ea6d2 began adding macos service/daemon 2021-09-19 14:03:47 -04:00
afeiszli b828f7b6d9 fixing model 2021-09-18 11:01:34 -04:00
afeiszli 5c3bcbc32a added verbose command logs 2021-09-17 13:28:32 -04:00
afeiszli 0457769308 fixing relay getting donotpropagate 2021-09-14 17:51:08 -04:00
afeiszli d1d690fba8 moving relay functionality to server 2021-09-14 16:04:33 -04:00
afeiszli cf26b31779 relay server functionality ready to test 2021-09-13 20:25:27 -04:00
afeiszli c0490061ee refactor join, fix network add; db retry connect; fix port issue; sqlite default 2021-09-10 17:48:24 -04:00
0xdcarns 34717417ce began windows userspace implementation 2021-09-10 13:39:51 -04:00
worker-9 04350db09f image now supports sqlite 2021-08-25 17:02:16 -04:00
worker-9 c2a9007b8c automated ext client egress range addition and ext client dns from network 2021-08-25 09:46:45 -04:00
afeiszli e02b6816e4 fixed ext peers 2021-08-20 19:37:54 -04:00
afeiszli 78a9c4bb27 updating client version 2021-08-20 10:11:09 -04:00
afeiszli 4e741a598b fixing tiny logs 2021-08-19 19:13:17 -04:00
afeiszli 0757bd87f6 remove secret 2021-08-18 19:32:15 -04:00
worker-9 3a77f4df14 changed exec stuff and maybe fixed listenport 2021-08-18 18:59:17 -04:00
worker-9 fbb999f36b added sqlite support and ability to add dbs easier 2021-08-18 18:12:08 -04:00
worker-9 9d2962a171 added version and fixed script and doc stuff 2021-08-16 16:30:55 -04:00
worker-9 14cee3a96d allowed addition of manually added allowed ips 2021-08-12 13:32:57 -04:00
worker-9 c87e39aa61 fixed egress range peer appending 2021-08-12 09:44:08 -04:00
Emika fa5de4e777 Fix issue with netclient failing when interface doesnt exist, issue #221 2021-08-11 17:20:25 -06:00
afeiszli 1eb9decb15 fixing default dns settings 2021-08-11 12:19:28 -04:00
afeiszli 39e4d5377c updating docs 2021-08-10 23:27:13 -04:00
worker-9 1bba3d270b removed a few logs 2021-08-10 14:10:01 -04:00
worker-9 5b3e56a3d7 finished 0.7.1 2021-08-10 13:57:49 -04:00
worker-9 324337eac1 added auth stuff 2021-08-10 12:52:22 -04:00
worker-9 9b37940c1a changed stuff to make it work 2021-08-10 12:15:30 -04:00
worker-9 19d0c3c5e9 fixed err check 2021-08-10 11:59:16 -04:00
worker-9 064685cbcd changed not and else 2021-08-10 11:52:50 -04:00
worker-9 e8db6e247f Merge branch 'feature_0.7.1_refactor' of https://github.com/gravitl/netmaker into feature_0.7.1_refactor 2021-08-10 10:56:06 -04:00
worker-9 46d6899982 ispending bug fix and node auth fix 2021-08-10 10:55:48 -04:00
afeiszli b7b18f751e updated docs 2021-08-10 10:02:15 -04:00
worker-9 c799df59ce edited auth for deleted nodes 2021-08-09 22:31:01 -04:00
afeiszli b3309d829f fixing ispending problem 2021-08-09 19:09:32 -04:00
afeiszli 7e8af20b64 cleaning up old grpc functionality 2021-08-09 17:42:32 -04:00
afeiszli 70493754b2 ripping out wg grpc stuff 2021-08-09 17:34:13 -04:00
worker-9 ba4a177bfd added logo and updated version 2021-08-09 14:56:27 -04:00
afeiszli aae89cbaca static configs 2021-08-09 14:13:19 -04:00
afeiszli 382901b124 changed logs 2021-08-09 12:43:09 -04:00
worker-9 7a61af2fce switched ingress ext client call params 2021-08-06 16:38:04 -04:00
worker-9 c68394fa94 egress change 2021-08-06 15:29:34 -04:00
worker-9 ddc114bd85 node egress endpoint allowed ip bug 2021-08-06 14:22:21 -04:00
worker-9 013230eb1e removed allowedip for egress gateways 2021-08-06 14:09:42 -04:00
worker-9 095ff2fbfc added egress as pull change 2021-08-06 13:47:39 -04:00
worker-9 e4470ae3c9 fixed removing peers 2021-08-06 11:55:04 -04:00
worker-9 642a6a930c moved something 2021-08-05 23:46:40 -04:00
worker-9 9c75f491cf more udp stuff 2021-08-05 23:02:34 -04:00
worker-9 9de2c644ed more udp stuff 2021-08-05 23:01:37 -04:00
worker-9 01e9d1efb4 fixed udp ports? 2021-08-05 22:35:23 -04:00
worker-9 2ad7c20283 bug squashin 2021-08-05 21:26:10 -04:00
worker-9 31fbf85175 bug squashin 2021-08-05 21:22:59 -04:00
worker-9 0d049b9d9b bug squashin 2021-08-05 21:03:00 -04:00
worker-9 e94e67c7f3 bug squashin 2021-08-05 20:53:47 -04:00
worker-9 68a3109cae bug squashin 2021-08-05 16:46:23 -04:00
worker-9 3f327b76fd bug squashin 2021-08-05 16:21:18 -04:00
worker-9 d31dc0c8ad bug squashin 2021-08-05 15:29:38 -04:00
worker-9 696f83a40d bug squashin 2021-08-05 15:21:11 -04:00
worker-9 d472577701 bug squashin 2021-08-05 15:18:24 -04:00
worker-9 72db9424a5 bug squashin 2021-08-05 15:02:18 -04:00
worker-9 438c01d619 bug squashin 2021-08-05 14:45:27 -04:00
worker-9 679534974b bug squashin 2021-08-05 14:40:48 -04:00
worker-9 eaa493f3d4 fixed node pwd issue 2021-08-05 13:19:55 -04:00
worker-9 44d03f6805 began refactoring of client 2021-08-05 12:24:16 -04:00
afeiszli eb1b79f898 added netmaker check on checkin 2021-08-02 13:12:39 -04:00
afeiszli f1760c625b added netmaker check on checkin 2021-08-02 12:42:18 -04:00
afeiszli 8d27876a15 added netmaker check on checkin 2021-08-02 12:34:25 -04:00
afeiszli 2a42bb23a3 fixed netclient 2021-07-29 01:03:57 -04:00
afeiszli 8bb65e7a5c fixed netclient 2021-07-29 00:09:39 -04:00
afeiszli a438642ff0 netclient update 2021-07-28 23:59:20 -04:00
afeiszli 74583878a6 excluding netmaker from set peers 2021-07-28 23:42:41 -04:00
afeiszli f841ee8434 updating the command 2021-07-28 23:28:49 -04:00
afeiszli 7e7cf40d24 adding setpeers to client 2021-07-28 23:08:00 -04:00
worker-9 fb5f08be5a Fixed client and server issues with updates and dns before db connect 2021-07-28 16:08:50 -04:00
afeiszli 76258159f7 adding nginx templates 2021-07-28 03:19:20 +00:00
afeiszli 12c4fa33f5 v0.7 2021-07-28 02:23:20 +00:00
afeiszli 4710a3db6d updated netclient for egressgatways 2021-07-27 14:48:58 +00:00
afeiszli 037271f0aa removing pubkey update 2021-07-26 17:57:50 +00:00
afeiszli eec7a8f61a making sure all changes are in 2021-07-26 15:08:25 +00:00
afeiszli 9fb01f9620 updating netclient 2021-07-25 20:05:31 +00:00
afeiszli 4a6ebfc108 added udp holepunching 2021-07-25 14:22:20 -04:00
afeiszli f9b987767a added logging 2021-07-19 11:30:27 -04:00
U VuM0 8d0e9933e1 added --version command to net client 2021-07-17 10:22:16 -05:00
afeiszli 68607ae8ca fixing netclient 2021-07-15 15:14:48 -04:00
afeiszli 55402fe0cd token configs and secure grpc working 2021-07-11 10:18:39 -04:00
afeiszli 9860082b7c token configs and secure grpc working 2021-07-11 10:18:31 -04:00
afeiszli 977da6b129 compiling with changes pushed for json token. Have NOT TESTED. Will probably run into issues. Need to test multiple egress ranges, AllowedIPs, and overriding connection strings. 2021-07-11 00:49:31 -04:00
afeiszli e11a15dfff figured out how to get GRPC working 2021-07-10 20:11:19 -04:00
Karmanyaah Malhotra e6729d2384 use net functions for hostport 2021-06-10 02:35:06 -04:00
afeiszli 7c36a83af4 adding checkin and dns fixes 2021-06-03 00:55:39 -04:00
afeiszli 4f3a2bc3c8 netmaker default network add --fixed 2021-06-02 16:18:42 +00:00
afeiszli f757b9e2c8 netclient working 2021-06-02 15:15:23 +00:00
afeiszli 2a4395014e got server side client registration working 2021-06-02 15:13:47 +00:00
afeiszli 6fd4794475 fixing netclient join command 2021-06-02 11:00:10 -04:00
afeiszli 859f86a431 Merge branch 'feature_v0.5_clientgrpc' of https://github.com/gravitl/netmaker into feature_v0.5_clientgrpc 2021-06-02 02:47:23 +00:00
afeiszli e45c3a4f41 merge fix for netclient 2021-06-02 02:47:21 +00:00
afeiszli 5dfb60a5ab fixed token 2021-06-01 22:45:01 -04:00
afeiszli e732d180fd fixing server 2021-06-02 02:32:20 +00:00
afeiszli 9dff18209e fixed netclient 2021-06-01 22:31:41 -04:00
afeiszli be0d274ca6 making changes to grpc comms vars 2021-06-01 18:40:04 -04:00
afeiszli a681750195 register now working 2021-06-01 12:23:05 -04:00
afeiszli 963a3d1b92 fixed readme, composes, netclient push/pull 2021-06-01 00:36:08 +00:00
afeiszli afa4f1e8bb netclient grpc registration working 2021-05-29 15:12:15 -04:00
afeiszli 6c13f06001 feature_v0.5_netclient 2021-05-29 13:22:18 -04:00
afeiszli a842f4a32b netclient working for ingress controller 2021-05-27 15:00:56 -04:00
afeiszli 112b01f526 netclient working for ingress controller 2021-05-27 14:57:59 -04:00
afeiszli c27c863d6a netclient for ingress gateway now working 2021-05-27 14:56:08 -04:00
root 884037e228 ingress gateway functional 2021-05-27 18:54:24 +00:00
afeiszli 3996d48380 auto generate clientid 2021-05-25 17:57:06 -04:00
afeiszli 00bd65841e modify access key 2021-05-25 16:10:25 -04:00
afeiszli b930027a95 modify access key 2021-05-25 16:09:49 -04:00
afeiszli 78ae219b03 major overhaul initiated 2021-05-25 12:48:04 -04:00
root 3be965b6c8 fixing netclient 2021-05-20 02:08:54 +00:00
afeiszli 29e332edf7 adding extclient functionality 2021-05-19 13:59:10 -04:00
afeiszli 3dafbc0daa now able to add ipv6 address to iface 2021-05-06 10:16:34 -04:00
afeiszli 4c0cc042e0 got netclient ipv6 working 2021-05-06 09:25:05 -04:00
afeiszli 9db5d43304 adding dns stuff 2021-05-05 21:07:00 -04:00
afeiszli 1fd30c0a71 saving netclient changes 2021-05-05 20:51:59 -04:00
afeiszli 46a81c9767 refactoring logic in main 2021-05-05 20:42:17 +00:00
afeiszli 2b77ae6723 dns server setup 2021-05-04 21:36:55 +00:00
afeiszli 529a511a79 fixed constant peer update issue 2021-04-19 10:49:52 -04:00
afeiszli c6714bcb8e gateway now appears to be fully functional 2021-04-19 10:02:30 -04:00
afeiszli 62ace03f5e gateway works but local address not being set to endpoint. 2021-04-17 12:13:26 -04:00
afeiszli 811c745581 iptables now being set by client 2021-04-15 09:48:23 -04:00
afeiszli e2ec093eaf iptables now being set by client 2021-04-15 09:48:14 -04:00
afeiszli 3a2eb1411a fixing runtime panic on user delete 2021-04-14 22:59:25 -04:00
afeiszli 675a6ad284 updating models 2021-04-14 13:54:02 -04:00
afeiszli 2861afb1cf ran protoc 2021-04-14 13:44:47 -04:00
afeiszli 976c1847bf changing private to local for clarity 2021-04-13 10:04:31 -04:00
afeiszli 9839cbd806 adding gateway functionality 2021-04-13 02:55:49 -04:00
afeiszli 1402dd828a network wasn't working, so added it. 2021-04-13 01:19:44 -04:00
afeiszli 587442dfe3 adding necessary changes for client and server key to work 2021-04-13 01:10:57 -04:00
afeiszli 2ea497c6ff massive number of changes to schema and error handling. 2021-04-13 00:42:35 -04:00
afeiszli cc81830516 changed all error responses 2021-04-12 23:19:01 -04:00
afeiszli 9edf655887 fixing some netclient bugs 2021-04-08 09:04:21 -04:00
afeiszli a2e58b04f6 Merge branch 'bugfix_v0.2_portconflicts' of https://github.com/gravitl/netmaker into bugfix_v0.2_portconflicts 2021-04-07 09:53:51 -04:00
afeiszli 5c6ffdb929 remove wgkey during cleanup 2021-04-07 09:53:27 -04:00
Alex 8d434bd43c
Merge branch 'develop' into bugfix_v0.2_portconflicts 2021-04-07 09:42:28 -04:00
afeiszli 0ad06984e6 fixed conflicting password issue 2021-04-07 09:39:40 -04:00
afeiszli 0627810111 testing port picker. issues with auto login. keep investigating. made issue 2021-04-06 21:31:47 -04:00
afeiszli f3f2140f23 add remove server from networks with api. Add to default network by default. 2021-04-06 19:13:34 -04:00
afeiszli 5725530d56 auto delete timestamp works 2021-04-05 20:47:19 -04:00
afeiszli 3ca3a3e172 peer update functionality 2021-04-05 18:09:21 -04:00
afeiszli be192cc227 added access token for ease of configuration 2021-04-05 14:47:16 -04:00
afeiszli 779dc6d499 added access token for ease of configuration 2021-04-05 14:47:07 -04:00
afeiszli 367cf5db17 cleaned up netclient uninstall for multiple networks 2021-04-05 12:10:58 -04:00
afeiszli 1f377997cb fixed client side for multinet and added group filter to query params server side. 2021-04-05 11:06:30 -04:00
afeiszli aeb13da21b changed wirecat --> netmaker. Changed defaults to be more sensible 2021-04-01 14:50:18 -04:00
afeiszli 28110da266 added prereq check for ipv4 forwarding and for wireguard 2021-03-27 13:48:59 -04:00
afeiszli d8d86abdb6 added prereq check for ipv4 forwarding and for wireguard 2021-03-27 13:48:50 -04:00
afeiszli b790730825 Fixed path issue for install. Added sudo check for binary 2021-03-27 12:50:27 -04:00
afeiszli 04900e4e97 fixed hanging ifconfig.me call. Added alternative servers if failure encountered. Cleaned up delete script. 2021-03-27 12:05:07 -04:00
afeiszli 98d6781873 fixed hanging ifconfig.me call. Added alternative servers if failure encountered. Cleaned up delete script. 2021-03-27 12:04:44 -04:00
afeiszli 67157f4bdc fix to roaming feature 2021-03-26 11:18:24 -04:00
afeiszli ed02a499b8 fix to roaming feature 2021-03-26 11:14:19 -04:00
afeiszli 2637e0ee79 cleaned up uninstall and reinstall. Added a 'roaming' option to check for addresses 2021-03-26 10:35:52 -04:00
afeiszli 33b98983c2 fixed duplicate interface issue 2021-03-26 00:04:10 -04:00
afeiszli 9aa7970605 fixed duplicate interface issue 2021-03-26 00:04:04 -04:00
afeiszli 1b437c38d1 Fixed issues caused by repo migration. Cleaned up some errors with install/uninstall. Changed location on local to /etc/netclient. 2021-03-25 22:30:25 -04:00
afeiszli e489a18492 hotfixes for repo. Now works. 2021-03-25 22:29:36 -04:00
afeiszli 0bacbd9f6c first commit 2021-03-25 12:17:52 -04:00