C packet-capture

Open-source C projects categorized as packet-capture

Top 8 C packet-capture Projects

  • Wireshark

    Read-only mirror of Wireshark's Git repository at https://gitlab.com/wireshark/wireshark. ⚠️ GitHub won't let us disable pull requests. ⚠️ THEY WILL BE IGNORED HERE ⚠️ Upload them at GitLab instead.

    Project mention: How to implement SSL/TLS pinning in Node.js | dev.to | 2023-08-29

    A great way to test the effectiveness of a pinning implementation is by simulating an MITM attack. Tools like Mitmproxy or Wireshack allow us to create a test environment to monitor, intercept, and proxy network requests for a test host.

  • npcap

    Nmap Project's Windows packet capture and transmission library

    Project mention: GNS3 ethernet cloud error | /r/gns3 | 2023-05-28

    Might be related to this: https://github.com/nmap/npcap/issues/628 https://gitlab.com/wireshark/wireshark/-/issues/18414

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • tcpdump

    the TCPdump network dissector

    Project mention: How do I debug a LAN connection issue on Linux | /r/techsupport | 2023-06-09
  • libpcap

    the LIBpcap interface to various kernel packet capture mechanism

    Project mention: How do remote interfaces work in wireshark? | /r/wireshark | 2023-06-07

    As long as your custom service used the rpcap protocol I'd expect it to be possible. You may find this GitHub page informative, since it includes some rpcap source code and one of the main Wireshark developers appears to be a contributor there.

  • Divert

    WinDivert: Windows Packet Divert

    Project mention: Can we monitor windows network information in realtime using minifilters? | /r/learnprogramming | 2022-10-27

    I am trying to write a minifilter that more or less captures everything that happens in the kernel and was wondering if I could also capture "URLs"/network information; I stumbled upon windivert which seems to be using a .sys driver and also another thread which says we cannot get URLs in driver mode which leaves me a bit confused. If it is true then how does windivert do it?

  • netsniff-ng

    A Swiss army knife for your daily Linux network plumbing.

    Project mention: What is the correct way to do a git pull, ./configure, make, make install within a dockerfile? | /r/docker | 2022-10-08

    RUN apt-get update && \ apt-get install -y iproute2 iputils-ping iperf3 tcpdump netcat ethtool \ mtr iftop nmap python3 python3-pip joe nano ccache flex bison libnl-3-dev \ libnl-genl-3-dev libnl-route-3-dev libgeoip-dev libnetfilter-conntrack-dev \ libncurses5-dev liburcu-dev libnacl-dev libpcap-dev zlib1g-dev libcli-dev \ libnet1-dev git RUN pip3 install ncclient requests scapy iperf3 RUN mkdir -p python_scripts/ \ mkdir -p packet_samples/ RUN git clone https://github.com/netsniff-ng/netsniff-ng.git COPY packet_samples/ packet_samples/ ADD python_scripts/iperf3_docker_client.py python_scripts/iperf3_docker_client.py ADD python_scripts/iperf3_docker_server.py python_scripts/iperf3_docker_server.py ADD python_scripts/ping_test.py python_scripts/ping_test.py RUN /netsniff-ng/configure WORKDIR /netsniff-ng RUN /netsniff-ng/configure && \ make && \ make install && WORKDIR / ENTRYPOINT ["/bin/bash"]

  • etl2pcapng

    Utility that converts an .etl file containing a Windows network packet capture into .pcapng format.

    Project mention: Windows server core, packet captured options? Wireshark etc | /r/sysadmin | 2022-10-03

    Copy the ETL file to a workstation, then use etl2pcapng converter from Microsoft. (https://github.com/microsoft/etl2pcapng)

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • netmon_cli

    A simple and lightweight terminal packet sniffer.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-08-29.

C packet-capture related posts


What are some of the best open-source packet-capture projects in C? This list will help you:

Project Stars
1 Wireshark 5,997
2 npcap 2,663
3 tcpdump 2,334
4 libpcap 2,310
5 Divert 2,110
6 netsniff-ng 1,118
7 etl2pcapng 512
8 netmon_cli 9
Collect and Analyze Billions of Data Points in Real Time
Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.