{"id":42960527,"url":"https://github.com/vmxdev/net-dup","last_synced_at":"2026-01-30T23:03:35.538Z","repository":{"id":265209001,"uuid":"870292289","full_name":"vmxdev/net-dup","owner":"vmxdev","description":"Send copies of network datagrams to multiple receivers via VXLANs","archived":false,"fork":false,"pushed_at":"2024-11-28T08:57:48.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-28T09:35:04.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmxdev.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":"2024-10-09T19:20:58.000Z","updated_at":"2024-11-28T08:57:52.000Z","dependencies_parsed_at":"2024-11-28T09:45:06.652Z","dependency_job_id":null,"html_url":"https://github.com/vmxdev/net-dup","commit_stats":null,"previous_names":["vmxdev/net-dup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vmxdev/net-dup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmxdev%2Fnet-dup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmxdev%2Fnet-dup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmxdev%2Fnet-dup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmxdev%2Fnet-dup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmxdev","download_url":"https://codeload.github.com/vmxdev/net-dup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmxdev%2Fnet-dup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28922232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-30T23:03:34.790Z","updated_at":"2026-01-30T23:03:35.533Z","avatar_url":"https://github.com/vmxdev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# net-dup\nThis very simple program receives datagrams on a given network interface using pcap, adds VXLAN header and resends those datagrams to a specified set of receivers.\n\nThe receiving side can configure the VXLAN interface and receive datagrams with no source addresses changed.\n\nThis can be useful when duplicating Netflow/IPFIX/sFlow datagrams where it is important to know the address of the sending router or switch.\n\nThe utility is similar to the well-known [samplicator](https://github.com/sleinen/samplicator) utility, but instead of spoofing source addresses, it delivers the datagram to the receivers via VXLAN \"as is\".\n\nNote that the receiving side must be able to handle datagrams that are not destined for this host (for example, using pcap). This utility is designed to work with [xenoeye](https://github.com/vmxdev/xenoeye), which can capture `*`flow-datagrams using pcap. But for various reasons we want to distribute the utility separately from xenoeye.\n\n## Compile\n\n```sh\n$ cc -g -Wall -pedantic -Wextra netdup.c -o netdup -lpcap\n```\n\n## Use\n\n```sh\n$ sudo ./netdup -i eth0 -o 1.2.3.4:4789.12345 -f \"udp and port 6543\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmxdev%2Fnet-dup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmxdev%2Fnet-dup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmxdev%2Fnet-dup/lists"}