{"id":17122674,"url":"https://github.com/rye/amalgam","last_synced_at":"2026-01-18T11:42:39.582Z","repository":{"id":70723676,"uuid":"146779245","full_name":"rye/amalgam","owner":"rye","description":"An ultralight firewall configurator that naïvely bans stupid SSH clients","archived":false,"fork":false,"pushed_at":"2020-01-06T18:59:52.000Z","size":61,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T08:39:21.431Z","etag":null,"topics":["iptables"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-08-30T16:51:08.000Z","updated_at":"2020-10-27T14:58:36.000Z","dependencies_parsed_at":"2023-02-22T13:31:15.159Z","dependency_job_id":null,"html_url":"https://github.com/rye/amalgam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rye%2Famalgam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rye%2Famalgam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rye%2Famalgam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rye%2Famalgam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rye","download_url":"https://codeload.github.com/rye/amalgam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247425575,"owners_count":20936977,"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","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":["iptables"],"created_at":"2024-10-14T18:23:33.015Z","updated_at":"2026-01-18T11:42:39.531Z","avatar_url":"https://github.com/rye.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amalgam\n\n`amalgam` is my answer to Fail2Ban.  I make no claims about whether or\nnot `amalgam` is better\u0026mdash;in fact, I'll readily say it's certainly\nnot.  But `amalgam` is something similar to what I have always wanted\nfor a firewall.  `amalgam` aims to be\n\n- _streaming_, reading inputs from standard input and standard output,\n- _composable_, allowing different formations of `amalgam` instances\n  to co-operate on tasks, and\n- _configurable_ to the fullest extent necessary.\n\n## (Prototype) Usage\n\nThe prototype script, `amalgam.bash` (which is symlinked by the file\ncalled `amalgam` at the tree root) should be run with `sudo` on a\nsystem with `rg` (ripgrep), and the `iptables` and `ipset` userspace\nutilities, and on a system that has authentication logs available in\nthe `sshd` journald unit (more on this below).\n\nUse this script as follows:\n\n```console\n$ sudo ./amalgam\n```\n\nThat's it.\n\n## v1 (Rust)\n\nStarting in late 2019, I'm working on a Rust version of `amalgam` to\nactually satisfy the stated goals of this project.\n\nUsing `serde_json` and lots of Rusty tricks, `amalgam` hopes to\neventually move forward as a standalone utility.\n\nEventually, the usage will look more like this:\n\n```console\n$ journalctl -u sshd -o json | amalgam -i- --input-format journalctl-json -c config.yml\n```\n\nThis is, of course, a work in progress until this new syntax has been\nestablished.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frye%2Famalgam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frye%2Famalgam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frye%2Famalgam/lists"}