{"id":26742248,"url":"https://github.com/assaf-r/aisir","last_synced_at":"2026-04-01T17:17:55.217Z","repository":{"id":263513676,"uuid":"890320154","full_name":"Assaf-R/aisir","owner":"Assaf-R","description":"Named after the beautiful loch Aisir in northen Scotland, Aisir is an Ebpf based tool that logs and filters connection to remote IP addresses","archived":false,"fork":false,"pushed_at":"2025-03-27T14:12:13.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T17:49:06.484Z","etag":null,"topics":["ebpf","ebpf-programs","firewall","linux","security","security-tools"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Assaf-R.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,"zenodo":null}},"created_at":"2024-11-18T11:22:06.000Z","updated_at":"2025-03-27T14:12:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d68c411-0c07-4bae-bf31-8d3feb090ada","html_url":"https://github.com/Assaf-R/aisir","commit_stats":null,"previous_names":["assaf-r/aisir"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Assaf-R/aisir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assaf-R%2Faisir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assaf-R%2Faisir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assaf-R%2Faisir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assaf-R%2Faisir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Assaf-R","download_url":"https://codeload.github.com/Assaf-R/aisir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Assaf-R%2Faisir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31027752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T04:58:43.976Z","status":"ssl_error","status_checked_at":"2026-03-27T04:58:17.966Z","response_time":164,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["ebpf","ebpf-programs","firewall","linux","security","security-tools"],"created_at":"2025-03-28T06:17:13.787Z","updated_at":"2026-03-27T06:02:36.531Z","avatar_url":"https://github.com/Assaf-R.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Aisir\nNamed after the beautiful loch Aisir in northen Scotland, Aisir is an eBpf based tool that logs and filters connection to remote IP addresses\n\n### How does this work?\nThe python program - **aisir.py** - loads the bpf c program - **aisir_bpf.c** - and hooks the connect syscall with a kprobe.\nThe eBpf program checks if a connection to the remote IP is allowed. in the ip_list.txt file.\nThe results are logged to /var/log/loch/aisirX.log\n\n### How to run\n***RUN AS ROOT*** \\\nYou need to run the program with either the **-w** or **-b** flags, To determine if your firewall wil work based on a whitelist or blacklist.\nIf you chose whitelist only connections to addresses in the list will be allowed, and if you chose blacklist they will be dropped\n\n***notes***\n- The ip_list.txt needs to be in the same dir with the programs\n- The ip_list.txt file needs to include only valid ip addresses","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassaf-r%2Faisir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fassaf-r%2Faisir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fassaf-r%2Faisir/lists"}