Gabriel de Souza Seibel
1a1ba1ccf4
[NET-546] Move ee code to ee package, unify ee status and terminology ( #2538 )
...
* Move ee code to ee package and unify ee status to IsPro
* Consolidate naming for paid/professional/enterprise version as "pro". Notes:
- Changes image tags
- Changes build tags
- Changes package names
- Doesn't change links to docs that mention "ee"
- Doesn't change parameters sent to PostHog that mention "ee"
* Revert docker image tag being -pro, back to -ee
* Revert go build tag being pro, back to ee
* Add build tags for some ee content
* [2] Revert go build tag being pro, back to ee
* Fix test workflow
* Add a json tag to be backwards compatible with frontend "IsEE" check
* Add a json tag for the serverconfig struct for IsEE
* Ammend json tag to Is_EE
* fix ee tags
---------
Co-authored-by: Abhishek Kondur <abhi281342@gmail.com>
2023-09-01 07:42:05 +05:30
Abhishek Kondur
4071bb2bac
db cache nodes and hosts
2023-06-27 16:10:04 +05:30
Abhishek K
6c2582651c
Net-137: Node relays ( #2401 )
...
* revert relays
* initial relay commit
* get relayed allowed ips
* add more relay validation checks, peer logic cleanup
* rm relayed nodes from relay node when relayed node is deleted
* fix egress updates for relayed nodes
* rm unused func
* remove debug logs
* avoid adding egress ranges on the relayed gw node
---------
Co-authored-by: Matthew R Kasun <mkasun@nusak.ca>
2023-06-19 12:26:14 -04:00
Abhishek Kondur
a7042bd3c6
update relay information if changed on host update
2023-01-10 22:48:09 +05:30
Abhishek Kondur
7a5c393623
unexport func
2023-01-10 20:19:25 +05:30
Abhishek Kondur
599656618d
func comments,rm old proxy code
2023-01-10 19:52:54 +05:30
Abhishek Kondur
01d28e6483
fetch related hosts on relay creation to enable proxy
2023-01-10 18:54:52 +05:30
Abhishek Kondur
d373e90597
enable proxy when host is relay and on relayed hosts, add relay related feilds to api host model
2023-01-09 23:03:23 +05:30
Abhishek Kondur
26b40c8d97
host relay api logic
2023-01-09 11:42:57 +05:30
Matthew R. Kasun
eae92470c5
refactor of peerUpdate
...
contains some debugging logging
2022-12-23 13:41:17 -05:00
Matthew R. Kasun
38cd4d7700
refactor join
...
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
Matthew R. Kasun
c086e9499d
rebase
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
Abhishek Kondur
acae6c3aed
added relay functionality to proxy
2022-11-04 01:24:48 +05:30
Matthew R. Kasun
3a1dd8dc1e
remove func NetworkNodesUpdatePullChanges
2022-08-18 04:49:35 -04:00
afeiszli
c383ec0747
updating relay logic to remove udp
2022-06-15 12:05:55 -04:00
Matthew R Kasun
34263a6e2f
refactor peer calculations
2022-06-14 14:36:30 +00:00
Matthew R. Kasun
7701aead2c
code review changes
2022-06-13 09:34:25 -04:00
Matthew R. Kasun
24c58913eb
IsRelayed off on relayed node when deleting relay
...
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-06-11 08:52:40 -04:00
Matthew R. Kasun
d418f2d65f
use booleans
2022-06-07 15:17:04 -04:00
afeiszli
1c06cfc8f7
modified getpeers for hub network
2022-02-18 11:43:49 -05:00
afeiszli
be1763bb74
removing old node logic
2022-02-18 10:15:21 -05:00
afeiszli
ea7cb6f39e
fixing logging, disable non-linux relays, reset dns on error
2022-02-07 14:04:07 -05:00
afeiszli
96535554f5
fixing mac stuff and dns testing
2022-02-07 11:38:47 -05:00
afeiszli
62d0a6a83a
adding comments
2022-02-06 11:43:07 -05:00
afeiszli
7c56420b9f
backup logic for relay failing, dont allow server to be relayed
2022-02-06 11:36:38 -05:00
afeiszli
83c4f99192
set relayed nodes UDP to off and update them
2022-02-04 11:54:50 -05:00
Matthew R Kasun
dd62e90924
fix for GRA-129 prevent freebsd from being a gateway
2022-01-26 09:04:30 -05:00
0xdcarns
52195cd040
updated routes to use uuid
2022-01-17 14:21:40 -05:00
0xdcarns
64e7791011
restructuring continued
2022-01-17 14:21:40 -05:00
0xdcarns
c033be41bb
began transition
2022-01-17 14:21:40 -05:00
0xdcarns
0c6c09caa9
organized http logic, renamed files
2021-12-07 12:46:55 -05:00