🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #280279

Re: Server Best Practices

#280279
From: SEC3
Date: Tue, 23 Feb 2016 21:54
75 lines
4379 bytes
On 02/23/2016 04:06 PM, Anonymous wrote:
> On Mon, 22 Feb 2016 09:01:51 -0000 (UTC), you wrote:
>>
>> *** PGP SIGNATURE VERIFICATION ***
>> *** Signature made 02/22/16 01:01:51 using RSA key ID BE3EFAA7
>> *** Good signature from "Steven Crook"
>> *** WARNING: Using untrusted key!
>> *** Verified 02/23/16 09:42:19
>> *** BEGIN PGP VERIFIED MESSAGE ***
>>
>> On Sun, 21 Feb 2016 19:59:09 -0500 (EST), Jack Ryan wrote in
>> Message-Id: <9b5cd6e95fe3f9108e9ad14fe01b6156@remailer.cpunk.us>:
>>
>>> I have a Middle Remailer and a Middle Tor Relay running on the same
>>> Debian VPS server. I came across a recommendation that I should
>>> update and upgrade my packages every 24 hours to ensure that you
>>> are running the latest Tor package and then restart Tor within a
>>> Cron job. The command I have is:
>>>
>>> 0 0 * * * apt-get update -y; apt-get upgrade -y; service tor reload
>>>
>>> Are there any problems with running this every 24 hours and
>>> reloading Tor, if it picks up a package change?
>>>
>>> Could upgrading packages every night break something that is
>>> currently working?
>>>
>>> Also is there a command I can use to stop and restart Mixmaster via
>>> a cron job?
>>
>> Where did you find this advise?  Those commands don't just upgrade Tor,
>> they upgrade everything.  I suggest checking your /etc/apt/sources.list
>> to make sure you have a named version in it, like wheezy or jessie.  If
>> it says "stable", your cron job will attempt a major upgrade every once
>> in a while.
>>
>> Better would be:
>> 0 0 * * * apt-get update -y; apt-get install tor -y
>>
>> This will just upgrade Tor if a new version is available.  If an upgrade
>> is performed, the install script should restart Tor for you.
>>
>> Personally I'd prefer to do it completely manually so I can watch
>> upgrades being installed and answer any questions that may pop up.
>>
> When I place "apt-get update -y; apt-get install tor -y &> /dev/null" I get this verbose text in my mail from Cron. Is this normal. I tried the &> /dev/null to try to get rid of the text as I don't want to get an email every time I run this cron job. Is there a way to get rid of this output?
> 
> Hit http://security.debian.org wheezy/updates Release.gpg
> Hit http://security.debian.org wheezy/updates Release
> Hit http://security.debian.org wheezy/updates/main i386 Packages
> Hit http://security.debian.org wheezy/updates/contrib i386 Packages
> Hit http://security.debian.org wheezy/updates/non-free i386 Packages
> Hit http://security.debian.org wheezy/updates/contrib Translation-en
> Hit http://security.debian.org wheezy/updates/main Translation-en
> Hit http://security.debian.org wheezy/updates/non-free Translation-
> en
> Hit http://ftp.debian.org wheezy Release.gpg
> Hit http://ftp.debian.org wheezy Release
> Hit http://ftp.debian.org wheezy/main i386 Packages
> Hit http://ftp.debian.org wheezy/contrib i386 Packages
> Hit http://ftp.debian.org wheezy/non-free i386 Packages
> Hit http://ftp.debian.org wheezy/contrib Translation-en
> Hit http://ftp.debian.org wheezy/main Translation-en
> Hit http://ftp.debian.org wheezy/non-free Translation-en
> Reading package lists...
> 

You successfully /dev/nulled the 2nd command, but not the first. Try

apt-get update -y &> /dev/null && apt-get install tor -y &> /dev/null

 SEC3


Technical Details
Message-ID: <naik8f$qob$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <9b5cd6e95fe3f9108e9ad14fe01b6156@remailer.cpunk.us> <slrnncljjv.qfp.admin@fleegle.mixmin.net> <bb6a9571fa0859c8a586c7aed254871c@foto.nl1.torservers.net>

Show Full Headers
Complete Article Headers
Message-ID: <naik8f$qob$1@dont-email.me>
Subject: Re: Server Best Practices
Date: Tue, 23 Feb 2016 16:54:18 -0500
From: SEC3 <sec3-pinger@sec3.invalid>
References: <9b5cd6e95fe3f9108e9ad14fe01b6156@remailer.cpunk.us> <slrnncljjv.qfp.admin@fleegle.mixmin.net> <bb6a9571fa0859c8a586c7aed254871c@foto.nl1.torservers.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
In-Reply-To: <bb6a9571fa0859c8a586c7aed254871c@foto.nl1.torservers.net>
X-Received-Bytes: 4667
Newsgroups: alt.privacy.anon-server
Lines: 76
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0
Cancel-Lock: sha1:r+MZdxRrzieynDx/APCS7qG2lYE=
Organization: SEC3
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 23 Feb 2016 21:51:12 -0000 (UTC)