{"id":13510529,"url":"https://github.com/alexk99/the_router","last_synced_at":"2025-03-30T16:33:42.457Z","repository":{"id":40680360,"uuid":"75847357","full_name":"alexk99/the_router","owner":"alexk99","description":"TheRouter is a software packet router based on DPDK an NPF libraries.","archived":false,"fork":false,"pushed_at":"2024-10-24T14:39:42.000Z","size":872,"stargazers_count":225,"open_issues_count":1,"forks_count":37,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-10-25T18:44:38.556Z","etag":null,"topics":["bgp","bng","bras","cgnat","dpdk","ipoe","ipv6","linux","nat","nfv","pppoe","router","vrrp"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexk99.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-07T15:09:25.000Z","updated_at":"2024-10-25T14:57:57.000Z","dependencies_parsed_at":"2023-11-14T13:26:47.444Z","dependency_job_id":"0ed1b98e-b961-40f3-b725-d1f0ac8991a2","html_url":"https://github.com/alexk99/the_router","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexk99%2Fthe_router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexk99%2Fthe_router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexk99%2Fthe_router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexk99%2Fthe_router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexk99","download_url":"https://codeload.github.com/alexk99/the_router/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222566739,"owners_count":17004237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bgp","bng","bras","cgnat","dpdk","ipoe","ipv6","linux","nat","nfv","pppoe","router","vrrp"],"created_at":"2024-08-01T02:01:42.637Z","updated_at":"2024-11-01T11:30:28.799Z","avatar_url":"https://github.com/alexk99.png","language":null,"funding_links":[],"categories":["Others","linux"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://therouter.net/images/github_header5.png\" /\u003e\n\u003c/p\u003e\n\n## We are rebranding\nThe project is now BisonRouter! Please visit our \u003ca href=\"https://bisonrouter.com\"\u003eweb site\u003c/a\u003e for more information.\n\nTheRouter is a software packet router based on one of the fastest packet processing libraries. \u003c/a\u003e Using modern software technique such as QSBR, lockless data structures and \u003ca href=\"https://github.com/efficient/libcuckoo\"\u003ecuckoo hashing\u003c/a\u003e enables the router to perform routing (\u003ca href=\"https://github.com/alexk99/the_router/blob/master/routing_perf_tests.md\"\u003eup to 32Mpps\u003c/a\u003e) and \u003ca href=\"https://github.com/alexk99/the_router/blob/master/conf_options2.md#deterministic-snat44\"\u003eCGNAT\u003c/a\u003e (up to 10 Mpps) on high packet rates using commodity hardware.\n\n## It supports\n\n * IPv4 static and \u003ca href=\"https://github.com/alexk99/the_router/blob/master/quagga_bgp.md\"\u003edynamic routing\u003c/a\u003e. Dynamic routing is based on integration with \u003ca href=\"http://www.nongnu.org/quagga\"\u003eQuagga Routing Suite\u003c/a\u003e or \u003ca href=\"https://frrouting.org/\"\u003eFRRouting\u003c/a\u003e\n * Dot1q and qinq ethernet encapsulations\n * IP unnumbered \n * ARP, proxy ARP\n * ICMP\n * PBR and multiple routing tables\n * ECMP and UCMP routing and load balancing\n * Deterministic NAT\n * Dynamic PBA NAT (port block allocation)\n * NAT Hairpinning (NAT loopback)\n * Stateful and stateless firewall and various forms of NAT. This functionality is based \n   on the improved version of \u003ca href=\"https://github.com/rmind/npf\"\u003eNetBSD packet filter\u003c/a\u003e\n * Link Aggregation/Link Bonding/LACP\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/cgnat.md#cgnat-carrier-grade-nat\"\u003eCGNAT\u003c/a\u003e (Endpoint-Dependent Mapping by NPF, Endpoint-Independent Mapping (EIM) by \u003ca href=\"https://github.com/alexk99/the_router/blob/master/conf_options2.md#deterministic-snat44\"\u003eDeterministic NAT\u003c/a\u003e)\n * NAT events logging (IPFIX, Netflow v9)\n * VRRP (v2 for IPv4 and v3 for IPv6)\n * IPv6\n \t- Unicast routing\n\t- ICMPv6\n\t- Neighbor Discovery Protocol\n\t- \tDuplicate address detection\n  \t-\tNeighbor Unreachability Detection\n\t- MLD v1, v2\n\t- SLAAC\n\t- VRRP v3\n * Flow accounting via IPFIX/Netflow v9\n * QoS and HQoS\n\n## BRAS/BNG - Broadband Remote Access Server  \n\n * IPoE L2/L3 connected subscribers\n * full support for IPv6\n * PPPoE subscribers\n * VRRP - enables redundancy and active-active BNG mode\n * IPoE - VLAN per subscriber with IP unnumbered support\n * QOS: Policing (Token bucket filter with extended burst value)\n * HQoS: shaping, WRR, RED\n * DHCP relay\n * DHCP server\n * DHCP option82 rewrite function\n * Redirect subscribers traffic based on multiple routing tables and PBR\n * Radius/CoA\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/bras/subsriber_management_eng.md\"\u003eBRAS documentation\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/bras/bras_howto_eng.md\"\u003eBRAS howto\u003c/a\u003e\n\n## PPPoE\n\nPPPoE server supports:\n  \n * IPv4 and IPv6\n * RADIUS authorization (PAP and CHAP)\n * RADIUS accounting\n * CoA\n * QOS: Policing (Token bucket filter with extended burst value)\n * HQoS: shaping, WRR, RED\n * TCP MSS Fix/Clumping\n * Redirect subscribers traffic based on multiple routing tables and PBR\n * Full RFC-compliant support PPPoE, LCP, IPCP, PAP, CHAP\n * Up to 60000 concurrent PPPoE subscribers\n * Local address/prefix pools\n\nConfiguration\n\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/conf_options2.md#pppoe-subscribers\"\u003ePPPoE configuration options\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/bras/pppoe_bras_howto_eng.md\"\u003ePPPoE BRAS howto\u003c/a\u003e\n\n## Performance tests\n\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/routing_perf_tests.md\"\u003eRouting performance evaluation tests\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/source_nat.md\"\u003eNAT performance benchmarks\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/pppoe_perf_tests.md\"\u003ePPPoE performance test\u003c/a\u003e\n\n## Install\n\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/debian_install.md\"\u003eUbuntu Install\u003c/a\u003e\n\n## Configuration\n\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/conf_options2.md\"\u003eConfiguration\u003c/a\u003e\n\n## Use cases\n\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/source_nat.md\"\u003eSource NAT\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/border_bgp_service_provider_1.md\"\u003eBorder router\u003c/a\u003e\n * IPoE BNG/BRAS \u003ca href=\"https://github.com/alexk99/the_router/blob/master/bras/bras_howto_eng.md\"\u003ehowto\u003c/a\u003e, \n \u003ca href=\"https://github.com/alexk99/the_router/blob/master/bras/subsriber_management_eng.md\"\u003edocs\u003c/a\u003e\n * PPPoE BNG/BRAS \u003ca href=\"https://github.com/alexk99/the_router/blob/master/bras/pppoe_bras_howto_eng.md\"\u003ehowto\u003c/a\u003e\n\n## Production cases\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/cgnat.md#pppoe-bng--cgnat\"\u003ePPPoE BRAS + CGNAT with 20k+ subscribers\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/production/bro_ant/ipv4_pppoe_bras.md\"\u003ePPPoE BRAS with 20k+ subscribers\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/production/stampede/stampede_ipv6_pppoe_bras.md\"\u003eStampede. PPPoE IPv6 BRAS\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/bizin_eng.md\"\u003eBizin. TheRouter as a core BGP router.\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/border_bgp_service_provider_1.md\"\u003eTheRouter as a BGP border router in a service provider network\u003c/a\u003e\n * \u003ca href=\"https://github.com/alexk99/the_router/blob/master/ash_pppoe_nat_isp.md\"\u003eThe first productive BRAS: PPPoE, NAT\u003c/a\u003e\n \n## Customers\n\n| \u003ca href=\"https://www.cloudbit.ch/\"\u003e\u003cimg src=\"http://therouter.net/images/customers/cloudbit_250_130.png\" /\u003e\u003c/a\u003e | \u003ca href=\"https://innofield.com/\"\u003e\u003cimg src=\"http://therouter.net/images/customers/innofield_250_130.png\" /\u003e\u003c/a\u003e | \u003ca href=\"https://interra.ru/\"\u003e\u003cimg src=\"http://therouter.net/images/customers/interra_250_130.png\" /\u003e\u003c/a\u003e |\n| -- | -- | -- |\n\n| \u003ca href=\"https://inetvl.ru\"\u003e\u003cimg src=\"http://therouter.net/images/customers/atk_logo_250_130.png\" /\u003e\u003c/a\u003e | \u003ca href=\"https://www.smbits.com.br/\"\u003e\u003cimg src=\"http://therouter.net/images/customers/smbits_250_130.png\" /\u003e\u003c/a\u003e | \u003ca href=\"http://www.stampedecom.in/\"\u003e\u003cimg src=\"http://therouter.net/images/customers/stampede.png\" /\u003e\u003c/a\u003e |\n| -- | -- | -- |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexk99%2Fthe_router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexk99%2Fthe_router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexk99%2Fthe_router/lists"}