OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: bb on February 21, 2004, 09:01:05 am

Title: nmap installation on C860 fails
Post by: bb on February 21, 2004, 09:01:05 am
I\'m trying to get nmap working on my C860 with no luck so far, since I cannot even install!
I have these two files:

libpcre3_4.3-4_arm.ipk
nmap_3.50-1_arm.ipk

and I understand that I should install libpcre first, then nmap. When I try installing either, I get:
# ipkg -force-depends -d sd install ./libpcre3_4.3-4_arm.ipk
zcat: ./libpcre3_4.3-4_arm.ipk: not in gzip format
zcat: stdin: unexpected end of file
ipkg_install_file: ERROR unpacking control.tar.gz from ./libpcre3_4.3-4_arm.ipk

The issue with \"not in gzip format\" is contradicted when I run \'file\' on the file from a prompt on a desktop Linux system:
david@dt:~/Zaurus/ipk$ file libpcre3_4.3-4_arm.ipk
libpcre3_4.3-4_arm.ipk: Debian binary package (format 2.0), uses gzip compression

Has anyone seen this behaviour before?
Title: nmap installation on C860 fails
Post by: lardman on February 21, 2004, 10:18:11 am
It may be an ar file. Try \'ar -x ipkgfilename.ipk\' and see if that works (you may not have ar on your C860 - use a desktop box). If that\'s not the case, the file has probably been truncated (corrupted download).


Si
Title: nmap installation on C860 fails
Post by: RichS on February 21, 2004, 11:27:28 am
bb, try this thread. It should help...
http://www.zaurususergroup.com/index.php?n...iewtopic&t=1791 (https://www.oesf.org/forums/index.php?showtopic=1791)

lardman, thanks for the \'ar\' info. That prbably answers my question...
Title: nmap installation on C860 fails
Post by: bb on February 21, 2004, 02:52:40 pm
Quote
bb, try this thread. It should help...
http://www.zaurususergroup.com/index.php?n...iewtopic&t=1791 (https://www.oesf.org/forums/index.php?showtopic=1791)
.

I ended up with the nmap from zutilsvol2 which tumnus mentioned in that thread. That works nicely.
Thanks for your responses.
Title: nmap installation on C860 fails
Post by: Mort on February 21, 2004, 04:53:02 pm
By any chance is OS detection working for you?
Title: nmap installation on C860 fails
Post by: bb on February 22, 2004, 03:13:25 pm
Quote
By any chance is OS detection working for you?

I had to copy an os fingerprints and services file to the Zaurus from another system, but then it worked so-so:

# nmap -O 192.168.1.4
Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
Interesting ports on <HOSTNAME OMITTED> (192.168.1.4):
(The 1538 ports scanned but not shown below are in state: closed)
Port       State       Service
<OUTPUT OMITTED>
TCP Sequence Prediction: Class=random positive increments
                         Difficulty=1749042 (Good luck!)
Remote operating system guess: Linux Kernel 2.4.0 - 2.4.17 (X86)
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds

I don\'t get uptime like I get when nmap\'ing that system from another LAN host and the OS kernel is not accurately recognized (it\'s Linux 2.4.22 on a Sun Ultra I), but hey - it\'s usable.