Product overview
The Flock Internet Routing Engine (FIRE) allows customers to quickly create a secure, performant and highly customizable IP routing suite that is easy to embed in any network device. With FIRE you get to choose what is in your device and just as importantly what is not.
The FIRE source code is available to license which enables network device manufacturers and network operators to rapidly create and deploy customized internet devices such as IP routers, IP gateways and “Internet of Things” (IOT) devices. Thousands of internet devices developed using FIRE have been deployed in production since 2022, and have proved to be reliable and efficient.FIRE component flockdreference daemon your-bgp-daemonyour build your-p-routeryour build BFD included included included BGP included included not included IS-IS included not included not included LRIB included included included MRIB included not included not included OSPF included not included included PIM-SSM included not included not included RIB included included included Static included included not included System included included included flockd, the reference daemon included with FIRE, uses every component.
The FIRE source code is a platform agnostic library which implements a comprehensive set of internet RFC standards, a generic configuration and operation API, and a generic route programming API. Also included is a reference application that uses FIRE to implement a fully featured IP routing suite that runs on the Linux or SONiC platforms.
The FIRE source code is designed to be highly flexible. FIRE enables easy compile time customization and extension of the included protocol implementations, by providing embedded “modify hook” points in the source code.
FIRE Licensing
With FIRE you only license what you need. You can choose any combination of BGP, OSPF, IS-IS and multicast. The System, RIB, LRIB and Static components are always included. BFD is included if it is needed by any protocol you purchase.
- BGP
- OSPFOSPFv2 · OSPFv3
- IS-IS
- MulticastPIM-SSM · MRIB
- System
- RIB
- LRIB
- Static
Source code license
- A license to use the current source code in perpetuity
- Source code for all the licensed components
- Source code for a fully functional routing daemon for Linux
- Create custom routing daemons
- Implement proprietary protocol extensions
- Customers keep the copyright to this code
- All documentation
- The FIRE Developer Guide
- The Linux routing daemon User Guide
- The Linux routing daemon Developer Guide
- All test code
- Unit tests
- Integration tests, with platform and protocol mocking code
Source code subscription
- Access to the latest source code via the github repository
- All newly implemented RFC features
- All performance and scale improvements
- All bug fixes
- Support directly by the developers via github issues
FIRE is secure, fast, scalable and written in Rust
FIRE is compiled to match the hardware capabilities of the product that is being developed, from the lowest end consumer devices to the highest end internet route servers and Path Computation Element (PCE) servers.
FIRE is designed to scale at run time to match the available CPU cores. On a router with four logical CPU cores it can signal one billion BGP route updates across one thousand BGP neighbors in under 90s from startup. If that is too slow for your network requirements then just choose a router with more CPU cores.
Current IP routing suites were implemented decades ago. They no longer have a clean architecture so new feature development is very slow. They are written in unsafe languages such as C or C++, meaning a single incorrect line of code can crash the entire network device, or worse leave the network device running in an unknown and possibly insecure state.
FIRE is written exclusively in the Rust programming language. We are not alone in believing all performance critical infrastructure will be migrated to Rust. “We adopted Rust for its security and are seeing a 1000x reduction in memory safety vulnerability density compared to Android’s C and C++ code.” “Speaking of languages, it’s time to halt starting any new projects in C/C++ and use Rust for those scenarios where a non-GC language is required. For the sake of security and reliability. the industry should declare those languages as deprecated.” “Adopting memory safe languages offers the most comprehensive mitigation against this class of vulnerabilities.”
The FIRE Development Team
FIRE has been developed by Flock Networks®, founded in 2019 by Nick Carter. The internet is a utility, yet it still runs on unsafe code, so Flock Networks started again from a clean slate, in Rust, keeping the performance of C without its fragility.

Nick Carter
A 30-year veteran of the networking industry, Nick has designed, implemented and operated some of the largest IP networks in the world, and has spent over 20 years implementing IP routing protocols and IP forwarding engines.
After years of discussing the “ideal” router architecture with colleagues, Nick experimented with Rust, decided it was the future of systems programming, and left his job to build FIRE. Over the first 18 months he designed and implemented the first version, including OSPF, BGP, the external APIs, a comprehensive test suite and the Linux target platform. It was the first IP routing suite ever implemented in Rust.
From a clean slate to production
- 2019Flock Networks foundedNick starts the initial implementation from a clean slate.
- 2021Contributors joinRouting protocol veterans and Rust experts join.
- 2022Into productionPE, P and Route Reflector deployments go live.
- TodayThousands of devicesRunning 24 x 7 across North America, EMEA and Asia.
FIRE system testing is carried out by a team of experienced IP routing QA engineers. As the team grew, FIRE development moved to a CI / CD pipeline with comprehensive unit test, integration test and system test coverage.
From January 2022 an operations team was formed to roll out network devices built using FIRE, and the FIRE telemetry and alarms infrastructure was finalized and put into production.
The Team
220+ years of combined IP routing protocol experience.
Since January 2021 Nick has been joined by a team of highly skilled developers, C/C++ routing protocol veterans working alongside Rust language experts, with system testing by experienced IP routing QA engineers. To date around 30 developer years of effort have been invested in creating FIRE.







