Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos network security services platform







Nmap Development: Re: Bug in OpenBSD nmap still present!

Re: Bug in OpenBSD nmap still present!

From: D. <dugely_at_yahoo.com>
Date: Sun, 13 Apr 2003 04:56:16 -0700 (PDT)

Hi nmap-dev,

OK, let's settle this once and for all. :)

I believe the problem is this part of the nmap.h file:

#ifndef BSDFIX
#if FREEBSD || BSDI || NETBSD
#define BSDFIX(x) x
#define BSDUFIX(x) x
#else
#define BSDFIX(x) htons(x)
#define BSDUFIX(x) ntohs(x)
#endif
#endif /* BSDFIX */

I think adding "|| OPENBSD" to the end of the second
line will fix it, but I would guess it would have some
consequences: why does every other nmap function work
flawlessly on OpenBSD?

Fyodor, I've created you an account on my OpenBSD
machine. Here's the login info:

-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.0 (GNU/Linux)

hIwDzh0+olNYfZUBA/9U7I29BIdKBg70cj7ONS5goEdn/OD9hHmqtNrs054h3CEz
x+2BLmHE+D9dKMry9U35sklKVunsm7DJaT4t2jyDE+1ihxf4J+IR8nkXNL2sM8lk
iDOmD4xv32WpOJBme9LWTSAPa3WbGzEfutsu0VFm8MerQwfI8rmaORr23QuGNcmy
cOnwferLl/yGlkby9Rg/Bx117RyhdUJkU1JoHfTtg0Vcqs1ghNQI7njOJFvR9f6M
GGHgRF5LmISL9ZpSkSCoI2FmhwJLXEwFF71qk0cc/k9gl+Vo3oTqgTrbYAu+x/hQ
Mbqczgo0eQ7g2/B1W0iX1+jkvMLFOv/yXnYw2Qo4ZtSI2UuJwsKIMymVv7e8iArR
d98fBZca954+LDJjxOVahdAAavPO6WzKGwANA2NafVcFJg==
=ivsM
-----END PGP MESSAGE-----

nmap tarball is already in ~

Good luck,

Doug Hoyte

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help_at_insecure.org . List run by ezmlm-idx (www.ezmlm.org).
Received on Apr 13 2003

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]