Skip to content
@slytechs-repos

Sly Technologies

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

Sly Technologies SDK Suite

High-performance network packet capture and analysis for Java.

Quick Start

jNetPcap — libpcap bindings with protocol dissection:

<dependency>
    <groupId>com.slytechs.sdk</groupId>
    <artifactId>jnetpcap-sdk</artifactId>
    <version>3.0.0</version>
</dependency>

jNetWorks — 800Gbps capture with Napatech/DPDK backends:

<dependency>
    <groupId>com.slytechs.sdk</groupId>
    <artifactId>jnetworks-sdk</artifactId>
    <version>3.0.0</version>
</dependency>

SDK Products

SDK Purpose Backends
jnetpcap-sdk Packet capture, protocol dissection, transmission libpcap
jnetworks-sdk High-performance capture at scale libpcap, DPDK, Napatech, AF_XDP

Both SDKs share the same protocol stack and deliver processed packets — reassembled, decrypted, ready for analysis.

Examples

jNetPcap: Offline Capture

void main() throws PcapException {
    // Allocate headers ONCE outside hot path
    Ip4 ip4 = new Ip4();
    Tcp tcp = new Tcp();

    try (var pcap = NetPcap.openOffline("capture.pcap")) {
        
        pcap.dispatch(Pcap.LOOP_INFINITE, packet -> {
            
            // hasHeader() checks presence AND binds header
            if (packet.hasHeader(ip4) && packet.hasHeader(tcp)) {
                System.out.printf("%s:%d -> %s:%d%n",
                    ip4.src(), tcp.srcPort(),
                    ip4.dst(), tcp.dstPort());
            }
        });
    }
}

jNetPcap: Live Capture with Filter

void main() throws PcapException {
    Ip4 ip4 = new Ip4();
    Tcp tcp = new Tcp();

    try (var pcap = NetPcap.openLive("eth0")) {
        
        pcap.setFilter("tcp port 443");
        
        pcap.dispatch(1000, packet -> {
            if (packet.hasHeader(ip4) && packet.hasHeader(tcp)) {
                System.out.printf("TLS: %s:%d -> %s:%d%n",
                    ip4.src(), tcp.srcPort(),
                    ip4.dst(), tcp.dstPort());
            }
        });
    }
}

Run

java --enable-native-access=com.slytechs.jnet.jnetpcap -jar myapp.jar

Module Overview

All modules share version 3.0.0 under com.slytechs.sdk:

Core

Module Purpose
sdk-common Memory management, buffers, utilities
sdk-protocol-core Protocol dissection framework
sdk-bom Version alignment (advanced users)

Protocol Packs

Module Protocols
sdk-protocol-tcpip Ethernet, IPv4/6, TCP, UDP, VLAN, MPLS, IPsec
sdk-protocol-web HTTP, TLS, DNS, QUIC, WebSocket
sdk-protocol-infra BGP, OSPF, STP, VRRP, LACP, LLDP

jNetPcap

Module Purpose
jnetpcap-sdk Starter — pulls all jNetPcap dependencies
jnetpcap-api High-level capture and analysis API
jnetpcap-bindings Low-level libpcap FFM bindings

jNetWorks

Module Purpose
jnetworks-sdk Starter — pulls all public jNetWorks dependencies
jnetworks-api High-performance capture API
jnetworks-pcap libpcap backend for jNetWorks

Premium Backends (Commercial)

Enterprise backends for high-speed capture available at maven.slytechs.com:

Module Hardware Performance
jnetworks-dpdk Intel DPDK 400Gbps+
jnetworks-ntapi Napatech SmartNIC 800Gbps
jnetworks-afxdp Linux AF_XDP 100Gbps+
<repository>
    <id>slytechs</id>
    <url>https://maven.slytechs.com/repository/maven-releases/</url>
</repository>

Native Library Requirements

Platform Library Installation
Linux libpcap apt install libpcap-dev
macOS libpcap Pre-installed
Windows Npcap npcap.com

Documentation

Licensing

Apache 2.0 (Free)

  • All modules on Maven Central
  • Full protocol dissection
  • IP fragment reassembly
  • TCP stream reconstruction
  • No limits

Commercial

  • TLS/IPsec decryption
  • Premium backends (DPDK, Napatech, AF_XDP)
  • Priority support

Contact: [email protected]

Support

Channel Use
Discussions Questions, community help
Issues Bug reports, feature requests
[email protected] Commercial licensing

About

High-performance network capture and analysis tools for Java. Our SDKs power security operations, network monitoring, and packet analysis at enterprise scale.

From the creator of jNetPcap (1M+ downloads)

Website: slytechs.com


Pinned Loading

  1. jnetpcap-sdk jnetpcap-sdk Public

    The easiest way to get started with jNetPcap

    2 2

Repositories

Showing 10 of 14 repositories

People

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

Top languages

Java

Most used topics

Loading…