{"id":37099780,"url":"https://github.com/pforemski/entropy-clustering","last_synced_at":"2026-01-14T12:10:12.678Z","repository":{"id":57572881,"uuid":"148155122","full_name":"pforemski/entropy-clustering","owner":"pforemski","description":"Entropy clustering of IPv6 networks, see https://ipv6hitlist.github.io/","archived":false,"fork":false,"pushed_at":"2018-09-24T13:22:38.000Z","size":30,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T12:40:58.960Z","etag":null,"topics":["ipv6","kmeans","security"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pforemski.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":"2018-09-10T12:54:43.000Z","updated_at":"2024-04-13T09:16:21.000Z","dependencies_parsed_at":"2022-09-19T03:01:00.401Z","dependency_job_id":null,"html_url":"https://github.com/pforemski/entropy-clustering","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/pforemski/entropy-clustering","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforemski%2Fentropy-clustering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforemski%2Fentropy-clustering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforemski%2Fentropy-clustering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforemski%2Fentropy-clustering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pforemski","download_url":"https://codeload.github.com/pforemski/entropy-clustering/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pforemski%2Fentropy-clustering/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419550,"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":["ipv6","kmeans","security"],"created_at":"2026-01-14T12:10:12.193Z","updated_at":"2026-01-14T12:10:12.673Z","avatar_url":"https://github.com/pforemski.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ENTROPY CLUSTERING\n\nImplementation of the Entropy Clustering algorithm for IPv6 networks, introduced in the ACM IMC'18 conference paper:\n\n\u003e [Clusters in the Expanse: Understanding and Unbiasing IPv6 Hitlists](https://ipv6hitlist.github.io/), *Oliver Gasser, Quirin Scheitle, Paweł Foremski, Qasim Lone, Maciej Korczyński, Stephen D. Strowes, Luuk Hendriks, Georg Carle*, ACM Internet Measurement Conference 2018, Boston, MA, USA\n\nSee [ipv6hitlist.github.io](https://ipv6hitlist.github.io/) for more details and output examples, as the one below:\n\n![entropy clustering example](https://ipv6hitlist.github.io/eip/clusters-all-full-slash32-crop.png)\n\n# PREREQUISITES\n\nInstall [Go](https://www.golang.org/) and the required packages:\n```\ngo get github.com/pforemski/gouda/...\ngo get github.com/fatih/color\n```\n\nAlso, if you want to plot the results using this code, install Matplotlib, e.g.\n```\nsudo apt-get install python-matplotlib\n```\n\n# USAGE\n\n1. Compile.\n```\nmake\n```\n2. Convert list of IPv6 addresses into a list of entropy profiles:\n```\ncat ips.txt | ./profiles \u003e profiles.txt\n```\n3. Find entropy clusters using k-means, e.g. for k=6:\n```\ncat profiles.txt | ./clusters -kmeans -k 6 \u003e clusters.txt\n```\n4. Finally, plot the results:\n```\ncat clusters.txt | ./plot-clusters.py\n```\n\n# AUTHOR\nWritten by Paweł Foremski, [@pforemski](https://twitter.com/pforemski), 2018.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforemski%2Fentropy-clustering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpforemski%2Fentropy-clustering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpforemski%2Fentropy-clustering/lists"}