{"id":19293183,"url":"https://github.com/jweyrich/babysniff","last_synced_at":"2025-04-22T07:32:04.011Z","repository":{"id":137208395,"uuid":"64515671","full_name":"jweyrich/babysniff","owner":"jweyrich","description":"👶🏻😿 A network sniffer for Linux and macOS that currently (only) parses ETH, ARP, IP, ICMP, TCP, UDP, DNS - NOT for production!","archived":false,"fork":false,"pushed_at":"2024-12-25T20:26:49.000Z","size":225,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T20:41:35.440Z","etag":null,"topics":["arp","c","dns","dnssec","ethernet","icmp","ip","linux","macosx","network-analysis","network-monitoring","network-security","raw-sockets","sniffer","tcp","udp"],"latest_commit_sha":null,"homepage":"","language":"C","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/jweyrich.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":"2016-07-29T23:19:59.000Z","updated_at":"2025-02-08T19:27:12.000Z","dependencies_parsed_at":"2024-01-28T21:31:03.733Z","dependency_job_id":"da38ca65-e27d-4599-a03e-e706c5f0fdea","html_url":"https://github.com/jweyrich/babysniff","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/jweyrich%2Fbabysniff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweyrich%2Fbabysniff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweyrich%2Fbabysniff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jweyrich%2Fbabysniff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jweyrich","download_url":"https://codeload.github.com/jweyrich/babysniff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250195042,"owners_count":21390230,"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":["arp","c","dns","dnssec","ethernet","icmp","ip","linux","macosx","network-analysis","network-monitoring","network-security","raw-sockets","sniffer","tcp","udp"],"created_at":"2024-11-09T22:34:15.776Z","updated_at":"2025-04-22T07:32:04.004Z","avatar_url":"https://github.com/jweyrich.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# babysniff\n\nA simple network sniffer for Linux and macOS written from scratch without any libraries.\n\nIt's a toy tool that I created to learn more about network protocols. It's rudimentary when compared to tcpdump or wireshark.\n\n## Supported protocols\n\nLayer 2\n- ETH\n- ARP\n\nLayer 3\n- ICMP\n- IP\n\nLayer 4\n- TCP\n- UDP\n\nLayer 7\n- DNS (wip on EDNS0)\n\n## How to build\n\n```shell\ncmake .\nmake\n```\n\n## How to use\n\nThe superuser privilege is necessary because Linux and BSD systems require elevated privileges to enable the promiscuous mode in network interfaces.\n\n```shell\nsudo ./babysniff -f -i eth0 -F arp,icmp,tcp,udp\n```\n\n## Screenshots\n\n![Screenshot 1](/docs/screenshots/screenshot1.png?raw=true \"screenshot 1\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjweyrich%2Fbabysniff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjweyrich%2Fbabysniff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjweyrich%2Fbabysniff/lists"}