Questions tagged [jnetpcap]

jNetPcap is an open-source Java wrapper for nearly all libpcap library native calls.

Links

129 questions
0
votes
1 answer

opc server written in java makes my java UI stop working

I have created a user interface in java which uses card layout. It basically shows a lot of readings in it which it receives through our company's local network. Now I had to write an OPC server in java so that all the readings my ui receives is…
user2076106
  • 105
  • 11
0
votes
2 answers

Jnetpcap on ubuntu

Okay so here's my problem, I'm trying to get jnetpcap working in ubuntu but I'm having a few issues. I tried using the instructions on the jnetpcap website to install, and it was fine for the adding the jar to the build path but I can't seem to run…
Shane
  • 461
  • 2
  • 8
  • 23
0
votes
1 answer

Detect port scan

I want to detect if there was a port scan done by analyzing a pcap file. I can't understand the correct algorithm . Will be like be like one source ip mapping to different IP ?Will that be consider as port scanning ? Will appreciate if you could…
Aj.
  • 25
  • 1
  • 4
-1
votes
1 answer

Exception in thread "main" java.lang.UnsatisfiedLinkError:com.slytechs.library.NativeLibrary.dlopen(Ljava/lang/String;)J

I am trying to convert .pcap files into .xml files using this repo https://github.com/ISCX/ISCXFlowMeter for my deep learning project. I am new to java so I can't understand how to resolve this issue. I am using 32 bit jdk on 64 bit ubuntu. Seems…
user5826166
-1
votes
1 answer

JNetPcap open pcap from InputStream

Is there a way to open an offline Pcap from an InputStream and not from a local file? In the documentation it say that you can use pcap_fopen_offline() to open Pcap from an open stream but I don't know how to use it.
Amir Rossert
  • 1,003
  • 2
  • 13
  • 33
-1
votes
1 answer

Libpcap: Packet Filtration at word level

Using Libpcap I am trying to filter the Packet at word level. E.g I want to drop the packet if it has word "Hello". How will I write the expression for that???
-1
votes
1 answer

Store IP Addresses in Java

I want to store a list of IP Addresses in Java from pcap file (I am able to get all the packets information from pcap file and list of ipaddresses as well )and than compare these IP Addresses for port scanning detection. I couldn't figure out how to…
Aj.
  • 25
  • 1
  • 4
-2
votes
1 answer

Parsing OpenFlow Http packet with JNetPcap

How to parse an OpenFlow Tcp Packet with JNetPcap?
-4
votes
1 answer

Can Anyone Share with me K-means code for intrusion detection in java?

I have Searched everywhere and i got one code which works for integer values but i want code with string value ie to calculate centroids using string values can anyone help me? Thanks in advance
1 2 3
8
9