(Usage hints for this presentation)
VM Neuland im Internet 2021
Dr. Jens Lechtenbörger (License Information)
GET
requests of HTTP as application protocoltelnet
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)
www.informationelle-selbstbestimmung-im-internet.de
require GnuTLS
telnet
purpose: Login to remote host
ssh
telnet www.google.de 80
(port 80 for HTTP)
ctrl-+
or ctrl-]
, set localecho
[enter] [enter])GET / HTTP/1.1
[enter]Host: www.google.de
[enter] [enter]telnet
on previous slidegnutls-cli --crlf www.informationelle-selbstbestimmung-im-internet.de
GET /chaosreader.html HTTP/1.1
[enter]Host: www.informationelle-selbstbestimmung-im-internet.de
[enter] [enter]gnutls-cli --crlf --starttls -p 587 secmail.uni-muenster.de
ehlo localhost
, then starttls
; press ctrl-d
to
enter TLS mode; needs authentication)ctrl-shift-I
with Firefox\r\n
belowGET
request (does not have a body)
GET /chaosreader.html HTTP/1.1\r\n
Host: www.informationelle-selbstbestimmung-im-internet.de\r\n
\r\n
GET
request
HTTP/1.1 200 OK\r\n
Date: Wed, 08 Apr 2020 13:30:10 GMT\r\n
Server: Apache\r\n
Last-Modified: Wed, 24 Jul 2019 12:25:46 GMT\r\n
ETag: "2cd1-58e6c6898dce2"\r\n
Content-Length: 11473\r\n
more headers omitted
Content-type: text/html; charset=utf-8\r\n
\r\n
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 /chaosreader.html HTTP/1.1
Host: www.informationelle-selbstbestimmung-im-internet.de
If-None-Match: "2cd1-58e6c6898dce2"
HTTP/1.1 304 Not Modified
Date: Wed, 08 Apr 2020 14:07:31 GMT
additional headers
Location
header)This document is part of a larger course. Source code and source files are available on GitLab under free licenses.
Except where otherwise noted, the work “The Web”, © 2018-2021 Jens Lechtenbörger, is published under the Creative Commons license CC BY-SA 4.0.