Gentoo Archives: gentoo-hardened

From: Natanael Copa <natanael.copa@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Tin Hat memory requirements?
Date: Wed, 20 Aug 2008 15:46:51
Message-Id: 1219247184.19388.58.camel@nc.nor.wtbts.org
In Reply to: Re: [gentoo-hardened] Tin Hat memory requirements? by Jan Klod
1 On Wed, 2008-08-20 at 14:54 +0300, Jan Klod wrote:
2 > On Wednesday 20 August 2008 14:14:24 Natanael Copa wrote:
3 > > On Wed, 2008-08-20 at 13:37 +0300, Jan Klod wrote:
4 > > > Hello,
5 > > > I am interested in setting up distro in RAM for file server, but the
6 > > > thing is: I only have 1GB of RAM (max in board). Since fileserver really
7 > > > doesn't require much of software, I was consider asking this question:
8 > > > can Tin Hat help here?
9 > > > How booting is done?
10 > > > How back-synchronization happens (from RAM to backup)? Only manually by
11 > > > copying?
12 > > >
13 > > > Hope you give some advices,
14 > >
15 > > If you dont need xorg you might want to take a look at alpine linux,
16 > > distro based on gentoo hardened with uclibc/busybox. It is designed to
17 > > run firewalls and vpns from RAM but can also be used for ISCSI, vserver
18 > > hosts, samba/nfs and others.
19 > >
20 > > during boot it installs all the needed packages to RAM. There is a local
21 > > backup utility that helps to backup your /etc to USB memory together
22 > > with the list of installed packages so get your configuration back.
23 > >
24 > > http://alpinelinux.org
25 > >
26 > > -nc
27 >
28 > Thank you Natanael, but, before I start long reading about it, what could be
29 > memory requirements for alpine
30
31 Depends on what you plan to run. You can boot it up with 16MB RAM but
32 then you have nothing in there but busybox and openssl.
33
34 > and is it a real hardened gentoo with portage
35 > accessible or, if not, how all the install / compiling is done there?
36
37 no. Its built with gentoo but the binary packages are converted to .apk
38 (which is a tar.gz with some extra files with dependencies etc)
39
40 The reason I don't use the gentoo tbz2 is becuase it does not support
41 package splitting (i.e separate documentation and developer packages
42 for /usr/share/doc and .h and .a files)
43
44 you can install precompield binaries using apk_add:
45
46 apk_add openssh samba
47
48 packages get installed in tmpfs. Running the local backup utility will
49 make sure your pacages are reinstalled next reboot:
50
51 lbu commit
52
53
54 There are around 500 available packages:
55 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/alpine/alpine/v1.7/apks/
56
57 The drawback with this approach is that it is too difficult to set up a
58 developer environment to build your own stuff from gentoo. you need
59 gentoo stage, gentoo portage + alpine overlay + a set of convert
60 Makefiles.
61
62
63 >
64 > Jan
65 >

Replies

Subject Author
Re: [gentoo-hardened] Tin Hat memory requirements? Jan Klod <janklodvan@×××××.com>
[gentoo-hardened] Updates: a way too simplified security question I am asking anyway Jan Klod <janklodvan@×××××.com>