Author Topic: Mognet wifi specific analyzer  (Read 3323 times)

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Mognet wifi specific analyzer
« on: November 18, 2004, 12:33:13 am »
Mognet is totally at home on the Z... since it runs in java, it will run across all the series without modification.

Here's a screen shot and the tarball  
http://www.node99.org/projects/mognet/

This tool is perfect, it's a mix between kismet and ethereal  You can sniff directly from this tool itself, then discect the packets in asci OR HEX. I can think of lots of time I need to look at what's actually in 802.11 traffic.

i've managed to get it to run on the Z, but i'm stuck with a package dependancy. I get this error:
Code: [Select]
java.lang.NoClassDefFoundError: net/sourceforge/jpcap/capture/RawPacketListenerSo I need the Jpcap library package. . great it's found here:
Jpcap sourceforge

oookie ::   so here's i'm stuck. There is no arm version, so I don't have a cross compiler. (or an extra machine to set one up)   here are the contents of the .rpm
Code: [Select]
/usr
/usr/bin
/usr/lib
/usr/share
/usr/bin/jpcap
/usr/lib/jpcap-0.01.16
/usr/lib/libjpcap.so
/usr/lib/jpcap-0.01.16/jars
/usr/lib/jpcap-0.01.16/properties
/usr/lib/jpcap-0.01.16/thirdParty
/usr/lib/jpcap-0.01.16/jars/javadoc_net.sourceforge.jpcap-0.01.16.jar
/usr/lib/jpcap-0.01.16/jars/net.sourceforge.jpcap-0.01.16.jar
/usr/lib/jpcap-0.01.16/properties/simulator.properties
/usr/lib/jpcap-0.01.16/properties/tool.properties
/usr/lib/jpcap-0.01.16/thirdParty/jars
/usr/lib/jpcap-0.01.16/thirdParty/jars/dev-classes_net.ultrametrics-0.03.jar
/usr/lib/jpcap-0.01.16/thirdParty/jars/fooware_CommandLine-1.0.jar
/usr/share/doc
/usr/share/doc/jpcap-0.01.16
/usr/share/doc/jpcap-0.01.16/BUILD.osx
/usr/share/doc/jpcap-0.01.16/BUILD.unix
/usr/share/doc/jpcap-0.01.16/BUILD.windows
/usr/share/doc/jpcap-0.01.16/CREDITS
/usr/share/doc/jpcap-0.01.16/FAQ
/usr/share/doc/jpcap-0.01.16/INSTALL
/usr/share/doc/jpcap-0.01.16/MPL-1.1.txt
/usr/share/doc/jpcap-0.01.16/README
/usr/share/doc/jpcap-0.01.16/RELEASE_NOTES

looks like the jpcap.so is a binary, which would need to be compiled for ARM. am I mistaken? everything else in theory should work. . .  I don't know java or dependancies enough to figure it out alone.   Please   help!    Does anyone know where to find a jpcap for the Zaurus? It is just the java version of Pcap, someone must have already ported something that fucntional and useful!    and if not,   let's figure it out
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions

ashikase

  • Sr. Member
  • ****
  • Posts: 280
    • View Profile
    • http://
Mognet wifi specific analyzer
« Reply #1 on: November 19, 2004, 01:56:42 am »
I didn't take a look at the package, but a quick guess would be that jpcap requires gcj (Java to native binary compiler) to build. Unfortunately, I don't know where you can get a copy of gcj for the zaurus... it's something I've been looking for myself.

Has anyone built a copy of gcj for the Z?

- ashikase
- anpachi, gifu, japan
SL-C3100 & SL-C760

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Mognet wifi specific analyzer
« Reply #2 on: November 19, 2004, 07:24:32 am »
Quote
Has anyone built a copy of gcj for the Z?

Is it part of the standard GCC build (i.e. can it be enabled by altering the --enable-languages parameter passed to ./configure when building GCC?); my understanding is that it can be.

If so, it should be very easy to alter the OZ build to enable Java (assuming it's not already enabled).

However, for those of you running old libc versions (read: any ROM but OZ ;-), this won't help you much as any binaries which are produced will require an up to date libc.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

loji

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • http://
Mognet wifi specific analyzer
« Reply #3 on: November 25, 2004, 11:35:44 am »
since java is interpreted ... wouldn't evm be able to work with jpcap after it was built? I don't understand the ins and outs of compiling very well ... so excuse if that is just plain stupid to ask     but interpreted lanuguages shoulnd't matter I thought?
-> pdaXrom beta 3 fixes & feeds
C-1000 + pdaXrom beta3
linksys wifi + expansions