{"id":16923437,"url":"https://github.com/dennisoelkers/keil","last_synced_at":"2025-04-13T02:04:01.274Z","repository":{"id":57631051,"uuid":"82790214","full_name":"dennisoelkers/keil","owner":"dennisoelkers","description":"Logging from pflog interface to GELF","archived":false,"fork":false,"pushed_at":"2023-12-08T19:07:40.000Z","size":21,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-14T19:59:00.850Z","etag":null,"topics":["firewall","gelf","graylog","logging","packets","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dennisoelkers.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}},"created_at":"2017-02-22T10:10:35.000Z","updated_at":"2023-05-12T16:46:35.000Z","dependencies_parsed_at":"2022-09-16T01:11:36.979Z","dependency_job_id":null,"html_url":"https://github.com/dennisoelkers/keil","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/dennisoelkers%2Fkeil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisoelkers%2Fkeil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisoelkers%2Fkeil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisoelkers%2Fkeil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennisoelkers","download_url":"https://codeload.github.com/dennisoelkers/keil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226445471,"owners_count":17626231,"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":["firewall","gelf","graylog","logging","packets","security"],"created_at":"2024-10-13T19:59:05.049Z","updated_at":"2024-11-26T05:21:24.397Z","avatar_url":"https://github.com/dennisoelkers.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keil\nLogging from pflog interface to GELF. Use it if you want a lightweight way to log all packets from pf on FreeBSD or OpenBSD to [Graylog](https://www.graylog.org).\n\n## Compilation\n\n  * Checkout the repository\n  * Install the [glide package manager](https://glide.sh)\n  * Run `make` in the checked out repository\n  \n## Syntax\n\n```\nusage: keil [\u003cflags\u003e] \u003csource\u003e\n\nFlags:\n      --help              Show context-sensitive help (also try --help-long and --help-man).\n  -f, --file              Read from file instead of device\n  -P, --promisc           Defines if interface is flagged promiscous\n  -h, --host=\"localhost\"  Hostname of Graylog server\n  -p, --port=12201        Port of Graylog Server\n      --facility=\"pflog\"  The facility identifier used for logging\n\nArgs:\n  \u003csource\u003e  Name of device/filename to read from\n```\n\n## Usage\n\nThe easiest way to use it would be to ron the `keil` binary with only the interface name it should capture packets from as an argument, like `keil pflog0`. This way it would use the default settings and log all GELF packets to `localhost:12201`.\n\nIf you want to change the destination host/port, log from a (pcap) file instead of an interface, switch the interface to promiscuous or change the facility used for logging, refer to the syntax.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisoelkers%2Fkeil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennisoelkers%2Fkeil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisoelkers%2Fkeil/lists"}