All Projects → NTAP → Warpcore

NTAP / Warpcore

Licence: bsd-2-clause
User-space UDP/IP stack on top of netmap

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Warpcore

doq-proxy
DNS-over-QUIC to UDP Proxy
Stars: ✭ 57 (-14.93%)
Mutual labels:  udp, quic
opengnb
GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal.GNB是一个开源的去中心化的具有极致内网穿透能力的通过P2P进行三层网络交换的VPN。
Stars: ✭ 440 (+556.72%)
Mutual labels:  freebsd, udp
uC-TCP-IP
A compact, reliable, high-performance TCP/IP protocol stack. Features dual IPv4 and IPv6 support, an SSL/TLS socket option, and support for Ethernet, Wi-Fi, and PHY controllers.
Stars: ✭ 66 (-1.49%)
Mutual labels:  stack, ipv4
quic-py
QUIC protocol implementation in python
Stars: ✭ 38 (-43.28%)
Mutual labels:  udp, quic
Enet Csharp
Reliable UDP networking library
Stars: ✭ 464 (+592.54%)
Mutual labels:  udp, ipv4
net-protocol
golang模拟内核协议栈 实现链路层、网络层、传输层、应用层 用户态协议栈 ,基于虚拟网卡TUN/TAP
Stars: ✭ 129 (+92.54%)
Mutual labels:  udp, ipv4
mocket
Reliable UDP server client for flaky networks
Stars: ✭ 21 (-68.66%)
Mutual labels:  udp, quic
captcp
A open source program for TCP analysis of PCAP files
Stars: ✭ 110 (+64.18%)
Mutual labels:  udp, ipv4
Mirage Tcpip
TCP/IP networking stack in pure OCaml, using the Mirage platform libraries. Includes IPv4/6, ICMP, and UDP/TCP support.
Stars: ✭ 277 (+313.43%)
Mutual labels:  udp, ipv4
Valvesockets Csharp
Managed C# abstraction of GameNetworkingSockets library by Valve Software
Stars: ✭ 273 (+307.46%)
Mutual labels:  udp, ipv4
masscanned
Let's be scanned. A low-interaction honeypot focused on network scanners and bots. It integrates very well with IVRE to build a self-hosted alternative to GreyNoise.
Stars: ✭ 50 (-25.37%)
Mutual labels:  udp, ipv4
Lsquic
LiteSpeed QUIC and HTTP/3 Library
Stars: ✭ 727 (+985.07%)
Mutual labels:  udp, quic
gnb udp over tcp
gnb_udp_over_tcp 是一个为GNB开发的通过tcp链路中转UDP分组转发的服务
Stars: ✭ 32 (-52.24%)
Mutual labels:  freebsd, udp
moss
Reliable and Fast UDP Connections
Stars: ✭ 37 (-44.78%)
Mutual labels:  udp, quic
ENet-CSharp
A improved fork of ENet, a tried and true networking library. C, C++, C# compatible.
Stars: ✭ 65 (-2.99%)
Mutual labels:  udp, ipv4
packetdrill
packetdrill with UDPLite and SCTP support and bug fixes for FreeBSD
Stars: ✭ 37 (-44.78%)
Mutual labels:  freebsd, udp
Gnb
GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal.GNB是一个开源的去中心化的具有极致内网穿透能力的通过P2P进行三层网络交换的VPN。
Stars: ✭ 225 (+235.82%)
Mutual labels:  udp, freebsd
sx
🖖 Fast, modern, easy-to-use network scanner
Stars: ✭ 1,267 (+1791.04%)
Mutual labels:  udp, ipv4
gost
GO Simple Tunnel - a simple tunnel written in golang
Stars: ✭ 8,395 (+12429.85%)
Mutual labels:  udp, quic
Ngtcp2
ngtcp2 project is an effort to implement IETF QUIC protocol
Stars: ✭ 589 (+779.1%)
Mutual labels:  udp, quic

Warpcore

Build Status Total alerts Coverity Badge Language grade: C/C++ Codacy Badge

About

Warpcore is a minimal userspace UDP/IP/Ethernet stack for the netmap packet I/O framework. Due to its dependency on netmap, warpcore supports Linux (with a netmap-patched kernel) and FreeBSD (which has netmap support since release 11).

Warpcore also has a backend implementation using the Socket API that should compile on generic POSIX platforms, such as Linux, Darwin and others. The POSIX backend has experimental support for the Particle IoT stack, allowing applications built on warpcore (such as quant) to support embedded devices. Warpcore also has an experimental support for RIOT, another IoT stack.

Warpcore prioritizes performance over features, and over full standards compliance. It supports zero-copy transmit and receive with netmap, and uses neither threads, timers nor signals. It exposes the underlying file descriptors to an application, for easy integration with different event loops (e.g., libev).

The warpcore repository is on GitHub.

NOTE: Warpcore is a research effort and not meant for production use.

Building

Warpcore uses cmake as a build system. To do an out-of-source build of warpcore (best practice with cmake), do the following to build with make as a generator:

git submodule update --init --recursive
mkdir Debug
cd Debug
cmake ..
make

(cmake supports other generators, such as ninja (which I highly recommend over make). See the cmake documentation.)

On platforms where netmap is available, the steps above will build a debug version of libsockcore.a against netmap as a backend, and place it into the Debug/lib. Examples (sockping and sockinetd) will be built in Debug/bin.

On platforms where netmap is available, the steps above will also build a debug version of libwarpcore.a against netmap as a backend, and place it into the Debug/lib. Examples (warpping and warpinetd) will also be built in Debug/bin.

The example server application implements the echo, discard, time and daytime services.

The default build (per above) is without optimizations and with extensive debug logging enabled. In order to build an optimized build, do this:

git submodule update --init --recursive
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make

Documentation

Warpcore comes with documentation. This documentation can be built (if doxygen is installed) by doing

make doc

in any build directory. The starting page of the documentation is then doc/html/index.html.

Copyright

Copyright (c) 2014-2020, NetApp, Inc. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Acknowledgment

This software has received funding from the European Union's Horizon 2020 research and innovation program 2014-2018 under grant agreement 644866 ("SSICLOPS"). The European Commission is not responsible for any use that may be made of this software.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].