Instructions for TAs Add these entries to your ‘hosts’ file: – 67.18.184.147 nsa.gov – 67.18.184.147 www.nsa.gov (also feel free to set up a dodgy DNS.

Slides:



Advertisements
Similar presentations
Daves DNS Show Read at your own risk. Domain Name Service Maps IP addresses to more human readable domain names Every domain name ultimately resolves.
Advertisements

Building a Simple Web Proxy
The OWASP Foundation Web Application Security Host Apps Firewall Host Apps Database Host Web serverApp serverDB server Securing the.
CS 22: Enhanced Web Site Design - Week 8Slide 1 of 15 Enhanced Web Site Design Stanford University Continuing Studies CS 22 Mark Branom
DNS and TCP Sequence Numbers (Again!) EE122 Discussion 10/24/2011.
Sergei Komarov. DNS  Mechanism for IP hostname resolution  Globally distributed database  Hierarchical structure  Comprised of three components.
An Introduction to the Internet and the Web Frank McCown COMP 250 – Internet Development Harding University.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
CS3505 The Internet and Info Hiway transport layer protocols : TCP/UDP.
Chapter 2: Application Layer
CLIENT / SERVER ARCHITECTURE AYRİS UYGUR & NİLÜFER ÇANGA.
Chapter 2 Application Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley, July.
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
2/9/2004 Web and HTTP February 9, /9/2004 Assignments Due – Reading and Warmup Work on Message of the Day.
Instructions for TAs Add these entries to your ‘hosts’ file: – nsa.gov – (also feel free to set up a dodgy.
Forensic and Investigative Accounting
DNS and HTTP CS 168. Domain Name Service Host addresses: e.g., – a number used by protocols – conforms to network structure (the “where”)
Lecturer: Maxim Podlesny Sep CSE 473 File Transfer and Electronic in Internet.
DNS and C# SWE 344 Internet Protocols & Client Server Programming.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
Application Layer 2 Figures from Kurose and Ross
October 15, 2002Serguei A. Mokhov, 1 Intro to DNS SOEN321 - Information Systems Security.
Examining TCP/IP.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 6: Name Resolution.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network, Enhanced Chapter 6: Name Resolution.
CIS 450 – Network Security Chapter 3 – Information Gathering.
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 26.
Transmission Control Protocol TCP. Transport layer function.
1 Welcome to CSC 301 Web Programming Charles Frank.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
2: Application Layer 1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP.
CITA 310 Section 2 HTTP (Selected Topics from Textbook Chapter 6)
ECMM6018 Enterprise Networking for Electronic Commerce Tutorial 7
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
4343 X2 – Outline The Domain Name System The Web.
Network Security Threats KAMI VANIEA 18 JANUARY KAMI VANIEA 1.
1 CMPT 471 Networking II DNS © Janice Regan,
Application of the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Data Communications and Computer Networks Chapter 2 CS 3830 Lecture 7 Omar Meqdadi Department of Computer Science and Software Engineering University of.
Week 11: Application Layer 1 Web and HTTP r Web page consists of objects r Object can be HTML file, JPEG image, Java applet, audio file,… r Web page consists.
4343 X2 – The Application Layer Tanenbaum Chapter 7.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Ch 2. Application Layer Myungchul Kim
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
Web page – Html –base file – Objects (first DNS) First get html file Then browser reads the html and gets the objects.
Cookies Tutorial Cavisson Systems Inc..
Web fundamentals: Clients, Servers, and Communication
Block 5: An application layer protocol: HTTP
WWW and HTTP King Fahd University of Petroleum & Minerals
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Networking An Example
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
Net431:advanced net services
CS 5565 Network Architecture and Protocols
Hypertext Transfer Protocol (HTTP)
Web Server Design Week 6 Old Dominion University
World Wide Web Uniform Resource Locator hostname [:port]/path
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Application Layer: HTTP
HTTP/2.
CSCI-351 Data communication and Networks
Presentation transcript:

Instructions for TAs Add these entries to your ‘hosts’ file: – nsa.gov – (also feel free to set up a dodgy DNS server etc.) Burn these instructions after reading

DNS and HTTP! aka how to make a website! Finishing off TCP plus

Normal Termination: One Side At A Time Figure: slide 80, lecture 12 SYN SYN ACK ACK Data FIN ACK time Anand Panda FIN ACK If Anand wished to disconnect acrimoniously, what packet could he send instead?

‘ping

‘ping

DNS: DDB of RRs – “Domain Name System: distributed database storing resource records” Format: (name, value, type, ttl) Types: –A–A – NS – PTR – CNAME – MX Defending Our Nation. Securing The Future.

What’s wrong? – Why isn’t this the National Scrabble Association?

‘ping www2.scrabble-assoc’:

‘ping www2.scrabble-assoc’:

Hostname works …

Unmasking the stealthy NSA $ telnet GET / HTTP/1.0 HTTP/ Bad Request Content-Type: text/html Date: Wed, 17 Oct :13:42 GMT Connection: close Content-Length: 39 Bad Request (Invalid Hostname) Connection to closed by foreign host. $ telnet GET / HTTP/1.0 Host: scrabble-assoc.com HTTP/ OK Connection: close Date: Wed, 17 Oct :30:21 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Length: Content-Type: text/html Set-Cookie: ASPSESSIONIDQSAQDTQA=GMLHAOP CHHHFEEJCJCNEDMIO; path=/... See also slide 70, lecture 13 (“Multiple Sites Per Machine”)

HTTP is Stateless When would we want to store state? How/where? – What principle does this follow from? HTTP/ OK Connection: close Date: Wed, 17 Oct :30:21 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Length: Content-Type: text/html Set-Cookie: ASPSESSIONIDQSAQDTQA=GMLHAOP CHHHFEEJCJCNEDMIO; path=/ See also slide 51 (lecture 13) + slide 64 (lecture 4)

Non-persistent TCP connection TCP SYN TCP SYN-ACK TCP ACK + HTTP REQUEST TCP ACK + HTTP RESPONSE TCP FIN TCP FIN-ACK TCP ACK 1 RTT + transmission

Easy ways to order! 1.Go to store 2.Order burger 3.Go to store 4.Order drink 5.Go to store 6.Order fries 1.Go to store with two friends 2.Each person orders one item (in parallel) 1.Go to store 2.Order burger, drink and fries 1 1.Go to store 2.Order burger 3.Order drink 4.Order fries 2 34