Software Release

If the post is related to software release

wrong ELF class: ELFCLASS64 with the file jnetpcap-1.4.r1370-1.linux32.x86.tgz

Hello, I just download the file jnetpcap-1.4.r1370-1.linux32.x86.tgz, but I run a sample throws the following exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/jdk1.7.0/jre/lib/i386/libjnetpcap.so: /usr/lib/jvm/jdk1.7.0/jre/lib/i386/libjnetpcap.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
at java.lang.Runtime.loadLibrary0(Runtime.java:845)
at java.lang.System.loadLibrary(System.java:1084)
at org.jnetpcap.PcapStat.(Unknown Source)

How I can resolve this?
Thank you very much in advance.

jNetPcap 1.4.r1370 released

An update to jNetPcap 1.4 has been released.

Note: - there is an important update to user-guide (section 5.5.1) on how to create binding to Sctp headers.

Most of the bugs fixed in 1.4 are also relevant in release 1.3. Release 1.3 will be updated in a few weeks after all the changes that have been made to 1.4 have been verified as working correctly. After this latest batch of bugs is verified, those same changes will be reapplied on version 1.3 with the exception of new features and protocols.

Updates coming to 1.4

Here is a quick update on status of jNetPcap 1.4. Here are some of the things I have been working on for a few weeks now:

1) Numerous bug fixes. About 20 different bugs in RTP, SIP, HTTP, TCP and more have been fixed. (see https://sourceforge.net/tracker/?group_id=164277&atid=831083 for details)

2) Several new protocols: Added SCTP, NullHeader (loopback/Null DLT), RTCP. Also added skeleton first cut at Diameter (in the tests/java1.5 source tree).

3) Several improvements of existing features: JFormatter enhancements that handle more output styles and now any array of any previous style type is handled generically. For example complex objects can simply implement at toString() method and will neatly be organized in array-style-output.

4) Added new features:
- JPacket.hasAnyHeader(long mask) and JPacket.hasAllHeaders(long mask)
You can now manipulate numerical protocol IDs as bitmasks that can be combined (ORed/ANDed) to check for existence of 1 or more protocols in a single check.
- Fully documented and every feature implemented SCTP protocol has been added
- Fully documented and RFC3550 compliant RTCP protocol has been added

Maven repository

I just started to use jnetpcap for some SIP + RTP analyses and so far so good but it would be really nice to have this library accessible through a maven repository somewhere. Is this something that has been considered?

Thanks,

/Jonas

Mac OS X Lion...again

Hi
I have seen in the forum messages some info about the work for porting the jnetpcap to Mac OS X and I would like to know, if possible, what is the progress on this.
Indeed, the portability on Mac OS is a very important point for our projects, when is about choosing the right framework.
Thanks a lot for any info.
Regards

Syndicate content