Internet infrastructure - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Internet infrastructure

Description:

IP packets: linked via session Ids. Request. Reply. HTTP 1.1. One request/reply: one TCP connection. One session: multiple TCP/IP connections ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 16
Provided by: csK48
Category:

less

Transcript and Presenter's Notes

Title: Internet infrastructure


1
Internet infrastructure
  • Prof. dr. ir. André Mariën

2
HTTP and sessions
  • TCP session virtual session
  • IP packets linked via session Ids
  • Request
  • Reply
  • HTTP lt 1.1
  • One request/reply one TCP connection
  • One session multiple TCP/IP connections

3
HTTP sessions
  • HTTP 1.1
  • Multiple request/reply over one TCP connection
  • HTTP session
  • One or more TCP connections
  • Session managed otherwise

4
HTTP session management
  • Based on client IP address
  • Instable
  • Time
  • NAT
  • Multiple clients from same IP
  • Proxies
  • Firewalls
  • Based on URL parameter
  • Querystring element
  • Transmitted via HIDDEN fields in forms
  • Cookies

5
HTTP cookies
  • Initial specification netscape
  • RFC2109 HTTP State Management Mechanism
  • HTTP headers
  • Reply
  • Set-Cookie
  • Request
  • Cookie

6
The syntax for the Set-Cookie response header
  • "Set-Cookie" (ltcookiegt)
  • cookie ltnamegt "" ltvaluegt ( "" cookie-av)
  • cookie-av
  • "Comment" value
  • "Domain" value
  • "Max-Age" value
  • "Path" value
  • "Secure
  • "Version" (DIGIT)

7
Domain cookies
  • Cookies for a site
  • Default
  • Only sent back to issuer
  • Cookies for a domain
  • Sent back to any host in the domain
  • Usage Single Sign On (SSO)
  • Do not allow cookies for domain .be, .com etc.

8
Storage control
  • Max-age expiration
  • Replay header
  • Cache-control no-cache"set-cookie
  • Cache-control private
  • Expires old-date
  • Documents with cookies most often should not be
    cached expires header with old date prevents
    caching

9
Path
  • Limit cookies to subparts of the site
  • Extra cookies for specific parts

10
Secure
  • Cookies identify sessions
  • Sessions can be authenticated
  • Cookies highly sensative
  • Cookie sharing between HTTP and HTTPs
    problematic
  • Secure only over secure connections

11
Tracking users
  • Tracking users intra-domain domain cookies
  • How to track users cross-domain?

12
Central server
  • Participating server
  • Connect to central
  • Obtain unique ID
  • Central server
  • Maintains ID per user
  • Provides unique ID to requesting servers

13
Central server
Session-central-5FD324S9
Central server
2
3
5
client
1
3
Server a
Session-a-231
4
5
Server b
Session-b-734
14
Technology cookies and redirect
  • Page contains link
  • http//server-a/setCentralID
  • No centralID triggers redirect to central
  • http//central/server-a/
  • Central redirect back
  • http//server-a/setCentralID?centralID
  • Server-a now has uniqueID for user

15
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com