Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2003 15:10:09 -0700
From:      peter bartoli <peter@alphafight.net>
To:        John-Mark Gurney <gurney_j@efn.org>
Cc:        sparc64@freebsd.org
Subject:   Re: bug in port security/nbaudit ...
Message-ID:  <C59A7969-B0C7-11D7-BE31-000393D16F58@alphafight.net>
In-Reply-To: <20030707220207.GI44762@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Monday, July 7, 2003, at 03:02  PM, John-Mark Gurney wrote:
> 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.)

You are correct; looking over the code, he is using u_long ...

> His program is broken on all LP64 big endian platforms.

... however nbaudit (AKA nat) is one of those that's still useful, but  
hasn't been updated by the original author since release.  Problems  
since have been fixed with patches, at least in the OpenBSD ports tree  
... I can see no patches in the FreeBSD port.

Is this better referred to ports@freebsd.org or to the "whom" in the  
port Makefile?

# Date created:                   Mon Feb 03, 1997
# Whom:                           David O'Brien (obrien@NUXI.com)

________________________________________________________________________ 
____

Peter Bartoli, CTO                                              PO Box  
12714
Alphafight Heavy Industries                          San Diego CA  
92112-3714
http://www.alphafight.net                voice 619.702.1071 fax  
619.702.9237
________________________________________________________________________ 
____



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C59A7969-B0C7-11D7-BE31-000393D16F58>