{"id":13471914,"url":"https://github.com/jpcap/jpcap","last_synced_at":"2025-10-21T22:46:50.421Z","repository":{"id":39621423,"uuid":"2497347","full_name":"jpcap/jpcap","owner":"jpcap","description":"network packet capture library for applications written in java","archived":false,"fork":false,"pushed_at":"2024-04-22T18:42:47.000Z","size":590,"stargazers_count":344,"open_issues_count":14,"forks_count":136,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-03-01T03:50:04.105Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jpcap.sf.net","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpcap.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-10-02T00:29:32.000Z","updated_at":"2025-02-25T08:41:13.000Z","dependencies_parsed_at":"2024-10-30T02:51:06.147Z","dependency_job_id":null,"html_url":"https://github.com/jpcap/jpcap","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"453e8e3145a72f1db8e4253cf152634140d7cf26"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcap%2Fjpcap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcap%2Fjpcap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcap%2Fjpcap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpcap%2Fjpcap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpcap","download_url":"https://codeload.github.com/jpcap/jpcap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245681195,"owners_count":20655150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:50.330Z","updated_at":"2025-10-21T22:46:45.389Z","avatar_url":"https://github.com/jpcap.png","language":"Java","funding_links":[],"categories":["Java","网络编程"],"sub_categories":[],"readme":"\n\n                               jpcap README\n\n\n  General Information\n\n    jpcap is a set of Java classes which provide an interface and system \n    for network packet capture. A protocol library and tool for visualizing \n    network traffic is included. \n\n    jpcap hides the low-level details of network packet capture by \n    abstracting many network packet types and protocols into Java classes. \n    Internally, jpcap implements bindings to the libpcap system library \n    through JNI (the Java Native Interface). \n\n    jpcap utilizes libpcap, a widely deployed shared-library for capturing \n    user-level packets. libpcap must be installed on your system in order \n    to use jpcap.\n\n    jpcap consists of a small shared-library which wraps libpcap plus a \n    collection of Java classes. The shared-library component provides event\n    hooks, communication and data conversion between a running Java VM and \n    libpcap. The 'capture' package contains the core capture system.\n    The 'net' package contains abstractions for many network packet types \n    and protocols. The 'simulator' package contains a network simulator.\n\n    jpcap is licensed under the Mozilla Public License. See docs/MPL-1.1.txt.\n\n\n  Running the Samples\n\n    If you have installed from RPM and are looking to run the capture tool,\n    try /usr/bin/jpcap.\n\n    If you installed from .gz, try ./jpcap.\n\n    jpcap can also be run in 'simulator' mode. In this mode, a pseudo\n    network interface randomly generates network traffic for capture.\n    The simulator can be enabled in properties/tool.properties.\n\n\n  Unix vs. Mac OS X vs. Windows\n\n    Active jpcap development is taking place on Unix platforms. However, \n    jpcap should run on any platform where libpcap is implemented.\n\n    For building the jpcap library on Windows, the MinGW environment is \n    recommended. Also, the Windows port of libpcap, known as winpcap, is \n    required. For more information, have a look at docs/BUILD.windows.\n\n    jpcap on Mac OS X is supported. Refer to the file docs/BUILD.osx.\n\n\n  Application Developers (using the packet capture library in other apps)\n\n    If you are a Java developer interested in using jpcap to capture \n    packets in an application you are developing, you need to do the \n    following: \n\n      o In your Java CLASSPATH, include jars/net.sourceforge.jpcap-x.yy.zz.jar\n        plus all jars found in thirdParty/jars.\n\n      o Native bindings to libpcap are provided precompiled for intel Linux.\n        The Java wrapper shared object is \n          src/java/net/sourceforge/jpcap/capture/libjpcap.so\n\n        This file needs to be included in your LD_LIBRARY_PATH.\n        If you are working on another platform, you'll need to \n        build the jpcap library and shared object yourself, see below.\n\n      o All capture operations are performed using methods from the class\n          net.sourceforge.jpcap.capture.PacketCapture\n\n      o Javadocs are located in jars/javadoc_net.sourceforge.jpcap-x.yy.zz.jar\n\n      o Examples are provided in the package net.sourceforge.jpcap.tutorial.\n\n      \n    More specific documentation on the jpcap java packages can be found in \n    src/java/net/sourceforge/jpcap/README.\n\n    If you checked out jpcap from the CVS repository and are looking \n    for information on building the jpcap library in this tree, \n    see docs/BUILD.[platform].\n\n    Additional information can be found on sourceforge.net, where \n    the project was actively developed since 2001.\n\n      http://www.sf.net/projects/jpcap\n\n    More recent development, more active development is occurring on github:\n\n      http://www.github.com/jpcap\n\n\n  Contributing\n\n    If you are using jpcap and have made enhancements or bug fixes to the \n    core capture library, please contribute them.\n\n    You can contribute by forking the project and sending a pull request\n    to http://www.github.com/jpcap.\n\n    If you've developed an application using jpcap, we're interested in \n    hearing about it at jpcapadmin at ultrametrics dot net.\n\n    Happy Hacking!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpcap%2Fjpcap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpcap%2Fjpcap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpcap%2Fjpcap/lists"}