[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]

IPFS thread /ipfs/

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: 46
Thread images: 4

File: IPFS logo.png (140KB, 512x512px)
IPFS logo.png
140KB, 512x512px
Quick summary:
>decentralized P2P network
>like torrents, but instead of having a .torrent file or magnet, you use the file's hash and the network takes care of finding seeders
>files and metadata are separate, so renaming or moving a file won't change its hash
>you can add files to the network with one line in the CLI or a drag-and-drop into the web interface
>HTTP gateways let you download any hash through your browser without running IPFS
>can stream video files in mpv or VLC (though it's not recommended unless the file has a lot of seeds)

How it Works

When you add a file, the files are split up into pieces and hashed. Any user can request one of these hashes and the nodes set up peer connections automatically. If two users have the same file, regardless of what folder it's inside or what it's named, it's considered the same file, as opposed to .torrent files/magnets where everyone needs to have the exact same torrent.

FAQ

>Is it safe?
It's about as safe as a torrent right now, but slightly better since it's more obscure.

>Is it fast?
Finding a seeder can take between a few seconds and a few minutes. It's slowly improving but still requires a fair bit of optimization work. Once the download starts, it's as fast as the peers can offer, just like a torrent.

>Is it a meme?
It has stable implementations in Go (for desktops) and Javascript (for browsers) that you can use right now.
On the other hand, it's still alpha software with a small userbase and poor network performance.

Websites of interest

https://gateway.ipfs.io/ipfs/
Official IPFS HTTP gateway. Slap this in front of a hash and it will download a file from the network. Be warned that this gateway is slower than using the client and accepts DMCAs.

http://glop.me/
Pomf clone that utilizes IPFS. Currently 10MB limit.

Also hosts a gateway at gateway.glop.me which doesn't have any DMCA requests as far as I can tell.
Planned features for next version (0.4.10):
https://github.com/ipfs/go-ipfs/milestone/33
>>
File: 1485246236314.webm (3MB, 1920x1040px) Image search: [Google]
1485246236314.webm
3MB, 1920x1040px
>>
>>61397849
do you have pedofags in there
they work pretty well as canaries in a coalmine
as long as pedofags roam in a network, its safe enough for me
>>
>>61397849
Daily reminder that IPFS was created by a silicon valley funded fat piece of shit, and is designed to destroy your personal freedoms
>>
>>61397879
It works like BitTorrent. It's not anonymous, but it doesn't really broadcast your identity either. You can use a VPN if you want. It's too obscure to have any yet as far as I know.
>>61397893
IPFS doesn't track you in any such manner though.
>>
>>61397849
how do i know where the hashes are though?

How does this different from magnet>torrent client

Apart from the protocol, from a users standpoiint
>>
IPFS vs ZeroNet? What is the difference?
>>
File: 1499722149444.jpg (168KB, 801x603px) Image search: [Google]
1499722149444.jpg
168KB, 801x603px
>>61397879
It's pretty close to bittorrent in security, just, individuals take care of failover and load balancing by hosting content they like to the network.

You can get someone's IP, but it's easy to host over onion if you prefer.
>>
>>61397855
Was that local or did the dude have good network?
What bitrate?
>>
File: 1496362935462.gif (148KB, 340x340px) Image search: [Google]
1496362935462.gif
148KB, 340x340px
>>61397849
I miss old IPFS threads, they were pretty hype.
Does anyone have some interesting hashes?
>>
>>61398042
Zeronet is it's own contained system for a new network that is both anon and decentralized.
IPFS is hash/ object based content. Ask for a file by it's hash, the closest person hands you that file. It can be layered with a shitload of already existing infrastructure.

The 'inter planetary' literally means it can be used between mars and earth to share communication and content in a distributed way.
>>
What kind of things can you build on top of it?

I want a Chinese static drawings site because the potato site sucks balls.
>>
>>61398012
If you have a torrent with file X, and another torrent with file X + subtitles or a short text file, or even just renamed, the torrents won't recognize that they're the same file. In IPFS however, the files and metadata are kept separate.
You can host websites on it, using IPNS for mutability.
>>61398072
It was probably cached, but it it's well seeded the bottleneck is your connection. You can stream torrents too.
>>61398119
https://pastebin.com/Xxz9qMkv
>>61398149
Any static website, you can update them via IPNS. Decentralized databases are being worked on.
>>
Someone help me test pubsub non-locally
ipfs daemon --enable-pubsub-experiment
ipfs pubsub sub "4chan"
ipfs pubsub pub "4chan" "some text"

I'll be building a script to simulwatch stuff in mpv using pubsub soon(tm).
>>
>>61398119
https://ipfs.io/ipfs/QmU5XsVwvJfTcCwqkK1SmTqDmXWSQW aTa7ZcVLY2PDxNxG/ipfs_links.html
(remove the space, spam filter doesn't like IPFS hashes)
>>61398188
Seems to be stuck after issuing 'ipfs pubsub sub "4chan"'.
>>
>>61398218
That's because it is waiting for new messages, use the pub in a separate terminal or add & after the sub command.
>>
>>61398188
There, I published "some text for anon 61398188", did you get it?
If it's not streaming, consider building something with mkv ordered playlists instead.
>>61398244
Oh, of course.
>>
ipfs cat QmeTpCZEtNwwkNqqB2FSYdjaUMXSGHN5nvornSKnkZ2vfj

>>61398248
I didn't. But we just started our daemons so maybe we should wait until we have enough connections in the network to find each other.
I'll keep sending messages periodically, tell me when you start seeing them.
>>
Is there any P2P that operates via a one to one protocol or similar? IE. direct transfer between previously authorized IP addresses only such as family and friends?
>>
>>61398288
BitTorrent, then set the private flag and mail/whatever yourself the torrent. They would need your IP + port + exact info hash and ask for it at the right time, so it's safe. If you're worried you can look at the peer list, or encrypt the files before sending.
>>
I have a stupid question.

If the whole net neutrality thing got abolished, would IPFS be a viable alternative to the WWW?
>>
>>61398348
Not if ISPs start asking the IPFS devs to pay a fee to use their networks. Or ask you to pay a fee to use IPFS.
>>
>>61398348
It would work for sharing static content, since traffic is encrypted by default, but an ISP could blacklist/slow down IPFS traffic as a whole like they sometimes do with BitTorrent.
>>
I'm seeing other peers with
ipfs pubsub peers "4chan"
now. Do you see my messages?
>>
>>61398188
I got some answers now.
> Pls respond Pls respond \n
and then some ascii art
>>
>>61398404
I got some ascii art, was that you?
>>
"Nice, it works!"
>>
>>61398415
>>61398426
>>61398442
Yes that was me.
Seems to be working now, try sending me something in return.
>>
>>61398362
>>61398358
damn
>>
>>61398454
Sent "some text for anon 61398188 06:03"
Could you send the ascii art again? My terminal botched it.
>>
>>61398160
But how can I allow other people to upload to my IPNS without giving the private key away?

Also, can clients update their files automatically or do they need to re-pin the IPNS?

For example there's a folder for a series and folders for each chapter.

People who want to read a certain series pins the IPNS for the folder, then when the owner updates the IPNS do they automatically start downloading the files?

It would also be nice to mix this with an RSS file so they can get notified of changes per chapter folder, new hash means update means fire RSS.

I don't want to deal with servers if possible.
>>
>>61398473
Yep, received it. I wonder what the latency is, probably not that high.
Can you try sending the output of
date +%s
a few times?

>Could you send the ascii art again? My terminal botched it.
Mine too, unfortunately it seems sub strips newlines from messages.
>>
>>61398348
No
>>
>>61398470
It would be an all-or-nothing situation though, not like with HTTP where it's either blocked or not. And they wouldn't have as much reason to do it. Connections WITHIN their network cost them nothing, and IPFS tries to pick the fastest path, so it wouldn't cost as much money. Furthermore, you could have a certain "USA mode" where it strongly prefers nodes within the same ASN if it comes to that.
>>61398480
>But how can I allow other people to upload to my IPNS without giving the private key away?
You can't, but you can re-upload. There's also work being done on a POST protocol, which seems like what you want.

>Also, can clients update their files automatically or do they need to re-pin the IPNS?
What do you mean? An IPNS key (you can have multiple) points to one and only one IPFS hash, but that can be a folder or a HTML file full of links.

>People who want to read a certain series pins the IPNS for the folder, then when the owner updates the IPNS do they automatically start downloading the files?
Not sure. I think it would resolve the IPNS hash and then pin the IPFS hash it points to, but you could write a small script that automatically updates it every 10 minutes or so.

>It would also be nice to mix this with an RSS file so they can get notified of changes per chapter folder, new hash means update means fire RSS.
You could use the pubsub feature for that.

>>61398508
Got the ascii, sending every 10 seconds.
>>
>>61397927
It could though

IPFS seriously needs some security guys on board in the design phase.

You need to take into account anonymization, etc.
>>
>>61398573
It could, but that usually involves wasting bandwidth like Tor or being slow and clunky like PD/Freenet/GNUnet. Plugin support is planned, then you could implement a not-so-wasteful anonymity layer on top of IPFS like GNUnet's file sharing. Decentralization and anonymity should be done in different layers, just like IPFS shouldn't try to solve the problem with the internet being centralized either (that's up to CJDNS) in my opinion.
>>
>>61398573
>You need to take into account anonymization, etc.
They're actually building in such a way that it can be "plugged" on top of an anonymization network which is the right thing to do as very few people are competent enough to get security right.
>>
>>61398597
>>61398599
Oh, so just like the OSI network model?

That's a great way to implement things.
>>
>>61398348
They would start blocking IP's and protocols, so no.
>>61397855
How the shit does that work?
>>
>>61398633
It starts downloading the hash, then serves it over HTTP. If it doesn't get anything, it just doesn't send anything.
>>
>>61398535
>you could write a small script that automatically updates it every 10 minutes or so.
That would defeat the purpose. This has to be as easy as opening a browser and going to a website. Users should be able to install ipfs (as a service so it runs in the background, with an icon in the notification bar for Windows), then go to the "website", click on a series to pin, then start receiving the updates for that series.

Maybe if I make my own program with IPFS in the back.
>>
Can I create folders in ipfs? Can I use our as an alternative to ftp among my friends? (ATM I run the ftp, would be nice if all my friends seed). And how far is it from being out of alpha state?
>>
What is ipns though?
>>
How is zeronet different from this?
>>
>>61398738
>Can I create folders in ipfs?
Yes. Either add a whole folder with IPFS add or add a single document wrapped in a folder with ipfs add -w
>Can I use our as an alternative to ftp among my friends?
Yes, although it won't be private since it is currently possible to enumerate files on the netwoek. I think that adding stuff also broadcasts the hashes to the DHT. The devs have been working on a way to have private networks though so this is coming.
>And how far is it from being out of alpha state?
Hard to tell. A few years to stabilize the spec and protocols I'd guess.

>>61398750
Mutable pointers to immutable hashes.
An IPNS record can be updated to point at different hashes.
For example you have a website, you add it to IPFS and you get a hash <A> in return. You point your IPNS to <A> So that when someone resolves that IPNS he gets <A>.
You update your site and now its hash is <B>, if you don't update your IPNS then visitors will still see <A> so you need update your IPNS record to point to <B>.
>>
>>61398798
Cool. So whats the hash of the folder? Hash of all it's contents?
Ipfs without the file coin part sounds cool.
Thread posts: 46
Thread images: 4


[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.