- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NMAP on HP-UX 11.00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2001 09:08 AM
тАО07-24-2001 09:08 AM
NMAP on HP-UX 11.00
nmap-2.53-sd-11.00
glib-1.2.9-sd-11.00
gtk+-1.2.9-sd-11.00
All swinstall'ed without problems, but....every time I try to execute nmap I get the following error message:
"pcap_open_live: can't find PPA for /dev/lan2"
What have I missed / mis-configured???
Thanks in advance for all replies.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2001 05:16 AM
тАО08-03-2001 05:16 AM
Re: NMAP on HP-UX 11.00
It sounds like it cannot access all information about your lan interface. Is lan2 set up properly and has all the device files?
Try doing an 'ioscan -fnkC lan' and seeing whether it returns devices for your lan adapters. I have only run nmap on workstations with 10Mbp adaptors though...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2001 05:45 AM
тАО08-03-2001 05:45 AM
Re: NMAP on HP-UX 11.00
I had assumed (!) that by using the pre-compiled SD versions that I would have no problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2001 10:56 AM
тАО10-02-2001 10:56 AM
Re: NMAP on HP-UX 11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 03:21 AM
тАО11-30-2001 03:21 AM
Re: NMAP on HP-UX 11.00
Use lsdev to find the major device number of the dlpi driver, delete your current /dev/lan2 device (remember to make a note of the major/minor numbers in case this is the wrong answer & you have to go back), mknod a new /dev/lan2 with the dlpi major number and the minor number of your "old" device.
e.g.
$ ll /dev/lan0
crw-rw-r-- 1 root sys 52 0x000000 Jun 21 2000 /dev/lan0
$ rm /dev/lan0
$ lsdev | grep dlpi
119 -1 dlpi pseudo
$ mknod /dev/lan0 c 119 0x000000
I think that'll work. Good luck :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2001 03:40 AM
тАО11-30-2001 03:40 AM
Re: NMAP on HP-UX 11.00
/*
HP-UX 10.20 and 11.X can use tcpdump/libpcap as found at
ftp://ftp.ee.lbl.gov./ To select the interface to trace, one uses the -i
option and gives the interface name as "/dev/dlpiN" where N is the PPA
of the device. One uses lanscan to find PPAs. On 10.20, the PPA happens
to be the same as the Network Management ID (NMID) and is not the same
as the N in "lanN." On 11.X, the PPA happens to be the same as the Card
Instance number and happens to be the same as the N in "lanN." The
/dev/dlpiN specified to tcpdump/libpcap is not the same as the device
file /dev/dlpiM. What actually happens is tcpdump/libcap opens /dev/dlpi
and bind to PPA N. The /dev/dlpiM device files are for other uses.
*/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2002 10:58 AM
тАО03-27-2002 10:58 AM
Re: NMAP on HP-UX 11.00
I used the HP-UX C/ANSI C compiler since GCC with HP's "as" was coughing up lots of warnings because of a PA-RISC code level mis-synchronization. (GCC was generating PA-RISC 2.0 code, but "as" was trying to interpret it as PA-RISC 1.0 code.)
This worked for me:
$ export CC="cc -Ae"
$ ./configure
$ make
(lots of warnings about "Pointers are not assignment-compatible" and "Argument XX is not the correct type". These are probably a segfault waiting to happen, but I didn't investigate them.)
# ./nmap -sS -p80 -v -v
(got the expected output)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 02:30 PM
тАО04-25-2002 02:30 PM
Re: NMAP on HP-UX 11.00
I also can't run any other libpcap applications while nmap is running. (i.e. tcpdump) but this seems to be a known problem with the rather broken HP-UX DLPI implementation.
Here's some good reading for anyone trying to get libpcap working on HPUX:
http://www.tcpdump.org/lists/workers/2001/04/msg00016.html
-- Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 02:32 PM
тАО04-25-2002 02:32 PM