{"id":13820279,"url":"https://github.com/jonpulsifer/dnsmon-go","last_synced_at":"2025-08-23T05:33:04.062Z","repository":{"id":40350618,"uuid":"95320338","full_name":"jonpulsifer/dnsmon-go","owner":"jonpulsifer","description":"A golang DNS monitor inspired by https://github.com/gamelinux/passivedns","archived":false,"fork":false,"pushed_at":"2025-08-10T13:26:09.000Z","size":6641,"stargazers_count":30,"open_issues_count":4,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-10T15:31:35.901Z","etag":null,"topics":["dns","golang","gopacket","monitoring","prometheus","security","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jonpulsifer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2017-06-24T20:13:07.000Z","updated_at":"2025-07-15T08:22:55.000Z","dependencies_parsed_at":"2023-12-06T20:32:04.678Z","dependency_job_id":"a3789543-cb50-4b80-ac41-76319cf143ee","html_url":"https://github.com/jonpulsifer/dnsmon-go","commit_stats":{"total_commits":43,"total_committers":5,"mean_commits":8.6,"dds":0.5116279069767442,"last_synced_commit":"e4f63b24fa4ab60ed0c797222874eac541af3caf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonpulsifer/dnsmon-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonpulsifer%2Fdnsmon-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonpulsifer%2Fdnsmon-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonpulsifer%2Fdnsmon-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonpulsifer%2Fdnsmon-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonpulsifer","download_url":"https://codeload.github.com/jonpulsifer/dnsmon-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonpulsifer%2Fdnsmon-go/sbom","scorecard":{"id":531447,"data":{"date":"2025-08-11","repo":{"name":"github.com/jonpulsifer/dnsmon-go","commit":"099ec7b42b4d4e369f3145348529a0fed8ecf5eb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/dnsmon-go.yml:1","Warn: no topLevel permission defined: .github/workflows/docker.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dnsmon-go.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/jonpulsifer/dnsmon-go/dnsmon-go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dnsmon-go.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/jonpulsifer/dnsmon-go/dnsmon-go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/docker.yml:7: update your workflow using https://app.stepsecurity.io/secureworkflow/jonpulsifer/dnsmon-go/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/jonpulsifer/dnsmon-go/docker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/docker.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/jonpulsifer/dnsmon-go/docker.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:10: pin your Docker image by updating alpine:latest to alpine:latest@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T05:50:53.488Z","repository_id":40350618,"created_at":"2025-08-20T05:50:53.488Z","updated_at":"2025-08-20T05:50:53.488Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745599,"owners_count":24813509,"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-08-23T02:00:09.327Z","response_time":69,"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":["dns","golang","gopacket","monitoring","prometheus","security","security-tools"],"created_at":"2024-08-04T08:01:00.777Z","updated_at":"2025-08-23T05:33:04.028Z","avatar_url":"https://github.com/jonpulsifer.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# dnsmon-go\n\n![dnsmon-go](https://github.com/jonpulsifer/dnsmon-go/workflows/dnsmon-go/badge.svg)\n![docker](https://github.com/jonpulsifer/dnsmon-go/workflows/docker/badge.svg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/jonpulsifer/dnsmon-go)](https://goreportcard.com/report/github.com/jonpulsifer/dnsmon-go)\n\nThis is a little program I wrote inspired by [passivedns](https://github.com/gamelinux/passivedns)\n\nIt logs all DNS packets it sees on a given interface\n\nSample output on Windows:\n\n```powershell\nINFO[0000] Prometheus endpoint: http://0.0.0.0:8080/metrics\nINFO[0000] No flags specified, using defaults            interface=\"\\Device\\NPF_{2652E425-01C4-4EB5-AE0F-0DE011B69C61}\" promiscuous=true snaplen=65536\nINFO[0000] Listening on device: \\Device\\NPF_{2652E425-01C4-4EB5-AE0F-0DE011B69C61}\nINFO[0003] QUERY                                         class=IN dst=8.8.8.8 id=19712 name=pulsifer.dev opcode=Query rcode=\"No Error\" src=192.168.2.21 type=A\nINFO[0003] QUERY                                         class=IN dst=192.168.2.21 id=19712 name=pulsifer.dev opcode=Query rcode=\"No Error\" src=8.8.8.8 type=A\nINFO[0003] ANSWER                                        class=IN dst=192.168.2.21 id=19712 ip=192.30.252.153 name=pulsifer.dev opcode=Query rcode=\"No Error\" src=8.8.8.8 type=A\nINFO[0003] ANSWER                                        class=IN dst=192.168.2.21 id=19712 ip=192.30.252.154 name=pulsifer.dev opcode=Query rcode=\"No Error\" src=8.8.8.8 type=A\n```\n\n## Grafana\n\n![grafana](https://raw.githubusercontent.com/jonpulsifer/dnsmon-go/master/images/grafana.png)\n\nA dashboard has been included to get you started using `docker-compose`.\n\n1. `docker-compose up`\n2. Navigate to `localhost:3000` and log in to Grafana using `admin:admin`\n3. Generate some DNS queries using `docker-compose exec dnsmon-go nslookup example.com`\n4. Watch the dashboard go brr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonpulsifer%2Fdnsmon-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonpulsifer%2Fdnsmon-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonpulsifer%2Fdnsmon-go/lists"}