{"id":18482277,"url":"https://github.com/ukhomeoffice/dq-connectivity-tester","last_synced_at":"2026-05-16T17:35:17.339Z","repository":{"id":145371707,"uuid":"109971531","full_name":"UKHomeOffice/dq-connectivity-tester","owner":"UKHomeOffice","description":"Simple connectivity testing tool for mocking an application to put in infrastructure tests","archived":false,"fork":false,"pushed_at":"2018-01-05T15:52:03.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-13T19:57:07.002Z","etag":null,"topics":["ami","docker","hodq","infrastructure","linux","mocking"],"latest_commit_sha":null,"homepage":null,"language":"Standard ML","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/UKHomeOffice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-11-08T12:14:19.000Z","updated_at":"2018-11-08T13:00:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc9b4774-a8ce-467d-bf8f-db9ae231d3bb","html_url":"https://github.com/UKHomeOffice/dq-connectivity-tester","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/UKHomeOffice/dq-connectivity-tester","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHomeOffice%2Fdq-connectivity-tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHomeOffice%2Fdq-connectivity-tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHomeOffice%2Fdq-connectivity-tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHomeOffice%2Fdq-connectivity-tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UKHomeOffice","download_url":"https://codeload.github.com/UKHomeOffice/dq-connectivity-tester/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UKHomeOffice%2Fdq-connectivity-tester/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017454,"owners_count":26086081,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["ami","docker","hodq","infrastructure","linux","mocking"],"created_at":"2024-11-06T12:27:41.295Z","updated_at":"2025-10-14T01:07:14.850Z","avatar_url":"https://github.com/UKHomeOffice.png","language":"Standard ML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connectivity Tester\n\n[![Docker Repository on Quay](https://quay.io/repository/ukhomeofficedigital/connectivity-tester/status)](https://quay.io/repository/ukhomeofficedigital/connectivity-tester)\n[![GitHub issues](https://img.shields.io/github/issues/ukhomeoffice/connectivity-tester.svg)](https://github.com/ukhomeoffice/connectivity-tester/issues)\n[![GitHub forks](https://img.shields.io/github/forks/ukhomeoffice/connectivity-tester.svg)](https://github.com/ukhomeoffice/connectivity-tester/network)\n[![GitHub stars](https://img.shields.io/github/stars/ukhomeoffice/connectivity-tester.svg)](https://github.com/ukhomeoffice/connectivity-tester/stargazers)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/ukhomeoffice/connectivity-tester/master/LICENSE)\n\n\nSimple app written in golang that can be used to test network connectivity, useful when mocking up an infrastructure\n\nWe've packaged it in a few ways to make running it easy and quick to get going:\n - [Native binary](https://github.com/UKHomeOffice/connectivity-tester/releases/latest) (Windows, Linux, MacOS)\n - [Docker](https://quay.io/repository/ukhomeofficedigital/connectivity-tester/status)\n - [Amazon AMIs](./packer.json)\n - Anything else you make a PR for (hint)\n - [Terraform example](./example.tf)\n\n## Usage\nIt is configured with environment variables for example:\n```\nCHECK_self=127.0.0.1:80\nCHECK_google=google.com:80\nCHECK_googletls=google.com:443\nLISTEN_http=0.0.0.0:80\nLISTEN_httpagain=0.0.0.0:8088\n```\n\nIt serves http on any port you specify to listen on, which returns a simple text result of the checks. If any of the checks fail it will return a `500` so you could write some simple healthcheck thing to assert your whole.\n\nIf you use one of the AMIs then you specify this in the [Instance User Data](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-add-user-data)\n\nAlso if you use the AMI and add a with `\"Action\": \"cloudwatch:PutMetricData\",` then you should see the results reported in AWS CloudWatch\n\n### TO DO:\n(Pull Requests welcome)\n- [ ] Windows AMI build - partial, work in [feature/packer-ansible-windows](/UKHomeOffice/connectivity-tester/tree/feature/packer-ansible-windows)\n- [ ] Example Kubernetes config\n- [x] Example Terraform config\n- [x] Mac x64 binary\n- [x] Windows x64 binary\n- [x] Linux x64 binary\n- [x] Docker Image published to quay\n- [x] CI pipeline","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukhomeoffice%2Fdq-connectivity-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukhomeoffice%2Fdq-connectivity-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukhomeoffice%2Fdq-connectivity-tester/lists"}