{"id":19388428,"url":"https://github.com/mk-fg/dns2udp","last_synced_at":"2025-04-14T02:37:49.645Z","repository":{"id":11320498,"uuid":"13741688","full_name":"mk-fg/dns2udp","owner":"mk-fg","description":"Python/twisted script to proxy UDP traffic over DNS (TXT) queries","archived":false,"fork":false,"pushed_at":"2013-10-21T12:56:38.000Z","size":108,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T02:37:32.768Z","etag":null,"topics":["dns","obfuscation","proxy","python","tunnel","twisted","udp"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mk-fg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-21T12:28:50.000Z","updated_at":"2025-03-24T16:11:33.000Z","dependencies_parsed_at":"2022-08-20T10:30:46.680Z","dependency_job_id":null,"html_url":"https://github.com/mk-fg/dns2udp","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/mk-fg%2Fdns2udp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk-fg%2Fdns2udp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk-fg%2Fdns2udp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mk-fg%2Fdns2udp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mk-fg","download_url":"https://codeload.github.com/mk-fg/dns2udp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248812133,"owners_count":21165373,"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":["dns","obfuscation","proxy","python","tunnel","twisted","udp"],"created_at":"2024-11-10T10:12:39.735Z","updated_at":"2025-04-14T02:37:49.609Z","avatar_url":"https://github.com/mk-fg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"dns2udp\n--------------------\n\nPython/twisted script to proxy UDP traffic over DNS (TXT) queries.\n\nExample usage:\n\n```console\n# Start *listening* netcat on UDP-1234\nm1% ncat -luv 127.0.0.1 1234\nNcat: Version 6.25 ( http://nmap.org/ncat )\nNcat: Listening on 127.0.0.1:1234\n(whatever typed here should be seen in last netcat)\n\n# DNS (on default port 5353, see --help) to proxy packets to that netcat\nm1% ./dns2udp.py --debug dns-server 127.0.0.1:1234\n\n# (on a presumably remote machine) Proxy from 127.0.0.1:1235 to that DNS\nm2% ./dns2udp.py --debug dns-client 127.0.0.1:1235 127.0.0.1:5353\n\n# (on a presumably remote machine) Netcat to connect to first over DNS\nm2% ncat -uv 127.0.0.1 1235\nNcat: Version 6.25 ( http://nmap.org/ncat )\nNcat: Connected to 127.0.0.1:1235.\n(whatever typed here should be seen in first netcat)\n```\n\nNeeds Python 2.7 and [Twisted](http://twistedmatrix.com/).\n\nMore a proof of concept than a real thing, for which some extra things might be\nuseful:\n\n - Smarter name encoding.\n\n - Length restriction on names and replies, splitting and re-assembling of\n   packets on both sides.\n\n - Polling (quite frequent) to get packets buffered on dns side.\n\n - Working with some fixed or maybe endpoint-dependent\n   (e.g. \"\u003caddr/port\u003e.my.proxy.domain.tld\" for packets to/from \"addr/port\")\n   domain name suffix.\n\n - Probably not that great for lots of traffic anyway.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmk-fg%2Fdns2udp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmk-fg%2Fdns2udp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmk-fg%2Fdns2udp/lists"}