From owner-freebsd-sparc64@FreeBSD.ORG Mon Jul 7 15:02:03 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56E9737B404 for ; Mon, 7 Jul 2003 15:02:03 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA75943F75 for ; Mon, 7 Jul 2003 15:02:01 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h67MQoMa020638; Mon, 7 Jul 2003 18:26:51 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h67M274V075577; Mon, 7 Jul 2003 15:02:07 -0700 (PDT) (envelope-from jmg) Date: Mon, 7 Jul 2003 15:02:07 -0700 From: John-Mark Gurney To: peter bartoli Message-ID: <20030707220207.GI44762@funkthat.com> Mail-Followup-To: peter bartoli , sparc64@freebsd.org References: <3683D262-B0C4-11D7-BE31-000393D16F58@alphafight.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3683D262-B0C4-11D7-BE31-000393D16F58@alphafight.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: sparc64@freebsd.org Subject: Re: bug in port security/nbaudit ... X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 22:02:03 -0000 peter bartoli wrote this message on Mon, Jul 07, 2003 at 14:44 -0700: > ... if you type in an IP versus a hostname on sparc64 (or at least my > sparc64), the address shows up as zeroes ... just a heads-up. Inform the nbaudit author that he is not using a proper data type to represent an ip address. He is probably using u_long instead of in-addr_t (aka uint32_t). (This doesn't show up since the alpha is little endian and luckily sticks the "ip" in the proper place.) His program is broken on all LP64 big endian platforms. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."