Everything posted by EDACerton
-
[Plugin] Tailscale IDP
They will not persist in the current version, but that's something that I could look at doing. It shouldn't be too difficult to do, the only disadvantage I can think of is that the list could get a little bloated if you're routinely changing your hostname or WebGUI ports (but I don't think that would be all that common, nor would it really be a problem, more a cosmetic annoyance). Also, you'll need to add the grants to your Tailnet policy to make changes now, but it sounds like you already figured that out.
-
[PLUGIN] Encrypted Drive Manager
And just to be clear -- I don't expect for Unraid to be super-secure, by design it can't be. It uses a boot volume/configuration that can't be encrypted, and that isn't externally verified (so, for example, someone with physical access could replace the boot images on the flash drive with ones that would steal encryption keys, no matter how secure they were, add a plugin/package to steal keys/data, change credentials, etc.) Everything runs as root, increasing the impact of attacks of running services. However, while Unraid can't be used as a super-secure OS, I still think it's very important to be clear and unambiguous with users when affecting the behavior of sensitive things such as system encryption. The phrasing that being used in replies here doesn't meet that threshold for me, as it seems to be more focused on saying "this is fine" than being plain and honest about what this does. Users need to be OK with having a 5 character password for their drives -- that's what they're getting. An approach that would be more interesting (especially given how many users like to set up things like pi-hole, the -sense's, Unifi) would be something where you would configure a DNS TXT record, then the boot looks that up (from the local DNS server) and uses that.
-
[PLUGIN] Encrypted Drive Manager
I understand the point of the plugin. My objection is in presentation -- the description in CA claims that "Creates hardware-derived keys tied to your server's location and hardware for secure automatic unlocking". It is fair for folks to interrogate what "secure automatic unlocking" means, especially considering that the approach really isn't "secure". That needs to be clear in more words than "brute force is always possible" -- this makes brute force immensely easy compared to a 128-bit key (20ish characters). That would be 2^98 times more difficult, or to put it another way, that $8000 of AWS would become $2,535,301,200,000,000,000,000,000,000,000,000 (and just to put that in context, the global GDP is $111,000,000,000,000). I also think the claim that it's more secure than other methods is dubious -- other solutions involve creating a keyfile (which is presumably more than 30 bits) and then providing that from another device on the local network. Yes, if someone stole the server and that device, they could get the keyfile -- but if someone stole the server and the router, they get the gateway MAC, and so have both components to build the key. From a threat perspective, this isn't an improvement -- it's just giving up cryptographic strength. The actual "benefit" to using the MAC address isn't that it's more secure -- it's less secure than using a keyfile retrieved from another device -- but that it doesn't require for that other device to be set up (convenience). I would also suggest that this plugin should be flagged as a beta, given that I couldn't even get it to configure on my (very basic) test server. That makes me think that it doesn't have the testing/operational maturity to be considered "stable"/"production", especially given its potential impact on the system.
-
[PLUGIN] Encrypted Drive Manager
Several items here -- First, my attempt to configure the plugin on one of my test systems immediately failed, claiming my very simple passphrase (unraid-testing) is incorrect. Second, and more importantly, claiming that this is "making auto unlocking practical in the most secure way possible" isn't a fair statement, because (as mentioned) it vastly reduces the key strength of the underlying encryption. The motherboard serial is irrelevant, since if someone stole the server, they have that. Let's assume that, with the MAC address, there are 2^30 possible combinations (the second half of the MAC address (24 bits), plus 6 bits of possible OUIs, understanding that the more common the router, the faster it is to crack). In comparison, the minimum-acceptable key length for AES is usually considered to be 128 bits. 2^128 = 340,282,366,920,938,463,463,374,607,431,768,211,456 possible combinations. 2^30 = 1,073,741,824 possible combinations. "Millions of combinations" is trivial with modern hardware (even with a pass of SHA256). Fortunately, LUKS uses a key derivation function (KDF) which helps mitigate the impact of insecure passphrases by doing a set of computationally-complex calculations. Modern installations of LUKS use Argon2id with a target to calculate the final key in 2 seconds (in other words, when you initially create the key, it runs enough iterations to take about 2 seconds). This also means, though, that slower hardware gets less secure keys (it can do fewer iterations in 2 seconds). So, if you take the key to a faster system/more cores/etc., you can do those calculations much faster. (To put this in context -- based on some quick calculations I did, I think it would cost about $8000 to break most keys in AWS in one hour.) That's not to say that this is a bad idea inherently. However, it needs to be clear -- you are giving up a large amount of cryptographic security for convenience with this plugin. It also doesn't appear to remove that insecure key on uninstall -- so if you forget to remove it before uninstalling, your system remains insecure (with no way to see that).
-
[Plugin] Tailscale IDP
I just released an update that should fix that problem.
-
[Container] TSDProxy
It is still fine to use. 1.80 is the tsnet version (programmers version of Tailscale), it doesn’t usually need to update like tailscaled does.
-
[Plugin] Tailscale IDP
What version of Unraid? I have a guess on what’s happening. If you can install “Plugin Diagnostics” and upload diags for the plugin, I can confirm.
-
Array not starting, nginx error 500 - only access through ssh
You removed these lines from /boot/config/go, put them back at the end: # Start the Management Utility /usr/local/sbin/emhttp
-
[Plugin] Tailscale IDP
Tailscale IDP (tsidp)The Tailscale IDP plugin brings Single Sign-On (SSO) to your Unraid server using Tailscale as an identity provider. With this plugin, you can log in to your Unraid web UI using your Tailscale account—no need to enter the root username and password if you’re already connected via Tailscale. ConfigurationAfter installing the plugin: Go to Settings -> Management Access -> Unraid API Settings. In the "OIDC Providers" section, select "Tailscale". Expand "Authorization Rules". Add Tailscale accounts to "Specific Email Addresses". Click "Apply". Changeloghttps://github.com/dkaser/unraid-tsidp/releases ContributingIssue reports and pull requests are welcome on Github: https://github.com/dkaser/unraid-tsidp
-
[Plugin] Tailscale
The select2 thing is cosmetic; it's a side effect of moving some code between repos a while back. I'll have that fixed in the next update. As for the restart issue -- this probably has something to do with how/when the network comes up during boot. I need diagnostics to understand what's happening better. Please follow the instructions in the pinned post to generate plugin diagnostics. You can either download the diagnostics and attach to a post here, or use the "Upload" button and post the ID it gives you.
-
UnRAID API connecting in Home Assistant
The integration needs to update. Part of the API schema changed (one of the risks of the API still being somewhat in beta).
-
[Plugin] Tailscale
The update posted earlier today should fix the funnel issues on 7.1 and earlier.
-
[Plugin] storcli64
It all depends on the hardware. There are two versions of storcli in the plugin: storcli-3404 and storcli-3205 storcli runs build 3404. You could try storcli-3205 and see if that does any better.
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
It is more complicated than that, and I don't intend to engage this any further than this comment. There was no conflict at the time this plugin was added to CA... the original plugins had been removed by the author, leaving users without any option. I elected to restore the plugins (originally as-is, then adding improvements) so that users would continue having the plugins available despite the actions that were taken. Renaming the plugin now is both complex, and will create confusion for users since it would require renaming the plugin and removing the original one from CA simultaneously (otherwise, it gets blacklisted), which then causes FCP to report the "pre-renamed" version (which everyone has installed) as unknown to CA and therefore potentially suspicious (until the users with it installed update, at which point they could pick up the "renamed" version. Since I didn't create the conflict (there was no conflict when I started), I don't believe that's my problem to fix. If the staff want otherwise, they know how to get in touch with me, I chat with them all the time.
-
[Plugin] Tailscale
Generally, problems with plugin installation end up being related to your network settings. What happens if you run the command I provided?
-
[Plugin] Tailscale
It sounds like Tailscale isn't downloading correctly. What do you get if you run this from a terminal? wget https://pkgs.tailscale.com/stable/tailscale_1.86.2_amd64.tgz
-
[Plugin] Open Files - See What's Preventing Unraid from Shutting Down
As long as you’re on Unraid 7, it should show up in apps.
-
Responsive WebGUI Plugin Migration Guide
@ljm42 Can I get permission to use snippets from here as examples in https://github.com/dkaser/unraid-plugin-template ? (Of note is that the repo uses the Unlicense/public domain so that it can’t place any restrictions on projects using it.)
-
Sample plugin
I have https://github.com/dkaser/unraid-plugin-template , which could be a starting point for this. It seems like it would just need some additions to Sample.page to include some extra things.
-
[Plugin] File Activity – See What’s Keeping Your Unraid Disks Busy
I intend to keep this around. It's been substantially improved compared to the original version, and dlandon also applied restrictive licensing (so, if he were to remove them again, no one would be able to fork it like I did).
-
[Plugin] Tailscale
The plugin and the "Use Tailscale" option are actually two completely separate things, the plugin doesn't provide any of the "Use Tailscale" functionality. (In fact, I generally recommend against using it for a variety of reasons related to how it operates.) For support with it, just make a topic in the overarching "Tailscale" forum: https://forums.unraid.net/forum/111-tailscale/
-
[Plugin] Tailscale
Ah, I see what's happening. The check that is supposed to start with 7.2 is already running, but you won't see the option that controls it until you update. I'll send you a PM with a fix in the meantime (it's simple, but I don't want to post here so that folks don't try it blindly).
-
[Plugin] Tailscale
Did you install the 7.2 beta? There's new logic/options around funnel that turns on in 7.2.
-
[Plugin] Tailscale
You should be able to open the container console and do whatever you need to, but this isn't the support thread for that functionality. If it involves "Use Tailscale", you should make a separate post for that. This thread is only for the plugin (Settings->Tailscale in the WebGUI).
-
[Plugin] Tailscale
The plugin doesn’t interact with the “Use Tailscale” option in containers, they are two separate systems.