{"id":15373026,"url":"https://github.com/vi/pcap2udp","last_synced_at":"2025-08-08T05:37:44.461Z","repository":{"id":57653772,"uuid":"206140424","full_name":"vi/pcap2udp","owner":"vi","description":"Simple tool to send frames from pcap dump as udp packets","archived":false,"fork":false,"pushed_at":"2019-09-03T18:32:46.000Z","size":5,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T14:13:34.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/vi.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":"2019-09-03T18:00:57.000Z","updated_at":"2020-05-11T04:52:12.000Z","dependencies_parsed_at":"2022-08-26T06:41:20.049Z","dependency_job_id":null,"html_url":"https://github.com/vi/pcap2udp","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/vi%2Fpcap2udp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fpcap2udp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fpcap2udp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Fpcap2udp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vi","download_url":"https://codeload.github.com/vi/pcap2udp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249085429,"owners_count":21210267,"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-01T13:54:07.704Z","updated_at":"2025-04-15T14:13:39.599Z","avatar_url":"https://github.com/vi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pcap2udp\n\nA simple tool to read microsecond-based pcap file frame by frame, remove N first bytes for each, then send each to one specified UDP socket, respecting timestamps.\n\nLicence=Apache2.0 or MIT.\n\n# Usage\n\n```\n$ pcap2udp --help\npcap2udp 0.1.0\n\nUSAGE:\n    pcap2udp \u003cpcap-file\u003e \u003cskip-bytes\u003e \u003cbind-addr\u003e \u003csend-to\u003e\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nARGS:\n    \u003cpcap-file\u003e     \n    \u003cskip-bytes\u003e    \n    \u003cbind-addr\u003e     \n    \u003csend-to\u003e       \n```\n\nExample: `./pcap2udp some_file.cap 42 127.0.0.1:0 127.0.0.1:1234`\n\nThe file should probably be pre-filtered in Wireshark. Wireshark can also help determining required offset (`skip_bytes`) inside packets. Typical RTP in UDP in IPv4 in Ethernet is `42`.\n\n# Prebuilt executables\n\nOn Github releases there should be following files:\n\n```\npcap2udp_arm_android  pcap2udp_linux64        pcap2udp_linuxstatic64  pcap2udp_win32.exe\npcap2udp_arm_static   pcap2udp_linuxstatic32  pcap2udp_mac            pcap2udp_win64.exe\n```\n\n# See also\n\n* [udpreplay](https://github.com/rigtorp/udpreplay)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fpcap2udp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvi%2Fpcap2udp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Fpcap2udp/lists"}