Software Release

If the post is related to software release

Downloads

jNetPcap software can be downloaded directly from Sourceforge.net File Release Servers (FRS). For convenience you will find various links here:

jNetPcap Roadmap - feedback welcome

I would like to hear feedback on the current jnetpcap roadmap. Please let us know what you think. Notice there is a wishlist section, so may be a few items there?

http://jnetpcap.com/roadmap

Please leave feedback on this forum topic since comments are disabled on the roadmap page itself.

Working on maintenance release

I am working on a maintenance release, one is overdue. I am incorporating all of the reported bugs.

Exporting project in production

Hello,

Just finished building a sniffer, to analyse some of my network traffic, and I managed to make it work on my development computer.
Unfortunatly, I can't make it work on the computer I want.
I installed WinPcap_4_1_3, and java, and that's the terminal message I received :

hello
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.slytechs.library.NativeLibrary.dlopen(Ljava/lang/String;)J
at com.slytechs.library.NativeLibrary.dlopen(Native Method)
at com.slytechs.library.NativeLibrary.(Unknown Source)
at com.slytechs.library.JNILibrary.(Unknown Source)
at com.slytechs.library.JNILibrary.loadLibrary(Unknown Source)
at com.slytechs.library.JNILibrary.register(Unknown Source)
at com.slytechs.library.JNILibrary.register(Unknown Source)
at com.slytechs.library.JNILibrary.register(Unknown Source)
at org.jnetpcap.Pcap.(Unknown Source)
at javaapplication1.PacketLoader.(PacketLoader.java:43)
at javaapplication1.JavaApplication1.main(JavaApplication1.java:32)
Appuyez sur une touche pour continuer...

Netbeans provided me a jar file i'm running, and a library folder which contains jnetpcap.rar.

Would be a big help if you could help me to make it work.

Thanks a lot,

fred

openOffline Method to access from Android Internal Storage

Hi everyone,

I am using JnetPcap library to extract the packets from a Mobile Wireshark application required for Android project analysis. I have to capture the IP address from the pcap file and display the same on the Google Maps.

I am facing an issue reading the Internal Storage of the Android phone using the openOffline method... Can this method be used for Android Internal Storage File Directory ?? The same code is working if the directory path is specified in Windows OS running on a PC....

Any inputs would be highly appreciated...

Please find below the code for the same.

package appprofiler.appprofilerv1;

/**
* Created by soory_000 on 11/30/2015.
*/

import android.os.Environment;

import java.io.File;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.jnetpcap.Pcap;
import org.jnetpcap.nio.JMemory;
import org.jnetpcap.packet.JFlow;
import org.jnetpcap.packet.JFlowKey;
import org.jnetpcap.packet.JFlowMap;
import org.jnetpcap.packet.JPacket;
import org.jnetpcap.packet.JPacketHandler;
import org.jnetpcap.packet.JScanner;
import org.jnetpcap.packet.PcapPacket;
import org.jnetpcap.protocol.network.Ip4;
import org.jnetpcap.protocol.tcpip.Http;
import org.jnetpcap.protocol.tcpip.Tcp;

public class IPExtract {
final static List ipaddress = new ArrayList();
private static String FILENAME;

public IPExtract(String Filename) {
this.FILENAME = Filename;
}

public static void main(String[] args) {
final StringBuilder errbuf = new StringBuilder();
final Pcap pcap = Pcap.openOffline(FILENAME, errbuf); // While trying to debug I am getting a Library error
if (pcap == null) {
System.err.println(errbuf);
return;
}

Syndicate content