┏┓┏┓╋╋╋╋╋╋╋╋╋╋┏┓╋╋╋┏┓┏┓
┃┗┫┗┳━┳┳┳┳━┳━┳┛┣━┳┳┫┗┫┗┳━┳┳┓
┃┏┫┃┃┻┫┃┃┃╋┃╋┃╋┃━┫┃┃┏┫┏┫┻┫┏┛
┗━┻┻┻━┻━━┻━┻━┻━┻━┻━┻━┻━┻━┻┛

Blog Home :: Videos :: All Posts :: Tags :: RSS :: IMG :: About :: Test :: Gift 4 You ::

TIL Torrent Networking

January 21, 2025 — t̷h̷e̷8̷w̷o̷o̷d̷c̷u̷t̷t̷e̷r̷

Greetings feeble TCP or QUIC or UDP or even IRC or XMPP packets encapsulating you humans! I'm glad that you've decided to grab the text I have to share with you now here and return it to your interfaces!

It's been a while since I blogged anything, and well, I have something might be useful to you. Ever wonder how the fuck torrent's work? Have you ever used QBittorrent torrent application? This is my favorite Torrent program, which is kind necessary for using torrents.

So my questions were of a few notable ones and here they are:
<code>
<ul>
<li>🕒 i) <big>What does a tracker do?</big> ❓🧨 🧨🧨</li>
<li>🕕 ii) <big>What the heck is DHT?</big> ❓❔🧨 🧨🧨🧨</li>
<li>🕘 iii) <big>Why are my files in little bits and pieces?</big> 🧨 ⁉️🧨🧨</li>
</ul>
</code>

This accompanied with some other curiosities like such as how is it that many people end up sharing bits and pieces of these files with seemingly no order or rhyme or reason? Well the order is like this:

Tracker (torrent file info and original file(s)) ... .. ... I suppose it's a network and/or web location of the actual WHOLE file. Containing also obviously the Torrent File and it acts as the mothership, for say. Now the:
DHT (Decentralized Hashing Table)

.. .... ... is a really cool piece of technology that stashes MASSIVE key:value pairs and an association of all the peers that are connected (to I assume the tracker and DHT). I read maybe that a torrent need not have required to have a tracker file and that in fact in the torrent DHT peers attached to associated torrent info hashes can actually be, in all the amazement of decentralization, automatically discovered without a tracker because a peer alone with just fragments of the file can still be in the DHT. Imagine that eh? Think about that a second or two ..........
Yea so the DHT is like a master database in torrent network that will keep knowledge and route of distance understanding from all peers related to .... files torrented, or, tracker info hashes.
I hope that I am making sense here, and not rambling on, cuz for me I am attempting to hold forefront in my mind the many and somewhat deep things I want to make sure I cover here uwu

Peer (obviously any connected user/network connection to this central interest, being the torrent file(s))

The peer is the user connection but it contains a few things of interest, namely our third question above ^ up there. So how come the files come in randomly as bits and pieces? And in Qbittorrent app you can see a large, say, movie file is got lines of partially completed slices of data. Well reason is because when the torrent was created it was created selecting a certain chunk size, in say 5kb, 1mb, 4096k, 1g, whatever and each chunk is found it's unique hash. Remember the original file will compute it's own LEGIT authentic hash of itself, that should not be deterred from, otherwise the file downloaded corrupt or wrong. So each chunk now has a hash for itself too that will coincide with the master full file hash too. So then when a peer downloads a chunk it will be able to verify the hash sum of that chunk, say is it good then keep it, not good then discard and try again. I don't exactly know but I imagine this is more stuff the DHT (like chronic database of all the things for a torrent) is handling, as key:value pairs including hash sums and such and yea.



Here's some links to some thick and juicy infos about this to help reinforce, or even correct, me in this post as well as give you much much more insight:

<ul>
<li>🧨 Distributed Hash Table (DHT)</li>
<li>🧨 Mainline DHT</li>
<li>🧨 Hash Buckets</li>
<li>👻 Bittorrent Over i2p</li>
<li>🎧 Dubbacle -x- Jah Fire(reason unknown) ..</li>
</ul>


