Web Cacheability of CRLs David Groep, Jan 26 th, 2009.

Slides:



Advertisements
Similar presentations
Fetching a Web Page Home computer The Internet.
Advertisements

HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
IST 535 Week 1 Class Orientation / Review of Web Basics.
16-Jun-15 HTTP Hypertext Transfer Protocol. 2 HTTP messages HTTP is the language that web clients and web servers use to talk to each other HTTP is largely.
How the web works: HTTP and CGI explained
What’s a Web Cache? Why do people use them? Web cache location Web cache purpose There are two main reasons that Web cache are used:  to reduce latency.
HTTP Exercise 01. Three Internet Protocols IP TCP HTTP Routes messages thru “Inter-network “ 2-way Connection between programs on 2 computers So they.
Configuring a Web Server. Overview  Understand how a Web server works  Install IIS (Internet Information Services) and Apache Web servers  Examine.
CSC 2720 Building Web Applications Servlet – Getting and Setting HTTP Headers.
Web Server Design Week 5 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 2/10/10.
Krerk Piromsopa. Web Caching Krerk Piromsopa. Department of Computer Engineering. Chulalongkorn University.
HTTP Protocol Specification
Chapter 9. HTTP Protocol: Text-based protocol vs TCP and many others Basically a couple of requests (GET and POST) and a much larger variety of replies.
Web Caching: Replication on the World Wide Web Jonathan Bulava CSC8530 – Distributed Systems Dr. Paul Schragger.
FTP (File Transfer Protocol) & Telnet
HTTP Reading: Section and COS 461: Computer Networks Spring
CSC 2720 Building Web Applications Getting and Setting HTTP Headers (With PHP Examples)
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
Maryam Elahi University of Calgary – CPSC 441.  HTTP stands for Hypertext Transfer Protocol.  Used to deliver virtually all files and other data (collectively.
Traffic Control in Apache Jed Reynolds Blog.Bitratchet.com Where in your web site do you need traffic control?
Browser Web Server Users DB 2a. Redirect to login page plugin 1. access a protected page Login Web Server (https) aislogin.cern.ch edh.cern.ch 3a. Set.
Web Services CSCI N321 – System and Network Administration Copyright © 2007,2008 by Scott Orr and the Trustees of Indiana University.
Web Programming Week 1 Old Dominion University Department of Computer Science CS 418/518 Fall 2010 Martin Klein 8/31/10.
1 Introductory material. This module illustrates the interactions of the protocols of the TCP/IP protocol suite with the help of an example. The example.
Hui Zhang, Fall Computer Networking Web, HTTP, Caching.
Web Server Design Week 8 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 3/3/10.
HTTP1 Hypertext Transfer Protocol (HTTP) After this lecture, you should be able to:  Know how Web Browsers and Web Servers communicate via HTTP Protocol.
Web Server Design Week 4 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 2/03/10.
Updates from the EUGridPMA David Groep, Nov 7 nd, 2008.
Proxy Servers.
Web Server Design Assignment #1: Basic Operations Due: 02/03/2010 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin.
Web Server Design Week 11 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 3/24/10.
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
LinuxChix Apache. Serving Webpages The layer 7 protocol (HTTP) is what our browsers talk to get us the websites we can't seem to live without. HTTP is.
Form Data Encoding GET – URL encoded POST – URL encoded
WWW: an Internet application Bill Chu. © Bei-Tseng Chu Aug 2000 WWW Web and HTTP WWW web is an interconnected information servers each server maintains.
Web Server Design Assignment #2: Conditionals & Persistence Due: 02/24/2010 Old Dominion University Department of Computer Science CS 495/595 Spring 2010.
Appendix E: Overview of HTTP ©SoftMoore ConsultingSlide 1.
WEB SERVER Mark Kimmet Shana Blair. The Project Web Server Application  Receives request for web pages or images from a client browser via the internet.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
The Basics of HTTP Jason Dean
Web Server Design Week 2 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 1/20/10.
Web Server Design Week 7 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 2/24/10.
Web Technologies Lecture 1 The Internet and HTTP.
Web Server Design Week 13 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 4/7/10.
HTTP Here, we examine the hypertext transfer protocol (http) – originally introduced around 1990 but not standardized until 1997 (version 1.0) – protocol.
EE 122: Lecture 21 (HyperText Transfer Protocol - HTTP) Ion Stoica Nov 20, 2001 (*)
Monitoring Web Sites With Openview Operations Utilizing Perl within Openview.
5 th ed: Chapter 17 4 th ed: Chapter 21
Overview of Servlets and JSP
LURP Details. LURP Lab Details  1.Given a GET … call a proxy CGI script in the same way you would for a normal CGI request  2.This UDP perl.
Web Server Design Week 6 Old Dominion University Department of Computer Science CS 495/595 Spring 2010 Martin Klein 2/17/10.
Do Not Track: A Universal Third- Party Web Tracking Opt Out draft-mayer-do-not-track-00 Jonathan Mayer Arvind Narayanan Sid Stamm.
WEB1P webarch1 Web architecture Dr Jim Briggs. WEB1P webarch2 What is the web? Distributed system Client-server system Characteristics of clients and.
Web Server Design Week 5 Old Dominion University Department of Computer Science CS 495/595 Spring 2012 Michael L. Nelson 02/07/12.
Web Programming Week 1 Old Dominion University Department of Computer Science CS 418/518 Fall 2007 Michael L. Nelson 8/27/07.
REST API Design. Application API API = Application Programming Interface APIs expose functionality of an application or service that exists independently.
© Janice Regan, CMPT 128, Jan 2007 CMPT 371 Data Communications and Networking HTTP 0.
Web Server Administration Chapter 6 Configuring a Web Server.
Web Server Design Week 13 Old Dominion University Department of Computer Science CS 495/595 Spring 2012 Michael L. Nelson 04/03/12.
Web Server Design Week 3 Old Dominion University Department of Computer Science CS 495/595 Spring 2006 Michael L. Nelson 1/23/06.
Web Server Design Week 6 Old Dominion University Department of Computer Science CS 495/595 Spring 2006 Michael L. Nelson 2/13/06.
Intro to REST Joe Gregorio Google. REST is an Architectural Style.
Web Server Design Week 4 Old Dominion University
Web Caching? Web Caching:.
Web Server Design Week 7 Old Dominion University
Web Server Design Assignment #2: Conditionals & Persistence
Web Server Design Week 6 Old Dominion University
Web Server Design Week 5 Old Dominion University
CSCI-351 Data communication and Networks
Presentation transcript:

Web Cacheability of CRLs David Groep, Jan 26 th, 2009

TAGPMA ‘La Plata’ meeting – Nov David Groep – Web Cachability, why? Downloads clustered in first seconds of the minute Statistics: downloads per day per CA distinct IP addresses average 4 downloads per day per host Data: DutchGrid CA

TAGPMA ‘La Plata’ meeting – Nov David Groep – Network traffic Site cache misconfigurations or new sites

TAGPMA ‘La Plata’ meeting – Nov David Groep – There Are Caches  Majority of IPs download individually every 6hours  But there are at least 300 sites that cache!

TAGPMA ‘La Plata’ meeting – Nov David Groep – Web Cacheability  Good $ HEAD -S OK Cache-Control: max-age=3600 Connection: close Date: Wed, 05 Nov :31:48 GMT Accept-Ranges: bytes Server: Apache Content-Length: 4728 Content-Type: text/plain Expires: Wed, 05 Nov :31:48 GMT Last-Modified: Tue, 04 Nov :07:05 GMT Client-Date: Wed, 05 Nov :31:48 GMT Client-Response-Num: 1

TAGPMA ‘La Plata’ meeting – Nov David Groep – Web Cacheability  Reasonable, but relies on remote site cache setup $ HEAD OK Connection: close Date: Wed, 05 Nov :15:02 GMT Accept-Ranges: bytes ETag: " b3a-1c7652c0" Server: Apache/ (Red Hat) Content-Length: Content-Type: text/plain; charset=UTF-8 Last-Modified: Wed, 09 Jan :31:31 GMT Client-Date: Wed, 05 Nov :15:02 GMT Client-Peer: :80 Client-Response-Num: 1

TAGPMA ‘La Plata’ meeting – Nov David Groep – Web Cacheability  Update your CRL URL, but answer is reasonable  Update your CRL URL, answer wastes the cache $ HEAD HTTP/ Moved Permanently Date: Mon, 03 Nov :59:13 GMT Server: Apache Location: Content-Length: 247 Content-Type: text/html; charset=iso $ HEAD HTTP/ Found Date: Mon, 03 Nov :04:08 GMT Server: Apache/2.2.6 (Fedora) Location: Content-Length: 287 Connection: close Content-Type: text/html; charset=iso

TAGPMA ‘La Plata’ meeting – Nov David Groep – Web Cacheability  Uncacheable (no Last-Modified nor Expires header) And Last-Modified header should be there to allow HEAD requests $ HEAD ' 200 OK Connection: close Date: Wed, 05 Nov :17:05 GMT Server: Apache/2.2.8 (Fedora) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8b Content-Length: 593 Content-Type: octet/stream Client-Date: Wed, 05 Nov :35:44 GMT Client-Peer: :80 Client-Response-Num: 1 Content-Disposition: attachement; filename="CNRS-Projets.crl"

TAGPMA ‘La Plata’ meeting – Nov David Groep – Web Cacheability  Rather ‘interesting’ $ HEAD OK Cache-Control: max-age= Connection: close Date: Mon, 03 Nov :05:40 GMT Accept-Ranges: bytes Server: Apache Content-Length: 4505 Content-Type: text/plain Expires: Thu, 06 Nov :05:40 GMT Last-Modified: Tue, 28 Oct :42:44 GMT Client-Date: Mon, 03 Nov :05:40 GMT Client-Peer: :80 Client-Response-Num: 1

TAGPMA ‘La Plata’ meeting – Nov David Groep – Web Caching configuration (apache)  Apache 2.x configuration - within your (virtual) host section ExpiresActive On ExpiresDefault "access plus 1 hours" Options -Includes ExpiresActive On ExpiresDefault "access plus 1 days" Options -Includes

TAGPMA ‘La Plata’ meeting – Nov David Groep – Changes to Fetch-CRL?  Fabio Hernandez’ fetch-crl utility is getting ‘old’  Some fixes but a shell script is too limited to be really ‘smart’  But then not all possibilities are yet used! (like the failover capability for downloads, should we do that?)  New features in  retain original download with ‘Last-modified’ time as obtained from the web server, so as to do HEAD instead of GET requests. … if you define a cache directory for the tool to use  Make cRLAgingThreshold of 24 hours the default  Wish list for a successor tool  Make the tool ‘stateful’ so it can give adapt to network trouble and do parallel downloads  Support for multiple root certs with the same DN (.0,.1 system)  Read directly from the.info file (multiple URLs per CRL)