bug in port security/nbaudit ...

peter bartoli peter at alphafight.net
Mon Jul 7 15:10:36 PDT 2003


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 at freebsd.org or to the "whom" in the  
port Makefile?

# Date created:                   Mon Feb 03, 1997
# Whom:                           David O'Brien (obrien at 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
________________________________________________________________________ 
____



More information about the freebsd-sparc64 mailing list