Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorropo/libp2p-ip-bridge
This deamon aim to bridge ip over libp2p allowing non libp2p apps to work over it.
https://github.com/jorropo/libp2p-ip-bridge
Last synced: 18 days ago
JSON representation
This deamon aim to bridge ip over libp2p allowing non libp2p apps to work over it.
- Host: GitHub
- URL: https://github.com/jorropo/libp2p-ip-bridge
- Owner: Jorropo
- License: gpl-3.0
- Created: 2019-12-17T14:10:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-18T12:35:28.000Z (about 5 years ago)
- Last Synced: 2024-11-29T17:39:20.287Z (24 days ago)
- Language: Go
- Size: 46.9 KB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# libp2p-ip-bridge
This deamon aim to bridge ip over libp2p allowing non libp2p apps to work over
it.It does that by binding to some address on `127.0.0.0/8` then it forward each
incoming connection to the libp2p tunnel.You can add some fixed addr in the config, or use automaticaly through a dns
proxy.## The dns proxy :
Its listening on `127.0.0.1:53`, you must then set your dns resolver as
`127.0.0.1` and it will just proxy normal dns request to a real dns resolver
(except if the host is finded in `/etc/hosts`).But if the request is on `Qmmfoo.{dht,ipns}` (***WIP*** may change in the
future) it will resolve in the dht or ipns and return the real ip or create a
new libp2p tunnel on a random unused `127.0.0.1/8` forwarding through the
tunnel. And finaly responding the dns request with the `127.0.0.1/8` address
where the tunnel has been binded.