-
Notifications
You must be signed in to change notification settings - Fork 2k
At what point is a Streisand instance too old? #513
Comments
Streisand's unattended upgrades will auto update what Ubuntu considers critical/security updates, as well as a handful of projects (Tor, Nginx, OpenVPN, shadowsocks-libev see [this]. OCServ, and LibreSwan are compiled from source and as far as I can tell there's no auto-update for either; they must be done manually if there's a need. Wireguard is the latest addition to Streisand however as far as I can tell it is not part of any auto update mechanism. From what I gather these would be the 3 tools that may/could need maintenance if there was a concern, or alternatively wipe it and start fresh. |
Thank you! It might be good to keep a MAINTENANCE.txt file or something in the root that detailed this... happy to propose a PR along what @alimakki says. |
What about older Streisand instances that were built on Ubuntu 14, considering we are now at 16? Security updates won't do distro updates. I guess since the basic policy of Streisand is disposable instances, the usual course of action is to spin up a new instance with a newer Streisand version? |
and if so, can it tell you when you need to peel off and stand up a more
recent instance?
…On Fri, Mar 17, 2017 at 1:00 AM, lazerhawk ***@***.***> wrote:
What about older Streisand instances that were built on Ubuntu 14,
considering we are now at 16? Security updates won't do distro updates.
I guess since the basic policy of Streisand is disposable instances, the
usual course of action is to spin up a new instance with a newer Streisand
version?
|
👍 |
@lazerhawk older instances may pose a problem. To illustrate my point, I'm still running a DigitalOcean VPS based on Ubuntu 14; recently the shadowsocks debian repo went offline, and this essentially broke unattended upgrades as apt would halt execution once it hit a 404 on the said repo. Removing shadowsocks from the apt configuration resolved the problem, however it presented a risk since security upgrades were no longer being applied because of the dead repository. Another example is when Streisand switched OpenVPN repositories to use the 2.4 branch instead of the 2.3. Unless you manually change that, you would not receive the latest features for that particular tool. Also to take into consideration how many people use your gateway. If you're the only user there wouldn't be much friction in spawning a new server, in my case however I have a lot of relatives that now depend on it to circumvent VoIP censorship in the Arabian Gulf, thus making me apprehensive in spawning a new server and distributing new certificates. To answer your question as to when an instance can get too old is a bit subjective and depends on your use case and threat model. If you do plan on rotating, in my opinion every 4-6 months seems reasonable. |
This sounds like a great idea 👍 |
Apologies for opening this back up... I should probably just ask @cpu very nicely via other means! When I SSH into my instance it says:
And I'd like to apply any updates that might not be happening automatically (I could just rev the server but I'm not in a good place to do that for some days). When I |
I'm not sure where to ask but my ubuntu server 16.04.5 LTS is suggesting to upgrade to 18.04.1 LTS, would that be safe to do for my streisand setup ? |
@josephlhall Sorry for the long delay in reply! I've been MIA from Streisand responsibilities for a few months. I 100% recommend pulling it down and creating a new instance. There's a few compelling reasons for this despite some of the prior advice in this thread about unattended security updates being applied:
@tiliarou It is not safe to upgrade a Streisand instance to 18.04. Streisand only supports 16.04 at the time of writing. @alimakki has a work-in-progress PR (#1453) that will allow Streisand to work with 18.04 but it:
|
I realize Streisand automates security updates, but is there any maintenance operators should do or anything to freshen the feature set of an old instance?
The text was updated successfully, but these errors were encountered: