From owner-freebsd-questions@freebsd.org Fri Oct 23 20:54:32 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DF5AA1DA5F for ; Fri, 23 Oct 2015 20:54:32 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0A22DCB for ; Fri, 23 Oct 2015 20:54:31 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtp (envelope-from ) id <1ZpjM5-001D46-Jg>; Fri, 23 Oct 2015 22:54:29 +0200 Received: from f052133133.adsl.alicedsl.de ([78.52.133.133] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (envelope-from ) id <1ZpjM5-0036c7-DO>; Fri, 23 Oct 2015 22:54:29 +0200 Date: Fri, 23 Oct 2015 22:54:24 +0200 From: "O. Hartmann" To: "Michael B. Eichorn" Cc: freebsd-questions Subject: Re: replace uname -a informational string Message-ID: <20151023225424.49220466.ohartman@zedat.fu-berlin.de> In-Reply-To: <1445622325.1169.29.camel@michaeleichorn.com> References: <20151023090805.5484ce9b@freyja.zeit4.iv.bundesimmobilien.de> <1445622325.1169.29.camel@michaeleichorn.com> Organization: FU Berlin X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Y3FBaL+sGqHANM.blPdht2M"; protocol="application/pgp-signature" X-Originating-IP: 78.52.133.133 X-ZEDAT-Hint: A X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2015 20:54:32 -0000 --Sig_/Y3FBaL+sGqHANM.blPdht2M Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Fri, 23 Oct 2015 13:45:25 -0400 "Michael B. Eichorn" schrieb: First of all: Thank you very much for your concerns and answers. > On Fri, 2015-10-23 at 09:08 +0200, O. Hartmann wrote: > > For security purposes, I need to replace the informations given by > > "uname -a" > > to hode the kernel build system, name et cetera. =20 >=20 > I presume you intendend 'hide' here? >=20 > If you want to scrub a binaries of _all_ information about the building > system this is a problem Debian is actively working on called > 'reproducible builds' but is not possible today. >=20 > https://reproducible.debian.net >=20 > If you want to hide the hostname, why not just build with a different > hostname set? Because it is not only the hostname, uname reveals the target host, date an= d OS version. In our case, the image ist built on a dedicated host for a security appliab= ce based on NanoBSD and I'd like to hide the OS type, the OS name, the build box' name = and the build date.=20 >=20 > >=20 > > Is there a way to achieve this via setting some knobs in the process of > > a > > buildkernel? > >=20 > > Please CC me, I'm not subscriber of the list. > >=20 > > Kind regards and thanks in advance, > >=20 > > O. Hartmann =20 --Sig_/Y3FBaL+sGqHANM.blPdht2M Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWKp6AAAoJEOgBcD7A/5N8yqQH/2BI1F9LodnasP9KCAVlVgAL kzRgcNo/bvqVPcUcUfk15CNTlRYCiyZmo0u/5cLHBiYTemqHCrcZhB/JH2oXaltn AKZhsGVcB+2P73Gx2B0261QrxQnxoGaBIXo736UqPB0jJPTM3fV2shVpuDh7oW0b XaGfHLQ4+NU++eeyjwViJDrq+VFDDNaWXG5ZaUe3Orb8U9PRqnuFXulBz23XdLn1 Tcuv434SI9urxyMgqjz/oDwTwgQ0g4Tbwh22hqdGffAxdgzIP5fj8ywH4mQw11JC 537rTuUKwkVp3AYNNxuT6fVsUI+ICkstugacD0bSGve1yovQsNW8RTF8Dftz03k= =NEq3 -----END PGP SIGNATURE----- --Sig_/Y3FBaL+sGqHANM.blPdht2M--