Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Implement MdnsDiscovery #177

Merged
merged 38 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
913081f
WIP: MdnsDiscovery
gmaclennan Aug 14, 2023
ae3a8e3
feat: additions to discovery/mdns.js class add some tests
Aug 15, 2023
154a3d0
chore: fixed bug on passing handler to net.connect
Aug 15, 2023
11547ed
feat: handle two sets for deduplication, various changes
Aug 16, 2023
9e1f790
feat: add check for 'error' event and more checks to dedup
Aug 16, 2023
abf561b
feat: actually test mdns connections and matching keys
Aug 16, 2023
ea42c92
chore: add type declarations for dnssd from digidem/multicast-service…
Aug 16, 2023
66588fb
feat: destroy noise sockets so connections don't hang
Aug 16, 2023
3b694a8
trying to solve dedup
Aug 17, 2023
8e739cc
WIP fixing bugs
gmaclennan Aug 17, 2023
a75e9e7
fix types
gmaclennan Aug 17, 2023
e739f9b
fix hanging open socket
Aug 17, 2023
19f2807
lets make the ci happy for a while
Aug 17, 2023
e67713d
only allow privateIps for mdns connections
Aug 21, 2023
a032b03
add getter for noise stream connections
Aug 21, 2023
3de9a03
add more tests.
Aug 22, 2023
ebef801
solve dnssd type errors
Aug 23, 2023
7ad1676
add initial testing of multiple connection of peers
Aug 28, 2023
2ae76bf
move server 'close' handler to `start` method
Aug 28, 2023
b936c78
various changes:
Aug 29, 2023
b1457f9
test connection between multiple peers
Aug 30, 2023
ee70ca4
the tcp client now only connects to IPv4 addresses
Aug 31, 2023
e5a756e
add comments to multiple peer tests and teardown
Aug 31, 2023
e5acbf3
put timeout on ci workflow, update lockfile
Aug 31, 2023
4d15ac6
merge and increase timeout
Aug 31, 2023
e8a3f63
add testing of multiple peers instanciated at - roughly - the same time
Aug 31, 2023
c9e746d
cleanup
Aug 31, 2023
8104f5d
Add DnsSd class, switch to bonjour-service
gmaclennan Sep 4, 2023
25ba169
Setup patch-package and update package-lock
gmaclennan Sep 5, 2023
cbe6943
minor fix to test timing
gmaclennan Sep 5, 2023
748f431
Update MdnsDiscovery and tests
gmaclennan Sep 5, 2023
8fe03c7
Merge branch 'main' into feat/mdns-discovery
gmaclennan Sep 6, 2023
402cecd
fix lint error
gmaclennan Sep 6, 2023
8cd04d3
cleanup and re-org some files
gmaclennan Sep 6, 2023
d37f0e6
private-ip -> bogon
gmaclennan Sep 6, 2023
8e6e2ea
Make tests pass for now
gmaclennan Sep 19, 2023
c5d88c4
Merge branch 'main' into feat/mdns-discovery
gmaclennan Sep 19, 2023
eba4935
reduce peers in test to get test passing
gmaclennan Sep 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
Expand Down
Loading
Loading