Thousands of IP network devices built using FIRE are in production across North America, EMEA and Asia, running 24 x 7 with no crashes or unexpected restarts. FIRE has enabled these devices to be developed and deployed quickly, and has proved to be reliable, fast and secure in production.
FIRE Contents in detail
FIRE contains the complete source code for the components shown inside the FIRE box below. Customers are able to customize the implementation by implementing the components with dashed outlines. Some of the advantages of using FIRE are numbered, with explanations below.
FIRE Advantages
- Clean architecture: FIRE has been designed and developed from scratch by a team of highly experienced IP protocol experts, developers and testers. The best practices from the past 30 years of IP router design have been used, and designs that have historically proved to be unreliable and inflexible have been avoided.
- Easy customization: FIRE is highly modular and presents strong flexible API’s, making it trivial to customize. The generic configuration and operation event based API’s allow FIRE to be controlled and monitored by any external model (YANG, NETCONF, REST, JSON, CLI, Prometheus…). The generic route programming event based API can easily be customized to program any kernel / data plane. The provided Linux reference implementation supports programming via Netlink and FPM (SONiC).
- Highly secure: FIRE is entirely implemented in the Rust language. Rust is the only available memory safe systems programming language. Implementing applications in Rust has been shown to reduce security vulnerabilities by 70%. This security guarantee is provided at compile time so these bugs cannot exist in the deployed device. FIRE is the first and most widely deployed IP routing suite written in Rust.
- Highly performant: The Rust language compile time memory safety guarantees means FIRE can run in a single operating system process. This means all the code has safe access to the same shared heap memory. FIRE does not need to perform any inter-process communication (IPC) making it far faster than other implementations. Rust also guarantees the absence of inter-thread “data races” at compile time. This eliminates the hardest problems when writing multithreaded code. FIRE has been designed to scale linearly vs the number of CPU cores available. FIRE is unique in that it can reliably utilize many cores in parallel whilst the network is converging, and then return to an idle state once converged. The FIRE implementation is lock free which means each thread can progress without being blocked by any other threads. This also means FIRE has a compile time guarantee that it cannot experience “dead lock”, which can cause other implementations to fail at any time when running in production.
- Flexible to match the target platform: FIRE can be compiled to execute as:
- A single operating system thread, for use in low end devices
- A thread per protocol, for use in mid range devices
- A thread per protocol and a thread pool, for use in high end devices
- Extensible protocol behavior: The FIRE API also contains “modify hooks” embedded at key points in each protocol’s implementation. The standard IETF protocol behavior can be modified or extended at compile time. For example, to implement a customized BGP “best path decision process”, a single Rust function can be written to override the default best path function. Because this is done at compile time there is no run time performance cost to achieve the new behavior.
- Extensive Protocol Support: FIRE supports all the commonly used IETF RFC’s for BGP, OSPFv2/v3, IS-IS, PIM-SSM, MPLS VPN, MPLS SR and BFD. The combination of the clean architecture and the expressiveness of the Rust language makes new feature development on FIRE incredibly fast. RFC’s that would take months to implement on legacy IP routing suites, can be implemented in weeks.
- Complete: FIRE includes a production ready reference Linux implementation that works “Out of the box”. If your product requires standard Linux IP Routing Suite behavior, similar to Free Range Routing (FRR) or BIRD, then you don’t need to write any customization code. Just compile the reference implementation and deploy it. Alternatively this same implementation can be run on the SONiC network operating system, allowing a hardware forwarding / ASIC enabled network device to be quickly developed.
- Highly reliable: The FIRE source code includes a testing framework with hundreds of unit tests that test the internal behavior, and hundreds of integration tests that check the compliance of the external API and its conformance to RFC behavior. All these tests are run every time any single line of code is changed. This also provides a very agile development environment where changes can be comprehensively tested in seconds, rather than waiting hours for system test results. The integration tests also “fuzz test” the external API to check that malformed inputs are correctly handled and the tests track changes in memory usage.
- Clean code: The FIRE source code is written to be easily read by other developers. This speeds up development and also allows the compiler to implement many optimizations. The code compiles with zero warnings. Static analysis of the code also produces zero warnings.
- Documented code: The FIRE source code also includes a “developer guide” and a “user guide”. The “developer guide” explains the FIRE architecture, how to interface with and extend the architecture, and a detailed description of the implementation of each internal component. The “user guide” is aimed at end users that are using the reference Linux IP routing suite implemented by customizing FIRE. The “user guide” covers installation, configuration and operation. The contents of these guides are written in the markdown format and are included alongside the rest of the source code.
Testing
Every change to FIRE is tested before it is merged, and the same tests are delivered to customers with the source code. Testing runs at every level, from individual functions to complete network devices.
Unit and integration tests
Hundreds of unit tests check the internal behavior of each component. Hundreds of integration tests use the FIRE protocol and platform mocking framework (Figure 3) to check compliance of the external API and conformance to RFC behavior. All of these tests run on every code change, so changes are comprehensively tested in seconds rather than hours. The tests also track changes in memory usage.
Code coverage
The table shows line coverage of the FIRE production source code. Integration tests (IT) are preferred over unit tests (UT), because they test at the API level. This guarantees the API contract that FIRE provides to its RFC based protocol peers, and to the hosting system. Integration tests drive each protocol through the mocking framework the same way a real network would. Combined coverage counts a line as covered if any test reaches it.Component Lines of code Unit tests Integration tests Combined BFD 2,573 45% 86% 88% BGP 36,642 21% 78% 81% IS-IS 7,771 13% 89% 91% OSPF 21,108 23% 81% 83% PIM-SSM 4,496 62% 85% 91% MRIB 537 50% 83% 87% RIB 5,314 55% 75% 78% Static 2,236 4% 89% 89% System and shared libraries 29,636 60% 62% 79% All of FIRE 110,313 35% 76% 82%
Fuzz testing
The integration tests fuzz test the external API, checking that malformed inputs are correctly handled.
Static analysis
The FIRE source code compiles with zero warnings, and static analysis of the code also produces zero warnings.
System, performance and scale testing
A team of experienced IP routing QA engineers system tests FIRE as part of a CI / CD pipeline. Scale testing proves that PE routers built using FIRE can handle 10 million MPLS-VPN BGP paths sourced via 10,000 eBGP neighbors, and that FIRE can signal one billion BGP route updates across one thousand BGP neighbors in under 90 seconds on a router with four logical CPU cores.
Security testing
AI audit, penetration testing and denial of service (DoS) testing have found zero critical vulnerabilities in FIRE.
Proven in production
Thousands of network devices built using FIRE have been in production for over four years without a crash, memory leak or unexpected restart.
AI agent friendly
FIRE is designed to work well with AI agents, both when developing FIRE itself and when testing the devices built with it.
AI developing
FIRE is well suited to development by AI coding agents because of its integration test (IT) harness. Each integration test drives FIRE through the protocol and platform mocking framework (Figure 3), injecting test input events and checking the expected output events. No real network or lab equipment is needed, and the tests run in seconds.
When an agent is asked to develop a new feature or fix a bug, the task comes with a clear success criterion that the agent can check for itself:
- Write new integration tests that describe the new feature, or reproduce the bug.
- All of the new integration tests must pass.
- All of the existing integration tests must still pass.
The Rust compiler catches memory safety and thread safety errors at build time, so the agent gets fast, precise feedback at every step. Reviewers receive a change that has already proved it works, and that it has not broken anything else.
With this clear success criterion, AI agents routinely run unprompted for over 30 minutes in the integration test sandbox, working until every test passes.
AI testing
Devices built using FIRE expose all of their operational state and configuration through a structured gRPC API, returning machine friendly JSON. That makes them easy for AI agents to observe and operate, not just people.
flockmcp
flockmcp is a Model Context Protocol (MCP) server that lets an AI assistant read the live state of your routers. It speaks MCP to the assistant and gRPC to the flockd daemon on each router, so in one conversation an assistant can look at several routers and compare them. Like all Flock software, it is written in Rust.
Instead of logging in to each router and piecing the answers together, you ask:
- Are all the BGP sessions on r1 and r2 established?
- What route does r1 use for 198.51.100.7, and where did it come from?
- Do r1 and r2 agree on the route to 10.1.0.0/16?
- Compare the BGP routes r1 sends r2 with what r2 says it received.
The assistant picks from 19 tools covering the fleet of routers, the system, the RIB, the label RIB, static routes and BGP, including EVPN, and puts the answer together for you.
Built for operators
- Read-only by default. flockmcp cannot change a router’s configuration. Its only action, a BGP neighbor reset, is refused unless both flockmcp and the router are configured to allow it.
- Secure by default. The flockd gRPC API serves reads only, unless configuration changes or actions are explicitly allowed.
- Answers you can check. Every answer is the same JSON that flockc prints, and the test suite runs each tool against real flockd and compares the result with flockc.
- Made for real tables. Large tables are returned a page at a time, so a full BGP table cannot flood the assistant, and a router that is down does not stop the assistant asking the others.
- Works with any MCP client. Including Claude Code, Codex CLI, Gemini CLI, or an open model on your own hardware, so your routers’ state never leaves your network. flockmcpd runs as a long-lived service, shipped as a Debian package and a container image.
flockmcp user guide →flockmcp announcement →
Summary
Creating new network devices using out-of-date IP routing suites is a mistake. The existing implementations are insecure and do not scale well on modern multi-core hardware. The complexity involved in adding new protocols has caused the internet infrastructure to stagnate.
The internet is now a utility and the networking industry needs to advance so that the deployed network devices are so stable, secure and efficient that they become transparent to end user applications.
If you have any questions or want to enquire about licensing FIRE then please email info@flocknetworks.com.
“Flock delivered what was required to offer a fully functional routing stack in a contemporary package, along with the ability to support the unique innovations required for Graphiant.”
Build your next device on FIRE.
The source code is available to license. Run it on Linux or SONiC.