Skip to content
@slytechs-repos

Sly Technologies

High-performance analysis and security solutions. Transforming data into actionable insights for unparalleled network protection and optimization.

Network Packet Capture in Java

Welcome to Sly Technologies main repo.

Here you will find the following libraries that you can use to build your specialized networking apps and do it all in your favorite Java environment. Our libraries use either Apache v2 or Sly Techs Free License, meaning there is no cost to you for using our software under the terms of the licenses!

Feature highlights with what you can do.

Our libraries support both libpcap and Napatech SmartNIC hardware accelerators for high speed network caputure.

Getting Started

To get started you need to select the main API you wish to use. We offer 2 different APIs depending on your needs. Which ever API you choose the Protocol Packs which offer protocol specific APIs such as protocol headers, packet dissection, data reassembly, tracking and analysis, need to be included in addition to that main API modules (ie. jNetPcap SDK or jNetWorks SDK.)

Both of the APIs listed below use the same Protocol Packs and at least one of the main APIs needs to be chosen. The Protocol Packs do not function on their own. To get protocol level support the protocol-pack-sdk module is required at minimum.

jNetPcap SDK provides a simple, single threaded API very similar to the way that native libpcap API works, with some extensions for enabling IPF reassembly and support for protocol services (MAC OUI table lookups, IP address resolution, hexdumps, etc..)

Here is the shortest, fully functional pcap program you can write to read packets from a capture file:

try (var pcap = NetPcap.openOffline(PCAP_FILE)) {
	pcap.loop(3, System.out::println);
}

Produces output:

Packet [#1: caplen=54, timestamp=2023-04-13 14:00:19.646005000]
Packet [#2: caplen=92, timestamp=2023-04-13 14:00:19.718989000]
Packet [#3: caplen=395, timestamp=2023-04-13 14:00:20.562253000]

jNetWorks API (Examples coming soon!)

jNetWorks SDK provides a more sophisticated API and significantly higher performance for multi-CPU packet capture with support for hardware acceleration. You can chosee to use a simple libpcap extension or Napatech SmartNIC drivers to hardware accelerate network capture and IPF processing. Perfomance using jNetWorks SDK is suitable for traffic rates upto 100Gbps (1/10/25/40/100Gbps) with SmartNICs. You can configure capture and spread the load of processing the data onto multiple-CPUs in your system, with zero-copy from the NICs to your application thread.

Roadmap

For latest information about future and current software releases, please see the software release wiki page:

Software release roadmap

Contact Us

If you have any questions, please contact us.

Email: sales@slytechs.com

Phone: 1-315-930-0939 (US NY)

Contact Form: www.slytechs.com - contact form at the bottom of each page

Pinned

  1. jnetpcap-sdk jnetpcap-sdk Public

    PCAP capture/transmission with protocol enabled network packet dissection, analysis and reassembly

  2. protocol-pack-sdk protocol-pack-sdk Public

    Network protocol modules/packs for core, web, database, microsoft and telco family of protocols

Repositories

Showing 10 of 13 repositories
  • .github Public
    0 0 0 0 Updated Apr 8, 2024
  • jnetpcap-wrapper Public

    jNetPcap v2, a libpcap network packet capture using powerful Java API on Linux, Windows, Mac, etc..

    Java 67 Apache-2.0 7 1 0 Updated Apr 7, 2024
  • protocol-pack-api Public

    Core Protocol pack consisting of many common protocols

    Java 4 0 0 0 Updated Jan 29, 2024
  • jnetruntime-api Public

    Base runtime API and implementation classes

    Java 0 0 0 0 Updated Jan 29, 2024
  • jnetpcap-api Public

    A protocol enabled jNetPcap with IPF reassembly

    Java 3 2 1 0 Updated Jan 30, 2024
  • slytechs-repos Public

    Getting started with Sly Techs repos and jNetPcap Pro and jNetWorks bundled release packages

    0 0 0 0 Updated Jan 22, 2024
  • protocol-pack-sdk Public

    Network protocol modules/packs for core, web, database, microsoft and telco family of protocols

    0 0 0 0 Updated Jan 20, 2024
  • jnetpcap-sdk Public

    PCAP capture/transmission with protocol enabled network packet dissection, analysis and reassembly

    0 0 2 0 Updated Jan 20, 2024
  • jnetruntime-systable Public

    Native system table access from Java such as ARP, DNS and network routing tables

    Java 0 0 0 0 Updated Jan 20, 2024
  • jnetruntime-sdk Public

    Runtime and utilities required by all other modules

    0 0 0 0 Updated Jan 21, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…