{"id":30703283,"url":"https://github.com/blind-oracle/go-radius","last_synced_at":"2025-09-02T16:58:38.619Z","repository":{"id":40650386,"uuid":"90771444","full_name":"blind-oracle/go-radius","owner":"blind-oracle","description":"Golang RADIUS library with server/client support","archived":false,"fork":false,"pushed_at":"2022-09-21T15:40:59.000Z","size":30,"stargazers_count":35,"open_issues_count":2,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-19T00:26:31.054Z","etag":null,"topics":["coa","dm","go","golang","radius","rfc2865","rfc2866","rfc2869","rfc5176","vsa"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blind-oracle.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}},"created_at":"2017-05-09T17:08:37.000Z","updated_at":"2024-06-17T07:23:44.000Z","dependencies_parsed_at":"2022-09-06T17:51:02.438Z","dependency_job_id":null,"html_url":"https://github.com/blind-oracle/go-radius","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blind-oracle/go-radius","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blind-oracle%2Fgo-radius","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blind-oracle%2Fgo-radius/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blind-oracle%2Fgo-radius/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blind-oracle%2Fgo-radius/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blind-oracle","download_url":"https://codeload.github.com/blind-oracle/go-radius/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blind-oracle%2Fgo-radius/sbom","scorecard":{"id":243392,"data":{"date":"2025-08-11","repo":{"name":"github.com/blind-oracle/go-radius","commit":"f1edeb7fcffde36cdd7b8dd34b0b8a3b88fbc7b3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/11 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":"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":"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":"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":"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: Mozilla Public 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":"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":"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"}}]},"last_synced_at":"2025-08-17T07:02:57.809Z","repository_id":40650386,"created_at":"2025-08-17T07:02:57.809Z","updated_at":"2025-08-17T07:02:57.809Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273317756,"owners_count":25084037,"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-09-02T02:00:09.530Z","response_time":77,"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":["coa","dm","go","golang","radius","rfc2865","rfc2866","rfc2869","rfc5176","vsa"],"created_at":"2025-09-02T16:58:30.666Z","updated_at":"2025-09-02T16:58:38.599Z","avatar_url":"https://github.com/blind-oracle.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-radius\n\n[![GoDoc](https://godoc.org/github.com/blind-oracle/go-radius?status.svg)](https://godoc.org/github.com/blind-oracle/go-radius)\n[![Go Report Card](https://goreportcard.com/badge/github.com/blind-oracle/go-radius)](https://goreportcard.com/report/github.com/blind-oracle/go-radius)\n\nIt's quite heavily rewritten fork of another Go [RADIUS library](https://github.com/layeh/radius)\n\n# Be advised that this library is not actively maintained, the [upstream](https://github.com/layeh/radius) might better suit your needs\n\nSignificant changes are:\n* Common\n  * Encoding/Decoding of attribute 26 (Vendor-Specific)\n  * RFC2866 \u0026 RFC2869 (Accounting)\n\n* Server\n  * Request throttling (maximum requests per second) support\n  * Supports limiting the number of requests in processing queue\n  * Multiple RADIUS Secrets based on packet's source IP with a fallback default\n  * Request/Response packet replication (useful for logging, IDS etc)\n  * Configurable UDP buffer size\n\n* Client\n  * Lots of vendor-specific (Cisco, Juniper, Mikrotik) functions and constants\n  * Support for generating CoA/Disconnect-Message packets\n\n## Installation\n    go get -u github.com/blind-oracle/go-radius\n\n## Server example\n```go\nimport (\n    \"github.com/blind-oracle/go-radius\"\n    \"log\"\n)\n\nfunc main() {\n    handler := func (w radius.ResponseWriter, p *radius.Packet) {\n        w.AccessAccept()\n    }\n\n    server := radius.Server{\n        Addr:           \"0.0.0.0:1812\",\n        Handler:        radius.HandlerFunc(handler),\n        Secret:         []byte(o.RADIUSSecret),\n        Dictionary:     radius.Builtin,\n    }\n\n    if err := server.ListenAndServe(); err != nil {\n        log.Fatal(err)\n    }\n}\n```\n\n## Client example\n```go\nimport (\n    \"github.com/blind-oracle/go-radius\"\n    \"log\"\n)\n\nfunc main() {\n    client := radius.Client{}\n    packet := radius.New(radius.CodeAccessRequest, []byte(\"VerySecret\"))\n    packet.Add(\"Calling-Station-Id\", \"NAS-Fake\")\n\n    reply, err := client.Exchange(packet, \"1.2.3.4:1812\")\n    if err != nil {\n        log.Fatalf(err)\n    }\n\n    switch reply.Code {\n        case radius.CodeAccessAccept:\n        log.Println(\"Accept\")\n        case radius.CodeAccessReject:\n        log.Println(\"Reject\")\n    }\n}\n```\n\n## Authors\n* Tim Cooper (\u003ctim.cooper@layeh.com\u003e)\n* Igor Novgorodov (\u003cigor@novg.net\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblind-oracle%2Fgo-radius","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblind-oracle%2Fgo-radius","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblind-oracle%2Fgo-radius/lists"}