From owner-freebsd-security Thu Apr 26 6:51:42 2001 Delivered-To: freebsd-security@freebsd.org Received: from rafiu.psi-domain.co.uk (rafiu.psi-domain.co.uk [212.87.84.199]) by hub.freebsd.org (Postfix) with ESMTP id 4D38B37B423 for ; Thu, 26 Apr 2001 06:51:38 -0700 (PDT) (envelope-from heckfordj@psi-domain.co.uk) Received: from smtp.psi-domain.co.uk (mail.trident-uk.co.uk [195.166.16.10]) by rafiu.psi-domain.co.uk (8.11.3/8.11.3) with SMTP id f3QDltX41101; Thu, 26 Apr 2001 14:47:55 +0100 (BST) Date: Thu, 26 Apr 2001 15:49:56 +0100 From: Jamie Heckford To: Chris Faulhaber Cc: freebsd-security@freebsd.org Subject: Re: User-Agent Message-ID: <20010426154956.I37575@storm.psi-domain.co.uk> Reply-To: heckfordj@psi-domain.co.uk References: <3AE7F976.D6F3CAC2@infovia.com.ar> <20010426074117.A87916@peitho.fxp.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20010426074117.A87916@peitho.fxp.org>; from jedgar@fxp.org on Thu, Apr 26, 2001 at 12:41:17 +0100 X-Mailer: Balsa 1.1.1 Lines: 71 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hmm. Attempting to modify these values return: sysctl: oid 'kern.version' is read only Any way of changing these then? Jamie On 2001.04.26 12:41 Chris Faulhaber wrote: > 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?) > > > > it is hardwired at compile time > > > > 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. > > -- > Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org > -------------------------------------------------------- > FreeBSD: The Power To Serve - http://www.FreeBSD.org > -- Jamie Heckford Network Operations Manager Psi-Domain - Innovative Linux Solutions. Ask Us How. FreeBSD - The power to serve Join our mailing list and stay informed by emailing majordomo@psi-domain.co.uk with the line: subscribe collective ===================================== email: heckfordj@psi-domain.co.uk web: http://www.psi-domain.co.uk/ tel: +44 (0)1737 789 246 fax: +44 (0)1737 789 245 mobile: +44 (0)7866 724 224 ===================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message