Networking

116 projects in 1 subcategories

Networking collects lower-level libraries that sit beside or below net/http: alternative HTTP engines, event-loop frameworks, protocol implementations such as QUIC, WebRTC, DNS, SSH and BGP, packet capture, proxies, VPN and tunnel tooling. Its HTTP Clients subcategory is listed separately. Go's standard net, net/http and crypto/tls packages already handle most TCP, UDP and HTTP/1.1 and HTTP/2 work, so reach for these when you need a protocol the standard library lacks or a different concurrency model.

fasthttp is the best-known alternative HTTP engine; it reuses objects to cut allocations but has its own API that is not compatible with net/http handlers, which is why frameworks such as Fiber built on it cannot use standard middleware directly. gnet and CloudWeGo's netpoll are event-driven frameworks for servers handling very many connections. quic-go implements QUIC and HTTP/3, pion/webrtc is a pure Go WebRTC stack, miekg/dns is the usual library for building DNS clients and servers, and gopacket decodes packets via libpcap. elazarl's GoProxy builds custom HTTP proxies, gliderlabs/ssh wraps crypto/ssh for SSH servers, and gobgp implements BGP.

Stay on net/http unless profiling shows the server itself is the bottleneck or you need a protocol it does not speak. When you do choose an alternative engine, weigh the loss of the net/http ecosystem of middleware, tracing and testing tools against the gain, and benchmark with your real workload rather than relying on published numbers.

Subcategories

More Networking

fasthttpby valyala

Package fasthttp is a fast HTTP implementation for Go, up to 10 times faster than net/http.

github.com/valyala/fasthttpGo 1.26+ 6 dependenciesv1.77.0updated today

23.5k

webrtcby pions

A pure Go implementation of the WebRTC API.

github.com/pion/webrtc/v4Go 1.24+ 17 dependenciesv4.2.26updated 1d ago

16.9k

cloudflaredby cloudflare

Cloudflare Tunnel client (formerly Argo Tunnel).

github.com/cloudflare/cloudflaredGo 1.27+ 43 dependencies2026.10.7updated 3d ago

16.4k

quic-goby lucas-clemente

An implementation of the QUIC protocol in pure Go.

github.com/quic-go/quic-goGo 1.26+ 8 dependenciesv0.64.1updated today

11.8k

gnetby panjf2000

Gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.

github.com/panjf2000/gnet/v2Go 1.20+ 7 dependenciesv2.10.0updated 3mo ago

11.3k

dnsby miekg

Go library for working with DNS.

github.com/miekg/dnsGo 1.25+ 3 dependenciesupdated 1mo ago

8.8k

gopacketby google

Go library for packet processing with libpcap bindings.

github.com/google/gopacketGo 1.12+ 4 dependenciesupdated 1y ago

6.8k

GoProxyby elazarl

A library to create a customized HTTP/HTTPS proxy server using Go.

github.com/elazarl/goproxyGo 1.24+ 3 dependenciesv1.9.2updated 2d ago

6.8k

tun2socksby xjasonlyu

A pure go implementation of tun2socks powered by gVisor TCP/IP stack.

github.com/xjasonlyu/tun2socks/v2Go 1.27+ 19 dependenciesv2.7.0updated 5d ago

5.6k

netpollby cloudwego

A high-performance non-blocking I/O networking framework, which focused on RPC scenarios, developed by ByteDance.

github.com/cloudwego/netpollGo 1.20+ 3 dependenciesv0.7.5updated 2mo ago

4.6k

kcp-goby xtaci

KCP - Fast and Reliable ARQ Protocol.

github.com/xtaci/kcp-go/v5Go 1.26+ 9 dependenciesv5.7.2updated today

4.6k

sshby gliderlabs

Higher-level API for building SSH servers (wraps crypto/ssh).

github.com/gliderlabs/sshGo 1.20+ 2 dependenciesv0.3.8updated 1y ago

4.2k

HTTPLabby gchaincl

HTTPLabs let you inspect HTTP requests and forge responses.

github.com/gchaincl/httplabGo 1.20+ 4 dependenciesv0.4.0updated 2y ago

4.1k

gobgpby osrg

BGP implemented in the Go Programming Language.

github.com/osrg/gobgp/v4Go 1.25+ 30 dependenciesv4.11.0updated today

4.1k

fortio

Load testing library and command line tool, advanced echo server and web UI. Allows to specify a set query-per-second load and record latency histograms and other useful stats and graph them. Tcp, Http, gRPC.

fortio.org/fortioGo 1.26+ 15 dependenciesv1.76.0updated 3d ago

3.7k

nbioby lesismal

Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use.

github.com/lesismal/nbioGo 1.16+ 1 dependencyv1.7.2updated today

2.8k

waterby songgao

Simple TUN/TAP library.

updated 2y ago

2.2k

