This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Connecting to running daemon with wrong ID makes daemon start listening on address with wrong ID #737
Labels
exp/novice
Someone with a little familiarity can pick up
help wanted
Seeking public contribution on this issue
kind/bug
A bug in existing code (including security flaws)
P1
High: Likely tackled by core team if no one steps up
I'm running on js-ipfs node in the browser and one daemon in nodejs. If I connect from the browser to the nodejs daemon with
ipfs.swarm.connect
but the ID part of the multiaddr is wrong, it'll start listening on that address...Reproduce
jsipfs daemon
jsipfs id
, output:jsipfs id
again, output:Now it's listening on
/ip4/0.0.0.0/tcp/9999/ws/ipfs/QmSGmyZtL3BPLxkF9yyaitLsotvratuqeWq1UR8V9BDXcV
even though the daemons ID isQmVabaitA7SyHTWgY4Bhtc7JfAzMXWeXqBMT93teDic4nt
The text was updated successfully, but these errors were encountered: