René's URL Explorer Experiment


Title: New Feature: DNS over SOCKS by tw-datascientist · Pull Request #347 · dnsjava/dnsjava · GitHub

Open Graph Title: New Feature: DNS over SOCKS by tw-datascientist · Pull Request #347 · dnsjava/dnsjava

X Title: New Feature: DNS over SOCKS by tw-datascientist · Pull Request #347 · dnsjava/dnsjava

Description: I added SOCKS5 support to the ioClients. It does work for TCP and UDP (udp associate). It also supports user/pwd authentication. The implementation is based on RFC 1928: SOCKS Protocol Version 5 (https://datatracker.ietf.org/doc/html/rfc1928) RFC 1929: Username/Password Authentication for SOCKS V5 (https://datatracker.ietf.org/doc/html/rfc1929) I tested it on a Dante SOCKS5 proxy with following config. # logging errorlog: /var/log/sockd.errlog logoutput: /var/log/sockd.log # server address specification internal: 0.0.0.0 port = 1080 external: eth0 # auth #user.privileged: root user.notprivileged: nobody socksmethod: none # "none" or "username" user/pwd auth # Allow everyone to connect to this server. client pass { from: 0.0.0.0/0 to: 0.0.0.0/0 log: connect disconnect error } # Allow all operations for connected clients on this server. socks pass { from: 0.0.0.0/0 to: 0.0.0.0/0 command: bind connect udpassociate log: connect disconnect iooperation error socksmethod: none # "none" or "username" user/pwd auth udp.portrange: 10000-10001 } # Allow all inbound packets. socks pass { from: 0.0.0.0/0 to: 0.0.0.0/0 command: bindreply udpreply log: error connect disconnect iooperation } You should be able to install the Dante SOCKS5 proxy via package managers like apt, apk or brew. I can also provide you a Docker setup. I tried it like InetSocketAddress localAddress = new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0); InetSocketAddress remoteAddress = new InetSocketAddress(InetAddress.getByName("1.1.1.1"), 53); InetSocketAddress proxyAddress = new InetSocketAddress(InetAddress.getByName(""), 1080); Socks5Proxy proxy = new Socks5Proxy(proxyAddress, remoteAddress, localAddress); res = new SimpleResolver(proxy); res.setTCP(true); // optional or InetSocketAddress localAddress = new InetSocketAddress(InetAddress.getByName("0.0.0.0"), 0); InetSocketAddress remoteAddress = new InetSocketAddress(InetAddress.getByName("1.1.1.1"), 53); InetSocketAddress proxyAddress = new InetSocketAddress(InetAddress.getByName(""), 1080); String socks5User = ""; String socks5Password = ""; Socks5Proxy proxy = new Socks5Proxy(proxyAddress, remoteAddress, localAddress, socks5User, socks5Password); res = new SimpleResolver(proxy); res.setTCP(true); // optional I implemented it with method overloading on sendAndReceiveTcp and sendAndReceiveUDP. In this way it does not affect the tests.

Open Graph Description: I added SOCKS5 support to the ioClients. It does work for TCP and UDP (udp associate). It also supports user/pwd authentication. The implementation is based on RFC 1928: SOCKS Protocol Version 5 (...

X Description: I added SOCKS5 support to the ioClients. It does work for TCP and UDP (udp associate). It also supports user/pwd authentication. The implementation is based on RFC 1928: SOCKS Protocol Version 5 (...

Opengraph URL: https://github.com/dnsjava/dnsjava/pull/347

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:1b445ba7-90a3-6a9a-42cb-a42abdbae9f5
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id9FB0:16695D:12C9406:1A379D0:696F43BC
html-safe-nonce98b1352065243593e3061c8c0766c171b229fb76e815e502cd94f774b497f4dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkIwOjE2Njk1RDoxMkM5NDA2OjFBMzc5RDA6Njk2RjQzQkMiLCJ2aXNpdG9yX2lkIjoiMTA5Njc0NTI0NTQwNDUxMzIxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6a630018df12823ea412b156f28ddcceaaceafd4dd54095fadcc9ebb02fdd696
hovercard-subject-tagpull_request:2133853020
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/dnsjava/dnsjava/pull/347/checks
twitter:imagehttps://avatars.githubusercontent.com/u/106313256?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/106313256?s=400&v=4
og:image:altI added SOCKS5 support to the ioClients. It does work for TCP and UDP (udp associate). It also supports user/pwd authentication. The implementation is based on RFC 1928: SOCKS Protocol Version 5 (...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-cache
go-importgithub.com/dnsjava/dnsjava git https://github.com/dnsjava/dnsjava.git
octolytics-dimension-user_id6755615
octolytics-dimension-user_logindnsjava
octolytics-dimension-repository_id17084567
octolytics-dimension-repository_nwodnsjava/dnsjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17084567
octolytics-dimension-repository_network_root_nwodnsjava/dnsjava
turbo-body-classeslogged-out env-production page-responsive full-width full-width-p-0
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F347%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F347%2Fchecks
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=dnsjava%2Fdnsjava
Reloadhttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
Reloadhttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
Reloadhttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
dnsjava https://patch-diff.githubusercontent.com/dnsjava
dnsjavahttps://patch-diff.githubusercontent.com/dnsjava/dnsjava
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fdnsjava%2Fdnsjava
Fork 259 https://patch-diff.githubusercontent.com/login?return_to=%2Fdnsjava%2Fdnsjava
Star 1.1k https://patch-diff.githubusercontent.com/login?return_to=%2Fdnsjava%2Fdnsjava
Code https://patch-diff.githubusercontent.com/dnsjava/dnsjava
Issues 13 https://patch-diff.githubusercontent.com/dnsjava/dnsjava/issues
Pull requests 2 https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pulls
Actions https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/dnsjava/dnsjava/security
Please reload this pagehttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
Insights https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pulse
Code https://patch-diff.githubusercontent.com/dnsjava/dnsjava
Issues https://patch-diff.githubusercontent.com/dnsjava/dnsjava/issues
Pull requests https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pulls
Actions https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions
Security https://patch-diff.githubusercontent.com/dnsjava/dnsjava/security
Insights https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
tw-datascientisthttps://patch-diff.githubusercontent.com/tw-datascientist
dnsjava:masterhttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/tree/master
tw-datascientist:adjust_to_upstreamhttps://patch-diff.githubusercontent.com/tw-datascientist/dnsjava/tree/adjust_to_upstream
Conversation 34 https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347
Commits 53 https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/commits
Checks 14 https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
Files changed https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/files
Please reload this pagehttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
Please reload this pagehttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
Sign in for the full log viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F347%2Fchecks
New Feature: DNS over SOCKS https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks#top
Please reload this pagehttps://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks
CodeQL on: pull_request https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659845
Analyze https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659845/job/36952011459?pr=347
Build on: pull_request https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869
Java 8/x64/ubuntu-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952011513?pr=347
Java 11/x64/ubuntu-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952014078?pr=347
Java 17/x64/ubuntu-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952014649?pr=347
Java 21/x64/ubuntu-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952015100?pr=347
Java 8/x64/windows-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952015461?pr=347
Java 11/x64/windows-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952015845?pr=347
Java 17/x64/windows-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952016256?pr=347
Java 21/x64/windows-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952016613?pr=347
Java 17/x86/windows-latest https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952017130?pr=347
JUnit Reports/JaCoCo Merge https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952418525?pr=347
release https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952418791?pr=347
Analyze Code https://patch-diff.githubusercontent.com/dnsjava/dnsjava/actions/runs/13239659869/job/36952419039?pr=347
CodeQL https://patch-diff.githubusercontent.com/dnsjava/dnsjava/pull/347/checks?check_run_id=36952154629
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.