========================================== Webproxy SQUID: Funktionsweise & Nutzen ========================================== .. raw:: html Definition: Was ist SQUID? -------------------------- SQUID ist ein Full-Feature-Webproxy, der auf dem **Application Layer (Layer 7)** arbeitet. Er agiert als "Man-in-the-Middle" zwischen dem internen Client und dem externen Webserver. .. uml:: @startuml skinparam ParticipantPadding 20 skinparam BoxPadding 10 box "Internes Netz" #LightBlue participant "Client" as C end box box "DMZ / Gateway" #LightGrey participant "SQUID Proxy" as P database "Cache" as D end box participant "Webserver (Internet)" as W == Cache Miss (Erster Aufruf) == C -> P: HTTP Request (www.test.ch) P -> D: Check Cache? D -> P: Not found (Miss) P -> W: Request an Webserver W -> P: HTTP Response (Daten) P -> D: Speicher Kopie P -> C: Daten an Client == Cache Hit (Zweiter Aufruf) == C -> P: HTTP Request (www.test.ch) P -> D: Check Cache? D -> P: Found (Hit) P -> C: Daten direkt aus Cache (schnell!) @enduml Die Kernfunktionen im Detail ---------------------------- .. raw:: html