Created Tuesday 08 June 2021
Application (HTTP, telnet, etc)
Presentation (framework MIME)
Session (pipe,SOCKS)
Transport (reliable packet delivery, TCP)
Network (nodes and address, IP)
Data (PPP)
Physical (wires, radio, USB)
Application - Purpose
Presentation - Structured efficiently for a purpose
Session - CONTINUOUSLY, no breaks
Transport - Reliably, with confirmation
Network - Getting data from A to B
Data - 0s and 1s
Physical
Application (HTTP, telnet, etc)
Presentation (framework MIME)
Session (pipe,SOCKS)
Transport (reliable packet delivery, TCP)
Network (nodes and address, IP)
Data (PPP)
Physical (wires, radio, USB)
Physical (wires, radio, USB)
Network (nodes and address, IP)
Application (HTTP, telnet, etc)
There is NO CLOUD.
It is just COMPUTERS connected to other COMPUTERS.
In a billion different ways, but you know
Through the AIR and Through the WIRES
wires and lasers and microwaves and x rays sort of
None of these computers are fundamentally different from this:
The closest to "different from this" are the different flavors of
Virtualization (and similar)
here are some words that have to do with that:
KVM, Kubernetes, Docker, Containerization, VMWare, Virtualbox
A little "imaginary" computer running inside a "bigger" real computer,
to make them easier to modify in some way or another
(i.e. you can "create" and "destroy" computers with commands,
or update like 100 at once, etc. etc.)
Most "servers" you encounter will be like this;
but you may not even need to think about that,
which is kind of the point.
This is the *default.*
It's not a one to one connection, it goes through a bunch of peoples stuff, always
"nodes/switches" and "pipes"
DECENTRALIZED
Lots of practical weirdness here:
IP addresses - basically a phone number
The classic way of doing IPs. Of course, there aren't enough.
So that's why we have routers.
(Pretty much the same as "extensions" for phone numbers)
IPv6 makes it so there enough numbers, and the two systems basically just work together
Like a phone book, but MOSTLY decentralized.
Obviously a bit controversial now, because they are not fully decentralized.
jrm4.com? oh, thats actually SOMETHING-198.136.61.171
(quick note, there is NOT always a one-to-one relationship
between "website name" and "IP address")
Google has MANY ip addresses
198.136.61.171 has MANY .coms etc
Okay, so every bit of stuff that goes over the internet and uses this
is also using a particular "port"
Which is just another "extension" type number,
where the defaults have particular purposes.
A lot of the time you don't see them because the software hides them and you don't need to.
21 - FTP
22 - SSH (sFTP)
80 - HTTP
443 -HTTPS
Internet communication is the same as "real" communication, namely
There must be a reciever and sender.
On the net, this is a *technical* point.
How does TORCH Work? Like this:
Installed Linux
Installed Virtualization Software
Set up a system to tell a router
"HEY this big computer is allowed to get and give 128.186.*.* addresses"
Was assigned one (or more) of those addresses
Also got to say "HEY DNS, put 'torch.cci.fsu.edu' in the phone book
Installed Linux, again, virtually.
Installed a Web Server (Apache)
Did this:
HEY, for every user here, put in public_html
Listens on ports 80 and 443.
If someone asks for a file that matches one I have..
..by means of naming and folder (and other) rules
I send them that HTML file.
If they ask for a PHP file I have
I *FIRST* do what the PHP file tells me to do...
..and then I send THAT.
If they ask for a Javascript file I have..
..yeah, I just give it to them, not my problem.
Asks for the HTML file, downloads it.
If successful, reformats it and prints it to the screen for easy viewing
No difference. Your computer doesn't do the PHP. It's still just HTML from your pov
Just runs it. Runs A RANDOM FILE IT JUST GOT FROM THE INTERNET
do we see the problem here? ☺