{"id":16939803,"url":"https://github.com/fd0/toothrotd","last_synced_at":"2025-07-19T04:02:51.169Z","repository":{"id":5760151,"uuid":"6973099","full_name":"fd0/toothrotd","owner":"fd0","description":"Daemon that listens for and logs rogue packets received (described via pcap filter expression)","archived":false,"fork":false,"pushed_at":"2012-12-05T20:10:22.000Z","size":132,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T06:10:10.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fd0.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":"2012-12-02T22:23:52.000Z","updated_at":"2024-11-28T16:30:59.000Z","dependencies_parsed_at":"2022-09-06T02:52:16.704Z","dependency_job_id":null,"html_url":"https://github.com/fd0/toothrotd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/fd0/toothrotd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftoothrotd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftoothrotd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftoothrotd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftoothrotd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fd0","download_url":"https://codeload.github.com/fd0/toothrotd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fd0%2Ftoothrotd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265886984,"owners_count":23844319,"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":[],"created_at":"2024-10-13T21:05:32.301Z","updated_at":"2025-07-19T04:02:51.141Z","avatar_url":"https://github.com/fd0.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\nThis daemon logs packets that match a bpf (libpcap) filter expression to stdout\nand syslog. It can, for example, be used to detect rogue IGMP querier devices\non the network attached to eth0 when called as follows:\n\n    # ./toothrotd -i eth0 -f \"ip and igmp and igmp[0] = 0x11 and not src 137.226.144.1\"\n\nNew connections can be logged like this:\n\n    # ./toothrotd -i eth0 -f \"tcp and tcp[tcpflags] == tcp-syn\"\n\nCompile\n=======\n\nPrerequisites:\n * libpcap-dev\n\nCompile the code by calling `make`:\n\n    $ make\n    cc -g -Wall -std=gnu99 -O2   -c -o toothrotd.o toothrotd.c\n    cc -lpcap  toothrotd.o version.h   -o toothrotd\n\n\nTrivia\n======\n\nThe name `toothrotd` is inspired by the character Herman Toothrot from the game \"Monkey Island\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd0%2Ftoothrotd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffd0%2Ftoothrotd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffd0%2Ftoothrotd/lists"}