Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jenny Ryan
ouinet
Commits
0db59182
Commit
0db59182
authored
Apr 17, 2020
by
Ivan Vilata-i-Balaguer
Browse files
Readme: Remove obsolete references and instructions related to IPFS.
parent
99a74721
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
0db59182
...
...
@@ -15,13 +15,12 @@ The typical Ouinet *client* node setup consists of a web browser or other
application using a special HTTP proxy or API provided by a dedicated program
or library on the local machine. When the client gets a request for content,
it attempts to retrieve the resource using several mechanisms. It tries to
fetch the page from a
*distributed cache*
(like
[
IPFS
][]
)
by looking up the
content in a
*distributed cache index*
(like the
[
BitTorrent
][]
DHT), and if
not available,
it contacts a trusted
*injector*
server over a peer-to-peer
routing system
(like
[
I2P
][]
) and asks it to fetch the page and store it in
the distributed
cache.
fetch the page from a
*distributed cache*
by looking up the
content in a
*distributed cache index*
(like the
[
BitTorrent
][]
DHT), and if
not available,
it contacts a trusted
*injector*
server over a peer-to-peer
routing system
(like
[
I2P
][]
) and asks it to fetch the page and store it in
the distributed
cache.
[
IPFS
]:
https://ipfs.io/
"InterPlanetary File System"
[
BitTorrent
]:
https://www.bittorrent.org/
[
I2P
]:
https://geti2p.net/
"Invisible Internet Project"
...
...
@@ -381,31 +380,6 @@ To be able to follow its logs, you can run:
$ sudo docker-compose logs --tail=100 -ft
If you ever need to reset and empty the injector's cache index for some reason
(e.g. testing) while keeping injector IDs and credentials, you may:
1.
Fetch a Go IPFS binary and copy it to the data volume:
$ wget "https://dist.ipfs.io/go-ipfs/v0.4.14/go-ipfs_v0.4.14_linux-amd64.tar.gz"
$ tar -xf go-ipfs_v0.4.14_linux-amd64.tar.gz
$ sudo docker cp go-ipfs/ipfs SHELL_CONTAINER:/var/opt/ouinet
2.
Stop the injector.
3.
Run a temporary Debian container with access to the data volume:
$ sudo docker run --rm -it -v ouinet-injector_data:/mnt debian
4.
In the container, run:
# cd /mnt
# rm -f injector/ipfs/ipfs_cache_index.*
# alias ipfs='./ipfs -Lc injector/ipfs'
# ipfs pin ls --type recursive | cut -d' ' -f1 | xargs ipfs pin rm
# ipfs repo gc
# exit
5.
Start the injector.
## Testing (desktop)
### Running a test injector
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment