[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>What is IPFS? It's basically BitTorrent on steroids

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 381
Thread images: 21

File: ipfs.png (70KB, 1024x1024px) Image search: [Google]
ipfs.png
70KB, 1024x1024px
>What is IPFS?
It's basically BitTorrent on steroids.

>why would one use it
* Distributed, decentralized filesharing (for now - ipfs is merely the communication protocol, and additional applications can exist on top of it).
* You can have a mutable address (i.e. always points to the latest version of a site), or a static address (points to a specific file). Yes, you can host sites over IPFS.
* Peers are found fast for new downloads. You don't need to wait that much to start a download.
* You can watch your animu while it downloads, I watched few episodes that way and it didn't even buffer.

>how to upload a single file
$ ipfs add ./$file
Access it at localhost:8080/ipfs/$outputted-hash
>how to upload a dir
$ ipfs add -r ./$dir
Access it at localhost:8080/ipfs/$last-outputted-hash
>how to make the thing mutable
$ ipfs name publish ./$file-or-dir-hash
Access it at localhost:8080/ipns/$output-hash-aka-peerid (it's ipNs not ipFs)
To update, publish another hash and it will be available at the same IPNS address.

>gateways (how to access IPFS if you don't have it installed)
https://gateway.ipfs.io/

>most recent talk about it by the dev
https://www.youtube.com/watch?v=HUVmypx9HGI

>I2P and Tor support coming soon™. We need that thing anonymous so pls halp.
https://github.com/ipfs/go-ipfs/issues/1118
https://github.com/ipfs/notes/issues/37
https://github.com/jbenet/go-multiaddr-net/issues/7

Daily reminder to pin files that you care about.

Some links in next post.
>>
Some 8chen anon's ipfs website, has some info, links and files (breaking up the links to avoid the filter):
/ipfs/QmP7LM9yH
gVivJoUs48oqe2bmMbaYccGU
cadhq8ptZFpcD/

Some links from that selection:
All atari games, over IPFS!
/ipfs/QmbKxNNCxBox7
Cmv3jiUZbiG3zpzmtnYz
VUuKHxfAjvpyH/

do/k/ument:
/ipfs/QmSTEUc53
GVQhWTCRc5wZpdhQjDzpgW
Hv56GaNBheqKBHG/

/g/entoomen library:
/ipfs/QmTmMhRv2nh
889JfYBWXdxSvNS6zWnh
4QFo4Q2knV7Ei2B/

First season of SAC:
/ipfs/QmVBEScm197eQ
iqgUpstf9baFAaEnhQC
gzHKiXnkCoED2c/

He's a big file:
/ipfs/QmfWQHVazH6so9
p27z27rr8TJSdBFGpH7hu
nDcaZ1EAQ2c/The.Dark.Knight.Rises.2012.720p.BluRay.x264.YIFY.mp4
>>
>>51444075
pretty cool
>>
>>51444075
Is it anonymous like GNUnet?
>>
This won't work unless people have fast internet connections with no data caps. It might be good to go in 5-10 if burgerland can get it's shit together and give people unmetered internet connections.
>>
Reposting this
http://blog.neocities.org/its-time-for-the-permanent-web.html
>>
>>51444195
No. It expects you to use tor or i2p (for example) if you want anonymity on top of it.
>>
>>51444075
* Distributed, decentralized filesharing (for now - ipfs is merely the communication protocol, and additional applications can exist on top of it).
* You can have a mutable address (i.e. always points to the latest version of a site), or a static address (points to a specific file). Yes, you can host sites over IPFS.
* Peers are found fast for new downloads. You don't need to wait that much to start a download.
* You can watch your animu while it downloads, I watched few episodes that way and it didn't even buffer.

You can do all of that with bit torrent.
>>
>>51444203
At minimum it requires exactly the same setup as in HTTP. The difference is that peers can pin content, becoming an explicit provider for it, and every other node will cache accessed content for a while. The load on average will be insignificant for consumers and nonexistent for providers of popular content.
>>
>>51444250
Show me a website that runs on top of bittorrent. Protip: you can't.
>>
>>51444300
Any website that hosts the HTML of their pages in torrents will do
>>
>>51444325
Why can't you provide me an example?
>>
>>51444357
Give me a few minutes to set one up and I will
>>
>>51444203
It will work regardless, the worst case scenario is that this is HTTP with some benefits, which is still an improvement. Even with only 1 peer acting in the traditional client server model you still get permanent content links and better content resolution + traversal than just using domains with a DNS which is a pretty big selling point imo.

People always say this when it comes to P2P systems but they forget that modern P2P systems segment things so that swarming is possible, it's not like old P2P systems where it was literally 1 peer to another, it's several peers to 1, even if every peer contributes a small amount, combined they are fast, that concept alone is a big reason that bittorrent is so good. A benefit of distributed systems is that they're resilient too, so long as someone somewhere has a copy of the contnet the link will live forever, much like files in a torrent, even if the original host/uploader goes down the link to it does not.

Again though that's worst case scenario which is still better than what we have now, with additional peers it only gets better.
Anecdotally I am an American with a 50:50 (advertised, in use I actually get 60:40) with no bandwidth cap, this doesn't actually matter though because there are more countries on the internet than just America and content creators obviously don't have to host stuff out of their home just like is true today, they have the option to alone or in addition to a dedicated server to provide at least 1 source of redundancy just by themselves.
>>
>>51444244
Nice, I don't like having to have yet another service running if I can just plug into one that's already running and setup.
>>
>>51444250
>>51444300
I believe this is called Bittorrent DNA, I really wanted it to take off but it never took off the ground at all.
>>
>>51444325
>>51444449
>have to rebuild an entire torrent file for every change
>no dedupliaction because lel swarm is unique to infohash, not single file/tree
>slow as shit DHT implementation, even emule is faster
>requires changes to work on anything other than IP transport
>2015 >sha1
Bittorrent was only designed to share large files fast, just because it's popular doesn't mean you have to use it for everything.
>>
>>51444549
>building torrent files is hard
>>
There's an overlay for gentoo but one has to google it and follow the instructions for it.
>>
https://www.youtube.com/watch?v=HUVmypx9HGI
Around 50 minutes or so explains how dynamic data could work on IPFS.

Also, ethereum is going to use IPFS, so there's good synergies with future tech and good prospects for network size.
>>
We should make a list of known sites and /g/ files, possibly add a search function to it too.
>>
>>51445590
Sort of like a torrent index? Did they basically recreate the torrent protocol?
>>
/g/ finally moving on from the concentrated shitfuck known as torrents and using things like IPFS and gnunet makes me insanely happy.

Torrents are cancer and must die.
>>
>>51444549
I didn't mean to imply DNA was good at all, IPFS is leagues above it, it's a similar concept but done right.
>>
>>51444300
project maelstorm, chrome client with bittorrent urls
>>
Can someone explain how a retard like me will benefit from this? I don't really understand it, or what the purpose is.
>>
So the goal is to have a single giant distributed filesystem? Sounds interesting. I might share it with a couple of professors I know who have an interest in distributed computing.
>>
>>51445924
it allows fully distributed and decentralized data storage and communication. Hence, once content is up, it can only be taken down if every single user in the network who has the file decides to drop it and the cache of all users is purged. This profers censorship resistsance.
Moreover, the data is cached at nodes as it is accessed, so that downloading is extremely fast for popular content, and not particularly slower than with http for other files.
>>
File: ipfs mpv.resize.webm (3MB, 1440x810px) Image search: [Google]
ipfs mpv.resize.webm
3MB, 1440x810px
I like it.
>>
>>51446186
For reference using the path with the filename works as well if you want it to have a real filename.
>>
>>51446094
That sounds pretty awesome.
>>
>>51446094
isn't a problem for people with shit upload speed or people with data caps?
>>
>>51444594
>time consuming
ftfy
>>
>>51446397
If you're the sole host and your upload speed is garbage, then you're no better off than with http if you're trying to upload massive files. If you're uploading many small files, though, people will quickly fill up their cache and alleviate the burden on you.
Datacaps typically only apply to download, not upload. You are downloading on-demand with ipfs.
>>
>>51446449
yeah, but in the case you are only downloading something from a site, it would then also start to upload to another peer, pretty much like when you are sharing a torrent right?

Then what?

I know maybe this sounds like nitpicking but I had shit ISPs ebfore and I'm talking barely 1mbps up/down.
>>
>>51446479
The only person who's inconvenienced by your shit upload rate is the peer trying to download a file off you. The peer actually doesn't care all that much, though, because they're not connected only to you, but also to another 20-100 peers.

The upload shouldn't count against your limit.
>>
>hey guys
>this is my ip
>there is a direct link between that ip, the current time and my identity
>there are copyrighted files being hosted on that ip
>knock yourselves out
>>
>>51446523
>copyrighted files
All files are copyrighted unless they're in the public domain
GNU/Linux is copyrighted but okay to share
Sorry just kind of rumbles me gears when people use "copyrighted" as a catch-all for "cannot make copies"
>>
>>51446502
nice, I get it. In that case it would be even better for people with shit connections that have trouble getting files from someone hosting on a different country but it would improve as soon as someone near has the file or parts of it.
>>
>>51446523
>what is tor
>>
>>51446590
>P2P over tor
>>
>>51446590
You can use anything to anonymize yourself, not just Tor. I hear a lot of talk about i2p being good for this.
>>
>>51446663
lmao even with tor and i2p it's way too easy to fingerprint the shit out of your browser, sleep tight you pedo
>>
>>51446686
What does that have to do with this? If you're that paranoid use one of those plugins that spoofs your browser information or don't use a browser to retrieve the files.
>pedo
wut, you're the one who wants to hide yourself, not me.
>>
>404 page not found
>>
>>51446686
>browser
Are you being retarded on purpose or were you born this way?
>>
>>51446766
You have to append the ipfs link to the gateway url, noob.
>>
>>51444075
how do we do this on chromebook?
>>
>>51444213
Super interesting, great explanation on that page
>>
>>51446856
Follow the instructions here: https://github.com/pr0d1r2/ipfs-gentoo-overlay
>>
>>51444594
doing a one-off share with bittorrent is harder than it is with IPFS

with ipfs you just;
1. pin the content
2. give the other person a link
they don't even need to run the ipfs client, as there's a few ipfs-to-http services (http://ipfs.io/ipfs/<ipfs hash>)
>>
>>51447004
how does it even work as quickly as it does?

just now i ran;
ipfs add /tmp/a.png 
added <ipfs hash> a.png

then immediately visited;
http://pastebin.com/BEJJbTtC
(ugh, spam filter)
and it loaded after about 5 seconds

it took far longer to post this post because of the damn spam filter
speaking of, why wasn't the spam filter deprecated when we started using captchas?
>>
Thus far, I don't have too much to complain about the download speed, now that I've got shit working. I feel like there's a bit of bugs in some of the tools though. Documentation wants me to use paths like /ipfs/hash-name/filename, but if I do that, I get an invalid reference error. I have to use hash-name/filename. Also, I've been occasionally getting file lock errors, to which the only solution I can think of is to scrap the repository and try again.
>>
>>51446523
>hey guys
>this is my seedbox's ip
>there is a direct link between an ip in another county, the current time and my identity
>there are copyrighted files being hosted on that ip
>knock yourselves out
>>
>>51444250
probably the best advantage over bittorrent is that everything is in the same "torrent" with ipfs, and things are addressed by their content

so instead of multiple torrents on multiple trackers with multiple sets of peers that happen to contain the same file, you address the file itself, by its content (its hash), and you can download that file from anyone who has that file, regardless of where it is or how its named

if i make a torrent of say, a common tv show episode file, then you go to download it, i'll be the only seed, because i made a unique torrent which only i currently am seeding
this is in contrast to ipfs, where if i 'add' that episode, its hash is generated by its contents, which turns out the same every time, so i will be one of many seeders of that file immediately, i effectively add myself to the "swarm" of peers who have that file content
>>
Does anyone know how to get ipfs to listen on all interfaces? I'm running it on a headless server in my basement and can't use browser to access localhost webui.

Anyone know how I can get it to accept connections from external sources? So I could connect from another computer by navigating to the servers ip.
>>
>>51447424
presumably you'd change;
    "Gateway": "/ip4/127.0.0.1/tcp/8080"

in the config file to;
    "Gateway": "/ip4/0.0.0.0/tcp/8080"
>>
>>51447452
That's probably it. Here's a pretty stupid question for ya. Where's the configuration file located by default? I can't seem to find it.
>>
>>51447528
for me in arch it's at
~/.ipfs/config
>>
>>51444075
Sounds good.

I take it you can mount ipfs "shares" to e.g. "/mnt/shitshare" using FUSE or similar, correct?
>>
>>51447537
Thanks m8. I changed the config. However I cant connect at all. Just get the "connection refused" error. Any idea whats goin on?
>>
>>51447576
you can
<spam>
http://pastebin.com/sBGXVeRn
>>
>>51447636
sure it's not firewalled?
>>
>>51447650
Yeah. Opened all the ports necessary, and even disabled ufw for a test run.
>>
File: a.png (26KB, 738x201px) Image search: [Google]
a.png
26KB, 738x201px
>>51447638
>>51447576
and a folder, pic is the javascript atari emulator 'site'
>>
https://ipfs.io/ipfs/QmeEDegBFx1gjHFDDLPhyinxdBXKrSbtgmcHn6tYEMhE77
>>
>>51447342

So if I download a file on ipfs, am I automatically seeding it as soon as I have the file, or do I need to ipfs add it?
>>
>>51447724
you need to pin it

you "add" new files (that is, from a file on your disk)
you "pin" ipfs hashes to keep a copy in your ipfs block store
>>
https://www.youtube.com/watch?v=8CMxDNuuAiQ

introduction/demo
>>
>>51447665
Well I changed the log level to debug and ran ipfs log tail, right after that I tried connecting to it through
http://192.168.1.101:5001/webui
192.168.1.101 is the address of the server.

I found this in the mess of things, does anyone know what it means at all?

{"addresses":["/ip4/127.0.0.1/tcp/4001","/ip4/192.168.1.101/tcp/4001","/ip6/::1/tcp/4001"],"event":"interfaceListenAddresses","system":"p2p/net/swarm/addr","time":"2015-11-21T05:50:16.207028629Z"}
>>
>>51447733
that also applies to folders

and you don't need to worry about the paths/filenames of things you add
people could have on their disk for example;
~/Images/Ubuntu 5.04 32bit.iso
~/downloads/ubu5.0432.iso
~/media/ubuntu/5.4_32b.bin
etc, and as long as the /contents/ are identical, they all will have the same hash, and therefore the same ipfs address
>>
>>51447770
Nevermind. Pretty sure this doesnt have anything to do with my connection. I cant seem to replicate it.
>>
OK this is pretty cool. Just installed with homebrew and it works when I manually launch the daemon and leave it running in a terminal window. But how can I set ipfs to start at system launch in the background and keep running (since that seems the way it's meant to be run)
>>
>>51447848
If I add something is that file automatically mirrored to the ipfs 'share' directory or is it shared in place?
>>
>>51447848
Just add
ipfs daemon
to your crontab. You can set stuff to run @reboot instead of at certain times.
>>
is gateway.ipfs.io not working for anyone else?
>>
Seems like a crazy number of peers.
>>
>>51447807
>>51447770
I fixed this by restarting server.

But now the webui says I am connected to 0 peers. Anyone know anything?
>>
>>51447678
Excellent. Distributed, written in Go (judging from the name), and Unixy as fuck in its abstractions.
>>
>>51447863
It's mirrored, in place adding is on the todo list, I just can't find the issue on github. I want it too.
>>
>>51448036
mhm

i pinned that atari site as well

and since things are addressed by content, even if the person who originally "added" that site stops hosting it for whatever reason (chooses to, goes offline, disk failure, etc, etc) the content will still be accessible from my machine /from the very same address/

imo this is the coolest thing about ipfs
>>
What is this "pinning"? And what is its purpose?
>>
>>51448121
Presumably bookmarking.
>>
>>51448121
Think of it like bookmarks for files, when you pin a has you store a local copy of its contents, that way it will always be accessible to you. You can pin recursively too so you can mirror a whole directory with one command.
>>
>>51448121
basically it marks cached blocks as "keep permanently (in the cache)"
things in the cache are accessible by others

for example, if i add a new file, then you pin it, i can turn my machine off and the file will still be accessible from at least your machine, since you've 'pinned' it in your cache
>>
>>51448142
like bookmarks but actually permanent*
>a has
a hash
>>
>>51448137
>>51448142
>>51448148
Thanks senpai. That makes sense.
>>
>>51447863
>>51448060
Here it is:
https://github.com/ipfs/go-ipfs/issues/875
>>
>>51448177
Holy cow. F a m changes to senpai. Didn't know that. Cool beans.
>>
>>51448072
This is very cool. Something needs to be done to make it more user-friendly though, since it will only reach critical mass and become useful when millions of normal people install it.

Someone should build a PopcornTime like app around it (now that I think popcorntime is dead).
>>
>>51448190
the aim is to replace http, this would mean web browsers would implement it
>>
>>51444075
>be me
>TWC
>300mbps
>no data cap
>in TEXAS
Burger mode fucking DOMINATED
>>
>>51448190
The end goal is browser adoption. There's already a web ui and api for controlling the daemon, you can add files via the webui.

If browsers had integrated support then the only thing people would need is a daemon/service that runs in the background on startup which is doable now. Outside of that the webui could be prettier and there's some core stuff that still needs to be finished/added.

This is handy for the time being
https://addons.mozilla.org/en-us/firefox/addon/ipfs-gateway-redirect/?src=cb-dl-recentlyadded
It redirects all links to the ipfs gateway to local host that way you can paste links everyone can use but not stress the gateway if you're running an instance. Seems a bit wonky on e10s though, could just be me.
>>
>>51447884
Crontab isn't working for me. Are there any other ways to do it?
>>
>>51448264
You're on OS X? You could make a launchd service for it.
>>
>>51448281
Nah I'm on Ubuntu. Crontab works for all my other startup scripts, but the daemon doesn't start for whatever reason. No idea why.
>>
>>51448214
I don't think that will happen unless there's a demand for it, and that won't happen unless it's already popular.

Actually, I can really easily envision how a piracy-focused app could be built that would be bigger than bit-torrent.

>Install PirateTime.app.exe.deb
>app scans for and shares all media files with ipfs (would have to implement share-in-place)
>reports the file's real names to dev's server
>dev's sever (PirateTime.by or whatever) hosts a search engine that lets people search by real file names, and they can download/view through their browser once they have the PirateTime daemon app running in the background

I suppose the problem is that the dev's server could be shut down. Off-hand I can't think of a way this would work (for the mainstream) without a search engine.
>>
>>51448339
...on the upside however there'd be a huge opportunity for the developer of such an app to monetize it, since he could show ads on the search engine (even e.g. pre-roll ads before movies, since most people will be ignorant to the fact that all they need is the file's hash, not the whole web interface).
>>
>>51448357
I'm on it.
>>
How is this different from magnet uri?
>>
>>51445924
Watch this
https://www.youtube.com/watch?v=skMTdSEaCtA
>>
>>51448393
a magnet link in a hash of the metadata for a particular torrent
an ipfs hash references content directly

it's possible to put the same content in multiple torrents each with their own infohash (magnet link), where the same content with ipfs will /always/ have the same hash, which is a clear advantage
>>
>>51448339
An alternative way to get the file hashes connected to file names would be to just scan torrent directories for the hashes (can you get the hashes for individual files, or just the entire torrent?)
>>
>>51448339
There's an obviously leacher problem: someone could install the official ipfs and have access to all this, but without sharing.
>>
Is it finally time for non-centralized internet?
>>
This only works with static content, so it's pretty limited as a replacement for the modern web. How much on the internet is static? (I'd say just about none of it)
>>
>>51447528
>linux problems
why isn't there a standard that forces all user config files and system config files to live a static location? Every fucking program wants to be special snowflake
>>
This looks *really* cool, but needs adopters to take off...
>>
>>51448187
It's the best thing asianmoot did
senpai posting was retarded
>>
>>51448579
same can be said for any new protocol
http, gnutella, bittorrent...
>>
>>51444549
Yeah, sha1 was probably a mistake, they should use something more recent
>>
>>51448568
for basically everything it's at;
~/.program/, or
~/.config/program

windows is worse, with configs commonly at;
HKCU\SOFTWARE\company\program
HKCU\SOFTWARE\program
%appdata%\company\program
%appdata%\program
%userprofile%\documents\company\program
%userprofile%\documents\program
etc
>>
How does hosting a website on this work? How are peers able to tell they have the newest version of the site without checking the original host? (Which would just completely get rid of the decentralized part of ipfs.)
>>
>>51448579
It has received a lot of attention since it was announced and is constantly getting more coverage. I think this won't be a problem.

>>51448551
https://github.com/ipfs/faq/issues/28
https://github.com/ipfs/specs/issues/28
It isn't trivial but it can be done.
>>
>>51448636
>IPNS

>IPFS hashes represent immutable data, which means they cannot be changed without the hash being different. This is a good thing because it encourages data persistence, but we still need a way to find the latest IPFS hash representing your site. IPFS accomplishes this using a special feature called IPNS.

>IPNS allows you to use a private key to sign a reference to the IPFS hash representing the latest version of your site using a public key hash (pubkeyhash for short). If you've used Bitcoin before, you're familiar with this - a Bitcoin address is also a pubkeyhash. With our Neocities IPFS node, I signed the image of Penelope (our site mascot) and you can load it using our IPNS pubkeyhash for that node: QmTodvhq9CUS9hH8rirt4YmihxJKZ5tYez8PtDmpWrVMKP.

>IPNS isn't done yet, so if that link doesn't work, don't fret. Just know that I will be able to change what that pubkeyhash points to, but the pubkeyhash will always remain the same. When it's done, it will solve the site updating problem.

>Now we just need to make the location of these sites human-readable, and we've got all the pieces we need.
>>
>>51448551
Most of the internet compiles down to static files, the page this text is on right now is static, the only thing changing it is javascript. The same thing could be done with IPFS via ipns and pubsub.

Server generates html, generates hash of html, publishes hash to ipns, clients check it.

There was also some talk about live video streams being done in chunks this way, it's self archiving too.
https://github.com/ipfs/ipfs/issues/103
>>
>>51448551
in terms of bandwidth share i'd say most of the web is static content

take youtube for example, the frontend is rather dynamic, but the video data is static, which is most of the actual data
>>
>>51448655
They should probably make a TXT entry in the site dns or whatever pointing to the latest IPFS hash. Not really distributed, but would at least provide a link between domain names and IPFS.
>>
>>51448655
Ah that makes sense. Thanks m8
>>
>>51448673
https://github.com/ipfs/notes/issues/39 :^)
>>
>>51448629
Windows user here, developers don't give a fuck about users or the file system standard locations. I sure love when config files are stored with the program binary, because that's where I think to look when backing up my shit.

*nix is literally 2(3) places for every config I've ever seen.
/etc/
(/usr/local/etc)
and ~
Even if they picked some random location in ~ it'd be better than Windows because you always backup you home, how often does anyone backup AppData\Local or Program Files\.
It's a god damn mess.
>>
>>51448655
The example node given doesn't work. Is this not implimented yet?
>>
>>51448733
not yet
>>
I heard that i2p and tor routing is not implemented yet. Is there any way I can do it manually?
>>
>>51448793
I'd Google it for you but I don't want to be put on a list.
>implying I'm not on one already
>>
>>51448823
Kekd.

I'd Google it as well, but I'm on mobile and my browser is as slow as granny shirley playing fallout 4
>>
File: chrome os.png (801KB, 2560x1700px) Image search: [Google]
chrome os.png
801KB, 2560x1700px
>>51446856
You can get make and gcc on CrOS and use something like chromebrew, with that in mind I bet you could get pkg-src running on it. I need to actually try that this weekend now.
>>
>>51444075
And now the pressing question

How good is encryption, and anonimity?
>>
>>51449156
Not implemented yet. From what I understand there may or may not be a first party solution to this. The developers seem very focused on interoperability with other things, for instance if you want anonyimity you use it with Tor, I2P, or whatever other means you trust instead of relying on a first party solution that will not be as vetted as something already in use.

IPFS is just a replacement for http, DNS, and optionally filenames, if you want anonyimity and security you can get it in the same way you get with http (use a system around it like https+I2P).
>>
>>51449156
encryption and anonymity defeats some of the advantages to ipfs, so it won't be integrates functionality, though as mentioned several times you can run through tor/similar if you need it
>>
>>51446094
>here, let me store the web on my computer
Yeah, no.
>>
>>51449302
I bet you posted that via a web browser that uses caching.
>>
I'm trying this out;

ipfs/QmVnoWMgu5tfqZzwe ob2Qgp7xc4Q53KE88Zdms5tpE2eLT

can someone give me a screenshot of this? it should be an album cover of a game soundtrack.

curious to see how it works with larger files, later
>>
>>51449367
>Ofu !!LLxDM1YR6nJ 11/21/15(Sat)17:59:47 No.514
>>
>>51449455
you forgot to remove the space he added

>>51449367
not loading here, make sure the ipfs daemon is running and that the file is pinned
>>
>>51449455
...actually nevermind there's a space in the hash you posted
>>
>>51449455
He put a space in the key to avoid the spam filter dingus.
>>
>>51449367
>>
>>51444203
r u saying u dont like burgers
>>
Can't post hashes directly it seems gets tagged as spam. Try this guys (just 'added'): http://pastebin.com/9d8dYtnd
>>
>>51449455
did you remove the space?

>>51449460
alright, still figuring this out...

>>51449476
well, apparently it's already pinned.

this is really nice.
>>
>>51449138
>Teffen

WHO? I'm a regular on #4chan and I've never heard of you before.
>>
>>51448715

On Windows, the default install location for all of ipfs' shit is ~/.ipfs

>>51449367

$ ipfs ls QmVnoWMgu5tfqZzweob2Qgp7xc4Q53KE88Zdms5tpE2eLT
Error: merkledag: not found
>>
>>51449367
works, cool
>>
>>51449502
I don't believe you, everyone on IRC knows that IRC is for idling only.
>>
Any way to find out how many times a file has been uploaded?
>>
>>51449503
there is a space in the hash, remove it
>>
Poo in the loo
>>
How does one write a webpage to host on ipfs? Do you include images locations as their hashes?
>>
>>51449575
ipfs cat Qmf45HsWvzQiGXTMu7PtLa9RNN73rQQCCWufSrUsqUvYSv
>>
>>51449601
just use relative paths
>>
>>51449624
It's a bit annoying since you have to 'upload' all the resources beforehand to find out what their hash will be
>>
>>51449661
No you don't.
Create a directory, put files in it, use relative links to those files, add the directory recursivley, share the directory hash or the directoryhash/filename.html

i.e. QmP7LM9yHgVivJoUs
48oqe2bmMbaYccGUcadhq8ptZFpcD
/ipfs-site-how-to/index.html

broken up for spam reasons.
>>
>>51449661
no, it's literally the same as a normal website

don't need to do any silly hash shit or change anything

https://blog.neocities.org/its-time-for-the-permanent-web.html
>>
>>51449661
use relative paths

for example, look in;
http://localhost:8080/ipfs/QmbKxNNCxBox7C mv3jiUZbiG3zpzm tnYzVUuKHxfAjvpyH/
you'll see paths like;
        <script src="zepto.min.js"></script>
<script src="javatari/javatari.js"></script>
<script src="library.js"></script>
>>
>>51449661
>>51449698
Related to this, the directory hash contains the filenames and IPFS hashes for everything so you don't lose the permanence despite using file names.

Using the hash in that post combind with the deepest directory before that index.html
ipfs resolve *dirhash*/ipfs-site-how-to/

Gives us an IPFS hash of that directory, then we do
ipfs object get *the hash from the previous command*


And we see a list of hashses and their friendly name.
>>
>>51449698
But do the files that aren't directly hashed then benefit from peer mirroring?
>>
>>51444395
Dude your reply just made me inspired to do programming and become a good programmer. I hope you are not a neck beard. What do you do in real life?
>>
>>51449746
Yes, all files are treated in the same way, there's no special things going on. The only thing I can think of is that when you pin a directory recursively the children of it depend on it, so when you unpin the parent the children get unpinned as well (unless you pinned them directly before or afterwards). That's the only difference between a direct and indirect pin.
>>
File: communism3.jpg (29KB, 371x500px) Image search: [Google]
communism3.jpg
29KB, 371x500px
Can you limit your upload? I don't have a very fast upload and I have a bandwidth cap, but this looks really cool. Does it only upload things you pin? Can you move files that you've pinned, or do they need to remain in the same directory?
>>
Maybe I am asking a stupid question now,

If I am the BBC, or a newspaper website eg. how can I know that the users will get text I want them to get. For example if I correct a mistake in my text, will users still get a uncorrected version from a different node?
>>
>>51449750
This isn't the place for us to get to know each other but I wish you luck on your endeavors.
>>
>>51449884
It depends, if you link out an IPFS hash then they will get that file every time, what you'd want is IPNS which is essentially a hash that points to another hash and the hash it points to can be changed. So like.
User goes to myIPNS.biz
myIPNS.biz points to (->) *filehash-old*
you make your corrections and generate a file/directory hash for it, then publish that hash to your IPNS so that
myIPNS.biz -> *filehash-new*
>>
>>51444244
>downloading over Tor
You are scum.
>>
>>51449981
Are you some kind of retard?
>>
>>51449868
>Can you limit your upload?
I don't know if you can yet

>Does it only upload things you pin?
No, it uploads everything you've accessed through IPFS but what's not pinned gets garbage collected after a while.
>>
so is this like freenet? If not, what are the differences?
>>
>>51449868
>>51449997
It's on the todo list
https://github.com/ipfs/go-ipfs/issues/1482
I'm assuming they're going to finish the core stuff before this.

>>51450008
Think of freenet but opt in data redundancy instead of forced. Also read the thread, come on my mans.
>>
>>51446094
what are the legal implications of someone posting CP in this model? woudn't posting cp to a website send the cp to everyone's cache?
>>
>>51450214
I guess you have to access the CP and pin it in order for it to be kept on your computer?
>>
>>51450214
People should use common sense and delete the files when they see them. If they aren't detected they will still end up being garbage collected after a while anyway, as long as they aren't pinned.

I guess that if the network gets really popular we'll also start getting lists of bad nodes that should be ignored.
>>
>>51450290
Delicious chicken
>>
>>51450308
ah true, that is a good point.
>>
>>51450290
no, bombing it won't help
>>
>>51450290
Good to know.

>>51450308
Blacklisting functionality is being worked on for the gateway and optionally your daemon if you so choose. The idea being that you subscribe to a blacklist and your node will never get those hashses, in the case where people upload to you and you yourself generate the hash then the data should be discarded, the hash will not be pinned if it's on the blacklist.

Personally I think this is a rather scary thing, having a list of all banned content coupled with a system that makes it very easy to retrieve content just seems like trouble, there's nothing anybody could do to take down any forbidden content outside of hunting down each node.
>>
>>51450495
>Personally I think this is a rather scary thing, having a list of all banned content coupled with a system that makes it very easy to retrieve content just seems like trouble
What if that list of banned contentent contained the hashes but hashed one more time? This way it would be impossible to get to those files by downloading that list.
>>
>>51450534
I didn't think of that, sounds like it would work.
>>
>>51450534
oh yea, like hashed passwords
>>
Im amazed at how this actually seems pretty decent, nice job at finding this, OP

Could this be used to create a PopCorn Time alike program? since this shit seems to be more secure than torrents while loading much more faster.
>>
>>51447213
I don't know what you're doing, but /ipfs/hash/file should work just fine. You're using ipfs-cat or ipfs-get, right? That or using your browser and going to localhost:8080/ipfs/...
>>
>>51447724
You will seed it because it's in your cache, but not indefinitely. If you pin it, it will be seeded indefinitely.
>>
>>51448214
They say they're in talks with a major browser vendor (I'm guessing google) to support ipfs natively already.
>>
>>51447988
It always says that, the log and peers info pages don't work in this release. Use ipfs swarm peers to see which peers you're connected to.
>>
>>51447896
What's not working for you in particular?
>>
>>51450214
Only to the cache of people accessing it. All communications are encrypted, so that's good, but if e.g. a chan is run, you visit the chan, and someone posts CP, you'd better hope you're using tor (same as over HTTP but you're now hosting it until your cache fills up), or delete it manually.

It's likely that you can make a case that it should be treated the same as browser caches, however, but I wouldn't risk that if I were you.
>>
>>51452064
Popcorntime simply parsed outputs from yts and eztv and stored the results in a DB, obtaining torrents to serve the user. It is entirely possible to mirror eztv in ipfs, and it is entirely possible to download the videos via torrent and add them to ipfs, and then serve ipfs links instead of torrents. The latter, however, is obviously more trouble (double upload), but ipfs is already fast enough for this.
>>
Can somone explain to me how this is different from Share, Perfect Dark, Winny, etc...?

This caching stuff sounds like a unity folder used in the aforementioned Japanese p2p systems.
>>
>>51452516
It's pretty much like a browser cache/caching proxy, when something is fetched from ipfs it's stored in the datastore, which can be cleaned removing everything minus the pinned objects.
All that japanese stuff is based on pushing encrypted blocks to other peers, while ipfs is based on pulling from others and then storing.
>>
Started working on a links archive (I'll probably augment it with a search function eventually):
/ipns/QmaGks9KKzu2WykHQjJFJkcUAN4ZoF7ok9h2hXj1WQn47U/
Current version is
/ipfs/QmXHnrxgXfFtLZZ2oyksAHbjfYFsGofSLzrxaiqKQRUvow
>>
>>51452850
*So, if you're publishing anything, post itt and I'll add a link on this site.
>>
File: LINUXCUBE.jpg (100KB, 800x500px) Image search: [Google]
LINUXCUBE.jpg
100KB, 800x500px
>this thing
>>
>>51452249
Can ipfs 'swarm' downloads. I.e. download parts of a file from more than one peer at a time?
>>
>>51452889
Yes, that's how it works.
>>
>>51452850
Oops, slight mistake; corrected. Same ipns address, current version is /ipfs/QmeLhR7VpP6ENGjXcHQ7SFZwYQSLNGpJWFZ77J3h3WTjVf
>>
>>51444075
>>51452850
>>51452913

How about using https://ipfs.io/ipfs/... links so that plebs can directly see how it works and others can use a redirection addon to redirect to a local gateway (which might not be on localhost)

https://addons.mozilla.org/en-US/firefox/addon/ipfs-gateway-redirect/
https://chrome.google.com/webstore/detail/ipfs-gateway-redirect/gifgeigleclkondjnmijdajabbhmoepo
https://github.com/loadletter/ipfs-redirect-userscript
>>
>>51452990
The site itself uses relative links so it works whether you're using ipfs.io or if you're running locally (or whatever other gateway).

It shouldn't be too hard to add ipfs.io before the urls posted itt now come on.
>>
>>51453030
>want to get more users and make it easier
>have to copy-paste all over the place
>>
>>51453093
Fine you little faggot.
ipfs.io/ipfs/QmY17p25SpwQeQ
hs9DvYNhNT39uerhZ8
sCqLcT6fESe9tK
Latest version of the content index. Install Gentoo!

ipfs.io/ipns/QmaGks9KKzu2
WykHQjJFJkcUAN4ZoF7ok
9h2hXj1WQn47U/
"Permalink", always refers to the latest version.
>>
>Path Resolve error: context deadline exceeded

what do?
>>
>>51453561
Nothing, it just werks.
>>
>>51446218
I can't get this to work, what is the right format?
>>
I'm confused. If everything is distributed by hash, then what of files that must be updated?
Sure, it could be used as a CDN to serve media or backup discussion, definitely. But how do you link to it WITHIN IPFS?
Like, you can't create a blog if that blog could never change its hash. You'd have to link to an updated hash constantly, which means you'd need a stable address elsewhere.

Am I missing something?
>>
>>51454405

>>51448636
>>51448655
>>
>>51454405
you use an IPNS hash
>>
>>51454405
That's what ipns is for. That's why the ipns address at >>51453159
never changes, but you can see individual versions of the site at >>51453159
>>51452913
and >>51452850
via the ipfs link.
>>
>>51454423
>>51454460
>>51454469
Oh. That's pretty damn neat.
>>
>>51446094
>Moreover, the data is cached at nodes as it is accessed, so that downloading is extremely fast for popular content, and not particularly slower than with http for other files.

Also, the information is stored at center points as it is accessed, so that downloading is significantly quick for well known substance, and not particularly slower than with hyper text data exchange protocol for distinctive documents.
>>
>>51454423
/ipfs/QmdjnJcXmAFTrSGtKKYg2MZUCCxGaL2CAAbG2mT8kjoMQH
>>
So you can use this as a bittorent program? Using current bittorent sharing websites?
>>
>>51447342
I realize I'm late to this party, but wouldn't hash collisions devastate IPFS?
>>
>>51455023
no, it's uses some bittorrent technologies/ideas, but is not bittorrent compatible
>>
>>51455296
Hash collision rate is something like one in 10^45, multihash are used, AND it's designed to be fully upgradable.
>>
>>51449226
>>51449248
Well if data transfer goes over hops then I can't really see a reason not to use onion encryption similar to Tor.

>>51449868
as a workaround you can run the daemon through trickle
>>
QmcP27Xx3Pkbw5UZBWxdd4F cp537FzxwNS7wdANEc7cJbk
MP4 v2 NSFW
Works?
>>
>>51455296
this is brought up with almost anything that uses hashes to a large extent

the tldr is that the likelyhood of a collision is way, way lower than you'd think, considering the apparent small size of the hash vs. the sheer number of potential files and their sizes on something like IPFS, should it get big
>>
>>51455352
Downloading
>>
>>51455009
% ffprobe <(ipfs cat /ipfs/QmdjnJcXmAFTrSGtKKYg2MZUCCxGaL2CAAbG2mT8kjoMQH)
...
title : BWV 0532 Praeludium et Fuga in D - Praeludium
album : J.S. Bach - Organ Works CD 05
artist : Ton Koopman
genre : Classical
track : 11/12
encoder : Audiograbber 1.83.01, LAME dll 3.98, 320 Kbit/s, Joint Stereo, High quality

>>
>>51455376
Once people have downloaded it, I can delete it and it will still be available at the network? Just like bittorrent?
>>
>>51455393
so long as other people pin it (analogous to seeding)
>>
>>51455393
Only if they rehost it or as long as it remains in people's cache.
>>
>>51455408
ps, you pin it like this;
ipfs pin add /ipfs/<hash>

does what you think, just 'pins' it to your cache, so it doesn't get cleared out automatically
>>
>>51455393
Boner achieved! Kek at the metadata.
>>
Does it work on Windows?
>>
>>51455386
It works then!
>>
File: a4149144771_16.jpg (65KB, 700x700px) Image search: [Google]
a4149144771_16.jpg
65KB, 700x700px
>>51444244
That kinda makes it less, cool. If I one needs ipfs to access the sites, one could've built encryption/anonymity into it. Or build ipfs on top of i2p or something.
>>
>>51449559
I did.

>>51455415
Is there a command for downloading and pinning so we don't have to do it manually?
>>
>>51455512
What metadata?
>>
>>51455526
Yes. Works on anything from plan9 to solaris to windows to GNU to OSX. It probably even works on templeos.
>>
>>51455532

You can use encryption on top of it. You can't mask the IP addresses, however. That said, the creator is working for i2p and tor integration, it seems.
>>
>>51455563
Does it run in the background like a service after I init it or do I have to do everything manually?
I might just wait until it hits beta
>>
>>51455534
well if you pin something directly, it will be downloaded (since you actually need to data to have it pinned)
>>
>>51455567
>You can't mask the IP addresses, however.

You mean without i2p/tor? Because they do exactly that.
>>
>>51455532
Why reinvent the wheel when there are already secure protocols, IPFS doesn't make any assumptions about the underlying network transport so it's easier to use i2p/tor instead of TCP/IP.
>>
>>51455352
>QmcP27Xx3Pkbw
5UZBWxdd4F cp537FzxwNS7wdANEc7cJbk
2nd part of the same NFSW:
QmP5XAx1jVDaR2jupqc 1CxKWr3rWVGBXDCd
QmegpLtqmqi
>>
>>51455583
You can run it as a daemon with
ipfs daemon
or use the initscript at https://github.com/dylanPowers/ipfs-linux-service
>>
>>51455567
Is there an ipfss analogous to https? I hate certs and all but we need some bidirectional encryption that's validated by authorities/network/whatever.
>>
>>51455646
on arch it's as simple as;
systemctl --user enable ipfs
>>
Is there a way to see how many peers are downloading/seeing a file of mine?
>>
>>51455652
>that's validated by authorities
No.
>>
>>51455652
MITM is impossible as everything is content-addressed
since you directly request using a hash of the content, getting anything other than what you asked for would result in content with the wrong hash
>>
>>51455652
ipns keys are based on the public key of the client
>>
>>51455693
It would still be vulnerable to surveillance without effective anonymizing methods.
>>
>>51455563
Would IPFS be considered an extension of Plan 9's design goals?
>>
>>51455732
yea, but it's not intended to be anonymous

one of its' advantages relies on not being anonymous

you can run it atop an anonymizing protocol if you wish
>>
>>51455745
from what i've read about plan9, it does seems pretty plan9-ey
>>
File: 2650877138.jpg (136KB, 950x614px) Image search: [Google]
2650877138.jpg
136KB, 950x614px
>>51455693
Does that mean one can only deliver static content? How is this supposed to replace http then?
>>
>>51455793
ipns, another kind of hash which is a signed reference to the latest version of some content
>>
>>51446686
>lmao even with tor and i2p it's way too easy to fingerprint the shit out of your browser, sleep tight you pedo
Knock yourself out, loser: https://github.com/CrisBRM/user.js/
>>
>>51455408
Does it mean that if I just
ipfw get
a file I won't be sharing it unless I pin it?
>>
>>51455863
i believe it'll be share while it's in your cache (might be wrong on this), but it won't stay in the cache permanently unless it's pinned (it'd be silly if it caches everything permanently by default, you'd eventually run out of space)
>>
What's the advantage of this over the current internet model?

AFAIK, it's a whole lot of complexity for little to no gain. It can neither beat bittorrent when it comes to filesharing nor beat http when it comes to website hosting.
>>
>>51455863
You will share it until your cache gets garbage collected, if you pin it then you will share it indefinitely until you unpin it.

>>51455526
Everything except adding files in my experience.
>>
>>51455895
Read the thread.
>>
>>51455693
But the content sent to you can be sniffed.
>>
>>51455891
ps. this would work fine for commonly-accessed files

as long as some people occationally access it, it'll be in some peoples' caches, and so there'll be people seeding it

>>51455895
literally better in every way, see some of the talks on youtube
>>
>>51455920
I am, and honestly? It doesn't do shit. This is onion routing without the onion.
>>
>>51455934
see >>51455771

>>51455920
it seem's we've reached the "thread's too long for new visitors to read any of it" point, so we get repeated questions
>>
>>51455855
That's pretty cool.
>>
>>51455526
>>51455904
This worked for me
https://github.com/ipfs/go-ipfs/pull/1933
>>
>>51455895
It would dramatically lower the amount of data needing to be moved around, lessening the burden on infrastructure.
>>
>>51455954
You're not even close.
>>
File: 138843282486.jpg (56KB, 720x405px) Image search: [Google]
138843282486.jpg
56KB, 720x405px
I don't really understand what this is. I get that it's supposed to be a way to share files, but the name implies it's a filesystem. Can someone just explain like I'm 5 (yes, I know I'm reddit cancer).
>>
>>51455895
Read this
http://blog.neocities.org/its-time-for-the-permanent-web.html

>>51455966
This link should be in the next OP.
>>
>>51455976
Just adding a file worked for me man, nothing wrong with the windows version as far as I can tell
>>
>>51456004
The web can be considered a type of file system although not conventional, you still enter paths to file locations and retrieve them.

For IPFS specifically you can mount the contents you have and browse them that way, in the future they have plans to have a local writable location so you could say link an ipns to a directory and update that directory, it would hash the directory and update the ipns automatically so updating a web site would be more like a traditional action of "just ftp all the shit onto the server into this directory /mount/ipns/Qmc******/my website/".
>>
>written in go
not sure how to feel about that
>>
>>51456054
Adding folders doesn't work right, try it out and you'll get a hash for a weird listing.
>>
>>51456069
A good chunk of Google services are written in Go, regardless of how you feel about Google they're obligated to always be reliable. This should say something.
>>
>>51456094
Google's shit is always sluggish. That does tell me something.
>>
File: 0pjLMgz.jpg (2MB, 1528x2136px) Image search: [Google]
0pjLMgz.jpg
2MB, 1528x2136px
Is this AFS done on a more granular level? I'm a bit underwhelmed by what I'm reading. The hype around this shit certainly isn't proportional to its usefulness.


The bigger the system you want to replace, the greater impact the replacement needs to have. This is a minor improvement, if any, to existing protocols.
>>
>>51456109
I'm going to assume you're talking about their frontend stuff which has nothing to do with Go, it's slow as shit because they have a fuckton of Javascript on every page.
>>
>>51456132
It's still in alpha and not feature complete.
Think of it as ditching reliance on central servers to host shit on
>>
Can I only leech and not seed?
>>
>>51456158
I don't know anything about go so you might be right about that
Why does Google love Javascript so much?
Also is Go a meme or actually decent?
>>
>>51456132
>AFS
I'm ignorant, what is this?

>This is a minor improvement
Moving from a central system to something that's exponentially more reliable seems like a big plus to me, given the workarounds people use for load balancing and redundancy today I think this is a major improvement given that it's intended to do this and dropping in a load balancer is as simple as running 1 pin command on another machine. Thinking of college campuses or apartments with a shred network this would greatly reduce bandwidth to begin with since only 1 person needs it locally for the rest of the local people to grab it from them.

The other huge thing reminds me of Xanadu where links were meant to link to content, which we kind of have now but those links are fragile, an IPFS link should never not resolve unless the content no longer exists anywhere on the network. I feel like this is a major feature for end users, if not now, years down the line. You ever see those threads where people complain about Googling for a solution only to find a myriad of dead links to file hosts that don't exist anymore?
>>
>>51456231
I see just one issue with that approach. How are they going to deal with dynamic content? You still have to serve user-specific data.
>>
>>51456169
One of their selling points for Chrome is that it does Javascript fast, so that's probably why they use it so much, they also try to make everything "pretty" and "friendly", a normie doesn't care if it's a little slow if the button wiggles when you click it.
>>
>>51456231
Why would I pin anybody else's data, though?
>>
>>51456272
We've been over this ten times in this thread, look for "IPNS" comments. And these
https://github.com/ipfs/faq/issues/28
https://github.com/ipfs/specs/issues/28
https://github.com/ipfs/ipfs/issues/103
>>51449947
>>
whenever I click the application it just flashes cmd then closes
>>
>>51456297
Pinning something means you have it forever, imagine a bookmark that actually grabbed the entire page and its dependencies when bookmarked and stored it locally, whenever you click that bookmark you will get the exact thing you bookmarked, it doesn't matter if they update it later or change designs, etc. you have your copy now and forever. Alternatively you can pin the IPNS and stay updated as well if you choose to.

Another reason to pin data is to mirror it, if you like a web page you might mirror it so that you can assure it never goes down so long as you're up, even if the original host does go down it's still reachable via you.
>>
>>51456297
It's not "anybodies" data. If you pin it it becomes yours too. When the original host goes offline the network doesn't care and keeps serving the file because you(or anyone else) pinned it. Imagine google being on this and all their servers go offline(lol) and millions of people pinned it. The users won't even notice shit is down because the it still opens.
>>
>>51456354
What happens if the original host goes down(or wiped) and was hosting a regularly updated server? Who gets the rights to update the files/folder under that hash or is it lost?
>>
>>51444075
>Replicating the internet will take much more than a peer to peer network... of desktops and workstations lol. This is a terrible solution and just tacks on another layer to the internet... which is fundamentally broken from a security and privacy standpoint. Adding more layers onto something doesn't necessarily improve it. Also in regards to ISP's they can not only take down their backbones.. .they can take down your modem/router endpoints - leaving you with nothing to distribute. If you want to cache the internet you'll need a better way of doing it.


Considering that this fixes none of the security/surveillance issues of the internet, I'd have to agree with the statement above.
>>
>>51456356
So how do I get shit that I don't want to host anymore down?
>>
>>51456401
You simply don't pin it. You can always do a normal lookup.
>>
>>51456422
But what if someone else pinned it in the meantime?

This basically takes away the content creators power to decide whether they want to deliver something or not.
>>
>>51456381
I may have this wrong but I believe right now it relies on a privatekey, if you backup that privatekey then anyone with it could update the IPNS hash, it's a small file so it better be backed up if you think your address is important.

Alternatively you can use the existing DNS, and have a domain point to an IPNS hash or IPFS hash, this is kind of redundant though if you use it to point to IPNS, it's good for the transition now though.

>>51456401
Don't pin it, content that isn't pinned gets garbage collected after a while. There's plans to have advanced pinning so that you can pin something for X hours, or based on if it has Y mirrors, etc.
https://github.com/ipfs/notes/issues/49
>>
is this another /g/ project that's going to die a pathetic death?
>>
>>51456438
>This basically takes away the content creators power to decide whether they want to deliver something or not.
Once published, always published. Deal with it.
>>
>>51456438
That's true even now though, literally "once it's on the internet, it's on there forever". Pinning is analogous to downloading a local copy.

>>51456472
I'll design the logo.
>>
>>51456438
If you don't want to deliver it then why did you put it on the public internet? I don't understand the problem here.
>takes away the content creators power to decide whether they want to deliver something or not.
No, unpinning it means you will no longer deliver it if you no longer want to.
>>
>>51456438
>But what if someone else downloads it in the meantime and sticks it on a torrent tracker?
>>
File: 867.jpg (22KB, 300x300px) Image search: [Google]
867.jpg
22KB, 300x300px
>>51444075
this is basically freenet but without encryption, useless shit, why not contribute to freenet instead of reinventing the wheel?
>>
I too want to mention, that the current internet is broken on a fundamental level. Distributed network is nice and all but it's a tiny problem when compared to the security and privacy issues of the current model of the internet.

IPFS sounds nice but it's doomed to fail. If you want a protocol to succeed you either have to get few big companies behind you (TLS) or large masses of "normal people" with certain concerns (Like Tor) . This is to internet protocols what functional programming is to programming languages. Everybody will agree that it's nice, but nobody will give enough shit for it create a paradigm shift.
>>
>>51456617
Freenet forces data redundancy on all its peers and is still slow, IPFS isn't even finished and it doesn't have this problem. Freenet isn't useful to me if I can't get any content off it. I'd rather start fresh than try to fix up freenet to be honest.
>>
>>51456617
You can run this over Tor faggot
Right now it's only the protocol to allow the data to be distributed.
>>
you killed off the gnunet thread faggots
why do you hate open source?
>>
is there any way to delete files from cli?
>>
>>51456724
https://github.com/ipfs/go-ipfs
GNUnet is too restrictive, IPFS runs on any platform that supports Go, not just GNU.
>>
>>51456700
>I can't get any content off it
this is retarded, how do you get content from your shit if you dont know link? its the same as freenet, at least in freenet there are sites that gather all sites hosted over it

>>51456708
tor is busted nsa honeypot, good luck with that m8
>>
>>51456756
https://ipfs.io/docs/commands/
or use the built in help.
I don't know what in particular you mean
ipfs repo gc

Will remove unpinned files from your cache.
>>
>>51456764
What the hell does that have to do with what I'm talking about? An index of content is STILL not useful to me if I can't retrieve it. It takes up to 10 minutes sometimes to load an html document, fuck that.
>>
>>51456724
I said we should combine these things into a general of sorts, would you like that?
>>
>>51456700
if you add file to your ipfs where is it stored?
>>
>>51456832
yes

GNUnet & IPFS general
file sharing general /fsg/ ?
>>
>>51456793
works on my machine (tm)
seriously, i use freenet over 2 years in i can count on fingers cases where i coudnt download something. and i can download up to 1bg of data over day or two, thats not slow. i can find interesting content without a problem, now if want to download something with your program how do i do it? even stupid anime, how do i find it?
>>
>>51456868
throw in freenet, tor, i2p, retroshare, maidsafe and so on

alternative networking general /ang/
>>
>>51456835
~/.ipfs/
>>
>>51457000
lol, what if want to download it from other pc and pc where it was "pload" is turned off?
>>
>>51457046
i mean "uploaded"
>>
File: smile face with caret nose.png (6KB, 696x121px) Image search: [Google]
smile face with caret nose.png
6KB, 696x121px
>>51456884
>i can download up to 1bg of data over day or two, thats not slow
:^)

>>51457046
Just use the API then, literally the same commands but remote.
>>
>>51457046
What's the problem? That's the whole point of this thing, it handles that fine. Can't you read the thread?
>>
>>51444075
I thought you weren't supposed to use Tor for things like this because it slows down the network.
>>
>>51456884
>1bg of data over day or two, thats not slow
That IS slow.
>>
>>51457081
tldr, previous anon is shitting on freenet because it stores files on all other peers, so im asking where does this thing keeps files online if noone else downloaded it? and whats the difference to how freenet stores files
>>
>>51444075
>>how to upload a single file
There's also http://glop.me/ which is a pomf clone using IPFS
>>
File: 1448101689641.jpg (363KB, 826x1037px) Image search: [Google]
1448101689641.jpg
363KB, 826x1037px
Testing big files, takes forever to hash

https://ipfs.io/ipfs/QmNQKzJt2WEJu
3FYDNaRuutQiC98Y
hJL2tatvnEeSemPNy
>>
>>51457222
If you want to know these things you should read about them.

>>51457237
Very cool, I like this.
>>
>>51457256
What is that the movies? I still haven't watched the series yet.
>>
>When another IPFS node chooses to host a site from Neocities, that version of the site will continue to be available, even if Neocities shuts down or stops hosting it.
I don't understand this.
Will you automatically be directed to another version of the page, which some other person hosts, if it goes down, or would those people need to advertise their own hosted pages?
What about spoofing?
What about server-side scripting?
What about copyright?
>>
>>51457256
Reminder for anyone, you can stream files to your media player. >>51446186
>>
>>51457293
Watch the TV series + EoE first. The movies are sequels.
>>
>>51457328
No, the links remain the same since they're addresses to content not locations. You can't spoof anything because everything is hashed, even if you were to send bad data to someone they'd be able to validate that it's bad, if you keep doing it then they'll just stop requesting data from you like bittorrent does.
>>
>>51457379
I see. Thank you for the explanation.
>>
>>51444075
when can i start saturating my bandwidth to download anime anon?
>>
>>51457328
>What about server-side scripting?
See >>51456300
>copyright
jej
>>
>>51456793
if i have a ipfs link but no one is seeding am i guaranteed to download the file?
>>
>>51457435
NOW
Oh man this got me excited, instead of people releasing torrents for a series they can release an IPNS directory, as shows air they'd automatically be added, same goes for subtitles corrections.
>>
>>51457459
Somebody has to have it, think of it like how freenet or bittorrent works. It's P2P.
>>
>>51457328
>Will you automatically be directed to another version of the page, which some other person hosts, if it goes down, or would those people need to advertise their own hosted pages?
Well you could use the HTML5 application cache to run a script that redirects to the IPNS/IPFS version if the main website is not available.
>>
i added file with
 ipfs add 

how can i stop sharing it?
>>
>>51457545
I think its
ipfs pin rm HASH_OF_THAT_FILE
ipfs repo gc
>>
>>51457545
unpin the hash and do a garbage collection
ipfs pin rm *hash*
ipfs repo gc
https://ipfs.io/docs/commands/
>>
>>51457493
lel no, freenet does not work like torrent, you have parts of a file even you didnt downloaded it. more like bittorent where you seed files but if you have a torrent file you are still not guaranteed to download the file
>>
>>51457545
why don't you niggers just use the fucking webui???
>>
File: 1438279258059.jpg (73KB, 630x611px) Image search: [Google]
1438279258059.jpg
73KB, 630x611px
So how do I look at my peers files?
>>
>>51457459
No, but if you request it from some public gateway it will be stored in it's cache, then if the source goes down it can still be retrieved from the gateway.

>>51457570
>>51457574
>ipfs pin rm <ipfs-path>... - Removes the pinned object from local storage.
Is repo gc needed or does rm unpin and delete it?
>>
>>51457581
I can't understand your English.

>>51457613
ipfs swarm peers
>>
>>51457629
So I have a peers hash, now what?
>>
>>51457623
Removing a pin only removes a pin, a garbage collection will run eventually regardless of you doing it manually or not so it will eventually disappear on its own but forcing a collection gets rid of it right away.
A pin simply prevents something from being garbage collected.
>>
>>51457623
>No, but if you request it from some public gateway it will be stored in it's cache, then if the source goes down it can still be retrieved from the gateway.
so just like in freenet?

>>51457629
then l2read faget
>>
>>51457645
I don't know what you're trying to do so I don't know.
>>
>>51457691
Learn to write, why don't you just write in your native language? I bet a machine translation would be easier to parse.
>>
>>51457691
>so just like in freenet?
Nigger I said that before and you were like "IT'S NOT LIKE FREENET".
>>
>>51457734
but when i said its basically freenet without encryption retard told me its not, but whatever,
>>
>>51457574
not werking
>>
Web UI says Im connected to 0 peers, but Im able to browse other peoples links.

Anyone wanna check if this link works for them? Thanks
/ipfs/QmVMxXGHRXvU7NYYba
7DbqSZtpKAtJ7HBZ2R2LXM6sjPCy
>>
File: 1441810902735.jpg (185KB, 752x808px) Image search: [Google]
1441810902735.jpg
185KB, 752x808px
>>51457848
You probably don't have port 4001 properly forwarded
>>
>>51457809
It doesn't do encryption itself yet, it relies on you to supply something like I2P yourself right now.
It also doesn't do forced distribution, distribution is opt-in not forced. Those are the key differences. There's also differences in the network traversal, and other details but those are the big ones. Don't fault others for your language barrier.

>>51457832
What happened? Post your console output.
>>
>>51457848
Baby don't hurt me
>>
This seems really cool but i don't understand how it works so I'm not going to bother with it.
>>
>>51457898
>There's also differences in the network traversal, and other details but those are the big ones
id like to hear more about them, can you point differences between ipfs and torrents over i2p?
also i think that forced distribution is a good thing.
>>
>>51457932
Sweet. Thats the one. Thanks m8.

>>51457888
Oh man. Completely spaced port forwarding. Thanks for reminding me. Just opened it, how long will it take for peers to populate?
>>
>>51448668
>Server generates html, generates hash of html, publishes hash to ipns, clients check it.
That seems extremely inefficient.
>>
>>51457967
>id like to hear more about them, can you point differences between ipfs and torrents over i2p?
I can only direct you to read the rest of this thread, there's very informative posts here. I don't want to keep reposting the same stuff when it's already here. I also don't want to look for it again myself. Sorry.

>also i think that forced distribution is a good thing.
I'm split on it, I like the idea but it doesn't work for everyone, there are disk and bandwidth limitations for some people so an opt in seems good. There shouldn't be a scarcity problem over time so there may not be a need to force the distribution out, however there is a project related to IPFS that is essentially the forced distribution part, it's called filecoin. You contribute your disk and bandwidth and get rewarded filecoins, you can use those coins to buy that same service, think of it like a timeshare, you contribute disk, bandwidth, and uptime, then you get credits for the same. A communistic distribution with credits I guess.
Some people may put monetary value on said coins as well so individuals could get paid to act as mirrors which is neat.

Forced distribution also helps with anonimity but that's a seperate thing, I like their current goal of letting people use whatever they want to anonymize themselves like i2p, this way you're still secure and anonymous but don't have to use things like forced distribution, etc.. Fewer drawbacks.
>>
>>51457474
sorry, didnt even fully read the op

is an IPNS directory like "the cloud/dropbox"?
>>
Is there anyway to distribute a file? Like, say I want to share a movie, but I only have access to a laptop that I dont want to leave on until someone downloads it.

Can I tell ipfs to distribute this file to a person or two out there so it will be available while Im offline?
>>
>>51458019
It's only 2 additional steps to current methods and those methods are fast. It takes very little time to hash a few kb and updating the IPNS is pushing a few bytes.

Funfact every time you make a post on 4chan every page gets regenerated into static html for the whole board and then the thread has to be remade too.
>>
>>51457967
i2p is just an anonimous routing protocol like tor but without exit node support.
torrents requires the whole .torrent file while ipfs hashes directly files/directories.

>>51458019
Cloudflare and other caching proxies seem to do just fine, IPFS only needs to be optimized to do faster add/publishing
>>
>>51457972
File is working fine for me now as well, if you're still getting nothing in swarm try restarting daemon
>>
>>51458128
See >>51456300

>>51458146
You have to get someone else to cache it, alternativley there's filecoin which is not done yet, see the second half of >>51458112
>>
File: 20151110175805.png (59KB, 439x327px) Image search: [Google]
20151110175805.png
59KB, 439x327px
>>51458146
Access it from gateways and it should keep it up for a while or at least parts of it
>>
qemu-system-x86_64 -bootp http://127.0.0.1:8080/ipns/QmTosrQUvTbuT4RiEAmEhc5uANBW4z231pP1Xy6wXNFipV/boot.ipxe -m 512
>>
>>51458112
its not like you dont have control over how much hdd you give for cache and you can set up bandwidth limitations, just like i said i like it, it works for me (huge raid, and no caps), but thanks for explanations
>>
We'll need a new thread soon. Whoever makes it, make sure to include this link
http://blog.neocities.org/its-time-for-the-permanent-web.html

>>51458228
>streaming an OS over the internet via P2P
I never thought I'd live to see this. This is like some alternate reality where Plan9 became mainstream.
>>
Any possibility the government will try to stop this project? I mean, this could really harm the NSAs work. Stops censorship pretty well too.
>>
>>51458275
It's just a few megabytes of kernel and initrd that is booted in ram. Try it in QEMU and see if it works.
>>
>>51458268
You're not wrong, I think the thing is that it may not be required. If you think about it you may actually be harboring and transporting a lot of garbage data like test files, etc. that have no use to anybody. Anything worth keeping would probably be mirrored naturally, that being said I do like systems like Perfect Dark and Freenet where niche stuff can survive because of forced distribution. I want it but also don't.
>>
>>51458301
I didn't mean it that way, I mean that it was impressive.
>>
How does downloading large files work? Does it download from one random peer? Or parts from every peer that has that file cached?
>>
>>51458959
Internally files are split into chunks, it should download parts from every peer that has the file
>>
>>51444075
>https://gateway.ipfs.io/
>digitalocean
Fucking turbopleb
>>
>>51459111
It's cheap and all they need is bandwidth.
>>
>>51457898
IPFS already encrypts all communications. What it doesn't do is hide your IP.
>>
Is a file secret if I don't give its hash to anyone, or would there be a way for someone to find that file without me giving him the hash?
>>
>>51457345
mpv doesn't recognize the file format and won't play it.
>>
>>51459439
secret
>>
>>51459478
Make sure you're using a link to a file, the one they posted is a directory that has 3 files in it.
>>
>>51459478
That's the link to a folder. Open the address in your browser and see.
>>
>>51459589
>>51459553
Oh right, thanks.
Thread posts: 381
Thread images: 21


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.