Autosave: 2024-12-13 17:06:15
|
@ -0,0 +1,56 @@
|
||||||
|
---
|
||||||
|
tags: [world-wide-web, internet]
|
||||||
|
created: Friday, December 13, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# Architecture of the World Wide Web
|
||||||
|
|
||||||
|
## Terms
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>web</dt>
|
||||||
|
<dd>a set of resources delivered over the Internet using the HTTP protocol</dd>
|
||||||
|
|
||||||
|
<dt>web resource</dt>
|
||||||
|
<dd>any information that can be accessed using the web (document, image, video)</dd>
|
||||||
|
|
||||||
|
<dt>web server</dt>
|
||||||
|
<dd>a software program on a computer that hosts web resources</dd>
|
||||||
|
|
||||||
|
<dt>web browser</dt>
|
||||||
|
<dd>an application used to acccess web resources on web servers</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
## The web is _distributed_, _addressable_, and _linked_
|
||||||
|
|
||||||
|
### Distributed
|
||||||
|
|
||||||
|
There is no centralised organisation or system that decides the content that can
|
||||||
|
be published. Any computer connected to the Internet can run a web server and
|
||||||
|
the person running it can make available any content they wish.
|
||||||
|
|
||||||
|
### _Addressable_
|
||||||
|
|
||||||
|
Every resource on the web has a unique address that includes both its location
|
||||||
|
and how to access it (URL):
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- scheme
|
||||||
|
- specifies the [Application Layer](Application_Layer_of_Internet_Protocol.md for
|
||||||
|
accessing the resource. In the example this is HTTP but it could be FTP or another
|
||||||
|
protocol, always bracketed with a colon
|
||||||
|
- authority
|
||||||
|
- comprises the [DNS](Transport_Layer_of_Internet_Protocol.md) hostname of the
|
||||||
|
server containing the resource. This could also be an
|
||||||
|
[IP address](IP_addresses.md) and could also include a port number
|
||||||
|
- path
|
||||||
|
- the location of the resource on the web server, organised hierarchically and
|
||||||
|
analagous to a file path
|
||||||
|
- query
|
||||||
|
- a modifier of the resource returned to the client. Its usage varies accross
|
||||||
|
sites but is typically deterimined by backend implementation details
|
||||||
|
|
||||||
|
> Note a URL does not have to always contain _all_ this information. Consider an
|
||||||
|
> index page.
|
40
neuron/4ea828ea-ea63-4ab0-9a8a-7a45236e138e/HTTPS.md
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
---
|
||||||
|
tags: [world-wide-web, internet, encryption]
|
||||||
|
created: Friday, December 14, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# HTTPS
|
||||||
|
|
||||||
|
The problem with standard, unencypted HTTP requests is that the data can be
|
||||||
|
captured in transit and be observed or modified by malicious actors.
|
||||||
|
|
||||||
|
HTTPS is the solution. It encrypts the entirety of the HTTP request and response
|
||||||
|
(URL, headers, body).
|
||||||
|
|
||||||
|
It utilises two types of encryption to send messages securely:
|
||||||
|
|
||||||
|
- symmetric encryption
|
||||||
|
- a single shared key between client and server to encrypt the messages sent
|
||||||
|
between them
|
||||||
|
- asymmetric encryption
|
||||||
|
- two keys are used: a public key to encrypt the data and a private key to
|
||||||
|
decrypt it. The public key can be shared freely so anyone can encrypt and
|
||||||
|
send data to a peer but only the peer can receive and decrypt it
|
||||||
|
|
||||||
|
The encryption protocol used is TLS - the **Transport Layer Security Protocol**.
|
||||||
|
Previously SSL (Secure Sockets Layer) was used but has been deprecated over
|
||||||
|
security concerns.
|
||||||
|
|
||||||
|
## How communication over HTTPs works
|
||||||
|
|
||||||
|
- An initial handshake is shared between client and server, agreeing that
|
||||||
|
communication will be encrypted. This is public. "Client hello" and "Server
|
||||||
|
hello". Some random numbers are exchanged at this point.
|
||||||
|
- The server sends a digital certificate to the client along with its public
|
||||||
|
key. The client checks that the certificate is valid.
|
||||||
|
- If valid, the client encrypts a string of bytes using the public key and sends
|
||||||
|
it to the server. This is called the "premaster secret".
|
||||||
|
- This is decrypted by the server.
|
||||||
|
- The premaster secret, along with the random bytes from the handshake is then
|
||||||
|
used to compute a shared secret key (symmetric) which is used to encrypt all
|
||||||
|
subsequent messages for the duration of the session.
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
tags: [networks, procedural]
|
||||||
|
created: Friday, December 13, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# Network packet analysis tools
|
||||||
|
|
||||||
|
- `tcpdump`: View raw packet data (`tcpdump -i wlan0 -XX` for full packet
|
||||||
|
contents)
|
||||||
|
- tshark: Wireshark's CLI for detailed packet analysis (`tshark -i wlan0 -V`)
|
||||||
|
- `nethogs`: Monitor per-application network usage
|
||||||
|
- `iftop`: Show bandwidth usage per connection
|
|
@ -0,0 +1,76 @@
|
||||||
|
---
|
||||||
|
tags: [internet, encryption, privacy, TOR]
|
||||||
|
created: Friday, December 13, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# What can the ISP see?
|
||||||
|
|
||||||
|
## Plain HTTP
|
||||||
|
|
||||||
|
The ISP can see all content exchanged: DNS lookups, IP address of the server you
|
||||||
|
connect to, requests and body content.
|
||||||
|
|
||||||
|
## Just HTTPS
|
||||||
|
|
||||||
|
With HTTPS alone, the content of the messages is encrypted but the ISP can see:
|
||||||
|
|
||||||
|
- DNS queries
|
||||||
|
- IP addresses you connect to
|
||||||
|
- Traffic patterns and metadata (when, how often, amount of data exchanged etc)
|
||||||
|
|
||||||
|
## HTTPS and encrypted DNS server
|
||||||
|
|
||||||
|
With HTTPS and an encrypted DNS server (e.g. Quad9) the DNS queries are hidden
|
||||||
|
but the IP addresses are not. So they could still derive your DNS lookups from
|
||||||
|
the IPs you end up connecting to.
|
||||||
|
|
||||||
|
## HTTPS and VPN
|
||||||
|
|
||||||
|
The ISP only sees the encrypted traffic to the VPN server. Your real IP and
|
||||||
|
destination IP is hidden.
|
||||||
|
|
||||||
|
However the VPN provider can potentially see DNS queries, depending on their
|
||||||
|
policy. Although a good VPN provider will encrypt DNS lookups like an encrypted
|
||||||
|
DNS server.
|
||||||
|
|
||||||
|
The VPN can also still see what IPs you are connecting to. You are basically
|
||||||
|
swiching trust from the ISP to the VPN provider. However reputable VPNs do not
|
||||||
|
have your billing and identity info (and payment can use cryptocurrencies) and
|
||||||
|
don't keep logs. Many also have policies about refusal to cooporate with
|
||||||
|
authorities in different juristictions. Also the VPN doesn't know your real IP.
|
||||||
|
|
||||||
|
## HTTPS, VPN, and encrypted DNS
|
||||||
|
|
||||||
|
DNS queries hidded from both ISP and VPN. Traffic is fully encrypted and routed
|
||||||
|
through VPN.
|
||||||
|
|
||||||
|
## Fingerprinting
|
||||||
|
|
||||||
|
Note that none of the above stops fingerprinting. Even with full encryption
|
||||||
|
there are methods of determining online behaviour through encrypted packet
|
||||||
|
analysis and usage patterns.
|
||||||
|
|
||||||
|
A way round this is to use SOCKS proxies which add hops or to use TOR. TOR
|
||||||
|
effectively solves the "have to trust VPN provider" problem.
|
||||||
|
|
||||||
|
With TOR:
|
||||||
|
|
||||||
|
- Traffic routed through 3+ nodes
|
||||||
|
- Each node only knows previous and next hop
|
||||||
|
- No single node knows both source and destination. Even Tor nodes can't see the
|
||||||
|
full path
|
||||||
|
|
||||||
|
It also uses:
|
||||||
|
|
||||||
|
- Fixed packet sizes
|
||||||
|
- Timing obfuscation
|
||||||
|
- Traffic padding
|
||||||
|
|
||||||
|
Which makes pattern analysis and fingerprinting much harder than just a VPN.
|
||||||
|
|
||||||
|
Furthermore there is also the following protection from VPN weaknesses:
|
||||||
|
|
||||||
|
- No single provider to trust/compromise
|
||||||
|
- Decentralized network
|
||||||
|
- Free to use and no account needed
|
||||||
|
- No permanent exit node like with VPN
|
Before Width: | Height: | Size: 664 B After Width: | Height: | Size: 664 B |
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 622 B |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
|
@ -13,12 +13,16 @@ computer science.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**Build ID:** d06d7699-6cc3-4470-a1d4-b6201bdeb808
|
**Build ID:** 4ea828ea-ea63-4ab0-9a8a-7a45236e138e
|
||||||
|
|
||||||
**Published:** Tue 10 Dec 2024 17:25:16
|
**Published:** Fri 13 Dec 2024 17:06:14
|
||||||
|
|
||||||
### Recent edits
|
### Recent edits
|
||||||
|
|
||||||
|
- [[Architecture_of_the_World_Wide_Web]]
|
||||||
|
- [[Network_packet_analysis_tools]]
|
||||||
|
- [[What_can_the_ISP_see]]
|
||||||
|
- [[HTTPS]]
|
||||||
- [[Bauman_quote]]
|
- [[Bauman_quote]]
|
||||||
- [[fbbfbc32-political-accommodation-inveigelment-surveillance-capitalism]]
|
- [[fbbfbc32-political-accommodation-inveigelment-surveillance-capitalism]]
|
||||||
- [[a247fa9b_surveillance_capitalism_not_necessary]]
|
- [[a247fa9b_surveillance_capitalism_not_necessary]]
|
||||||
|
@ -27,13 +31,9 @@ computer science.
|
||||||
- [[AWS_SQS_SDK]]
|
- [[AWS_SQS_SDK]]
|
||||||
- [[a771a6d9_attributes_of_internet_enclosure]]
|
- [[a771a6d9_attributes_of_internet_enclosure]]
|
||||||
- [[JavaScript_module_types]]
|
- [[JavaScript_module_types]]
|
||||||
- [[0716531c_rewilding_the_internet]]
|
|
||||||
- [[f6564af9_AOL_and_early_internet_enclosure]]
|
|
||||||
- [[Weaving_the_Web_Berners_Lee]]
|
|
||||||
- [[Pacman]]
|
|
||||||
|
|
||||||
|
|
||||||
### All notes (501)
|
### All notes (505)
|
||||||
|
|
||||||
- [[0716531c_rewilding_the_internet]]
|
- [[0716531c_rewilding_the_internet]]
|
||||||
- [[241fe1a3_the_Web_versus_modem_BBSs]]
|
- [[241fe1a3_the_Web_versus_modem_BBSs]]
|
||||||
|
@ -68,6 +68,7 @@ computer science.
|
||||||
- [[Appending_to_files_in_Python]]
|
- [[Appending_to_files_in_Python]]
|
||||||
- [[Application_Layer_of_Internet_Protocol]]
|
- [[Application_Layer_of_Internet_Protocol]]
|
||||||
- [[Application_state_management_with_React_hooks]]
|
- [[Application_state_management_with_React_hooks]]
|
||||||
|
- [[Architecture_of_the_World_Wide_Web]]
|
||||||
- [[Arithmetic_Logic_Unit]]
|
- [[Arithmetic_Logic_Unit]]
|
||||||
- [[Arrays]]
|
- [[Arrays]]
|
||||||
- [[Assembly]]
|
- [[Assembly]]
|
||||||
|
@ -231,6 +232,7 @@ computer science.
|
||||||
- [[Grep]]
|
- [[Grep]]
|
||||||
- [[Ground]]
|
- [[Ground]]
|
||||||
- [[Guide_to_YAML]]
|
- [[Guide_to_YAML]]
|
||||||
|
- [[HTTPS]]
|
||||||
- [[HTTP_request_types]]
|
- [[HTTP_request_types]]
|
||||||
- [[Half_adder_and_full_adder]]
|
- [[Half_adder_and_full_adder]]
|
||||||
- [[Handle_multiple_endpoints_single_lambda]]
|
- [[Handle_multiple_endpoints_single_lambda]]
|
||||||
|
@ -333,6 +335,7 @@ computer science.
|
||||||
- [[Network_debugging]]
|
- [[Network_debugging]]
|
||||||
- [[Network_fundamentals]]
|
- [[Network_fundamentals]]
|
||||||
- [[Network_hosts]]
|
- [[Network_hosts]]
|
||||||
|
- [[Network_packet_analysis_tools]]
|
||||||
- [[Network_protocols]]
|
- [[Network_protocols]]
|
||||||
- [[Network_requests_in_Python]]
|
- [[Network_requests_in_Python]]
|
||||||
- [[Network_scanning]]
|
- [[Network_scanning]]
|
||||||
|
@ -503,6 +506,7 @@ computer science.
|
||||||
- [[Voltage_sources]]
|
- [[Voltage_sources]]
|
||||||
- [[Weaving_the_Web_Berners_Lee]]
|
- [[Weaving_the_Web_Berners_Lee]]
|
||||||
- [[What_are_disks]]
|
- [[What_are_disks]]
|
||||||
|
- [[What_can_the_ISP_see]]
|
||||||
- [[What_is_memory]]
|
- [[What_is_memory]]
|
||||||
- [[Whole_numbers]]
|
- [[Whole_numbers]]
|
||||||
- [[Why_computers_use_binary]]
|
- [[Why_computers_use_binary]]
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 295 KiB After Width: | Height: | Size: 295 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 289 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 6.9 MiB After Width: | Height: | Size: 6.9 MiB |
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 224 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 312 KiB After Width: | Height: | Size: 312 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 724 KiB After Width: | Height: | Size: 724 KiB |
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 232 KiB After Width: | Height: | Size: 232 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 3.6 MiB |
Before Width: | Height: | Size: 204 KiB After Width: | Height: | Size: 204 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 86 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 165 KiB |
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 133 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 148 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 9 KiB After Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 808 KiB After Width: | Height: | Size: 808 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 470 KiB After Width: | Height: | Size: 470 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 201 KiB |
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 175 KiB |
Before Width: | Height: | Size: 299 KiB After Width: | Height: | Size: 299 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 213 KiB After Width: | Height: | Size: 213 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 155 KiB After Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 848 KiB After Width: | Height: | Size: 848 KiB |
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 171 KiB After Width: | Height: | Size: 171 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 157 KiB After Width: | Height: | Size: 157 KiB |
Before Width: | Height: | Size: 226 KiB After Width: | Height: | Size: 226 KiB |
Before Width: | Height: | Size: 72 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 153 KiB After Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 414 KiB After Width: | Height: | Size: 414 KiB |
Before Width: | Height: | Size: 314 KiB After Width: | Height: | Size: 314 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 167 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 9.2 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 65 KiB After Width: | Height: | Size: 65 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 140 KiB After Width: | Height: | Size: 140 KiB |
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
Before Width: | Height: | Size: 374 KiB After Width: | Height: | Size: 374 KiB |
Before Width: | Height: | Size: 9 KiB After Width: | Height: | Size: 9 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 96 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 448 KiB After Width: | Height: | Size: 448 KiB |
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 122 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 668 KiB After Width: | Height: | Size: 668 KiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 144 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 249 KiB After Width: | Height: | Size: 249 KiB |
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.5 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 194 KiB After Width: | Height: | Size: 194 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 5 KiB After Width: | Height: | Size: 5 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 139 KiB |
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
Before Width: | Height: | Size: 121 KiB After Width: | Height: | Size: 121 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 118 KiB After Width: | Height: | Size: 118 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 146 KiB After Width: | Height: | Size: 146 KiB |
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 85 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 130 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
BIN
neuron/4ea828ea-ea63-4ab0-9a8a-7a45236e138e/static/web-url.png
Normal file
After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 425 KiB After Width: | Height: | Size: 425 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
56
zk/Architecture_of_the_World_Wide_Web.md
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
---
|
||||||
|
tags: [world-wide-web, internet]
|
||||||
|
created: Friday, December 13, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# Architecture of the World Wide Web
|
||||||
|
|
||||||
|
## Terms
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>web</dt>
|
||||||
|
<dd>a set of resources delivered over the Internet using the HTTP protocol</dd>
|
||||||
|
|
||||||
|
<dt>web resource</dt>
|
||||||
|
<dd>any information that can be accessed using the web (document, image, video)</dd>
|
||||||
|
|
||||||
|
<dt>web server</dt>
|
||||||
|
<dd>a software program on a computer that hosts web resources</dd>
|
||||||
|
|
||||||
|
<dt>web browser</dt>
|
||||||
|
<dd>an application used to acccess web resources on web servers</dd>
|
||||||
|
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
## The web is _distributed_, _addressable_, and _linked_
|
||||||
|
|
||||||
|
### Distributed
|
||||||
|
|
||||||
|
There is no centralised organisation or system that decides the content that can
|
||||||
|
be published. Any computer connected to the Internet can run a web server and
|
||||||
|
the person running it can make available any content they wish.
|
||||||
|
|
||||||
|
### _Addressable_
|
||||||
|
|
||||||
|
Every resource on the web has a unique address that includes both its location
|
||||||
|
and how to access it (URL):
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- scheme
|
||||||
|
- specifies the [Application Layer](Application_Layer_of_Internet_Protocol.md for
|
||||||
|
accessing the resource. In the example this is HTTP but it could be FTP or another
|
||||||
|
protocol, always bracketed with a colon
|
||||||
|
- authority
|
||||||
|
- comprises the [DNS](Transport_Layer_of_Internet_Protocol.md) hostname of the
|
||||||
|
server containing the resource. This could also be an
|
||||||
|
[IP address](IP_addresses.md) and could also include a port number
|
||||||
|
- path
|
||||||
|
- the location of the resource on the web server, organised hierarchically and
|
||||||
|
analagous to a file path
|
||||||
|
- query
|
||||||
|
- a modifier of the resource returned to the client. Its usage varies accross
|
||||||
|
sites but is typically deterimined by backend implementation details
|
||||||
|
|
||||||
|
> Note a URL does not have to always contain _all_ this information. Consider an
|
||||||
|
> index page.
|
40
zk/HTTPS.md
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
---
|
||||||
|
tags: [world-wide-web, internet, encryption]
|
||||||
|
created: Friday, December 14, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# HTTPS
|
||||||
|
|
||||||
|
The problem with standard, unencypted HTTP requests is that the data can be
|
||||||
|
captured in transit and be observed or modified by malicious actors.
|
||||||
|
|
||||||
|
HTTPS is the solution. It encrypts the entirety of the HTTP request and response
|
||||||
|
(URL, headers, body).
|
||||||
|
|
||||||
|
It utilises two types of encryption to send messages securely:
|
||||||
|
|
||||||
|
- symmetric encryption
|
||||||
|
- a single shared key between client and server to encrypt the messages sent
|
||||||
|
between them
|
||||||
|
- asymmetric encryption
|
||||||
|
- two keys are used: a public key to encrypt the data and a private key to
|
||||||
|
decrypt it. The public key can be shared freely so anyone can encrypt and
|
||||||
|
send data to a peer but only the peer can receive and decrypt it
|
||||||
|
|
||||||
|
The encryption protocol used is TLS - the **Transport Layer Security Protocol**.
|
||||||
|
Previously SSL (Secure Sockets Layer) was used but has been deprecated over
|
||||||
|
security concerns.
|
||||||
|
|
||||||
|
## How communication over HTTPs works
|
||||||
|
|
||||||
|
- An initial handshake is shared between client and server, agreeing that
|
||||||
|
communication will be encrypted. This is public. "Client hello" and "Server
|
||||||
|
hello". Some random numbers are exchanged at this point.
|
||||||
|
- The server sends a digital certificate to the client along with its public
|
||||||
|
key. The client checks that the certificate is valid.
|
||||||
|
- If valid, the client encrypts a string of bytes using the public key and sends
|
||||||
|
it to the server. This is called the "premaster secret".
|
||||||
|
- This is decrypted by the server.
|
||||||
|
- The premaster secret, along with the random bytes from the handshake is then
|
||||||
|
used to compute a shared secret key (symmetric) which is used to encrypt all
|
||||||
|
subsequent messages for the duration of the session.
|
12
zk/Network_packet_analysis_tools.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
tags: [networks, procedural]
|
||||||
|
created: Friday, December 13, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# Network packet analysis tools
|
||||||
|
|
||||||
|
- `tcpdump`: View raw packet data (`tcpdump -i wlan0 -XX` for full packet
|
||||||
|
contents)
|
||||||
|
- tshark: Wireshark's CLI for detailed packet analysis (`tshark -i wlan0 -V`)
|
||||||
|
- `nethogs`: Monitor per-application network usage
|
||||||
|
- `iftop`: Show bandwidth usage per connection
|
76
zk/What_can_the_ISP_see.md
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
---
|
||||||
|
tags: [internet, encryption, privacy, TOR]
|
||||||
|
created: Friday, December 13, 2024
|
||||||
|
---
|
||||||
|
|
||||||
|
# What can the ISP see?
|
||||||
|
|
||||||
|
## Plain HTTP
|
||||||
|
|
||||||
|
The ISP can see all content exchanged: DNS lookups, IP address of the server you
|
||||||
|
connect to, requests and body content.
|
||||||
|
|
||||||
|
## Just HTTPS
|
||||||
|
|
||||||
|
With HTTPS alone, the content of the messages is encrypted but the ISP can see:
|
||||||
|
|
||||||
|
- DNS queries
|
||||||
|
- IP addresses you connect to
|
||||||
|
- Traffic patterns and metadata (when, how often, amount of data exchanged etc)
|
||||||
|
|
||||||
|
## HTTPS and encrypted DNS server
|
||||||
|
|
||||||
|
With HTTPS and an encrypted DNS server (e.g. Quad9) the DNS queries are hidden
|
||||||
|
but the IP addresses are not. So they could still derive your DNS lookups from
|
||||||
|
the IPs you end up connecting to.
|
||||||
|
|
||||||
|
## HTTPS and VPN
|
||||||
|
|
||||||
|
The ISP only sees the encrypted traffic to the VPN server. Your real IP and
|
||||||
|
destination IP is hidden.
|
||||||
|
|
||||||
|
However the VPN provider can potentially see DNS queries, depending on their
|
||||||
|
policy. Although a good VPN provider will encrypt DNS lookups like an encrypted
|
||||||
|
DNS server.
|
||||||
|
|
||||||
|
The VPN can also still see what IPs you are connecting to. You are basically
|
||||||
|
swiching trust from the ISP to the VPN provider. However reputable VPNs do not
|
||||||
|
have your billing and identity info (and payment can use cryptocurrencies) and
|
||||||
|
don't keep logs. Many also have policies about refusal to cooporate with
|
||||||
|
authorities in different juristictions. Also the VPN doesn't know your real IP.
|
||||||
|
|
||||||
|
## HTTPS, VPN, and encrypted DNS
|
||||||
|
|
||||||
|
DNS queries hidded from both ISP and VPN. Traffic is fully encrypted and routed
|
||||||
|
through VPN.
|
||||||
|
|
||||||
|
## Fingerprinting
|
||||||
|
|
||||||
|
Note that none of the above stops fingerprinting. Even with full encryption
|
||||||
|
there are methods of determining online behaviour through encrypted packet
|
||||||
|
analysis and usage patterns.
|
||||||
|
|
||||||
|
A way round this is to use SOCKS proxies which add hops or to use TOR. TOR
|
||||||
|
effectively solves the "have to trust VPN provider" problem.
|
||||||
|
|
||||||
|
With TOR:
|
||||||
|
|
||||||
|
- Traffic routed through 3+ nodes
|
||||||
|
- Each node only knows previous and next hop
|
||||||
|
- No single node knows both source and destination. Even Tor nodes can't see the
|
||||||
|
full path
|
||||||
|
|
||||||
|
It also uses:
|
||||||
|
|
||||||
|
- Fixed packet sizes
|
||||||
|
- Timing obfuscation
|
||||||
|
- Traffic padding
|
||||||
|
|
||||||
|
Which makes pattern analysis and fingerprinting much harder than just a VPN.
|
||||||
|
|
||||||
|
Furthermore there is also the following protection from VPN weaknesses:
|
||||||
|
|
||||||
|
- No single provider to trust/compromise
|
||||||
|
- Decentralized network
|
||||||
|
- Free to use and no account needed
|
||||||
|
- No permanent exit node like with VPN
|