Commit Graph

943 Commits

Author SHA1 Message Date
Ylian Saint-Hilaire
41fb7d4f42 Fixed guest web relay session revocation (#4667) 2022-10-25 11:14:26 -07:00
Ylian Saint-Hilaire
392c34bbd0 Updated MeshCentral Router to support messaging 2FA (#4650) 2022-10-24 07:13:20 -07:00
Ylian Saint-Hilaire
e2cf723c6a Added support for 2FA messaging (#4650) 2022-10-22 12:59:12 -07:00
Ylian Saint-Hilaire
7e3dce0ef7 First pass at adding Telegram support (#4650) 2022-10-22 07:23:55 -07:00
Ylian Saint-Hilaire
1abaa54b62
Merge pull request #4521 from mstrhakr/bug-4520
BUG: Fix handleStrategyLogin checking undefined property.
2022-09-07 08:10:28 -07:00
silversword411
8a34b88151
Typo???? Please check! 2022-09-07 10:41:20 -04:00
silversword411
597c67bb1f
typo squashing 2022-09-07 10:40:36 -04:00
mstrhakr
b0ec3af9bb Fix checking sub property before parent property
fixes bug 4520
2022-09-07 10:31:02 -04:00
mstrhakr
25345fe6b5 fix bug with required group + debug cleanup 2022-09-06 17:58:37 -04:00
Ylian Saint-Hilaire
1ae01b2113 Added LDAP site admin support, OpenID samples and schema and more (#4506) 2022-09-06 00:30:07 -07:00
mstrhakr
5619948d31 Added Group Support to OIDC
Supports choosing groups to..
  -Allow or restrict login to server
  -Sync with user groups (with / without filter)
  -Grant or revoke site admin privileges
2022-09-06 00:29:22 -04:00
mstrhakr
60ee315b79 actually working discovery 2022-09-04 19:41:14 -04:00
mstrhakr
7ec476ec4d initial working discovery
if user is missing info, we will discover it automatically using well-known endpoints
2022-09-04 15:18:53 -04:00
mstrhakr
c8774e700b update oidc scope
passport-openidconnect adds the 'openid' scope to the request, regardless of if its already there.
removed 'openid' scope
removed unused 'groups' scope
2022-09-03 18:22:26 -04:00
Ylian Saint-Hilaire
d1e04a7ca7 Fixed SSPI authentication exception. 2022-09-03 00:32:49 -07:00
Ylian Saint-Hilaire
49e04bd454 Improved user authentication log and added 'authlog' tracing. 2022-09-01 22:06:08 -07:00
mstrhakr
03e15c6be1 update oidc passport module
Updated to official passport-openidconnect module, removed custom module.
2022-08-31 23:51:24 -04:00
Ylian Saint-Hilaire
d4d1f7d454 MeshCMD is now signed using the MeshCentral code signing cert. 2022-08-31 01:36:23 -07:00
Ylian Saint-Hilaire
0bf459bb51 Many web relay improvements and fixes (#4467, #4456) 2022-08-30 17:53:27 -07:00
Ylian Saint-Hilaire
f7dc1d749b Added 'keepcerts' option to force keeping HTTPS/MPS cert. 2022-08-26 15:43:12 -07:00
Ylian Saint-Hilaire
4fe394226c Improved web relay sharing (#4413) 2022-08-25 21:10:09 -07:00
Ylian Saint-Hilaire
5d7fabfc21 Added guest web sharing of HTTP/HTTPS (#4413) 2022-08-25 20:11:47 -07:00
Ylian Saint-Hilaire
6b1b034c61 Fixed device sharing links when using in LAN mode. 2022-08-24 14:10:40 -07:00
Ylian Saint-Hilaire
fcfe4d964e Intel AMT tab will now show up in the correct language if available. 2022-08-22 13:06:25 -07:00
Ylian Saint-Hilaire
334a9b8321 Added LDAPSyncWithUserGroups to config.json schema (#4415) 2022-08-22 11:57:11 -07:00
Ylian Saint-Hilaire
00765288e6 Added LDAP membership user group sync options (#4415) 2022-08-22 11:43:45 -07:00
Ylian Saint-Hilaire
6b4179c20c Added LDAP debug improvements. 2022-08-21 22:19:57 -07:00
Ylian Saint-Hilaire
8dd07495f5 MeshCentral will now auto-create LDAP user groups and sync users to their membership groups when the login using LDAP. (#4415) 2022-08-21 21:19:34 -07:00
Ylian Saint-Hilaire
daa4c60b77 You can now restrict what LDAP users can login based on LDAP membership groups (#4415) 2022-08-21 14:05:51 -07:00
Ylian Saint-Hilaire
8d1eab20e5 Logout will not redirect to /login (#4420) 2022-08-21 00:41:17 -07:00
Ylian Saint-Hilaire
ab84719afe Fixed saving run command dialog state on the server. 2022-08-19 13:42:44 -07:00
Ylian Saint-Hilaire
0ae91ede62 Fix for SAML (#4408) 2022-08-18 00:37:39 -07:00
Ylian Saint-Hilaire
4092615c63 Fixed auth strategies when using with a second domain with a DNS (#4404) 2022-08-17 14:14:56 -07:00
Ylian Saint-Hilaire
2c9fcdbfd0 Fixed U2F server exception (#4346) 2022-07-31 11:25:28 -07:00
Ylian Saint-Hilaire
c8d8fc422c When doing session IP address checkingin default 'lax' mode, if both addresses are private/loopback, it's now accepted as a match. 2022-07-28 15:12:28 -07:00
Daniel Castellanos
ddbd76e254
Fix for #4307
Added missing equals sign when checking null session
2022-07-22 23:01:43 +00:00
Ylian Saint-Hilaire
3dd8531ef9 Added code to skip the agent code signing certificate if missing and getting certs from database or vault (#4299) 2022-07-21 17:17:08 -07:00
Ylian Saint-Hilaire
46e511ef95 Fixed webserver.js exception. 2022-07-21 16:10:01 -07:00
Ylian Saint-Hilaire
4db8ff3946 Fixed webserver.js exception. 2022-07-21 16:08:38 -07:00
Ylian Saint-Hilaire
034ebc986c LDAP debug improvements. 2022-07-20 13:35:59 -07:00
Ylian Saint-Hilaire
61e486ba38 Added support for LDAP account images (#4283) 2022-07-20 12:57:24 -07:00
Ylian Saint-Hilaire
b7bc172c40 ldapUserName and ldapUserRealname can now be set to for example: {{{givenName}}} {{{sn}}} (#4276) 2022-07-20 00:50:32 -07:00
Ylian Saint-Hilaire
58cd5e3bea LDAP improvements (#4276) 2022-07-20 00:10:09 -07:00
Ylian Saint-Hilaire
466c765df5 LDAP improvements (#4283) 2022-07-19 13:50:40 -07:00
Ylian Saint-Hilaire
954e5cde32 ldapSaveUserToFile will now append the file (#4276) 2022-07-18 16:18:15 -07:00
Ylian Saint-Hilaire
b3dd3d3613 Added ldapSaveUserToFile option to help debug LDAP issues. 2022-07-18 16:12:53 -07:00
Ylian Saint-Hilaire
9f4c2cc53e Fix for SSPI auth un-authorized. 2022-07-15 13:13:53 -07:00
Ylian Saint-Hilaire
acb9a5bb6e Fixed Web-RDP when used with non-default domain (#4271) 2022-07-14 15:18:41 -07:00
Ylian Saint-Hilaire
66b0315624 Browser session security improvements. 2022-07-12 17:45:19 -07:00
Ylian Saint-Hilaire
04fb1f2bf0 Added CAPTCHA option when creating new accounts on login screen. 2022-07-11 14:35:05 -07:00
Ylian Saint-Hilaire
4382899468 Clean up cookie-session instance. 2022-07-11 11:19:04 -07:00
Ylian Saint-Hilaire
626c490771 Switch browser cookie signature from SHA1 to SHA384. 2022-07-11 11:11:03 -07:00
Ylian Saint-Hilaire
a151dcbfe6 Web relay can now handle connection:close responses. 2022-07-10 13:08:28 -07:00
Ylian Saint-Hilaire
5eca4eecee Completed support for web relay with multiple DNS names. 2022-07-10 11:32:59 -07:00
Ylian Saint-Hilaire
1a72126c4f Added DELETE and OPTIONS as supported web relay methods, #4241 2022-07-10 10:50:57 -07:00
Ylian Saint-Hilaire
a0ea6ead09 Put in the groundwork for web relay with multiple relay DNS names. 2022-07-10 01:32:11 -07:00
Ylian Saint-Hilaire
bd9739e106 Changed the web relay system to correctly with multiple DNS names, #4242 2022-07-09 13:32:55 -07:00
Ylian Saint-Hilaire
9dac8b7807 Web relay improvements, #4240 2022-07-08 18:00:15 -07:00
Ylian Saint-Hilaire
40bc91b6f3 Many CrowdSec improvements. 2022-07-07 21:51:09 -07:00
Simon Smith
e72614296c
fix dns relay and samesite lax 2022-07-07 14:57:48 +01:00
Ylian Saint-Hilaire
695e3068de Fixed server exception when using agent installation invite codes, #4233 2022-07-06 23:39:36 -07:00
Ylian Saint-Hilaire
947d9094cb Added support for Crowdsec, an open-source and collaborative IPS (Intrusion Prevention System) 2022-07-06 20:34:04 -07:00
Ylian Saint-Hilaire
e89effac46 Added options to remove the SSH Connect and SFTP connect from the terminal and files tab when other options exist, #4214 2022-07-05 14:25:38 -07:00
Ylian Saint-Hilaire
568097597c Web relay with DNS now uses the main HTTPS alias port when set, #4210. 2022-07-05 13:21:14 -07:00
Simon Smith
d16523af7b
fix backup code visibility 2022-07-05 18:42:00 +01:00
Ylian Saint-Hilaire
18f4fe9c3a Added relayAliasPort setting to support relay port behind reverse proxies, #4222 2022-07-04 20:20:25 -07:00
Ylian Saint-Hilaire
b33900dfbf Improved DNS based web relay, #4210 2022-07-03 18:17:57 -07:00
Ylian Saint-Hilaire
5ba9d7e503 Added support to HTTP web relay on the main web server port with used with a specified DNS name, #4210 2022-07-03 00:44:58 -07:00
Ylian Saint-Hilaire
0637412d1b Fixed Web-RDP when a default user is set and no users are logged in. 2022-06-28 15:20:05 -07:00
Ylian Saint-Hilaire
571a0f1c2d More work on web relay, #4172 2022-06-24 16:53:31 -07:00
Ylian Saint-Hilaire
cfd8521381 Fixed server exception on older NodeJS versions, #4102 2022-06-09 09:58:02 -07:00
Ylian Saint-Hilaire
ea7e98b3b4 Added BREACH attack mittigation, #4084 2022-06-08 10:47:23 -07:00
Ylian Saint-Hilaire
9c52cc4d8c Web-SSH fixes and improvements. 2022-05-19 14:41:32 -07:00
Ylian Saint-Hilaire
1571ce03f0 Added userRequiredHttpHeader support in domain section of the config.json, #4011 2022-05-18 18:01:34 -07:00
Ylian Saint-Hilaire
753b6c240a SSH/RDP credentials are now stored per user account, #3995 2022-05-17 16:09:35 -07:00
Ylian Saint-Hilaire
5ac74635c5 Fixed HTTP handling when no user-agent header is present. 2022-05-16 16:20:50 -07:00
Ylian Saint-Hilaire
cee069d1df Added Router and Assistant alternate path, #3988. 2022-05-16 13:48:15 -07:00
Ylian Saint-Hilaire
68c5aae0b0 Send Permissions-Policy HTTP header only for Chrome browsers. 2022-05-16 12:51:15 -07:00
Ylian Saint-Hilaire
14050dd6b7 Fixed authlog, #3954 2022-05-10 19:31:21 -07:00
Ylian Saint-Hilaire
b28c7daf2b Fixed account login message, #3954 2022-05-10 17:53:09 -07:00
Ylian Saint-Hilaire
0d297088c8 Added option to save SSH username and key without saving key password. 2022-05-10 17:44:34 -07:00
Ylian Saint-Hilaire
96dab9ab3e Fixed 404 error with mstsc.html, #3927 2022-05-02 22:09:06 -07:00
Ylian Saint-Hilaire
41b6b6a54a Fixed RDP/SSH use of saved credentials, #3924 2022-05-02 12:19:03 -07:00
Ylian Saint-Hilaire
db06ec1975 Added Web based RDP support with NLA, #3867 and #3914 2022-04-29 11:13:58 -07:00
Ylian Saint-Hilaire
4c3a82a552 Web socket connection error, # 2022-04-12 14:03:52 -07:00
Ylian Saint-Hilaire
8fce45ad76 CookieIpCheck now has none/lax/strict options, with default being lax. #3861 2022-04-09 17:12:52 -07:00
mstrhakr
ba82a005f4 update oidc npm module 2022-04-08 11:55:54 -04:00
mstrhakr
149573a878 swapped to working passport oidc module 2022-04-08 11:38:55 -04:00
mstrhakr
126c1474cc working generic oidc section
tested with authelia, works for me :)
2022-04-08 00:14:58 -04:00
mstrhakr
640933fc6e implemented passport-openidconnect
used passport-openidconnect to get login 90% working, i get as far as the oidc host sending me back to mesh central with a good auth but i dont get logged in, still testing
2022-04-06 12:40:42 -04:00
Ylian Saint-Hilaire
5a81c84d67 Improved uicustomevent security and events, #3823 2022-03-30 07:14:14 -07:00
Ylian Saint-Hilaire
dd11816657 Fixed server update feature when given rights but are not administrator. 2022-03-25 11:13:47 -07:00
Ylian Saint-Hilaire
629aba7fc8 Fixed 2fahold.aspx port number. 2022-03-24 17:08:58 -07:00
Ylian Saint-Hilaire
1356dae4f2 You can now limit which users can create login tokens. #3787 2022-03-24 15:05:20 -07:00
Ylian Saint-Hilaire
a8c100be24 Improved web page translation selection based on browser information. 2022-03-24 14:14:33 -07:00
Ylian Saint-Hilaire
ff65097b11
Merge pull request #3766 from tunght/master
Fixed email verification issue
2022-03-16 02:15:06 -07:00
tunght
306c3314fa
Fixed email verification issue 2022-03-15 20:58:44 -07:00
Ylian Saint-Hilaire
545290a9af Added new allowSavingDeviceCredentials option, #3751 2022-03-15 17:00:43 -07:00
Ylian Saint-Hilaire
f9c6d8194c Now putting SSO user login events in event log. 2022-03-15 15:03:58 -07:00
Ylian Saint-Hilaire
4252205b74 Fix for: Collapse all when using view Group-Tags #3765 2022-03-15 14:31:28 -07:00