go-getterby hashicorp

Go library for downloading files or directories from various sources using a URL.

github.com/hashicorp/go-getterGo 1.26+ 17 dependenciesv2.2.6updated today

1.8k

gwsby lxzan

High-Performance WebSocket Server & Client With AsyncIO Supporting.

github.com/lxzan/gwsGo 1.20+ 2 dependenciesv1.10.2updated 1mo ago

1.8k

gevby Allenxuxu

Gev is a lightweight, fast non-blocking TCP network library based on Reactor mode.

github.com/Allenxuxu/gevGo 1.14+ 14 dependenciesv0.5.0updated 1y ago

1.8k

sftpby pkg

Package sftp implements the SSH File Transfer Protocol as described in https://filezilla-project.org/specs/draft-ietf-secsh-filexfer-02.txt.

github.com/pkg/sftpGo 1.25+ 4 dependenciesv1.13.12updated 2d ago

1.7k

grabby cavaliercoder

Go package for managing file downloads.

updated 2mo ago

1.5k

NFF-Goby intel-go

Framework for rapid development of performant network functions for cloud and bare-metal (former YANFF).

github.com/intel-go/nff-go4 dependenciesv0.9.2updated 3y ago

1.4k

ftpby jlaffaye

Package ftp implements a FTP client as described in RFC 959.

github.com/jlaffaye/ftpGo 1.20+ 1 dependencyv0.2.4updated 2mo ago

1.4k

mdnsby hashicorp

Simple mDNS (Multicast DNS) client/server library in Golang.

github.com/hashicorp/mdnsGo 1.26+ 2 dependenciesv1.0.7updated today

1.4k

sdnsby semihalev

A high-performance, recursive DNS resolver server with DNSSEC support, focused on preserving privacy.

github.com/semihalev/sdnsGo 1.27+ 16 dependenciesv1.9.1updated today

1.1k

gmqttby DrmagicE

Gmqtt is a flexible, high-performance MQTT broker library that fully implements the MQTT protocol V3.1.1.

github.com/DrmagicE/gmqttGo 1.26+ 26 dependenciesv0.5.0updated 7mo ago

1.1k

vsshby yahoo

Go library for building network and server automation over SSH protocol.

github.com/yahoo/vsshGo 1.14+ 2 dependenciesupdated 2y ago

989

cidrangerby yl2chen

Fast IP to CIDR lookup for Go.

github.com/yl2chen/cidrangerGo 1.13+ 1 dependencyupdated 3y ago

967

gaioby xtaci

High performance async-io networking for Golang in proactor mode.

github.com/xtaci/gaioGo 1.21+ 1 dependencyupdated today

912

easytcpby DarthPestilane

A light-weight TCP framework written in Go (Golang), built with message router. EasyTCP helps you build a TCP server easily fast and less painful.

github.com/DarthPestilane/easytcpGo 1.17+ 9 dependenciesv0.4.0updated 9mo ago

820

go-stunby ccding

Go implementation of the STUN client (RFC 3489 and RFC 5389).

github.com/ccding/go-stunGo 1.14+ No dependencies v0.1.6updated 22d ago

721

lhttpby fanux

Powerful websocket framework, build your IM server more easily.

v1.1updated 8y ago

689

peerdiscoveryby schollz

Pure Go library for cross-platform local peer discovery using UDP multicast.

github.com/schollz/peerdiscoveryGo 1.13+ 2 dependenciesv1.7.6updated 1y ago

678

gotcpby gansidui

Go package for quickly writing tcp applications.

updated 3y ago

509

stunby go-rtc

Go implementation of RFC 5389 STUN protocol.

v1.23.0archived

490

gopcapby akrennmair

Go wrapper for libpcap.

updated 5y ago

489

winrmby masterzen

Go WinRM client to remotely execute commands on Windows machines.

github.com/masterzen/winrmGo 1.24+ 9 dependenciesupdated 1d ago

480

ftpserverlibby fclairamb

Fully featured FTP server library.

github.com/fclairamb/ftpserverlibGo 1.26+ 4 dependenciesv0.32.7updated today

479

arpby mdlayher

Package arp implements the ARP protocol, as described in RFC 826.

github.com/mdlayher/arpGo 1.23+ 2 dependenciesupdated 1mo ago

391

dnsmonsterby mosajjal

Passive DNS Capture/Monitoring Framework.

github.com/mosajjal/dnsmonsterGo 1.25+ 27 dependenciesv1.2.5updated 5d ago

360

nodepassby NodePassProject

A secure, efficient TCP/UDP tunneling solution that delivers fast, reliable access across network restrictions using pre-established TCP/QUIC/WebSocket or HTTP/2 connections.

github.com/NodePassProject/nodepassGo 1.26+ 4 dependenciesv1.17.0updated 20d ago

293

ethernetby mdlayher

