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 Loading

  1. jnetpcap-sdk jnetpcap-sdk Public

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

    1 1

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

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

    1

Repositories

Showing 10 of 16 repositories
  • jnetpcap-wrapper Public

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

    slytechs-repos/jnetpcap-wrapper’s past year of commit activity
    Java 78 Apache-2.0 9 1 0 Updated Nov 18, 2024
  • jnetruntime-jnpl-vm Public

    Berkley Packet Filter (BPF) Virtual Machine with extensible OPCODEs

    slytechs-repos/jnetruntime-jnpl-vm’s past year of commit activity
    Java 0 0 0 0 Updated Nov 16, 2024
  • compiler-pcap-filter Public

    Packet filter expression compiler that generated Berkley Packet Filter (BPF) binary OPCODES

    slytechs-repos/compiler-pcap-filter’s past year of commit activity
    Java 1 0 0 0 Updated Nov 16, 2024
  • jnetruntime-api Public

    Base runtime API and implementation classes

    slytechs-repos/jnetruntime-api’s past year of commit activity
    Java 0 0 0 0 Updated Nov 15, 2024
  • protocol-pack-api Public

    Core Protocol pack consisting of many common protocols

    slytechs-repos/protocol-pack-api’s past year of commit activity
    Java 4 0 0 0 Updated Oct 22, 2024
  • jnetpcap-api Public

    A protocol enabled jNetPcap with IPF reassembly

    slytechs-repos/jnetpcap-api’s past year of commit activity
    Java 4 2 1 0 Updated Oct 14, 2024
  • protocol-pack-web Public

    Web Protocol Pack

    slytechs-repos/protocol-pack-web’s past year of commit activity
    1 0 1 1 Updated Oct 5, 2024
  • jnetruntime-systable Public

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

    slytechs-repos/jnetruntime-systable’s past year of commit activity
    Java 0 0 0 0 Updated Oct 5, 2024
  • jnet-sdk Public

    All jNet project aggregator - builds runtime, pcap, protocols, jNetWorks, DPDK and Napatech NTAPI SDKs

    slytechs-repos/jnet-sdk’s past year of commit activity
    0 0 0 0 Updated Sep 26, 2024
  • jnetruntime-sdk Public

    Runtime and utilities required by all other modules

    slytechs-repos/jnetruntime-sdk’s past year of commit activity
    0 0 0 0 Updated Aug 8, 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…

Most used topics

Loading…