{"id":25936084,"url":"https://github.com/jojiiofficial/iptables-log-parser","last_synced_at":"2025-09-12T12:45:22.913Z","repository":{"id":57544899,"uuid":"217532972","full_name":"JojiiOfficial/Iptables-log-parser","owner":"JojiiOfficial","description":"A parser for logs generated by iptables and Tripwire","archived":false,"fork":false,"pushed_at":"2019-12-15T22:41:45.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T03:14:01.168Z","etag":null,"topics":["golang-library","iptables","iptables-logs","parser-library"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JojiiOfficial.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":"2019-10-25T12:52:05.000Z","updated_at":"2022-05-16T02:02:48.000Z","dependencies_parsed_at":"2022-08-27T04:21:58.841Z","dependency_job_id":null,"html_url":"https://github.com/JojiiOfficial/Iptables-log-parser","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/JojiiOfficial%2FIptables-log-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JojiiOfficial%2FIptables-log-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JojiiOfficial%2FIptables-log-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JojiiOfficial%2FIptables-log-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JojiiOfficial","download_url":"https://codeload.github.com/JojiiOfficial/Iptables-log-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241768273,"owners_count":20017129,"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":["golang-library","iptables","iptables-logs","parser-library"],"created_at":"2025-03-04T01:50:05.096Z","updated_at":"2025-03-04T01:50:06.235Z","avatar_url":"https://github.com/JojiiOfficial.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iptables-log-parser\nThis is a parser for logs generated by [iptables](https://wiki.archlinux.org/index.php/Iptables) and [Tripwire](https://github.com/JojiiOfficial/Tripwire).\nYou can use it if you want to process your logs eg. from incommnig connection attempts.\n\n# Install\n\n```\ngo get github.com/JojiiOfficial/Iptables-log-parser\n```\n\n# Examples\n\nReading the file (\"/var/log/Tripwire21\") line by line, parse it and use it as LogEntry object.\n```Go\nerr := ParseFileByLines(\"/var/log/Tripwire21\", func(log *LogEntry) {\n  //This callback gets fired for each logEntry in the given file\n  fmt.Println(log)\n})\nif err != nil {\n  panic(err)\n}\n```\n...or use an array\n```Go\nlogs, err := ParseFile(\"/var/log/Tripwire21\")\nif err != nil {\n  panic(err)\n}\nfor _, log := range logs {\n  fmt.Println(log)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojiiofficial%2Fiptables-log-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjojiiofficial%2Fiptables-log-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjojiiofficial%2Fiptables-log-parser/lists"}