René's URL Explorer Experiment


Title: feat: add multicast_addresses to bind/multicast independently by bluetoothbot · Pull Request #1767 · python-zeroconf/python-zeroconf · GitHub

Open Graph Title: feat: add multicast_addresses to bind/multicast independently by bluetoothbot · Pull Request #1767 · python-zeroconf/python-zeroconf

X Title: feat: add multicast_addresses to bind/multicast independently by bluetoothbot · Pull Request #1767 · python-zeroconf/python-zeroconf

Description: Summary Adds a new multicast_addresses parameter to Zeroconf / AsyncZeroconf / create_sockets so multicast group membership can be configured independently of bind interfaces. On iOS (and other sandboxed environments) the system mDNS daemon owns port 5353 on physical interfaces so binding there is rejected, but joining the multicast group on those interfaces is still permitted and necessary to receive incoming queries. Today the interfaces parameter conflates the two roles: every entry both joins the multicast group and gets a respond socket bound on it. multicast_addresses adds an additive escape hatch that joins additional addresses to the listen socket's multicast group without creating respond sockets for them. Default behavior is unchanged. Fixes #1520 Changes create_sockets accepts multicast_addresses and joins each normalized address to the listen socket; rejects the combination with unicast=True since there is no listen socket. Zeroconf.__init__ and AsyncZeroconf.__init__ expose the parameter and forward it through. Works on both the InterfaceChoice.Default single-socket fast path and the per-interface respond-socket path. Tests cover IPv4, IPv6, InterfaceChoice.Default path, unicast rejection, and Zeroconf-level wiring. Test plan poetry run pytest tests/utils/test_net.py tests/test_core.py poetry run pytest --timeout=60 (full suite, 394 passed) poetry run ruff check + ruff format --check on changed files Quality Report Changes: 5 files changed, 148 insertions(+), 3 deletions(-) Code scan: clean Tests: passed (4 PASSED) Branch hygiene: clean Generated by Kōan post-mission quality pipeline

