I received the following error while running my javacode that uses jNetPcap jar :
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.slytechs.library.NativeLibrary.dlopen(Ljava/lang/String;)J
at…
I have the following error while executing the code below.
Object creation impossible, since member nextPacket(PcapPacket,T):void
in org.jnetpcap.packet.PcapPacketHandler is not defined.
How can it be solved ?
while (true) {
val jpacketHandler…
I would like to ask you a specific question: I'm trying to develop a software switch with the jNetPcap 1.4 library on Java 1.7, the goal is to have a program, that can forward packets received on port no. 1 to port no. 2 and vice versa (just on…
I want to read captured (.pcap) WIRELESS packets and get information like IP addresses and port number, flag ( from network layer and above layer of OSI model ). SO which JAVA library can help me. I tried with JnetPcap but did not succeed, so…
I have written the following code for a program which could measure the total data usage of the computer. I have used the method getTotalSize() of the class PcapPacket. Is it directly indicative of the data usage (if added continuously) or should I…
I am stack in using JNetPcap library in an Android project:
I can't reach my native application with this code, even I set up the JNetPcap as a library for the project.
Could someone help me ? plz
My code is as below :
import…
I'm using jnetpcap to analyzing packet. I want to get html web page source code.
However, when I use html.page() to get source code I get some messy code which look like binary code. Can anyone help me? How to solve it?
Hi I was using this example for offline packet capture using JNETPCAP. But I am getting this exception all the time,
illegalarguementexception wirelen < buffer len
Any idea how can I resolve this problem?
I am coding app which is capturing packet from 2 NI Cards at the same time in specific thread for them.
I am using jnetPcap and I am getting captured packet in jpackethanler's method nextPacket i need to show info from the current packet in JList…
How can I display IP Address from the packets.
I am able to display ports and protocols but not the IP addresses from a pcap file.
I am using jnetpcap. Any help ?
I am using jNetPcap to decode rtp from tcpdumps. Currently I use the SIP Invite Message and the source IP (and also checking via source ips..) to detect the directions (forward, reverse) from the call.. this is working but not really how it is…
I am using a combination of wireshark's tshark and jnetpcap to decode offline captures and extract the rtp audio payload from files for foward and reverse directions.
In the first steps I isolate only the rtp files and save them to an extra…
I am using java language with jNetPcap library. I would like to know how can I bind to port 5060. I have to make a server program. So my vision is like that:
bind to port 5060
get all packets which are going to my server ip and this port
load them…