(Usage hints for this presentation)
Summer Term 2018
Dr. Jens Lechtenbörger (License Information)
DBIS Group
Prof. Dr. Gottfried Vossen
Chair for Computer Science
Dept. of Information Systems
WWU Münster, Germany
telnet
or gnutls-cli
“Hourglass design”
telnet
can be used (preinstalled
or available for lots of OSs)gnutls-cli
can be used (part of
GnuTLS, which is
free software)
ssh
, for thattelnet
can establish arbitrary TCP connections
telnet www.google.de 80
set localecho
[enter] [enter])GET / HTTP/1.1
[enter]Host: www.google.de
[enter] [enter]telnet wi.uni-muenster.de 25
telnet
on previous slidegnutls-cli --crlf www.informationelle-selbstbestimmung-im-internet.de
GET /Anonymes_Surfen_mit_Tor.html HTTP/1.1
[enter]Host: www.informationelle-selbstbestimmung-im-internet.de
[enter] [enter]gnutls-cli --crlf --starttls -p 25 wi.uni-muenster.de
ehlo localhost
, then starttls
; press ctrl-d to enter TLS mode\r\n
belowGET
request (does not have a body)
GET /newsticker/ HTTP/1.1\r\n
Host: www.heise.de\r\n
User-Agent: Mozilla/5.0\r\n
\r\n
GET
request
HTTP/1.1 200 OK\r\n
Date: Tue, 02 Nov 2010 13:49:26 GMT\r\n
Server: Apache\r\n
Vary: Accept-Encoding,User-Agent\r\n
Content-Encoding: gzip\r\n
Content-Length: 20046\r\n
Connection: close\r\n
Content-Type: text/html; charset=utf-8\r\n
\r\n
gzip'ed HTML code as body
GET
(Request for resource, see section 4.3.1)HEAD
(Request information on resource, see section 4.3.2)POST
(Transfers entity, see section 4.3.3)
PUT
(Creates new resource on server, see section 4.3.4)DELETE
(Deletes resource from server, see section 4.3.5)CONNECT
(Establish tunnel with proxy, see section 4.3.6)OPTIONS
(Asks for server capabilities, see section 4.3.7)TRACE
(Tracing of messages through proxies, see section 4.3.8)GET
under conditions
If-Modified-Since
If-Match
If-None-Match
GET /Anonymes_Surfen_mit_Tor.html HTTP/1.1
Host: www.informationelle-selbstbestimmung-im-internet.de
If-None-Match: "4fc5-568ed5e21e210"
HTTP/1.1 304 Not Modified
Date: Mon, 16 Jul 2018 08:23:07 GMT
additional headers
Options
“ HTTP/1.x connection management ” by Mozilla Contributors under CC BY-SA 2.5; from MDN web docs
GET
requests and conditional GET
requests on
the command line? Any surprises?Expires
, Max-Age
Domain
Path
Secure
HttpOnly
HTTP caching assumptions
“ HTTP cache types ” by Mozilla Contributors under CC BY-SA 2.5; from MDN web docs
GET
(“Slow hit”)no-store
, no-cache
, must-revalidate
no-cache
no-store
Content-Type
(type of data contained in message)Content-Transfer-Encoding
(how data in message body is encoded)Simple Mail Transfer Protocol, 1982 (SMTP, RFC 821→2821→5321)
telnet wi 25 Trying 128.176.159.139... Connected to wi.uni-muenster.de. Escape character is '\^]'. 220 wi-vm700.wi1.uni-muenster.de Microsoft ESMTP MAIL Service ready at Tue, 27 Oct 2009 11:22:11 +0100 HELO mouse.nix 250 wi-vm700.wi1.uni-muenster.de Hello [128.176.159.107] MAIL From: micky@mouse.nix 250 2.1.0 Sender OK RCPT To: lechten@wi.uni-muenster.de 250 2.1.5 Recipient OK DATA 354 Start mail input; end with <CRLF>.<CRLF> Received: from mx1.disney.com ([192.195.66.20]) by smtp.mouse.nix Super Duper SMTP Server; Tue, 27 Oct 2009 11:19:17 +0100 To: 42@universe.com From: micky@mouse.nuix Subject: Don't panic Somebody Else's Problem! (This is the message body after the empty line. Note that headers preceding the empty line have also been entered manually. They are ignored by SMTP, but displayed to user.) . 250 2.6.0 <b13a2a36-f56b-43ec-ad81-41ec44190e6a@wi-vm700.wi1.uni-muenster.de> Queued mail for delivery
Microsoft Mail Internet Headers Version 2.0 Received: from wi-vm700.wi1.uni-muenster.de ([128.176.158.92]) by wi-vmail2005.wi1.uni-muenster.de with Microsoft SMTPSVC(6.0.3790.3959); Tue, 27 Oct 2009 11:22:35 +0100 Received: from mouse.nix (128.176.159.107) by wi-vm700.wi1.uni-muenster.de (128.176.159.139) with Microsoft SMTP Server id 8.1.375.2; Tue, 27 Oct 2009 11:22:28 +0100 Received: from mx1.disney.com ([192.195.66.20]) by smtp.mouse.nix Super Duper SMTP Server; Tue, 27 Oct 2009 11:19:17 +0100 To: 42@universe.com From: <micky@mouse.nuix> Subject: Don't panic MIME-Version: 1.0 Content-Type: text/plain Message-ID: <b13a2a36-f56b-43ec-ad81-41ec44190e6a@wi-vm700.wi1.uni-muenster.de> Return-Path: micky@mouse.nix Date: Tue, 27 Oct 2009 11:22:28 +0100 X-OriginalArrivalTime: 27 Oct 2009 10:22:35.0473 (UTC) FILETIME=[66C35410:01CA56EF]
Source code and source files for this presentation are available on GitLab under free licenses.
Except where otherwise noted, this work, “Web and E-Mail”, is © 2018 by Jens Lechtenbörger, published under the Creative Commons license CC BY-SA 4.0.
In particular, trademark rights are not licensed under this license. Thus, rights concerning third party logos (e.g., on the title slide) and other (trade-) marks (e.g., “Creative Commons” itself) remain with their respective holders.