Package ethernet implements marshaling and unmarshalling of IEEE 802.3 Ethernet II frames and IEEE 802.1Q VLAN tags.

github.com/mdlayher/ethernetGo 1.12+ 1 dependencyupdated 4y ago

289

gNxIby google

A collection of tools for Network Management that use the gNMI and gNOI protocols.

github.com/google/gnxiGo 1.13+ 20 dependenciesupdated 2mo ago

287

buffstreamsby stabbycutyou

Streaming protocolbuffer data over TCP made easy.

updated 6y ago

255

psql-wireby jeroenrinzema

PostgreSQL server wire protocol. Build your own server and start serving connections.

github.com/jeroenrinzema/psql-wireGo 1.25+ 4 dependenciesv0.20.0updated 1mo ago

241

jazigoby udhos

Jazigo is a tool written in Go for retrieving configuration for multiple network devices.

github.com/udhos/jazigoGo 1.20+ 7 dependenciesv0.13.0updated 3y ago

230

utpby anacrolix

Go uTP micro transport protocol implementation.

github.com/anacrolix/utpGo 1.20+ 6 dependenciesupdated 1mo ago

179

bartby gaissmai

Package bart provides a Balanced-Routing-Table (BART) for very fast IP to CIDR lookups and more.

github.com/gaissmai/bartGo 1.24+ No dependencies v0.30.0updated 1d ago

168

tcpackby lim-yoona

Tcpack is an application protocol based on TCP to Pack and Unpack bytes stream in go program.

github.com/lim-yoona/tcpackGo 1.20+ 1 dependencyv0.3.3updated 3y ago

164

xtcpby xfxdev

TCP Server Framework with simultaneous full duplex communication, graceful shutdown, and custom protocol.

github.com/xfxdev/xtcpGo 1.14+ No dependencies updated 6y ago

160

canopusby zubairhamed

CoAP Client/Server implementation (RFC 7252).

updated 8y ago

156

iplibby c-robinson

Library for working with IP addresses (net.IP, net.IPNet), inspired by python ipaddress and ruby ipaddr

github.com/c-robinson/iplib/v2Go 1.20+ 1 dependencyv2.0.5updated 2y ago

152

sslbby eduardonunesp

It's a Super Simples Load Balancer, just a little project to achieve some kind of performance.

github.com/eduardonunesp/sslbGo 1.22+ 3 dependenciesupdated 2y ago

152

gldapby jimlambrt

Gldap provides an ldap server implementation and you provide handlers for its ldap operations.

github.com/jimlambrt/gldapGo 1.21+ 7 dependenciesv0.1.14updated 4mo ago

122

eventby cheng-zhongliang

Simple I/O event notification library written in Golang.

github.com/cheng-zhongliang/eventGo 1.13+ No dependencies v1.2.6updated 1y ago

119

natiu-mqttby soypat

A dead-simple, non-allocating, low level implementation of MQTT well suited for embedded systems.

github.com/soypat/natiu-mqttGo 1.19+ No dependencies v0.7.0updated 3mo ago

106

go-powerdnsby joeig

PowerDNS API bindings for Golang.

github.com/joeig/go-powerdns/v3Go 1.22+ 1 dependencyv3.23.0updated 24d ago

105

etherby songgao

Cross-platform Go package for sending and receiving ethernet frames.

updated 10y ago

82

fullproxyby shoriwe

A fully featured scriptable and daemon configurable proxy and pivoting toolkit with SOCKS5, HTTP, raw ports and reverse proxy protocols.

github.com/shoriwe/fullproxy/v4Go 1.20+ 9 dependencies4.1.1updated 3y ago

81

dhcp6by mdlayher

Package dhcp6 implements a DHCPv6 server, as described in RFC 3315.

github.com/mdlayher/dhcp6Go 1.12+ 1 dependencyupdated 3y ago

80

fwdctlby alegrey91

A simple and intuitive CLI to manage IPTables forwards in your Linux server.

github.com/alegrey91/fwdctlGo 1.22+ 9 dependenciesv1.2.0updated 3mo ago

72

portproxyby aybabtme

Simple TCP proxy which adds CORS support to API's which don't support it.

updated 11y ago

58

linkioby ian-kent

Network link speed simulation for Reader/Writer interfaces.

updated 9y ago

53

httpproxyby wzshiming

HTTP proxy handler and dialer.

github.com/wzshiming/httpproxyGo 1.25+ 1 dependencyv0.6.1updated 1mo ago

32

go-multiproxyby presbrey

Library for making HTTP requests through a pool of proxies offering fault tolerance, load balancing, automatic retries, cookie management, and more, via http.Get/Post replacement or http.Client RoundTripper drop-in

github.com/presbrey/go-multiproxyGo 1.22+ 4 dependenciesv1.0.2updated 1y ago

30

