ipfs / ipfs/kubo

go-ipfs dials out of addresses that are not in Addresses.Swarm

Open
#4,088 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### Version information:
go-ipfs version: 0.4.10-
Repo version: 5
System version: amd64/linux
Golang version: go1.8.3

#### Type:
Bug

#### Severity:
Medium

#### Description:

go-ipfs should only dial out of addresses that are used in `Addresses.Swarm`.

---------

Old description:
While you can configure on which addresses `Swarm` listens, `ipfs daemon` uses *all* available addresses/devices to connect to other peers. It would be great to be able to restrict the use to certain devices (network interfaces) only, e.g. `tun0`.

This is especially helpful if you want to setup a *cjdns-only node*, which only connects via the cjdns network (tun0). (https://github.com/cjdelisle/cjdns)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.