Open Graph Description: Summary Adds a new multicast_addresses parameter to Zeroconf / AsyncZeroconf / create_sockets so multicast group membership can be configured independently of bind interfaces. On iOS (and other san...

X Description: Summary Adds a new multicast_addresses parameter to Zeroconf / AsyncZeroconf / create_sockets so multicast group membership can be configured independently of bind interfaces. On iOS (and other san...

Opengraph URL: https://github.com/python-zeroconf/python-zeroconf/pull/1767

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f8677105-9ac8-9abd-f821-85c94b8f1175
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE690:3CCE8:CFBF4:11992E:6B00803A
html-safe-nonced826d3d8cc2457ab1a791f08920d1492a0e85abc7bfbde58ce837d1067b0760b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjkwOjNDQ0U4OkNGQkY0OjExOTkyRTo2QjAwODAzQSIsInZpc2l0b3JfaWQiOiIyMjM1NTUzNjg4MzQzMzQ3NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8bd9e9b2b21632273f61d15d8ccc08a712cb412b48d55eb38632bff42f6d0c5b
hovercard-subject-tagpull_request:3719340425
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python-zeroconf/python-zeroconf/pull/1767/files
twitter:imagehttps://avatars.githubusercontent.com/u/284751220?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/284751220?s=400&v=4
og:image:altSummary Adds a new multicast_addresses parameter to Zeroconf / AsyncZeroconf / create_sockets so multicast group membership can be configured independently of bind interfaces. On iOS (and other san...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python-zeroconf/python-zeroconf git https://github.com/python-zeroconf/python-zeroconf.git
octolytics-dimension-user_id120192235
octolytics-dimension-user_loginpython-zeroconf
octolytics-dimension-repository_id21548731
octolytics-dimension-repository_nwopython-zeroconf/python-zeroconf
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21548731
octolytics-dimension-repository_network_root_nwopython-zeroconf/python-zeroconf
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedb758f8e02b8257935fb03edf81a3e76eb3abd11
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fpull%2F1767%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-zeroconf%2Fpython-zeroconf%2Fpull%2F1767%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python-zeroconf%2Fpython-zeroconf
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
Reloadhttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
python-zeroconfhttps://github.com/python-zeroconf
python-zeroconfhttps://github.com/python-zeroconf/python-zeroconf
Codehttps://github.com/python-zeroconf/python-zeroconf
Issues50 (50)https://github.com/python-zeroconf/python-zeroconf/issues
Pull requests16 (16)https://github.com/python-zeroconf/python-zeroconf/pulls
Discussionshttps://github.com/python-zeroconf/python-zeroconf/discussions
Actionshttps://github.com/python-zeroconf/python-zeroconf/actions
Projectshttps://github.com/python-zeroconf/python-zeroconf/projects
Wikihttps://github.com/python-zeroconf/python-zeroconf/wiki
Security and quality5 (5)https://github.com/python-zeroconf/python-zeroconf/security
Insightshttps://github.com/python-zeroconf/python-zeroconf/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-zeroconf%2Fpython-zeroconf%2Fissues%2Fnew%2Fchoose
bluetoothbothttps://github.com/bluetoothbot
python-zeroconf:masterhttps://github.com/python-zeroconf/python-zeroconf/tree/master
bluetoothbot:koan/fix-issue-1520https://github.com/bluetoothbot/python-zeroconf/tree/koan/fix-issue-1520
Conversation 25 https://github.com/python-zeroconf/python-zeroconf/pull/1767
Commits 6 https://github.com/python-zeroconf/python-zeroconf/pull/1767/commits
Checks 35 https://github.com/python-zeroconf/python-zeroconf/pull/1767/checks
Files changed https://github.com/python-zeroconf/python-zeroconf/pull/1767/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
feat: add multicast_addresses to bind/multicast independently https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#top
Show all changes 6 commits https://github.com/python-zeroconf/python-zeroconf/pull/1767/files
f265d95 feat: add multicast_addresses to bind/multicast independently bluetoothbot May 20, 2026 https://github.com/python-zeroconf/python-zeroconf/pull/1767/commits/f265d95fd701246d309e5a17cece67a0fa718605
933a7c9 feat: validate and autodetect ip_version for multicast_addresses, ded… bluetoothbot May 20, 2026 https://github.com/python-zeroconf/python-zeroconf/pull/1767/commits/933a7c98742c0e39d5c39ffdb3145658c8f4b4c2
5fc8e96 test: cover partial branches for multicast_addresses validation and a… bluetoothbot May 20, 2026 https://github.com/python-zeroconf/python-zeroconf/pull/1767/commits/5fc8e961f8761c334f540a0db61656f83e3f4db7
83fadb1 refactor: extract _entry_ip_version helper to DRY multicast_addresses… bluetoothbot May 21, 2026 https://github.com/python-zeroconf/python-zeroconf/pull/1767/commits/83fadb1c88ac5843153d6a6aad29596f7779bfbe
56f00c5 test: cover interface-index autodetection branch in _entry_ip_version bluetoothbot May 21, 2026 https://github.com/python-zeroconf/python-zeroconf/pull/1767/commits/56f00c5a85d339a4c1aec50d8b6632aa203c1faa
6e25708 fix: preserve pre-normalized tuple entries in multicast_addresses bluetoothbot May 22, 2026 https://github.com/python-zeroconf/python-zeroconf/pull/1767/commits/6e25708e93dc302cb28758ce2b47830e24843a7b
Clear filters https://github.com/python-zeroconf/python-zeroconf/pull/1767/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
_core.py https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
net.py https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-16e7dbbe84235183a0e3f58fa9fe2fce44a09848c2cb81a2c59775b27218135c
asyncio.py https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-96bdd1e4e7a9ff49c66e746ace69a44b9a538be08cc39b7c38139bb78e81cf14
test_core.py https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
test_net.py https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-b0722f491ed69822054e986e9b2dac8941d0a485c891d03d41651a8fd7a672a4
src/zeroconf/_core.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
View file https://github.com/python-zeroconf/python-zeroconf/blob/6e25708e93dc302cb28758ce2b47830e24843a7b/src/zeroconf/_core.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1767/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-334d60456692812966fc9644e6d71b6e2c60dfc6fb2d02d02d5fef6a480c360d
src/zeroconf/_utils/net.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-16e7dbbe84235183a0e3f58fa9fe2fce44a09848c2cb81a2c59775b27218135c
View file https://github.com/python-zeroconf/python-zeroconf/blob/6e25708e93dc302cb28758ce2b47830e24843a7b/src/zeroconf/_utils/net.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1767/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-16e7dbbe84235183a0e3f58fa9fe2fce44a09848c2cb81a2c59775b27218135c
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-16e7dbbe84235183a0e3f58fa9fe2fce44a09848c2cb81a2c59775b27218135c
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-16e7dbbe84235183a0e3f58fa9fe2fce44a09848c2cb81a2c59775b27218135c
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-16e7dbbe84235183a0e3f58fa9fe2fce44a09848c2cb81a2c59775b27218135c
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-16e7dbbe84235183a0e3f58fa9fe2fce44a09848c2cb81a2c59775b27218135c
src/zeroconf/asyncio.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-96bdd1e4e7a9ff49c66e746ace69a44b9a538be08cc39b7c38139bb78e81cf14
View file https://github.com/python-zeroconf/python-zeroconf/blob/6e25708e93dc302cb28758ce2b47830e24843a7b/src/zeroconf/asyncio.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1767/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-96bdd1e4e7a9ff49c66e746ace69a44b9a538be08cc39b7c38139bb78e81cf14
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-96bdd1e4e7a9ff49c66e746ace69a44b9a538be08cc39b7c38139bb78e81cf14
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-96bdd1e4e7a9ff49c66e746ace69a44b9a538be08cc39b7c38139bb78e81cf14
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-96bdd1e4e7a9ff49c66e746ace69a44b9a538be08cc39b7c38139bb78e81cf14
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-96bdd1e4e7a9ff49c66e746ace69a44b9a538be08cc39b7c38139bb78e81cf14
tests/test_core.pyhttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
View file https://github.com/python-zeroconf/python-zeroconf/blob/6e25708e93dc302cb28758ce2b47830e24843a7b/tests/test_core.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python-zeroconf/python-zeroconf/pull/1767/{{ revealButtonHref }}
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
https://github.com/python-zeroconf/python-zeroconf/pull/1767/files#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
Please reload this pagehttps://github.com/python-zeroconf/python-zeroconf/pull/1767/files
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.