Internet notes

CSCE 4560/5560 - Secure Electronic Commerce Spring 2026

Internet Overview

  • Definition: A global system of interconnected computer networks using internet protocol suite (TCP/IP).

  • Key Points:

    • Supports dynamic joining/leaving of computers.

    • Built on open standards with lack of centralized control.

    • Difference between Internet and WWW: WWW is a subset of the Internet comprising websites/pages; the Internet encompasses broader services (e.g. email, chat).

  • Evolution:

    1. Innovation Phase (1964-1974): Foundation technologies.

    2. Institutionalization Phase (1975-1995): TCP/IP adoption; emergence of NSFNET.

    3. Commercialization Phase (1995-present): Transition to private sector control, expansion of Internet services.

  • Key Concepts:

    • Protocols: Standards for communication among computers.

    • Layering: Managing complexity through layered approaches (e.g., OSI model).

    • Servers and Browsers: Servers host web pages, browsers retrieve and display them

Networking Protocols

  • Definition: A protocol is a set of rules for data exchange between network entities.

  • Examples of Protocol Types:

    • Transport Protocols: TCP and UDP, each suitable for different types of applications (email vs. streaming).

    • Application Protocols: How devices communicate irrespective of operating systems (e.g., SMTP for email).

  • Common Ports and Protocols:

    • List of common well-known ports, e.g., 20/2120/21 for FTP, 2525 for SMTP, 8080 for HTTP, 443443 for HTTPS.

  • Packet-Switching:

    • Breaks messages into packets for routing independently of one another.

Domain Naming and Addressing

  • Domain Name System (DNS): Translates human-readable domain names to IP addresses.

    • Hierarchical naming convention with a distributed database.

  • URL Structure: Components include protocol, host, and resource path.

IP Addressing: IPv4 vs. IPv6
  • IPv4 (Internet Protocol version 4):

    • Structure: Uses a 3232-bit address space, which allows for approximately 2322^{32} (≈4.3\approx 4.3 billion) unique addresses.

    • Notation: Represented in dotted-decimal format (e.g., 192.168.1.1192.168.1.1).

    • Mechanism: Relies on ARP (Address Resolution Protocol) to map IP addresses to MAC addresses. Due to the limited address space, many networks use NAT (Network Address Translation) to map multiple private addresses to a single public IP.

    • Header size: Variable header size starting at 2020 bytes.

  • IPv6 (Internet Protocol version 6):

    • Structure: Developed to replace IPv4, it uses a 128128-bit address space, allowing for 21282^{128} (≈3.4×1038\approx 3.4 \times 10^{38}) addresses.

    • Notation: Represented in hexadecimal format, separated by colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:73342001:0db8:85a3:0000:0000:8a2e:0370:7334).

    • Key Improvements:

      • Simplified Routing: Fixed header size of 4040 bytes reduces processing overhead for routers.

      • Built-in Security: Integrated support for IPsec (Internet Protocol Security), providing authentication and encryption at the network layer.

      • Efficiency: Eliminates the need for NAT, allowing for true end-to-end connectivity and simpler peer-to-peer communication.

      • Autoconfiguration: Supports Stateless Address Autoconfiguration (SLAAC), allowing devices to generate their own IP address without a DHCP server.

  • MAC (Media Access Control) address:

    • Definition: A unique physical hardware address assigned to a Network Interface Controller (NIC) for identification at the Data Link Layer (Layer 22).

    • Structure: It is a 4848-bit (66-byte) identifier.

    • Notation: Commonly represented as six groups of two hexadecimal digits separated by colons (e.g., 00:0A:95:9D:68:1600:0A:95:9D:68:16) or hyphens.

    • Components:

      • Organizationally Unique Identifier (OUI): The first 2424 bits (33 bytes) identify the manufacturer or vendor.

      • NIC Specific: The remaining 2424 bits (33 bytes) are uniquely assigned by the vendor to identify the specific hardware.

HyperText Transfer Protocol (HTTP)

  • Basics: The foundation of data communication on the Web.

  • Connections: HTTP connections traditionally established over TCP, with GET method used for retrieving data.

  • Versions:

    • HTTP/0.9, HTTP/1.0, HTTP/1.1, HTTP/2, and HTTP/3 (with QUIC for improved performance).

Cookies and Stateless Nature of HTTP

  • Cookies: Small text data files used to store stateful information to identify users across requests.

  • Privacy Regulations: GDPR and related frameworks influencing cookie usage and consent requirements.

Additional Resources

  • Bug Bounty Program for Businesses

  • CISA: Cybersecurity and Infrastructure Security Agency

  • Additional recommended readings for keeping up with industry trends and developments in cybersecurity.

#