{"id":24889105,"url":"https://github.com/timothy-liuxf/bgp_platform","last_synced_at":"2026-02-01T04:32:14.898Z","repository":{"id":187668103,"uuid":"580382128","full_name":"Timothy-Liuxf/bgp_platform","owner":"Timothy-Liuxf","description":"bgp_platform - BGP outage detection experimental platform","archived":false,"fork":false,"pushed_at":"2025-06-27T04:37:56.000Z","size":178,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T05:34:12.870Z","etag":null,"topics":["autotools","bgp-monitor","cpp","cpp17","m4","outage-analytics"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Timothy-Liuxf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-20T12:27:00.000Z","updated_at":"2025-06-27T04:37:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"865ba68c-220b-440b-848a-c5d11ab56e0a","html_url":"https://github.com/Timothy-Liuxf/bgp_platform","commit_stats":null,"previous_names":["timothy-liuxf/bgp_platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Timothy-Liuxf/bgp_platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timothy-Liuxf%2Fbgp_platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timothy-Liuxf%2Fbgp_platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timothy-Liuxf%2Fbgp_platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timothy-Liuxf%2Fbgp_platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Timothy-Liuxf","download_url":"https://codeload.github.com/Timothy-Liuxf/bgp_platform/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Timothy-Liuxf%2Fbgp_platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28967926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T03:46:10.227Z","status":"ssl_error","status_checked_at":"2026-02-01T03:46:01.693Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["autotools","bgp-monitor","cpp","cpp17","m4","outage-analytics"],"created_at":"2025-02-01T16:17:17.274Z","updated_at":"2026-02-01T04:32:14.883Z","avatar_url":"https://github.com/Timothy-Liuxf.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bgp_platform\n\nbgp_platform - BGP outage detection experimental platform\n\nOrigin Repo: \u003chttps://github.com/Timothy-Liuxf/bgp_platform\u003e\n\n## How to Build\n\n### Prerequisites\n\n+ Linux operating system\n+ C++ compiler which supports C++17\n+ GNU Autoconf and GNU Automake\n+ `libpq` and `libpqxx-6.4`\n+ `bgpdump`\n+ Python 3 with PyTorch\n\nor\n\n+ Docker\n\n### Clone this repository\n\n```bash\n$ git clone --recursive https://github.com/Timothy-Liuxf/bgp_platform.git\n$ cd bgp_platform\n```\n\nor\n\n```bash\n$ git clone https://github.com/Timothy-Liuxf/bgp_platform.git\n$ cd bgp_platform\n$ git submodule update --init --recursive\n```\n\n### Build with Docker (Recommended)\n\n#### Build base image\n\n```bash\n$ docker build . -f Dockerfile.base -t \u003cbase image name\u003e\n```\n\n#### Build target image\n\n1. Open `Dockerfile`:\n\n  ```Dockerfile\n  FROM timothyliuxf/bgp_platform_base AS builder\n  ```\n\n  Then change `timothyliuxf/bgp_platform_base` to `\u003cbase image name\u003e` you set in the previous step.\n\n2. Build the target image:\n\n  ```bash\n  $ docker build . -t \u003ctarget image name\u003e\n  ```\n\n### Build on a local machine\n\n#### Configure build system\n\n```bash\n# Requires GNU Autoconf and GNU Automake\n\n$ autoreconf -i\n$ [ENV=VAL] ./configure\n```\n\nThe `ENV` and `VAL` can be:\n\n+ `BUILD_CONFIG`: Choose configuration.\n  + `Debug` / `debug`: Debug configuration.\n  + `Release` / `release` (default): Release configuration.\n+ `CXX`: The C++ compiler to use. The default value is `g++`.\n\n#### Build the target\n\n```bash\n$ make -j$(nproc)\n```\n\n## How to Run\n\n### Setup Database\n\nSetup a [PostgreSQL](https://www.postgresql.org/) server.\n\n### Configuration\n\nWrite configurations in `config/config.json`. Take [`config/examples/config.json`](config/examples/config.json) for an example.\n\n### Run the program\n\n#### Run with docker\n\n+ Mount the directory where the `config.json` is located to `/app/config`.\n+ Mount the directory where the initalization information files are located to `/app/info`.\n+ Mount the directory where the data files are located to `/app/data`.\n\nTake [`scripts/launch_docker.sh`](scripts/launch_docker.sh) for an example.\n\n#### Run on a local machine\n\n```bash\n$ ./build/bin/bgp_platform [options]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothy-liuxf%2Fbgp_platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothy-liuxf%2Fbgp_platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothy-liuxf%2Fbgp_platform/lists"}