publicipby polera

Package publicip returns your public facing IPv4 address (internet egress).

1.0.0updated 9y ago

29

gravalby koofr

Experimental FTP server framework.

github.com/koofr/gravalGo 1.13+ 6 dependenciesupdated 6y ago

28

gnetby fish-tennis

Gnet is a high-performance networking framework,especially for game servers.

github.com/fish-tennis/gnetGo 1.26+ 2 dependenciesv1.5.5updated 1mo ago

27

exposeby kernelshard

Lightweight, open-source secure tunneling tool to expose local servers to the internet.

github.com/kernelshard/exposeGo 1.25+ 2 dependenciesv0.6.1updated today

24

gosharkby sunwxg

Package goshark use tshark to decode IP packet and create data struct to analyse packet.

updated 9y ago

17

llbby kirillDanshin

It's a very simple but quick backend for proxy servers. Can be useful for fast redirection to predefined domain with zero memory allocation and fast response.

updated 10y ago

16

nethawkby Flowtriq

Terminal UI for real-time network traffic capture, analysis, and attack detection with JSON output mode.

github.com/Flowtriq/nethawkGo 1.26+ No dependencies v0.1.0updated 4mo ago

16

go-sseby lampctl

Go client and server implementation of HTML server-sent events.

github.com/lampctl/go-sseGo 1.18+ No dependencies updated 1y ago

15

tspoolby two

A TCP Library use worker pool to improve performance and protect your server.

updated 8y ago

14

go-pcapliteby alexcfv

Lightweight live packet capture library with HTTPS SNI extraction.

github.com/alexcfv/go-pcapliteGo 1.24+ No dependencies v1.0.0updated 5mo ago

9

netchanby matveynator

Network Channels (netchan) for Golang: Secure, cluster-ready, supports nested channels & any data type. Inspired by Rob Pike.

github.com/matveynator/netchan/v2Go 1.26+ 8 dependenciesv2.1.0updated today

9

roamrby sourabh-khot65

CLI that scores nearby saved WiFi networks and tells you which to use, and why.

github.com/sourabh-khot65/roamrGo 1.26+ 1 dependencyv0.1.4updated 2mo ago

9

macwifiby jaisonerick

Wi-Fi scanning and Keychain password retrieval for macOS 13+.

github.com/jaisonerick/macwifiGo 1.26+ No dependencies v1.0.0updated 3mo ago

8

cdnsby junevm

Change DNS servers effortlessly via terminal.

gitlab.com/junevm/cdnsGo 1.26+ 13 dependenciesv1.1.1updated 5mo ago

5

chicha-ip-proxyby matveynator

Zero-configuration TCP/UDP port proxy with autostart, IP-based access control, and OS-level network stack tuning.

github.com/matveynator/chicha-ip-proxyGo 1.21+ No dependencies stable-releaseupdated 2mo ago

5

telepathby tech-thinker

Telepath is a powerful CLI tool for secure port forwarding with support for multiple jump hosts and flexible authentication.

github.com/tech-thinker/telepathGo 1.26+ 2 dependenciesv2.1.2updated 22d ago

4

fibersseby vinod-morya

Production-grade Server-Sent Events (SSE) for Fiber v3 with event coalescing, priority lanes, topic wildcards, adaptive throttling, and built-in auth.

github.com/vinod-morya/fibersseGo 1.25+ 2 dependenciesv1.0.0updated 2mo ago

3

corsproxyby melihbirim

CORS proxy server with SSRF protection, host allow/blocklisting, and optional API key authentication.

github.com/melihbirim/corsproxyGo 1.21+ No dependencies v1.2.6updated 13d ago

2

gosnmpby soniah

Native Go library for performing SNMP actions.

github.com/gosnmp/gosnmpGo 1.24+ 2 dependenciesupdated 10d ago

1

proxqby psyb0t

Asynchronous reverse proxy that queues each request in Redis and returns a job ID to poll for the response, with path-prefix routing, retries, and caching.

github.com/psyb0t/docker-proxqGo 1.26+ 12 dependenciesv0.11.4updated 14d ago

1

drainwatchby jaynirmal15

Measures what actually happens to established TCP and UDP connections when a Kubernetes pod terminates.

github.com/jaynirmal15/drainwatchGo 1.22+ 3 dependenciesv0.2.0updated 1mo ago

0

ws-reconnectby sing198

Resilient WebSocket client with automatic reconnection, exponential backoff, and heartbeat management.

github.com/sing198/ws-reconnectGo 1.25+ No dependencies updated 2mo ago

0

mqttPaho

The Paho Go Client provides an MQTT client library for connection to MQTT brokers via TCP, TLS or WebSockets.

eclipse.org

net

This repository holds supplementary Go networking libraries.

golang.org

Esc

Type to search every entry. ↑↓ to move, Enter to open.