{"id":17680777,"url":"https://github.com/bararchy/sniffer","last_synced_at":"2025-05-12T23:11:39.267Z","repository":{"id":145965191,"uuid":"127720998","full_name":"bararchy/sniffer","owner":"bararchy","description":"native socket sniffer without libpcap dependency in Crystal","archived":false,"fork":false,"pushed_at":"2018-04-02T12:09:46.000Z","size":286,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T04:32:41.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Crystal","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/bararchy.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":"2018-04-02T07:29:23.000Z","updated_at":"2024-02-28T06:01:22.000Z","dependencies_parsed_at":"2023-06-01T12:45:58.893Z","dependency_job_id":null,"html_url":"https://github.com/bararchy/sniffer","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/bararchy%2Fsniffer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bararchy%2Fsniffer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bararchy%2Fsniffer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bararchy%2Fsniffer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bararchy","download_url":"https://codeload.github.com/bararchy/sniffer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837454,"owners_count":21971984,"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-24T09:08:48.457Z","updated_at":"2025-05-12T23:11:39.236Z","avatar_url":"https://github.com/bararchy.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sniffer\n\nSniffer is a project to try and decipher network packets from the ETH level and up.  \nOne of the goals of this project is not to relay on libpcap  \n\n## Installation\n1. [Install Crystal](https://crystal-lang.org/docs/installation/)  \n\nAdd this to your application's `shard.yml`:\n\n```yaml\ndependencies:\n  sniffer:\n    github: bararchy/sniffer\n```\n\n## Usage\n\nYou have to run the code as root to allow raw sockets.  \n\nIn the root dir run `sudo crystal spec`  \n\nor \n\n```crystal\nrequire \"sniffer\"\n\nSniffer.sniff\n```\n\n\n## Development\n\n* [x] ETH Header parse  \n* [x] IP Header parse  \n* [x] TCP Header parse  \n* [x] UDP Header parse\n\n## Contributing\n\n1. Fork it ( https://github.com/bararchy/sniffer/fork )\n2. Create your feature branch (git checkout -b my-new-feature)\n3. Commit your changes (git commit -am 'Add some feature')\n4. Push to the branch (git push origin my-new-feature)\n5. Create a new Pull Request\n\n## Contributors\n\n- [bararchy](https://github.com/bararchy) Bar Hofesh - creator, maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbararchy%2Fsniffer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbararchy%2Fsniffer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbararchy%2Fsniffer/lists"}