{"id":24973039,"url":"https://github.com/knneth/symrouted","last_synced_at":"2026-04-28T08:36:42.201Z","repository":{"id":85636102,"uuid":"140331657","full_name":"knneth/symrouted","owner":"knneth","description":"Symmetric Routing Daemon","archived":false,"fork":false,"pushed_at":"2024-07-03T14:17:14.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-15T03:45:31.150Z","etag":null,"topics":["linux","multihoming","networking","server"],"latest_commit_sha":null,"homepage":null,"language":"C++","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/knneth.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":"2018-07-09T19:17:19.000Z","updated_at":"2024-07-12T18:43:45.000Z","dependencies_parsed_at":"2025-03-29T06:11:21.690Z","dependency_job_id":"a668eb06-0bfa-45df-a2c8-23a98d303248","html_url":"https://github.com/knneth/symrouted","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/knneth/symrouted","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knneth%2Fsymrouted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knneth%2Fsymrouted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knneth%2Fsymrouted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knneth%2Fsymrouted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knneth","download_url":"https://codeload.github.com/knneth/symrouted/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knneth%2Fsymrouted/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32373512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["linux","multihoming","networking","server"],"created_at":"2025-02-03T18:19:57.403Z","updated_at":"2026-04-28T08:36:42.192Z","avatar_url":"https://github.com/knneth.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Symmetric Routing Daemon\n\nThe `symrouted` program mirrors the global routing table into per-interface routing tables. It utilizes policy-based routing to steer packets from an IP address on interface N to the routing table for interface N. Unlike manually configured rules, it doesn't require configuration and works with DHCP-assigned addresses.\n\nSome of the usage scenarios:\n- Prevent traffic mixing across Data/Management or Red/Blue networks\n- Load balancing a service across two or more interfaces\n\n## Installation\n\nThe daemon should work on most Linux platforms, but the tested platforms are CentOS/RHEL 7/8/9 and Ubuntu 24.04.\n\n### On Ubuntu or Debian\n\n1. Build the package\n```shell\ndpkg-buildpackage -us -uc\n```\n\n2. Install the package\n```shell\nsudo apt install ../symrouted_*.deb\n```\n\n3. Verify that the process is running\n```shell\nsystemctl status -n 50 symrouted\n```\n\n### On CentOS, Red Hat or other RPM-based distributions:\n1. Build the package\n```shell\n./buildrpm.sh\n```\n\n2. Install the package\n```shell\nsudo rpm -i ~/rpmbuild/RPMS/x86_64/symrouted-1.0-1.el7.x86_64.rpm\n```\n\n3. Activate and enable `symrouted`:\n```shell\nsudo systemctl start symrouted\nsudo systemctl enable symrouted\n```\n\n4. Verify that the process is running\n```shell\nsystemctl status -n 50 symrouted\n```\n\n## Behind the Scenes\n\nConsider a global routing table for two interfaces where each has a default gateway:\n```shell\n$ ip route\ndefault via 10.0.0.1 dev em1 proto static metric 105\ndefault via 192.168.0.1 dev em2 proto static metric 106\n10.0.0.0/16 dev em1 proto kernel scope link src 10.0.0.2 metric 105\n192.168.0.0/24 dev em2 proto kernel scope link src 192.168.0.2 metric 106\n```\n\nWhen `symrouted` is running, a rule for each interface address on the system will steer packets into per-interface routing tables:\n```shell\n$ ip rule\n0:\tfrom all lookup local \n32764:\tfrom 10.0.0.2 lookup 1002\n32765:\tfrom 192.168.0.2 lookup 1003\n32766:\tfrom all lookup main \n32767:\tfrom all lookup default\n$ ip route show table 1002\ndefault via 10.0.0.1 dev em1 proto static metric 105\n10.0.0.0/16 dev em1 proto kernel scope link src 10.0.0.2 metric 105\n$ ip route show table 1003\ndefault via 192.168.0.1 dev em2 proto static metric 106\n192.168.0.0/24 dev em2 proto kernel scope link src 192.168.0.2 metric 106\n```\n\nOne potential caveat of the current implementation is that it assumes ownership of all table IDs above 1000. Please file a bug if you know this clashes with any other program.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknneth%2Fsymrouted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknneth%2Fsymrouted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknneth%2Fsymrouted/lists"}