{"id":18423795,"url":"https://github.com/realaravinth/ids-matrix","last_synced_at":"2025-04-13T16:16:11.309Z","repository":{"id":105008613,"uuid":"273922014","full_name":"realaravinth/ids-matrix","owner":"realaravinth","description":"An Intrusion Detection System built on top of matrix ","archived":false,"fork":false,"pushed_at":"2022-03-10T16:04:29.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T16:16:02.754Z","etag":null,"topics":["intrusion-detection-system","matrix-org","pam-authentication","pam-module","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realaravinth.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-06-21T14:36:30.000Z","updated_at":"2022-03-10T16:04:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"51b7f96f-88fe-4f3d-ae75-8c114028b0e6","html_url":"https://github.com/realaravinth/ids-matrix","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realaravinth%2Fids-matrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realaravinth%2Fids-matrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realaravinth%2Fids-matrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realaravinth%2Fids-matrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realaravinth","download_url":"https://codeload.github.com/realaravinth/ids-matrix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741194,"owners_count":21154255,"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":["intrusion-detection-system","matrix-org","pam-authentication","pam-module","rust-lang"],"created_at":"2024-11-06T04:38:44.104Z","updated_at":"2025-04-13T16:16:11.291Z","avatar_url":"https://github.com/realaravinth.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/realaravinth/ids-matrix.svg?branch=master)](https://travis-ci.com/realaravinth/ids-matrix)\n[![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)\n[![dependency status](https://deps.rs/repo/github/realaravinth/ids-matrix/status.svg?style=flat-square)](https://deps.rs/repo/github/realaravinth/ids-matrix)\n\n# ids-matrix\nA lightweight Intrusion Detection System built on top of matrix\n\u003cbr\u003e\u003cbr\u003e\n**WARNING: `realaravinth/ids-matrix` comes with ABSOLUTELY NO WARRANY, to the extent permitted by applicable law.**\n\u003cbr\u003e\u003cbr\u003e\nThe instructions provided here are for the Debian(Buster) GNU/Linux, however it can be modified to work with other distrubtions as well.\nIt uses `pam_exec` to collect login information so kindly refer to your distribution's guide if this guide doesn't work.\n\n## Table of contents:\n\n- [Dependencies:](#dependencies)\n- [How to compile](#how-to-compile)\n- [Installation](#installation)\n- [Contributions](#contributions)\n\n## Dependencies\n\n  * libpam-modules\n  * coreutils(uses `date` and `uname`)[optional]\n  * net-tools(uses `hostname`)[optional]\u003cbr\u003e\n  * rust(to compile)\n  *optional: you can remove parts of the code if you wish to not to install the optional dependencies*\n\n## How to compile\n\n  1. `cd` into source directory\n  2. edit src/main.rs and fill\n    * `server`: url of your matrix server\n    * `access_token`: access token of your matrix account(create new one with least priveleges)\n    * `room_id`: room ID of the room where you want to publish the updates\n  3. `cargo build --release`\n    This compiles the program and places the binary in `target/release` directory\n\n## Installation\n  \n  1. Place `ids-matrix` binary in `/usr/local/bin` of your server\n  2. Append the following to `/etc/pam.d/sshd`(always take backup of the original config):\u003cbr\u003e\n    `session optional pam_exec.so /usr/local/bin/ids-matrix`\n    \n## Contributions\nYes please! Fork this repo and send in PRs, I'll be happy to review and merge them!  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealaravinth%2Fids-matrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealaravinth%2Fids-matrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealaravinth%2Fids-matrix/lists"}