From owner-freebsd-security Thu Apr 26 4:41:25 2001 Delivered-To: freebsd-security@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id 9730D37B422 for ; Thu, 26 Apr 2001 04:41:18 -0700 (PDT) (envelope-from cdf.lists@fxp.org) Received: by peitho.fxp.org (Postfix, from userid 1501) id 116341360C; Thu, 26 Apr 2001 07:41:17 -0400 (EDT) Date: Thu, 26 Apr 2001 07:41:17 -0400 From: Chris Faulhaber To: Rocco Lucia Cc: ignacio , freebsd-security@FreeBSD.ORG Subject: Re: User-Agent Message-ID: <20010426074117.A87916@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , Rocco Lucia , ignacio , freebsd-security@FreeBSD.ORG References: <3AE7F976.D6F3CAC2@infovia.com.ar> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rlucia@iscanet.com on Thu, Apr 26, 2001 at 12:41:03PM +0200 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 26, 2001 at 12:41:03PM +0200, Rocco Lucia wrote: > At 7:33 -0300 26-04-2001, ignacio wrote: > >When netscape connects to a http server, > >it's sends something like this: > > > > > > GET / HTTP/1.0 > > Connection: Keep-Alive > > User-Agent: Mozilla/4.73 [en] (X11; I; FreeBSD 4.3-RC i386) > > > >And when you send a mail, in the headers you can see: > > > > X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.3-RC i386) > > > > > >So, 2 questions: > > > >1) How netscape gets info from the O.S. and version (uname perhaps?) >=20 > it is hardwired at compile time >=20 Nope. If you use the Linux version of Netscape, you can change the string to read what you want using sysctl values (sysctl -a | grep linux) allowing you to use versions like: "Mozilla/4.76 [en] (X11; U; Linux 3.1.33.7 i386)" or "Mozilla/4.76 [en] (X11; U; FreeBSD 6.3-STABLE i386)" beware: other Linux programs (like vmware) depend on this version information and may not run with odd values. --=20 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: FreeBSD: The Power To Serve iEYEARECAAYFAjroCV0ACgkQObaG4P6BelCJpwCcC5z+AGy0OobmKfKExwE5EBdz IQMAn2pw5bvamjbnkPPBbsUGcIZ/yra5 =Btrl -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message