Showing posts with label HTTP. Show all posts
Showing posts with label HTTP. Show all posts

31 July 2017

How To Create An HTTP Upload Server

Theory: The idea is to create a file-server server that supports uploading/downloading files over Hyper Text Transfer Protocol (HTTP).

This can either be done using simple standalone software or complex Apache/Nginx configurations.

With regards to security and scalability for all entries below, stunnel or Squid can be used to proxy connections to the HTTP server software (or any other service actually) to handle TLS termination externally. Stunnel can be combined with the EFF's Certbot and the Let's Encrypt CA to support authentication as well.

Further reading:
To aid in network availability, Cloudflare can provide distributed internet-based caching, or, for local-only systems, Squid could be configured to support caching.

So here are some of the available options:

10 July 2017

How To Create A NAS Using ZFS and Proxmox

Let's virtualize all the things! And also set up a NAS seedbox.

Theory:
The idea is to create a standalone server that uses ZFS, transfer files to it and selectively share those files using file sharing protocols.
CIFS-SMB/HTTP(S)/BitTorrent/NFS

Part 1) Learn
Part 2) Download Prerequisites
Part 3) Create Proxmox Installer USB flash drive
Part 4) Install Proxmox
Part 5) Connect over HTTPS and SSH
Part 6) Update System
Part 7) Configure ZFS
Part 8) Configure "iso" Storage Directory in ZFS Pool
Part 9) Configure Samba/ZFS SMB
Part 10) Connect to ZFS Share
Part 11) Create Container/VM
Part 12) Install and Configure Container OS
Part 13) Share ZFS Mount Point(s) with Container
Part 14) Start rTorrent/ruTorrent configuration

Part 1) Learn

27 October 2016

The Internet and Hosting Providers

The Internet:

  • A term used to collectively describe the interconnected heterogenous networks that route packets worldwide using Internet Protocol (IP).

Domain Name System (DNS):

BitTorrent Tracker Theory

BitTorrent Trackers are Hyper Text Transfer Protocol (HTTP) or User Datagram Protocol (UDP) servers that keep a list of peers associated with an info_hash and return that peer_list when queried. Thus, at their core, trackers have no knowledge of the files clients are exchanging. Some trackers are configured to only keep peer_lists for certain info_hashes (registered torrents) or to only return the peer_list to certain query requests (registered peers). In common parlance, some websites operate as front-ends for tracker software so are referred to as "trackers." This is technically incorrect, but this diction shall be used going forward.

Prerequsite: Introduction to BitTorrent Protocol, Beginner's Guide, WikiBooks, Wikipedia