Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2025 09:38:31 +0200
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        David Christensen <dpchrist@holgerdanske.com>
Cc:        questions@freebsd.org
Subject:   Re: Securing FreeBSD.
Message-ID:  <Z_Dd918DyCHhq1Hb@io.chezmoi.fr>
In-Reply-To: <419a92a3-6d5b-44cb-8edf-6e65373ae72d@holgerdanske.com>
References:  <Z_ATQA2k-3umIaLo@io.chezmoi.fr> <bb89a12f-0d73-411f-a34f-8a8224c30744@holgerdanske.com> <Z_A6pmQPuZU5lTEW@io.chezmoi.fr> <419a92a3-6d5b-44cb-8edf-6e65373ae72d@holgerdanske.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 04/04/2025 à 14:56:00-0700, David Christensen a écrit

Hi
> > > It sounds like you want read-only storage media (?).
> > 
> > Yeah...exactly. The purpose is to recycle some old server to create some
> > «non erasable» backup in addition to our «normal» backup.
> 
> 
> Please clarify how you will create the "«non erasable» backup" and how you
> will use it.

The initial idea is to 

  1/ Put the server in kern.securelevel=2
  2/ cron + rsync + find . -type f -exec chflags schg {} \; for the data

For the use : 

  1/ Pray not have to ;-)

  2/ rsync in the other way ;-)

> > They are two thing I will not consider in the equation :
> > 
> >    Security problem in FreeBSD.
> 
> 
> If you wish to defend against security problems in FreeBSD, then I suggest
> that you run the oldest supported release of FreeBSD -- 13.4-RELEASE.

Well I say I will «not» consider. 
 
> 
> If you wish to defend against an intruder who has physical access to the
> server, then I suggest that you select drives that have self-encryption (in
> addition to write-protection).
> 

Yes. I know that. But the assumption is : 

  FreeBSD don't have security problem
  The physical access is safe. 

> > 
> > well....not possible. Too many To.
> 
> 
> What is the size of the "«non erasable» backup"?

Currently I got around 8 To of data to backup (every day) in this «backup safe». And 
the server for this «backup safe» would have «lot of To» (around 450 To). 

So no problem to just daily 

  mkdir  `date +%Y%M%d`
  rsync data  `date +%Y%M%d`
  find  `date +%Y%M%d` -type f -exec chflags schg {}\;

and each 6 months (or before if need a run of freebsd-update) to boot in
single, change the securelevel and erase manually the oldest backup
 
> 
> What devices is it currently stored on?
> 

Standard HDD. 

> 
> > And the data change daily.
> 
> 
> "non erasable" and "change daily" are contradictory goals.  Please clarify.

Yeah....I mean the data I need to backup change daily. So it's not humanly
possible to write that optical device. 

We already think about WORM tapes (we have LTO-8 library) but that's is
very expansive. And the point is to use some old server who run perfectly
but no longer under warranty to do this «backup safe» because we already
have standard backup. 

> > Same issue. Not possible.
> > 
> > Regards.
> 
> 
> What about the IODD external drive enclosures?
>
> 
Didn't know that thing. I will check that. 

Thanks

Regards
-- 
Albert SHIH 🦫 🐸
France
Heure locale/Local time:
sam. 05 avril 2025 09:24:20 CEST



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z_Dd918DyCHhq1Hb>