NGRaff / Software router & firewall

Capabilities
for your network.

Routing, filtering and traffic protection in one dataplane. Choose the tools that fit your topology and requirements.

DPDK speed

Packet processing bypasses the Linux kernel. Performance scales with the number of cores (10–20 Mpps per core, depending on the workload). Operates at 10 / 40 / 100 / 400 Gbit/s.

Written in pure C

Pure C and DPDK, no extra layers. Hardcore only! Everything for performance.

Scaling

Several servers combined into one L3 or L2 cluster for redundancy and load balancing. Multiple instances per server, one per NUMA node.

L3 mode

A full router with its own FIB, RIB and ARP tables. Routes are synced from Linux over netlink, so BGP, OSPF and other protocols from BIRD or FRR just work.

L2 mode

Transparent bridge: NGRaff sits inline without changing IP addressing or the configuration of neighbouring routers. Traffic is inspected and passed on; the filter is invisible to the network.

L2 VLAN retag mode

Transparent L2 mode that rewrites the outer VLAN tag between interfaces.

Linux control plane (L3)

For dynamic routing protocols, use familiar software — FRR, BIRD and others.

Virtual MACs (vMAC)

Redundancy in L3 mode: virtual MAC addresses are grouped with priorities, and when a server fails a neighbour takes over its groups.

Built-in Heartbeat

Fault tolerance through Multicast Heartbeat over multiple interfaces without external daemons.

Bypass NIC support

Supports Intel and Silicom network cards with hardware bypass.

Bond / LACP

Up to 8 ports combined into one logical port: LACP (802.3ad) or active-backup, hashing on L2, L2+L3 or L3+L4. Up to 8 bonds.

Arista integration

A custom keepalive daemon for Arista detects a hung data plane and diverts traffic to the standby. It is also one of the ways to upgrade the software seamlessly.

VRF

Isolated routing tables with their own FIB, RIB and ARP — freedom in network design. Hundreds of full-view tables with ease.
Flexible VRF switching by various policies.

NGRaff FlexPath

Flexible routing and switching by various policies — Policy-Based Routing (PBR) and packet modification.

Hardware integration

On NVIDIA ConnectX-5, ConnectX-6 Dx and ConnectX-7, additional hardware rules are available for filtering, packet modification and policing.

Packet load balancer

Weighted flow distribution. Algorithms: Maglev or hash modulo.
Hash keys: src, dst, src-dst, src-l4, dst-l4, l34 and symmetric src-dst-sym, l34-sym.

Telemetry

Extensive counters: NGRaff health, statistics for all protected TCP/UDP services and network IP addresses. GeoIP statistics and much more. Even the smallest changes are visible.

ACL

Rules by source and destination subnets, port ranges and protocol.

TCP protection

Session tracking with window checks. SYN cookies and SYN proxy under attack. Protection against SYN, ACK and RST floods and malformed packets. Session count and connection rate limits.
L7 filters for various application protocols.

UDP protection

L7 filters for various application and game server protocols.

ICMP protection

ICMP traffic filtering and limiting: protection against ICMP floods and malformed packets without losing network diagnostics.

Fast cache

A dedicated cache protects and offloads certain applications: game Source Query (A2S) and others.

Smart blacklist

Addresses in the blacklist are grouped, each group with its own activation thresholds.

GeoIP limiter

Custom ASN and country groups to limit connection count and rate.

Overload control

A daemon quickly withdraws and restores BGP announcements when an attack starts, offloading uplinks under overload. Convenient control via a Telegram bot.

Management and monitoring

ngcli console, JSON-RPC API, hamster telemetry. The ngsetup installer prepares the host and configuration; runs in Docker.

WEB interface

Coming soon…