{"id":20329507,"url":"https://github.com/raypereda/wiredog","last_synced_at":"2025-04-11T20:50:18.235Z","repository":{"id":69360481,"uuid":"184831836","full_name":"raypereda/wiredog","owner":"raypereda","description":"a terminal-based monitor of local HTTP traffic","archived":false,"fork":false,"pushed_at":"2019-06-06T20:32:27.000Z","size":5275,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T16:51:30.253Z","etag":null,"topics":["go","http","monitoring-tool","packet-sniffer","sniffer","terminal-based"],"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/raypereda.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":"2019-05-03T23:29:54.000Z","updated_at":"2023-03-17T12:16:26.000Z","dependencies_parsed_at":"2023-02-27T11:30:33.055Z","dependency_job_id":null,"html_url":"https://github.com/raypereda/wiredog","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raypereda%2Fwiredog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raypereda%2Fwiredog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raypereda%2Fwiredog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raypereda%2Fwiredog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raypereda","download_url":"https://codeload.github.com/raypereda/wiredog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480513,"owners_count":21110936,"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":["go","http","monitoring-tool","packet-sniffer","sniffer","terminal-based"],"created_at":"2024-11-14T20:11:24.752Z","updated_at":"2025-04-11T20:50:18.204Z","avatar_url":"https://github.com/raypereda.png","language":"Go","readme":"# wiredog\n\nWiredog monitors the local HTTP traffic by scanning the \nnetwork packets. All network interfaces are monitored.\nAt least one active interface is needed.\n\nWhen the requests rate for a given period exceeds a \nthreshold, an alert message is displayed. The top 10 \nwebsite sections ordered by number of requests are displayed. \n\nWorking and tested on Linux. OSX and Windows support is planned.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"wiredog-demo.gif\" width=\"800\"\u003e\n\u003c/p\u003e\n\n```\n$ wiredog -help\n\nWiredog is a tool for monitoring network traffic.\n\nOnly local HTTP requests are studied.\nAdministrator permission is required to access network devices.\nConsider using sudo on Linux or get admin rights on Windows.\n\nUsage: sudo \\path\\to\\wiredog [flags]\n\n  -assembly_debug_log\n    \tIf true, the github.com/google/gopacket/tcpassembly library will log verbose debugging information (at least one line per packet)\n  -assembly_memuse_log\n    \tIf true, the github.com/google/gopacket/tcpassembly library will log information regarding its memory use every once in a while.\n  -d string\n    \tnetwork device name (default \"wlp2s0\")\n  -h int\n    \tthreshold of HTTP request hits (default 2)\n  -log string\n    \tlog directory (default \".\")\n  -p duration\n    \ttime period between traffic checks (default 2m0s)\n  -t\tgenerates test HTTP requests; sets h=2 and p=2s\n\n\n```\n\n## Built With (from go.mod file)\n```\nGo 1.12\n\ncode.cloudfoundry.org/clock v0.0.0-20180518195852-02e53af36e6c\ngithub.com/gizak/termui v2.3.0+incompatible // indirect\ngithub.com/gizak/termui/v3 v3.0.0\ngithub.com/google/gopacket v1.1.16\ngithub.com/maruel/panicparse v1.1.1 // indirect\ngithub.com/mattn/go-runewidth v0.0.4 // indirect\ngithub.com/mdlayher/raw v0.0.0-20190419142535-64193704e472 // indirect\ngithub.com/mitchellh/go-wordwrap v1.0.0 // indirect\ngithub.com/nsf/termbox-go v0.0.0-20190325093121-288510b9734e // indirect\ngithub.com/onsi/ginkgo v1.8.0 // indirect\ngithub.com/onsi/gomega v1.5.0 // indirect\ngithub.com/pkg/errors v0.8.1\ngithub.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc // indirect\n```\n\n## Thanks\n\ngopacket and termui are cool Go packages. And of course, the Go programming language is beautiful.\n\n## Useful links\n\nhttps://www.devdungeon.com/content/packet-capture-injection-and-analysis-gopacket\n\nhttps://medium.com/@cjoudrey/capturing-http-packets-the-hard-way-b9c799bfb6\n\nhttps://stackoverflow.com/questions/21145781/how-do-you-use-the-tcp-assembly-package-in-gopacket\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraypereda%2Fwiredog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraypereda%2Fwiredog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraypereda%2Fwiredog/lists"}