C TCP

Open-source C projects categorized as TCP

Top 23 C TCP Projects

  1. Mongoose

    Embedded TCP/IP network stack with embedded web server, Websocket, and MQTT client (by cesanta)

    Project mention: Sans-IO: The secret to effective Rust for network services | news.ycombinator.com | 2024-07-03

    A long time ago I had "fun" implementing all sorts of network protocols with such an event based library on C: https://github.com/cesanta/mongoose

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. dperf

    dperf is a 100Gbps network load tester.

  4. kyanos

    Kyanos is a networking analysis tool using eBPF. It can visualize the time packets spend in the kernel, capture requests/responses, makes troubleshooting more efficient.

    Project mention: Kyanos: eBPF-based network issue analysis tool | news.ycombinator.com | 2024-11-15
  5. boopkit

    Linux eBPF backdoor over TCP. Spawn reverse shells, RCE, on prior privileged access. Less Honkin, More Tonkin.

  6. uSockets

    Miniscule cross-platform eventing, networking & crypto for async applications

    Project mention: No Uptime Hosting – Guaranteed Server Downtime | news.ycombinator.com | 2024-07-21

    M3 at work, Acer Swift 3 at home. Both are comparable in that regard. You can do 200k QPS of actual work (a little protobuf parsing, a little old-school ML, handling the networking, a little HTTP1.1 parsing, ...), more if you just want vanity metrics, just by wrapping something like uSockets [0] and not doing anything to explicitly pessimize the system.

    You can do better with a hand-crafted solution, but most projects don't need anything fancier.

    [0] https://github.com/uNetworking/uSockets

  7. ucall

    Web Serving and Remote Procedure Calls at 50x lower latency and 70x higher bandwidth than FastAPI, implementing JSON-RPC & REST over io_uring ☎️

  8. DDOS-RootSec

    Explore RootSec's DDOS Archive, featuring top-tier scanners, powerful botnets (Mirai & QBot) and other variants, high-impact exploits, advanced methods, and efficient sniffers. Ideal for cybersecurity professionals and researchers.

  9. Modbus-STM32-HAL-FreeRTOS

    Modbus TCP and RTU, Master and Slave for STM32 using Cube HAL and FreeRTOS

  10. microtcp

    A minimal TCP/IP stack

  11. hev-socks5-tproxy

    A socks5 transparent proxy for Linux. (IPv4/IPv6/TCP/UDP)

    Project mention: How to set up TCP/UDP transparent proxy with iptables | dev.to | 2024-10-02

    As far as I know, there are two transparent proxy softwares that can make SOCKS5 proxy available as transparent proxy supporting TCP and UDP: redsocks (forked from old redsocks, which doesn't support TCP transparent proxy) and hev-socks5-tproxy. This is an example config file for hev-socks5-tproxy to host TCP transparent proxy on port 22222 and UDP transparent proxy on port 22224. Debug output is enabled.

  12. tcptunnel

    A simple TCP port forwarder.

  13. AMP-Research

    Research on UDP/TCP amplification vectors, payloads and mitigations against their use in DDoS Attacks

  14. ngx_healthcheck_module

    nginx module for upstream servers health check. support stream and http upstream. 该模块可以为Nginx提供主动式后端服务器健康检查的功能(同时支持四层和七层后端服务器的健康检测)

  15. netxduo

    Eclipse ThreadX - NetXDuo is an advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications

    Project mention: LwIP – Lightweight IP Stack | news.ycombinator.com | 2024-09-05

    For those looking for options like LwIP, consider NetXDuo [1] and its counterparts ThreadX, FileX, LevelX, and UsbX (I use TinyUSB instead).

    It has been one of the top commercial RTOS network stacks for, I think, 20 years. It moved hands a couple of times and now is supported by the Eclipse Foundation and is MIT-licensed. I'd use it over LwIP.

    [1] https://github.com/eclipse-threadx/netxduo

  16. fi6s

    IPv6 network scanner designed to be fast

  17. Blitzping

    A very high-speed, configurable, and portable packet-crafting utility optimized for embedded devices

    Project mention: Show HN: Blitzping – A far faster nping/hping3 SYN-flood alternative with CIDR | news.ycombinator.com | 2024-07-15
  18. sharedgl

    An OpenGL implementation enabling 3D acceleration for Windows and Linux guests in QEMU/KVM

  19. TCP_BBR

    BBR implementation and research resources

  20. kflowd

    Kernel-based Process Monitoring on Linux Endpoints for File System, TCP and UDP Networking Events and optionally DNS, HTTP and SYSLOG Application Messages via eBPF Subsystem

    Project mention: Kernel-based process monitoring for FS, TCP and UDP networking events | news.ycombinator.com | 2024-06-29
  21. tirdad

    TCP ISN CPU Information Leak Protection. TCP Initial Sequence Numbers Randomization to prevent TCP ISN based CPU Information Leaks.

  22. sdr-modem

    Modem based on software defined radios.

  23. echo-server

    📢 A simple TCP echo server with different methods for sync multiplexing (by shlomnissan)

  24. java-rawsocket

    java-rawsocket is a helper aims for creating TCP Half Open connection in Java. It's based on C library linked by JNI.

    Project mention: Playing with the embryonic connections in Java with the Foreign Function | dev.to | 2024-06-02

    💡An example is ready to run on my github.com/ulrich space available in the repository : https://github.com/ulrich/java-rawsocket

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).

C TCP discussion

Log in or Post with

C TCP related posts

  • No Uptime Hosting – Guaranteed Server Downtime

    1 project | news.ycombinator.com | 21 Jul 2024
  • tcptunnel alternatives - redir and socat-windows

    3 projects | 10 Oct 2023
  • Goroutines: The concurrency model we wanted all along

    2 projects | news.ycombinator.com | 7 Jul 2023
  • Network Instrumentation and TCP File Descriptor Hijacking

    1 project | news.ycombinator.com | 22 May 2023
  • PyTCP - The TCP/IP stack written in Python

    2 projects | /r/coding | 28 Nov 2022
  • Hippotat: IP over HTTP

    5 projects | news.ycombinator.com | 25 Nov 2022
  • Loadbalancer with delay

    1 project | /r/nginx | 13 Oct 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 Jan 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 Mongoose 11,312
2 dperf 5,172
3 kyanos 3,574
4 boopkit 1,582
5 uSockets 1,304
6 ucall 1,165
7 DDOS-RootSec 786
8 Modbus-STM32-HAL-FreeRTOS 589
9 microtcp 514
10 hev-socks5-tproxy 444
11 tcptunnel 369
12 AMP-Research 355
13 ngx_healthcheck_module 266
14 netxduo 256
15 fi6s 170
16 Blitzping 71
17 sharedgl 69
18 TCP_BBR 68
19 kflowd 55
20 tirdad 45
21 sdr-modem 31
22 echo-server 2
23 java-rawsocket 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C is
the 6th most popular programming language
based on number of references?