{"id":13774610,"url":"https://github.com/rpcapd-linux/rpcapd-linux","last_synced_at":"2025-05-11T06:33:24.448Z","repository":{"id":2669168,"uuid":"3660704","full_name":"rpcapd-linux/rpcapd-linux","owner":"rpcapd-linux","description":"rpcapd utility modified to compile under linux","archived":true,"fork":false,"pushed_at":"2022-12-28T10:04:22.000Z","size":733,"stargazers_count":94,"open_issues_count":5,"forks_count":29,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-17T09:39:33.301Z","etag":null,"topics":["c","network-analysis","winpcap","wireshark"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rpcapd-linux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-08T14:26:14.000Z","updated_at":"2024-08-12T19:20:49.000Z","dependencies_parsed_at":"2023-01-11T16:11:40.011Z","dependency_job_id":null,"html_url":"https://github.com/rpcapd-linux/rpcapd-linux","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/rpcapd-linux%2Frpcapd-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpcapd-linux%2Frpcapd-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpcapd-linux%2Frpcapd-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rpcapd-linux%2Frpcapd-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rpcapd-linux","download_url":"https://codeload.github.com/rpcapd-linux/rpcapd-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253528415,"owners_count":21922623,"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":["c","network-analysis","winpcap","wireshark"],"created_at":"2024-08-03T17:01:28.619Z","updated_at":"2025-05-11T06:33:23.733Z","avatar_url":"https://github.com/rpcapd-linux.png","language":"C","funding_links":[],"categories":["\u003ca id=\"7bf0f5839fb2827fdc1b93ae6ac7f53d\"\u003e\u003c/a\u003e工具","C"],"sub_categories":["\u003ca id=\"d7485f829bd85cd784ff582cbddc8624\"\u003e\u003c/a\u003e捕获\u0026\u0026Capture"],"readme":"# Update: libpcap v1.9.0 now has rpcapd\n\nAn rpcapd executable is generated in libpcap v1.9.0 and later, when compiled with the `--enable-remote` flag (`./configure --enable-remote \u0026\u0026 make`). That should be used instead of this fork.\n\n# rpcapd utility for Linux\nrpcapd is a daemon that provides remote traffic capture for Windows version of [Wireshark](http://www.wireshark.org) protocol analyzer. It is shipped with [WinPcap](http://www.winpcap.org/)  network capture library for Windows but is absent from libpcap older than 1.9.0 in Linux.\n\nThis is a fork of rpcapd modified to compile and work in Linux.\n\nIt is still quite messy and may not compile or work.\n\n## Building\nThis fork ships with a patched libpcap version found in WinPcap library.\n\nInstallation under Ubuntu Linux:\n\n    sudo apt-get build-dep libpcap\n    cd rpcapd/libpcap\n    ./configure \u0026\u0026 make\n    cd ../\n    make\n\nInstallation under Centos/Fedora/Redhat Linux:\n\nlibcrypt.a in glibc-static is broken in ,remove `-static` in Makefile\n\n     yum install -y byacc glibc-static libgcrypt-devel\n     cd rpcapd/libpcap\n     ./configure \u0026\u0026 make\n     cd ../\n     make\n\n## Using\nThis tool is to be used with Windows clients connecting to the linux box. Launch this tool using\n\n    sudo ./rpcapd -4 -n -p \u003cchosen_port\u003e\n\nYou can specify a data transfer port rather than a random port by default.\n\n    sudo ./rpcapd -4 -n -t \u003cdata_transfer_port\u003e -p \u003cchosen_port\u003e\n\nRoot privileges are needed to capture the interfaces.\n\nThere are two ways to connect from a Windows box: \n  1. Use GUI in Wireshark *Capture Options* dialog. Tested on Wireshark 1.7.1.\n  2. Invoke wireshark from commnd line specifying capture interface directly:\n\n    wireshark -k -i rpcapd://\u003ccapture_box_ip\u003e:\u003crpcapd_port\u003e/\u003cinterface_to_capture\u003e\n\n`-k` means *start capture immedietly* and `-i` stands for *interface*. You can create a Windows shortcut or something afterwards.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpcapd-linux%2Frpcapd-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frpcapd-linux%2Frpcapd-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frpcapd-linux%2Frpcapd-linux/lists"}