LASTLY SOME NEWS GUYS:
-- News For The8Woodcutter's Webmaster Endeavours --
I am planning on very very soon making the big swing into working on pyblog here as the way I see it now, bash blog, which this blog is based on and uses to operate itself, is extremely non-readable (bash is ugly as fuck) and janky as fuck too to say the least. I think it would be a majorly big bonus to this blog here, and to many others in spaaaaaaaaace, if I got off my lazy ass and made pyblog functional. It's job is simple really, it's job is basically at first to do exactly what this blog does when running the bb.sh script. It will allow text input using your bash $EDITOR to make a post in either ` -html` or markdown format (which is 100% nonfunctional with this exact blog lmao), it will allow posting that post to the post feed, associating the tags u added to the tags list and thus also all posts with similar tags to the tags as posts of tags, ofc... As well as a `bash bb.sh rebuild` which will, say in the event that yuour posts are ordered out of date, and some elements that the bb.sh script assembles (html blocks) are misaligned, it will rebuild like a top to bottom run of MAKE THIS SITE. Also it can `bash bb.sh reset` your blog to original. These are the pretty much functions, oh and to delete a post too, that the bash blog single script to run a blog does. PyBlog will do these things too. BUTMORERERERE!@@@@@@@@@

Yea so I want to get the fuck on that, asap. Then completely TOTALLY redo my blog. Looking forward to that fellows! Hopefully maybe so are you!!!

Tags: networking, protocols, TIL, teaching, learning, researching, themoreyouknow

I wonder now what now happening, how come, what for?

January 07, 2024 — t̷h̷e̷8̷w̷o̷o̷d̷c̷u̷t̷t̷e̷r̷

Heya internet. Whappens moew?

I wear my sunglasses at winter...

So this past 2 days has been gruelling, back breaking, barely withstandable labour to do a handful of things. I am basically going to try to make a web community under the pirate flag of THE ARMADA, do not repeat that without using all capitals, out of respect for the fallen comrades, thanks, but in making this community again it requires a code place. I mean a place to put the code, that we work on. Fun part about gitea is it has communities for things like this. When I first tried to make this community I also tried the google shit, that supposed business email, groups, etc shit, and I say shit because just like amazon I can't imagine how such a terrible corporation is s filthy rich.. Anyways. So I thought this time I would make a mail server on my Network Throughput I/O domain Packets.cc .. Anyways, and I found a thing, I haven't seen it yet, but in debian repositories mailman3-web (i think it was). I guess it uses a thing called HyperKitty and Django for a web app that handles mail? I'm willing to give it a try!

As well, I'm not sure why I'm struggling to understand and deal with figuring out how the F to host a uWSGI, or any WSGI, server for proxying my https from my FLASK PROJECT!! 😄😄😄😄 Yes, I am VERY much happy that I am learning a new, and in my opinion possibly better than Laravel, web application framework. I'm pretty sure very very few people know one thing about me, and that is that I really enjoy web applications and creating them gives me a helluva a good feeling when confronted with all the ideas I get for building web apps. This is truly what I was destined to do I think but anyways, so, I'm really stoked about Flask, and Pythons!

It is questionable whether the page is or will be operational, but MUSICPLACE.Vip and JUST TODAY! I managed to figure out how uWSGI works, at least enough that it's rendering the CSS files. It's a work in progress though, and I'm not giving out the password until it's stable. Afterwards I might ask a couple of folks if they want to poke it, meaning with a pen, just to know I build my flask app sturdy.

I shall return for more EPIC POST! GIT ER DRUNK, BAMBOOZLE HER, THEN PARTY AT MY POST! LoL I just made that up, stupid, I know.

PLUS: As for XMPP, which I fail to properly rage quit, and I am permanently a slave to, I discovered that one of my new years resolutions for 2024 will be that if I'm going to always be a strange and weird XMPP server operator, I might as well be better at it. Blimey trolls! OH AND ONE MORE THING: I shall be doing CSS/layout type modifications to the8woodcutter.sh, to make it actually worth visiting. There's a slight chance that this intention gets lost in the abyss of my many missions but let's propose it happens, and you might love the changes when they come, bon voyage! 😵

Tags: news, the8woodcutter, chunk, xmpp, flask, python, learning, uwsgi, webapps, webdevelopment, coding, sysops, devops, linux, css, html



.. - 𝕥𝕙𝕖𝟠𝕨𝕠𝕠𝕕𝕔𝕦𝕥𝕥𝕖𝕣...-..