{"id":37091101,"url":"https://github.com/phylocko/snmpflapd","last_synced_at":"2026-01-14T11:02:19.280Z","repository":{"id":56777481,"uuid":"247084854","full_name":"phylocko/snmpflapd","owner":"phylocko","description":"High performance daemon that receives SNMP Link UP/DOWN traps and stores them to MySQL","archived":false,"fork":false,"pushed_at":"2023-03-07T10:23:37.000Z","size":51,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T11:16:34.510Z","etag":null,"topics":["monitoring","network","server","snmp"],"latest_commit_sha":null,"homepage":"https://flapmyport.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phylocko.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":"2020-03-13T14:02:52.000Z","updated_at":"2023-08-16T04:01:15.000Z","dependencies_parsed_at":"2024-06-19T11:15:15.205Z","dependency_job_id":"61ce5f89-73bc-4b14-af4d-f1c32e015f12","html_url":"https://github.com/phylocko/snmpflapd","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"ac387199a6442d58543eddbe0ad84f535f26cca0"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/phylocko/snmpflapd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylocko%2Fsnmpflapd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylocko%2Fsnmpflapd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylocko%2Fsnmpflapd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylocko%2Fsnmpflapd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phylocko","download_url":"https://codeload.github.com/phylocko/snmpflapd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phylocko%2Fsnmpflapd/sbom","scorecard":{"id":732807,"data":{"date":"2025-08-11","repo":{"name":"github.com/phylocko/snmpflapd","commit":"ac387199a6442d58543eddbe0ad84f535f26cca0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Code-Review","score":0,"reason":"Found 0/17 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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating busybox:latest to busybox:latest@sha256:ab33eacc8251e3807b85bb6dba570e4698c3998eca6f0fc2ccb60575a563ea74","Info:   0 out of   1 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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.1.0-alpha not signed: https://api.github.com/repos/phylocko/snmpflapd/releases/94749921","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/phylocko/snmpflapd/releases/85654063","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/phylocko/snmpflapd/releases/74448034","Warn: release artifact v1.1.0-alpha does not have provenance: https://api.github.com/repos/phylocko/snmpflapd/releases/94749921","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/phylocko/snmpflapd/releases/85654063","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/phylocko/snmpflapd/releases/74448034"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 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"}},{"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"}}]},"last_synced_at":"2025-08-22T14:54:51.202Z","repository_id":56777481,"created_at":"2025-08-22T14:54:51.202Z","updated_at":"2025-08-22T14:54:51.202Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28417815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["monitoring","network","server","snmp"],"created_at":"2026-01-14T11:02:18.746Z","updated_at":"2026-01-14T11:02:19.273Z","avatar_url":"https://github.com/phylocko.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is this? #\n\nThis is a daemon that receives SNMP LinkUP/DOWN traps and strikes-back SNMP Get requests \nto find out host names, ifNames and ifAliases, storing it into MySQL.\n\n# Why you should use it? #\n\n- **Performance**. It handles traps asynchronously and will never loose one!\n- **Speed**. Host names, ifNames and ifAliases are cached to prevent unnecessary SNMP Get requests\n- **FlapMyPort**. It does well with the \u003ca href=\"http://flapmyport.com\"\u003eFlapMyPort\u003c/a\u003e monitoring system\n\n# What do you need to deploy it?\n- A linux server with a MySQL database running\n- Network devices supporting SNMPv2\n- The devices should be reachable by SNMP protocol from the server\n\n# Quick start in 3 steps #\n\n## 1. Create a DB schema\n\n```\nmysql\u003e create database snmpflapd;\n# mysql snmpflapd \u003c schema.sql\n```\n\n## 2. Create a config file\n\n**settings.conf:**\n```\nlistenAddress = \"0.0.0.0\"\nlistenPort = 162\ndbHost = \"localhost\"\ndbName = \"snmpflapd\"\ndbUser = \"root\"\ndbPassword = \"\"\ncommunity = \"public\"\nlogFilename = \"/var/log/snmpflapd.log\"\n```\n\n\u003e settings.conf is optional. You may use environment variables instaed\n\u003e Available environment variables are\n\u003e LISTEN_ADDRESS, LISTEN_PORT, DBHOST, DBNAME, DBUSER, DBPASSWORD, COMMUNITY, LOGFILE\n\n## 3. Run snmpflapd\n```\n\u003e ./snmpflapd -f settings.conf\n```\nCheck your log file for errors.\n\n# How to build #\n\nUse `build.sh` instead of `go build`!\n\nIf you wish to make a build for a Linux 64-bit machine:\n\n```\nGOOS=linux GOARCH=amd64 ./build.sh\n```\n\n---\n*And may a stable network be with you!*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphylocko%2Fsnmpflapd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphylocko%2Fsnmpflapd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphylocko%2Fsnmpflapd/lists"}