Comments (2)
After further analysis and read-up of the DNS-SD website this will be the workflow for Stealth's peer-to-peer DNS capabilities; while preserving integration with legacy Web Browsers that try to discover local peers and their webservers:
- Multicast address is
224.0.0.251
and/orff02::fb
on port5353
. - DNS-SD is specified as
<instance>.<service>.tholian.local
whereservice
is equivalent to_stealth._wss
. - TTL is
1
for dgram udp packets to stay inside local NAT.
DNS-SD Discovery of other Avahi Clients or Web Browsers
DNS-SD scenario on UDP port 5353
to discover peers when starting Stealth:
-
Send out question for
PTR
record of_stealth._wss.tholian.local
. -
Primary answer is
PTR
for_stealth._wss.tholian.local
pointing tousername._stealth._wss.tholian.local
on port65432
.
Additional records must contain:SRV
forusername._stealth._wss.tholian.local
with target set tousername.tholian.local
TXT
forusername._stealth._wss.tholian.local
withversion=X0
A
forusername.tholian.local
AAAA
forusername.tholian.local
-
If no response was sent, then do the same for
_stealth._ws.tholian.local
(to find peers without TLS certificates)
Peer-to-Peer DNS to relay DNS requests via other Peers
Peer-DNS scenario on UDP port 65432
to resolve domains via other Peers that might not be blocked:
-
Send out question for
A
andAAAA
ofexample.com
to multicast address. -
Reply with local cached
hosts[]
entries.- If no
hosts[]
entries are available: - If internet connection is available, then resolve domain from public DNS servers.
- If no internet connection is available, stay silent and do nothing.
- If no
-
Initial Client's peer-DNS query timeouts should lead to retry of DNS query to public DNS servers.
from stealth.
The MDNS Protocol has been implemented and is already integrated. Now it's up to the stealth/server/Compeer
instance to add peers to the this.stealth.peers[]
Array.
from stealth.
Related Issues (20)
- Stealth: WS Connection Refactor HOT 2
- Stealth: Server Refactor HOT 2
- Stealth: SOCKS Connection Refactor HOT 2
- Stealth: Peerer Server Middleware HOT 1
- Stealth: Router Server Middleware HOT 2
- Covert: Results' assert() calls should be sorted as-in-file HOT 1
- Stealth: Peer Service
- Vendor Profile: CNAME Cloaking Integration HOT 1
- Stealth: SUBNET Parser and Tracer Middleware
- Stealth: Task Service
- Stealth: Search Page
- Browser: Peering Settings
- Browser: Statistics UI
- HTTP Connection: Content-Location and Content-Disposition support HOT 1
- Stealth: Asset Optimizers
- Browser: Webview Changes
- Stealth: Task Service
- Stealth: Session Service
- Stealth: Network Request Scattering
- node ./make.mjs ……reports an error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stealth.