Book navigation

Navigation

How to decode jnetstream packets using jnetpcap decoder

I was messing around with how we could combine jnetstream with packet decoding capabilities of jnetpcap. Here is a little routine that does exactly that.

package org.jnetstream.example;

import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;

import org.jnetpcap.packet.JMemoryPacket;
import org.jnetpcap.packet.PeeringException;
import org.jnetpcap.protocol.JProtocol;
import org.jnetstream.capture.Captures;
import org.jnetstream.capture.FileFormatException;
import org.jnetstream.capture.FileMode;

jNetStream on the backburner again!

I'm still working on proper jNetPcap release. Since jNetStream is layered on top of jNetPcap, its been put on the back burner until jnetpcap-1.2 is released. The jnetstream-3.0a1 is workable, for those brave enough to try it. jNetStream has fully functional and tested capture file manipulation. You can edit, index, slice and dice different types of capture files to your heart's content. Its very very fast and efficient. I can't wait to finish jnetpcap and restart work on jnetstream. jNetStream provides a much higher and nicer public API then jnetpcap which is more low level stuff.

Working on jNetStream

I have for the most part finished the intensive work on jNetPcap, a sister project. Over the next few weeks I will be working on jNetStream 3.0.

The plan is to drop NPL and large part, if not entirely, the current packet implementation in jNetStream. The capture file support, indexing, iterators and majority of the API stay untouched.

Future of jNetStream

jNetStream project has been on hold for a while now. So I wanted to update what is going on. I've been working very heavily on jNetPcap, a sister project over last 6 months. I have added significant capabilities to jNetPcap that were originally intended for jnetstream. Specifically protocol decoding is now done in jnetpcap, at low native layer.

Who's online

There are currently 1 user and 19 guests online.

Online users

  • petersam021

Who's new

  • petersam021
  • earvinjames401
  • psterdale
  • thatzall
  • DrEurope