<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V5.0//EN" "/usr/share/xml/docbook/schema/dtd/5.0/docbook.dtd" [
<!ENTITY phl SYSTEM "author.xml">
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY % inetdoc_urls SYSTEM "inetdoc.urls.xml">
<!--###################################################
                   Articles
    ################################################### --><!ENTITY url.modelisations '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/modelisation/"><citetitle>Modélisations réseau</citetitle></link>'>
<!ENTITY url.modelisations.encapsulation '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/modelisation/modelisations.concept.html#modelisations.concept.encapsulation"><citetitle>Encapsulation</citetitle></link>'>
<!ENTITY url.wireshark-as-user '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/wireshark-as-user/"><citetitle>Capturer le trafic réseau au niveau utilisateur avec Wireshark</citetitle></link>'>
<!ENTITY url.rnis '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/rnis/"><citetitle>Technologie RNIS</citetitle></link>'>
<!ENTITY url.ethernet '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/ethernet/"><citetitle>Technologie Ethernet</citetitle></link>'>
<!ENTITY url.pppoe '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/pppoe/"><citetitle>Modélisation d&#39;un lien WAN avec PPPoE</citetitle></link>'>
<!ENTITY url.adressage.ipv4 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/adressage.ipv4/"><citetitle>Adressage IPv4</citetitle></link>'>
<!ENTITY url.lan-segmentation '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/lan-segmentation/"><citetitle>Segmentation des réseaux locaux</citetitle></link>'>
<!ENTITY url.inter-vlan-routing '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/inter-vlan-routing/"><citetitle>Routage Inter-VLAN</citetitle></link>'>
<!ENTITY url.reseau.libre '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/articles/reseau.libre/">
  <citetitle>Logiciel Libre &amp; Technologies Réseaux</citetitle></link>'>
<!--###################################################
                   Pas encore migré
    ################################################### --><!ENTITY url.explore '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/explore.gnulinux/">
  <citetitle>Exploration GNU/Linux</citetitle></link>'>
<!ENTITY url.explore.seance.4 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/explore.gnulinux/seance.4/">
  <citetitle>Exploration GNU/Linux - Séance 4</citetitle></link>'>
<!ENTITY url.explore.seance.5 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/explore.gnulinux/seance.5/">
  <citetitle>Exploration GNU/Linux - Séance 5</citetitle></link>'>
<!ENTITY url.explore.seance.6 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/explore.gnulinux/seance.6/">
  <citetitle>Exploration GNU/Linux - Séance 6</citetitle></link>'>
<!ENTITY url.config.interface.wlan '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/config.interface.wlan/">
  <citetitle>Configuration d&#39;une interface de réseau sans fil IEEE 802.11</citetitle></link>'>
<!ENTITY url.admin.reseau.fs '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.fs/">
  <citetitle>Systèmes de fichiers réseau</citetitle></link>'>
<!ENTITY url.admin.reseau.iscsi '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.iscsi/">
  <citetitle>Introduction au réseau de stockage iSCSI</citetitle></link>'>
<!ENTITY url.admin.reseau.nfs.abstract '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/index.html#admin.reseau.nfs">
  <citetitle>Introduction au système de fichiers réseau NFS</citetitle></link>'>
<!ENTITY url.admin.reseau.nfs '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.nfs/">
  <citetitle>Introduction au système de fichiers réseau NFS</citetitle></link>'>
<!ENTITY url.admin.reseau.nfs.synthese '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.nfs.synthese/">
  <citetitle>Introduction au système de fichiers réseau NFS</citetitle></link>'>
<!ENTITY url.admin.reseau.ldap.abstract '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/index.html#admin.reseau.ldap">
  <citetitle>Introduction au service LDAP</citetitle></link>'>
<!ENTITY url.admin.reseau.ldap '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.ldap/">
  <citetitle>Introduction au service LDAP</citetitle></link>'>
<!ENTITY url.admin.reseau.ldap.synthese '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.ldap.synthese/">
  <citetitle>Introduction au service LDAP</citetitle></link>'>
<!ENTITY url.admin.reseau.nfs4-ldap.abstract '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/index.html#admin.reseau.nfs4-ldap">
  <citetitle>NFSv4 + LDAP + autofs</citetitle></link>'>
<!ENTITY url.admin.reseau.nfs4-ldap '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.nfs4-ldap/">
  <citetitle>NFSv4 + LDAP + autofs</citetitle></link>'>
<!ENTITY url.admin.reseau.nfs4-ldap.synthese '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.nfs4-ldap.synthese/">
  <citetitle>NFSv4 + LDAP + autofs</citetitle></link>'>
<!ENTITY url.admin.reseau.nis '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.nis/">
  <citetitle>Introduction au service NIS</citetitle></link>'>
<!ENTITY url.admin.reseau.synthese-nfs3-nis '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.synthese-nfs3-nis/">
  <citetitle>Administration système en réseau : synthèse NFS v3 &amp; NIS</citetitle></link>'>
<!ENTITY url.admin.reseau.dns-dhcp '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.dns-dhcp/">
  <citetitle>Présentation services DNS &amp; DHCP</citetitle></link>'>
<!ENTITY url.admin.reseau.dns '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/cours/admin.reseau.dns/">
  <citetitle>Introduction au service DNS</citetitle></link>'>
<!--###################################################
                   Guides
    ################################################### --><!ENTITY url.lartc.fr '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/lartc/"><citetitle>HOWTO du routage avancé et du contrôle de trafic sous Linux</citetitle></link>'>
<!ENTITY url.lartc.fr.rpdb '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/lartc/lartc.rpdb.html"><citetitle>LARTC : bases de données des politiques de routage</citetitle></link>'>
<!ENTITY url.lartc.fr.netfilter '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/lartc/lartc.netfilter.html"><citetitle>LARTC : Netfilter et iproute - marquage de paquets</citetitle></link>'>
<!ENTITY url.lartc.fr.tunnel.ip-ip '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/lartc/lartc.tunnel.ip-ip.html"><citetitle>LARTC : IP dans un tunnel IP</citetitle></link>'>
<!ENTITY url.lartc.fr.tunnel.gre '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/lartc/lartc.tunnel.gre.html"><citetitle>LARTC : Le tunnel GRE</citetitle></link>'>
<!ENTITY url.iptables-tutorial.fr '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/iptables-tutorial/"><citetitle>Tutoriel iptables</citetitle></link>'>
<!ENTITY url.zebra.static '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/zebra.statique/"><citetitle>Initiation au routage, 1ère partie</citetitle></link>'>
<!ENTITY url.zebra.rip '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/zebra.rip/"><citetitle>Initiation au routage, 2ème partie</citetitle></link>'>
<!ENTITY url.zebra.ospf '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/zebra.ospf/"><citetitle>Initiation au routage, 3ème partie</citetitle></link>'>
<!ENTITY url.vm '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/vm/"><citetitle>Virtualisation système et enseignement</citetitle></link>'>
<!ENTITY url.vm.startup.sh '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/vm/vm.appendix.html#vm.appendix.startup.sh">code du script <function>startup.sh</function> de lancement d&#39;une machine virtuelle</link>'>
<!ENTITY url.linux.networking '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/linux.networking/"><citetitle>Fonctions réseau du noyau Linux</citetitle></link>'>
<!ENTITY url.policyrouting '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/pdf/Policy_Routing_in_Linux_ENG.pdf"><citetitle>Policy Routing in Linux</citetitle></link>'>
<!ENTITY url.proxy '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/guides/squid-guard/"><citetitle>Proxy Squid &amp; SquidGuard</citetitle></link>'>
<!--###################################################
                   Présentations
    ################################################### --><!ENTITY url.sysadm-base-1 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/presentations/sysadm-base-1/">
  <citetitle>Introduction aux systèmes GNU/Linux - Séance 1</citetitle></link>'>
<!ENTITY url.sysadm-base-2 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/presentations/sysadm-base-2/">
  <citetitle>Introduction aux systèmes GNU/Linux - Séance 2</citetitle></link>'>
<!ENTITY url.sysadm-base-3 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/presentations/sysadm-base-3/">
  <citetitle>Introduction aux systèmes GNU/Linux - Séance 3</citetitle></link>'>
<!ENTITY url.storage '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/presentations/stockage/"><citetitle>Stockage Réseau</citetitle></link>'>
<!--###################################################
                   Travaux pratiques
    ################################################### --><!ENTITY url.infra.tp '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/infra.tp/"><citetitle>Architecture réseau des travaux pratiques</citetitle></link>'>
<!ENTITY url.infra.tp.cabling '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/infra.tp/infra.tp.interco.html#infra.tp.interco.cabling"><citetitle>Disposition des équipements dans l&#39;armoire de brassage</citetitle></link>'>
<!ENTITY url.config.interface.lan '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/config.interface.lan/"><citetitle>Configuration d&#39;une interface de réseau local</citetitle></link>'>
<!ENTITY url.config.interface.lan.proc '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/config.interface.lan/config.interface.lan.procfs.html#change_proc"><citetitle>Configuration d&#39;une interface de réseau local : activation du routage</citetitle></link>'>
<!ENTITY url.intro.analyse '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/intro.analyse/"><citetitle>Introduction à l&#39;analyse réseau avec Wireshark</citetitle></link>'>
<!ENTITY url.interco '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/formations/m1/"><citetitle>Interconnexion de réseaux locaux et étendus</citetitle></link>'>
<!ENTITY url.interco.kernel '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/interco.kernel.q/"><citetitle>Configuration des fonctions réseau &amp; compilation du noyau Linux</citetitle></link>'>
<!ENTITY url.interco.kernel.answers "http://www.inetdoc.net/travaux_pratiques/interco.kernel.qa/">
<!ENTITY url.interco.rawip '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/interco.rawip.q/"><citetitle>Configuration d&#39;une interface RNIS en mode rawip</citetitle></link>'>
<!ENTITY url.interco.rawip.answers "http://www.inetdoc.net/travaux_pratiques/interco.rawip.qa/">
<!ENTITY url.interco.ppp '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/interco.ppp.q/"><citetitle>Topologie Hub &amp; Spoke avec le protocole PPP</citetitle></link>'>
<!ENTITY url.interco.ppp.answers "http://www.inetdoc.net/travaux_pratiques/interco.ppp.qa/">
<!ENTITY url.interco.netfilter '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/interco.netfilter.q/"><citetitle>Filtrage réseau avec netfilter/iptables</citetitle></link>'>
<!ENTITY url.interco.netfilter.answers "http://www.inetdoc.net/travaux_pratiques/interco.netfilter.qa/">
<!ENTITY url.interco.inter-vlan '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/interco.inter-vlan.qa/"><citetitle>Routage inter-VLAN</citetitle></link>'>
<!ENTITY url.interco.ospf '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/interco.ospf.q/"><citetitle>Routage dynamique avec OSPF</citetitle></link>'>
<!ENTITY url.interco.ospf.answers "http://www.inetdoc.net/travaux_pratiques/interco.ospf.qa/">
<!ENTITY url.interco.ospf.default "http://www.inetdoc.net/travaux_pratiques/interco.ospf.qa/interco.ospf.default-information.html">
<!ENTITY url.interco.cs '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/travaux_pratiques/interco.cs/"><citetitle>Étude de cas de synthèse sur l&#39;interconnexion LAN/WAN</citetitle></link>'>
<!--###################################################
                   Dev
    ################################################### --><!ENTITY url.socket-c '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/dev/socket-c/"><citetitle>Initiation au développement C sur les sockets</citetitle></link>'>
<!ENTITY url.socket-c.udp-client '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.inetdoc.net/dev/socket-c/socket-c.udp.client.html#socket-c.udp.client.source"><citetitle>Code du programme udp-client.c</citetitle></link>'>
<!--###################################################
                   Externes
    ################################################### --><!ENTITY url.802.3 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://standards.ieee.org/about/get/802/802.3.html"><citetitle>IEEE 802.3™: ETHERNET</citetitle></link>'>
<!ENTITY url.ethernet.types '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.iana.org/assignments/ethernet-numbers"><citetitle>ETHER TYPES</citetitle></link>'>
<!ENTITY url.ieee.macaddr '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://standards.ieee.org/develop/regauth/tut/macgrp.pdf"><citetitle>Standard Group MAC Addresses: A Tutorial Guide</citetitle></link>'>
<!ENTITY url.ieee.eui64 '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://standards.ieee.org/develop/regauth/tut/eui64.pdf"><citetitle>Guidelines for 64-bit Global Identifier (EUI-64™) Registration Authority</citetitle></link>'>
<!ENTITY url.nat-howto '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.netfilter.org/documentation/HOWTO/fr/NAT-HOWTO.html"><citetitle>Guide Pratique du NAT</citetitle></link>'>
<!ENTITY url.packet.filtering.howto '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.netfilter.org/documentation/HOWTO/fr/packet-filtering-HOWTO.html"><citetitle>Guide Pratique du Filtrage de Paquets</citetitle></link>'>
<!ENTITY url.debian-reference '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.debian.org/doc/manuals/debian-reference/"><citetitle>Manuel de référence Debian</citetitle></link>'>
<!ENTITY url.debian-reference.kernel '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.debian.org/doc/manuals/debian-reference/ch09.fr.html#_the_kernel"><citetitle>Manuel de référence Debian : le noyau</citetitle></link>'>
<!ENTITY url.debian-reference.networking '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.debian.org/doc/manuals/debian-reference/ch05.fr.html"><citetitle>Manuel de référence Debian : configuration du réseau</citetitle></link>'>
<!ENTITY url.wireshark '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.wireshark.org/">
   <citetitle>Wireshark</citetitle></link>'>
<!ENTITY url.wireshark.protocols '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://wiki.wireshark.org/ProtocolReference">
   <citetitle>Protocol Reference</citetitle></link>'>
<!ENTITY url.wireshark.media '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://wiki.wireshark.org/CaptureSetup/NetworkMedia">
   <citetitle>Network media specific capturing</citetitle></link>'>
<!ENTITY url.wireshark.dfref '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.wireshark.org/docs/dfref/">
   <citetitle>Display Filter Reference</citetitle></link>'>
<!ENTITY url.wireshark.user_guide '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.wireshark.org/download/docs/user-guide-a4.pdf">
   <citetitle>Wireshark User&#39;s Guide</citetitle></link>'>
<!ENTITY url.sans.pocket_ref_guide '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://www.sans.org/resources/tcpip.pdf">
   <citetitle>TCP/IP and tcpdump Pocket Reference Guide</citetitle></link>'>
<!ENTITY url.searchenterpriselinux '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://searchenterpriselinux.techtarget.com/searchEnterpriseLinux/downloads/284_EPS_04.pdf">
   <citetitle>Using Ethereal - Chapter 4 of Ethereal packet sniffing</citetitle></link>'>
<!ENTITY url.otherlabs.ethereal '<link xmlns="http://docbook.org/ns/docbook" xlink:href="http://gaia.cs.umass.edu/ethereal-labs/">
   <citetitle>Ethereal Labs</citetitle></link>'>
]>
<!-- $Id: intro.analyse.xml 1619 2011-04-04 22:08:00Z latu $  -->
<article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:lang="fr" xml:id="intro.analyse">

<info>
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Introduction à l'analyse réseau</title>
  <authorgroup xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<author xmlns:xlink="http://www.w3.org/1999/xlink">
  <personname xmlns:xlink="http://www.w3.org/1999/xlink">
    <firstname xmlns:xlink="http://www.w3.org/1999/xlink">Philippe</firstname><surname xmlns:xlink="http://www.w3.org/1999/xlink">Latu</surname>
  </personname>
  <affiliation xmlns:xlink="http://www.w3.org/1999/xlink">
    <shortaffil xmlns:xlink="http://www.w3.org/1999/xlink">inetdoc.net</shortaffil>
    <jobtitle xmlns:xlink="http://www.w3.org/1999/xlink">Enseignant - Chargé de mission Systèmes &amp; Réseaux</jobtitle>
    <orgname xmlns:xlink="http://www.w3.org/1999/xlink">IUT - Université Toulouse III - Paul Sabatier</orgname>
    <address xmlns:xlink="http://www.w3.org/1999/xlink"><email xmlns:xlink="http://www.w3.org/1999/xlink">philippe.latu(at)inetdoc.net</email></address>
  </affiliation>
</author>
</authorgroup>

  <abstract xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">L'analyseur de trafic est un outil pédagogique essentiel pour
    comprendre les mécanismes de fonctionnement des protocoles de communication
    sur les réseaux contemporains. Ce document comprend deux parties. Dans un
    premier temps, on trouve une introduction à l'utilisation de l'analyseur
    <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>, le logiciel libre incontournable en la
    matière. Dans un deuxième temps, les travaux pratiques permettent de
    découvrir la richesse des informations fournies par cet analyseur.</para>
  </abstract>
  <keywordset xmlns:xlink="http://www.w3.org/1999/xlink">
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">analyse</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">capture</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">encapsulation</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">ethereal</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">wireshark</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">filter</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">filtrage</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">frame</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">network</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">packet</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">paquet</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">réseau</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">tshark</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">trame</keyword>
    <keyword xmlns:xlink="http://www.w3.org/1999/xlink">tutoriel</keyword>
  </keywordset>
</info>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="legal.meta">
  <title xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">Copyright et Licence</title>

<literallayout xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" class="monospaced">Copyright (c) 2000,2012 Philippe Latu.
Permission is granted to copy, distribute and/or modify this document under the
terms of the GNU Free Documentation License, Version 1.3 or any later version
published by the Free Software Foundation; with no Invariant Sections, no
Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included
in the section entitled "GNU Free Documentation License".</literallayout>

<literallayout xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" class="monospaced">Copyright (c) 2000,2012 Philippe Latu.
Permission est accordée de copier, distribuer et/ou modifier ce document selon
les termes de la Licence de Documentation Libre GNU (GNU Free Documentation
License), version 1.3 ou toute version ultérieure publiée par la Free Software
Foundation ; sans Sections Invariables ; sans Texte de Première de Couverture,
et sans Texte de Quatrième de Couverture. Une copie de la présente Licence est
incluse dans la section intitulée « Licence de Documentation Libre GNU ».</literallayout>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="legal.meta.dist">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Méta-information</title>

  <para xmlns:xlink="http://www.w3.org/1999/xlink">Cet article est écrit avec <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.docbook.org"><citetitle xmlns:xlink="http://www.w3.org/1999/xlink">DocBook</citetitle></link> XML
  sur un système <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.debian.org"><citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Debian
  GNU/Linux</citetitle></link>. Il est disponible en version imprimable au
  format PDF : <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/pdf/intro.analyse.pdf"><literal xmlns:xlink="http://www.w3.org/1999/xlink">intro.analyse.pdf</literal></link>.</para>
  </sect2>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.intro">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Analyse avec Wireshark</title>
  
  <para xmlns:xlink="http://www.w3.org/1999/xlink">Avec <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.wireshark.org/">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle></link>, il est possible de capturer des paquets
  directement sur les interfaces du système utilisé ou de lire des fichiers de
  captures sauvegardées.
  <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle> supporte les formats de fichiers de capture
  les plus courants : libpcap/tcpdump, Sun's snoop/atmsnoop, LanAlyzer, MS
  Network Monitor, HPUX nettl, AIX iptrace, Cisco Secure IDS, etc.</para>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.intro.supported_protocols">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les protocoles supportés ?</title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">La liste des protocoles supportés par
    <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle> est considérable. Elle évolue avec chaque
    nouvelle version. La page <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://wiki.wireshark.org/ProtocolReference">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Protocol Reference</citetitle></link> fournit un classement
    par famille de tous les protocoles dont les champs sont interprétés. Il est
    aussi possible d'accéder à ces informations via le menu <menuchoice xmlns:xlink="http://www.w3.org/1999/xlink">
    <guimenu xmlns:xlink="http://www.w3.org/1999/xlink">Help</guimenu>
    <guimenuitem xmlns:xlink="http://www.w3.org/1999/xlink">Supported Protocols</guimenuitem>
    </menuchoice>.</para>
  </sect2>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.intro.supported_medias">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les médias supportés ?</title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Le logiciel <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle> permet l'analyse de
    transmissions réseau sur presque toutes les technologies. Les limitations
    d'utilisation sont plutôt dues au système d'exploitation sur lequel on
    exécute ce logiciel. Pour obtenir un état des possibilités d'analyse en
    fonction du système utilisé, il faut consulter la page :
    <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://wiki.wireshark.org/CaptureSetup/NetworkMedia">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Network media specific capturing</citetitle></link></para>
  </sect2>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.intro.interfaces_access">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Comment accéder aux interfaces ?</title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Lorsque l'on exécute <command xmlns:xlink="http://www.w3.org/1999/xlink">wireshark</command> en tant
    qu'utilisateur normal, on ne peut accéder à la liste des interfaces en
    lançant l'opération <link xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.menus"><guimenu xmlns:xlink="http://www.w3.org/1999/xlink">Capture</guimenu></link>. Sur un système
    d'exploitation correctement administré, un utilisateur normal ne doit pas
    avoir accès aux interfaces sans conditions. Il existe plusieurs solutions
    pour donner un accès direct à la liste des interfaces physiques. En voici
    trois :</para>

    <variablelist xmlns:xlink="http://www.w3.org/1999/xlink">
     <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.su">
        <term xmlns:xlink="http://www.w3.org/1999/xlink"><emphasis xmlns:xlink="http://www.w3.org/1999/xlink">En mode super-utilisateur</emphasis></term>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Partant d'une connexion avec un compte utilisateur normal,
	celui-ci est propriétaire exclusif de son écran
	(<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">display</wordasword>). Il doit donc autoriser le super
	utilisateur à accéder à son écran à l'aide de la commande
	<command xmlns:xlink="http://www.w3.org/1999/xlink">xhost</command>, passer en connexion super-utilisateur avec la
	commande <command xmlns:xlink="http://www.w3.org/1999/xlink">su</command> puis exécuter l'application
	<citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>.</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">$ xhost +local:
$ su
Password:
# wireshark &amp;
</screen>
        </listitem>
      </varlistentry>
      <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
        <term xmlns:xlink="http://www.w3.org/1999/xlink"><emphasis xmlns:xlink="http://www.w3.org/1999/xlink">En mode utilisateur avec
        <application xmlns:xlink="http://www.w3.org/1999/xlink">gksu</application></emphasis></term>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">L'application <application xmlns:xlink="http://www.w3.org/1999/xlink">gksu</application> est un frontal
	graphique de la commande <command xmlns:xlink="http://www.w3.org/1999/xlink">su</command>. Elle permet, après la
	saisie du mot de passe super-utilisateur, d'exécuter une application en
	mode super-utilisateur. Dans notre cas, on accède directement aux
	interfaces physiques en mode graphique sans passer par une manipulation
	à la console. Ce mode opératoire est proposé par défaut avec toutes les
	distributions GNU/Linux actuelles.</para>
        </listitem>
      </varlistentry>
      <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
        <term xmlns:xlink="http://www.w3.org/1999/xlink"><emphasis xmlns:xlink="http://www.w3.org/1999/xlink">En mode utilisateur avec
        <application xmlns:xlink="http://www.w3.org/1999/xlink">sudo</application></emphasis></term>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">L'application <application xmlns:xlink="http://www.w3.org/1999/xlink">sudo</application> permet de déléguer
	les droits du super-utilisateur avec une granularité très fine.
	L'optique de l'analyse réseau étant un cas particulier de
	l'administration système, on se limitera à la présentation du fichier
	de configuration de l'application :
	<filename xmlns:xlink="http://www.w3.org/1999/xlink">/etc/sudoers</filename>.</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80"># sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL) ALL

etu    ALL = NOPASSWD: /usr/bin/wireshark, /usr/bin/tshark
</screen>
	<para xmlns:xlink="http://www.w3.org/1999/xlink">C'est à la dernière ligne que se situe la partie intéressante.
	L'utilisateur normal <literal xmlns:xlink="http://www.w3.org/1999/xlink">etu</literal> dispose, sur n'importe quel
	hôte géré par ce système (<literal xmlns:xlink="http://www.w3.org/1999/xlink">ALL</literal>), d'un accès
	super-utilisateur aux applications <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle> et
	<application xmlns:xlink="http://www.w3.org/1999/xlink">tshark</application> sans avoir à saisir son mot
	de passe. Pour lancer l'application, il faut préciser l'appel à
	l'application <application xmlns:xlink="http://www.w3.org/1999/xlink">sudo</application> de la façon
	suivante :</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">$ sudo wireshark &amp;
</screen>
        </listitem>
      </varlistentry>
      <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<term xmlns:xlink="http://www.w3.org/1999/xlink"><emphasis xmlns:xlink="http://www.w3.org/1999/xlink">En mode utilisateur via les
	<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Linux Capabilities</wordasword></emphasis></term>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">On débute par la création d'un groupe système dédié à la capture
	de trafic réseau.</para>

<screen xmlns:xlink="http://www.w3.org/1999/xlink"># addgroup --system pcap
Adding group `pcap' (GID 136) ...
Done.</screen>

        <para xmlns:xlink="http://www.w3.org/1999/xlink">On ajoute un ou plusieurs utilisateur(s) au groupe système.</para>

<screen xmlns:xlink="http://www.w3.org/1999/xlink"># adduser phil pcap
Adding user `phil' to group `pcap' ...
Adding user phil to group pcap
Done.</screen>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">Attention ! Cette nouvelle attribution n'est valable
	qu'après une nouvelle authentification. Nous sommes encore dans le cas
	classique de création du contexte de travail utilisateur au moment de
	l'authentification.</para>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">On modifie les propriétés du programme
	<application xmlns:xlink="http://www.w3.org/1999/xlink">dumpcap</application> qui est chargé de la collecte du
	trafic réseau.</para>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">Avant modification du groupe propriétaire, le masque des
	permissions est le suivant :</para>

<screen xmlns:xlink="http://www.w3.org/1999/xlink"># ls -lh `which dumpcap`
-rwxr-xr-x 1 root root 62K  4 mars  18:04 /usr/bin/dumpcap</screen>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">On change le groupe propriétaire et on applique un nouveau masque
	de permissions. Une fois cette opération faite, les membres du groupe
	système <systemitem xmlns:xlink="http://www.w3.org/1999/xlink">pcap</systemitem> seront les seuls utilisateurs à
	pouvoir exécuter le programme en mode non privilégié.</para>

<screen xmlns:xlink="http://www.w3.org/1999/xlink"># chgrp pcap /usr/bin/dumpcap
# chmod 750 /usr/bin/dumpcap
# ls -lh /usr/bin/dumpcap
-rwxr-x--- 1 root pcap 62K  4 mars  18:04 /usr/bin/dumpcap</screen>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">On indique au gestionnaire de paquets Debian que ces nouvelles
	propriétés doivent être conservées lors des mises à jour à
	venir.</para>

<screen xmlns:xlink="http://www.w3.org/1999/xlink"># dpkg-statoverride --add root pcap 750 /usr/bin/dumpcap
# dpkg-statoverride --list /usr/bin/dumpcap
root pcap 750 /usr/bin/dumpcap</screen>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">On modifie le contexte de travail du programme
	<systemitem xmlns:xlink="http://www.w3.org/1999/xlink">dumpcap</systemitem>.</para>

<screen xmlns:xlink="http://www.w3.org/1999/xlink"># setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
# getcap /usr/bin/dumpcap
/usr/bin/dumpcap = cap_net_admin,cap_net_raw+eip</screen>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">Les bits <systemitem xmlns:xlink="http://www.w3.org/1999/xlink">eip</systemitem> correspondent aux attributs
	<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">effective</wordasword>,
	<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">inheritable</wordasword> et
	<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">permitted</wordasword>.</para>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">Avec l'attribut <wordasword xmlns:xlink="http://www.w3.org/1999/xlink">effective</wordasword>, le noyau ne
	vérifie pas si l'<acronym xmlns:xlink="http://www.w3.org/1999/xlink">UID</acronym> vaut 0 (mode privilégié) si le
	programme nécessite une opération en mode privilégié.</para>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">L'attribut <wordasword xmlns:xlink="http://www.w3.org/1999/xlink">inheritable</wordasword> transmet les
	aptitudes du processus actuel aux autres processus enfants.</para>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">L'attribut <wordasword xmlns:xlink="http://www.w3.org/1999/xlink">permitted</wordasword> indique que le
	processus peut utiliser les aptitudes étendues du noyau Linux.</para>

	<para xmlns:xlink="http://www.w3.org/1999/xlink">La documentation sur les <wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Linux
	Capabilities</wordasword> est disponible à partir de la page <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://sites.google.com/site/fullycapable/">Not needing root to
	administer Linux</link>.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </sect2>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.gui">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Interface utilisateur</title>

  <mediaobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imageobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imagedata fileref="images/wireshark-complet.png" format="PNG" contentwidth="12cm" width="12.5cm"/>
    </imageobject>
    <textobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <phrase xmlns:xlink="http://www.w3.org/1999/xlink">Capture d'écran Wireshark</phrase>
    </textobject>
    <caption xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink"><link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/travaux_pratiques/intro.analyse/images/wireshark-complet.png">
    Capture d'écran Wireshark - vue complète</link></para>
    </caption>
  </mediaobject>

  <para xmlns:xlink="http://www.w3.org/1999/xlink">L'interface de l'analyseur se décompose en plusieurs barres ou
  fenêtres :</para>
  <variablelist xmlns:xlink="http://www.w3.org/1999/xlink">
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.menus">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Barre de menus</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">On y retrouve la liste classique de menus. Voici une liste des
      fonctions remarquables accessibles à partir de ces menus.</para>
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Le menu <guimenuitem xmlns:xlink="http://www.w3.org/1999/xlink">File</guimenuitem> sert à sauvegarder ou
      charger un fichier de capture réseau. Une capture peut très bien avoir
      été réalisée sur une sonde distante ou avec un autre outil et être
      analysée avec <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle> à postériori.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Le menu <guimenuitem xmlns:xlink="http://www.w3.org/1999/xlink">Capture</guimenuitem> sert à fixer les
      paramètres d'une nouvelle capture réseau. Voir <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.capture"/>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Le menu <guimenuitem xmlns:xlink="http://www.w3.org/1999/xlink">Statistics</guimenuitem> sert à effectuer
      différents calculs sur les volumes de données et la répartition des
      protocoles.</para>
      </listitem>
      </itemizedlist>
      </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.icons">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Barre des icônes</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Cette barre regroupe tous les raccourcis sur les manipulations
      d'une capture.</para>
      </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.postfilter">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Barre de filtrage</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Cette barre sert à saisir l'expression de filtrage à postériori
      d'une capture pour isoler tout ou partie d'un échange réseau.</para>
      </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.framelist">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Fenêtre contenant la liste des trames capturées</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Sur chaque ligne on retrouve :</para>
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">le numéro du paquet,</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">son temps de capture,</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">sa source,</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">sa destination,</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">le protocole de plus haut niveau décodé,</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">le résumé des champs caractéristiques de ce protocole.</para>
	</listitem>
      </itemizedlist>
    </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.protocollist">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Fenêtre d'affichage de la pile des protocoles décodés pour la trame
      sélectionnée</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Avant toute opération de développement des champs d'un ou plusieurs
      protocoles, cette fenêtre donne la liste la pile de protocoles décodés
      allant du niveau physique (en haut) jusqu'au niveau le plus haut reconnu
      (en bas). Le protocole de niveau le plus haut reconnu apparaît est celui
      qui apparaît dans la colonne protocole de la <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.framelist"/>.</para>
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">La première ligne ou niveau <guimenuitem xmlns:xlink="http://www.w3.org/1999/xlink">Frame</guimenuitem>
      correspond à une pseudo couche physique. Comme il n'est pas possible de
      réaliser la capture directement à partir des composants électroniques qui
      pilotent l'interface réseau sans perturber le fonctionnement du système,
      l'opération a lieu au niveau liaison à l'aide de la bibliothèque
      <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">libpcap</citetitle>.</para>
      <para xmlns:xlink="http://www.w3.org/1999/xlink">A ce niveau, les informations disponibles sont : la quantité
      de bits capturés et la date de capture.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">La deuxième ligne correspond au niveau liaison. On y détaille le
      type et les champs de la trame et les adresses physiques.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">La troisième ligne correspond au niveau réseau. On y détaille les
      champs du protocole réseau reconnu : adresses logiques et
      indicateurs d'état.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">La quatrième ligne correspond au niveau transport. On y détaille
      les champs du protocole de transport reconnu : état de la connexion,
      numéros de ports utilisés et diverses options.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">La cinquième ligne correspond au niveau application. On y trouve
      les données utilisateur.</para>
      </listitem>
      </itemizedlist>
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Pour le développement de chacun des champs de la trame, il faut
      cliquer sur le triangle situé à gauche au niveau de chaque couche.</para>
    </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.hexa">
    <term xmlns:xlink="http://www.w3.org/1999/xlink">Fenêtre d'affichage brut de la trame sélectionnée</term>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Cette fenêtre affiche tous les octets de la trame en
      hexadécimal.</para>
    </listitem>
    </varlistentry>
  </variablelist>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.capture">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Capture d'une série de trame</title>
    
  <para xmlns:xlink="http://www.w3.org/1999/xlink">Après avoir lancé le logiciel <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>, suivre
  la séquence suivante pour capturer une série de 60 trames :</para>
  
  <orderedlist xmlns:xlink="http://www.w3.org/1999/xlink">
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Sélectionner <guimenu xmlns:xlink="http://www.w3.org/1999/xlink">Capture</guimenu> puis
      <guimenu xmlns:xlink="http://www.w3.org/1999/xlink">Start</guimenu>.</para>
    </listitem>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">La ligne <guisubmenu xmlns:xlink="http://www.w3.org/1999/xlink">Capture Filter</guisubmenu>, permet de
      préciser un filtrage <emphasis xmlns:xlink="http://www.w3.org/1999/xlink">à priori</emphasis>. La syntaxe de ce
      filtrage est identique à celle de la commande <command xmlns:xlink="http://www.w3.org/1999/xlink">tcpdump</command>.
      La documentation est disponible à partir des pages de manuels de cette
      commande : <userinput xmlns:xlink="http://www.w3.org/1999/xlink">man tcpdump</userinput>. Voici 3
      exemples :</para>
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink"><userinput xmlns:xlink="http://www.w3.org/1999/xlink">ip</userinput> : en spécifiant le protocole
	réseau à analyser, on évite la capture des trames des autres protocoles
	de niveau réseau (IPX) et des protocoles de niveau liaison (STP, CDP,
	etc.).</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink"><userinput xmlns:xlink="http://www.w3.org/1999/xlink">host 192.168.0.1</userinput> : en spécifiant
	l'adresse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> d'un hôte, on ne retient que le trafic
	émis et reçu par cette adresse.</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink"><userinput xmlns:xlink="http://www.w3.org/1999/xlink">host 192.168.0.1 and host 10.0.0.1</userinput> :
	en spécifiant les adresses <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> de 2 hôtes, on ne
	retient que le trafic entre ces 2 adresses.</para>
	</listitem>
      </itemizedlist>
      <para xmlns:xlink="http://www.w3.org/1999/xlink">D'une façon plus générale, on peut combiner plusieurs critères avec
      les opérateurs logiques <literal xmlns:xlink="http://www.w3.org/1999/xlink">and</literal> et|ou
      <literal xmlns:xlink="http://www.w3.org/1999/xlink">or</literal>.</para>
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">le type : <literal xmlns:xlink="http://www.w3.org/1999/xlink">host</literal>, <literal xmlns:xlink="http://www.w3.org/1999/xlink">net</literal> et
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">port</literal>.</para>
        </listitem>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">la direction : <literal xmlns:xlink="http://www.w3.org/1999/xlink">src</literal> et
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">dst</literal>.</para>
        </listitem>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">le protocole : <literal xmlns:xlink="http://www.w3.org/1999/xlink">ether</literal>,
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">fddi</literal>, <literal xmlns:xlink="http://www.w3.org/1999/xlink">tr</literal>, <literal xmlns:xlink="http://www.w3.org/1999/xlink">ip</literal>,
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">ip6</literal>, <literal xmlns:xlink="http://www.w3.org/1999/xlink">arp</literal>,
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">rarp</literal>, <literal xmlns:xlink="http://www.w3.org/1999/xlink">decnet</literal>,
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">tcp</literal> et <literal xmlns:xlink="http://www.w3.org/1999/xlink">udp</literal>.</para>
        </listitem>
      </itemizedlist>
      <para xmlns:xlink="http://www.w3.org/1999/xlink">En règle générale, il faut limiter au maximum de filtrage
      <emphasis xmlns:xlink="http://www.w3.org/1999/xlink">à priori</emphasis> de façon à disposer du maximum
      d'information pour l'analyse. La syntaxe de la <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.filter"/> offre beaucoup plus de possibilités.</para>
    </listitem>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">La rubrique <guisubmenu xmlns:xlink="http://www.w3.org/1999/xlink">Stop Capture</guisubmenu> permet de fixer
      plusieurs critères d'arrêt en fonction du nombre de trames et|ou du
      volume de données capturées.</para>
    </listitem>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Clicker sur le bouton <guisubmenu xmlns:xlink="http://www.w3.org/1999/xlink">Valider</guisubmenu> pour lancer
      la capture.</para>
    </listitem>
  </orderedlist>

  <mediaobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imageobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imagedata fileref="images/wireshark-capture.png" format="PNG" contentwidth="7cm" width="7.5cm"/>
    </imageobject>
    <textobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <phrase xmlns:xlink="http://www.w3.org/1999/xlink">Paramètres de capture</phrase>
    </textobject>
    <caption xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink"><link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/travaux_pratiques/intro.analyse/images/wireshark-capture.png">
    Paramètres de capture - vue complète</link></para>
    </caption>
  </mediaobject>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.filter">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Filtrage de l'affichage après capture</title>

  <para xmlns:xlink="http://www.w3.org/1999/xlink">Le filtrage <emphasis xmlns:xlink="http://www.w3.org/1999/xlink">à postériori</emphasis> est certainement l'étape
  la plus importante dans l'analyse réseau. C'est cette opération qui permet
  d'isoler l'information pertinente. La granularité de la syntaxe de filtrage
  disponible avec <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle> est très importante. Il est
  possible de retenir un champ unique parmi les 820 protocoles supportés. Voici
  quelques exemples de filtrage allant du plus général au plus détaillé.</para>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.tcpstream">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Isoler une connexion TCP</title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Après avoir réalisé une capture, il est possible d'isoler une
    connexion <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> en repérant son établissement (le début)
    et sa libération (la fin). En cliquant sur le bouton droit de la souris
    après avoir sélectionné n'importe quelle trame appartenant à la connexion à
    isoler, il faut valider l'option <guisubmenu xmlns:xlink="http://www.w3.org/1999/xlink">Follow TCP
    Stream</guisubmenu>.</para>

  <mediaobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imageobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imagedata fileref="images/wireshark-tcpstream.png" format="PNG" contentwidth="5cm" width="5.5cm"/>
    </imageobject>
    <textobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <phrase xmlns:xlink="http://www.w3.org/1999/xlink">Isoler une connexion TCP</phrase>
    </textobject>
    <caption xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink"><link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/travaux_pratiques/intro.analyse/images/wireshark-tcpstream.png">
    Isoler une connexion TCP - vue complète</link></para>
    </caption>
  </mediaobject>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">A la suite de cette opération, <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>
    ouvre une nouvelle fenêtre contenant les données vues de la couche
    transport.</para>

  <mediaobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imageobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <imagedata fileref="images/wireshark-tcpdata.png" format="PNG" contentwidth="8cm" width="8.5cm"/>
    </imageobject>
    <textobject xmlns:xlink="http://www.w3.org/1999/xlink">
    <phrase xmlns:xlink="http://www.w3.org/1999/xlink">Données vues de la couche transport</phrase>
    </textobject>
    <caption xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink"><link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/travaux_pratiques/intro.analyse/images/wireshark-tcpdata.png">
    Données vues de la couche transport - vue complète</link></para>
    </caption>
  </mediaobject>
  </sect2>
  
  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.filter.syntax">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Syntaxe du filtrage à postériori</title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Comme indiqué ci avant, la granularité de la syntaxe de filtrage est
    très importante. Elle peut donc s'avérer très complexe à manipuler.
    <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle> offre plusieurs solutions pour rendre
    l'apprentissage de cette syntaxe interactif.</para>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Tout d'abord, l'opération précédente de filtrage simplifié (voir
    <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.tcpstream"/>) n'était qu'un cas particulier de
    saisie interactive de filtre de capture. En sélectionnant l'option
    <guimenuitem xmlns:xlink="http://www.w3.org/1999/xlink">Follow TCP Stream</guimenuitem>, on a «saisi» un filtre avec
    la syntaxe suivante :</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">(ip.addr<co xml:id="ip.addr"/> eq 192.168.1.9<co xml:id="ip.addr.sample"/> and ip.addr eq 80.247.225.35) \
and<co xml:id="filter.logic"/> (tcp.port<co xml:id="tcp.port"/> eq 32783<co xml:id="tcp.port.sample"/> and tcp.port eq 80)

</screen>
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Cette expression est extraite de la <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.postfilter"/>. Elle doit tenir sur une ligne unique
    quel que soit sa longueur.</para>

    <calloutlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <callout arearefs="ip.addr">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><userinput xmlns:xlink="http://www.w3.org/1999/xlink">ip.addr</userinput> : sélection d'une adresse
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym>.</para>
      </callout>
      <callout arearefs="ip.addr.sample">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><userinput xmlns:xlink="http://www.w3.org/1999/xlink">eq 192.168.1.9</userinput> : valeur particulière
      d'adresse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym>. L'opérateur <literal xmlns:xlink="http://www.w3.org/1999/xlink">eq</literal>
      correspond à un test d'égalité. Il est aussi possible d'utiliser la
      syntaxe du langage C pour les tests :</para>
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink"><literal xmlns:xlink="http://www.w3.org/1999/xlink">==</literal> : égalité,</para>
	</listitem>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink"><literal xmlns:xlink="http://www.w3.org/1999/xlink">!=</literal> : différence,</para>
	</listitem>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink"><literal xmlns:xlink="http://www.w3.org/1999/xlink">&gt;=</literal> : supérieur ou égal,</para>
	</listitem>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink"><literal xmlns:xlink="http://www.w3.org/1999/xlink">&lt;=</literal> : inférieur ou égal.</para>
	</listitem>
      </itemizedlist>
      </callout>
      <callout arearefs="filter.logic">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Les opérateurs logiques tels que <literal xmlns:xlink="http://www.w3.org/1999/xlink">and</literal> et|ou
      <literal xmlns:xlink="http://www.w3.org/1999/xlink">or</literal> associés aux parenthèses servent à composer des
      expressions de sélection précises.</para>
      </callout>
      <callout arearefs="tcp.port">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><userinput xmlns:xlink="http://www.w3.org/1999/xlink">tcp.port</userinput> : sélection d'un numéro de
      port du protocole <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> de la couche transport.</para>
      </callout>
      <callout arearefs="tcp.port.sample">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><userinput xmlns:xlink="http://www.w3.org/1999/xlink">eq 32783</userinput> : valeur particulière de port
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym>. La syntaxe de test est identique pour tous les
      champs des différents protocoles reconnus.</para>
      </callout>
    </calloutlist>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">La construction interactive des filtres d'affichage peut se faire à
    l'aide de la souris. Voici 2 exemples «simplistes» :</para>
    
    <variablelist xmlns:xlink="http://www.w3.org/1999/xlink">
      <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.mss">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Option TCP MSS</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Admettons que l'on veuille repérer toutes les trames capturées dans
      lesquelles l'option <literal xmlns:xlink="http://www.w3.org/1999/xlink">MSS</literal> (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Maximum Segment
      Size</wordasword>) apparaît. On développe alors l'en-tête
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> d'un paquet correspondant à une demande de
      connexion pour faire apparaître cette option. En cliquant sur le bouton
      droit de la souris on accède au menu <guimenuitem xmlns:xlink="http://www.w3.org/1999/xlink">Prepare a
      Filter</guimenuitem>.</para>

    <mediaobject xmlns:xlink="http://www.w3.org/1999/xlink">
      <imageobject xmlns:xlink="http://www.w3.org/1999/xlink">
      <imagedata fileref="images/wireshark-preparefilter.png" format="PNG" contentwidth="8cm" width="8.5cm"/>
      </imageobject>
      <textobject xmlns:xlink="http://www.w3.org/1999/xlink">
      <phrase xmlns:xlink="http://www.w3.org/1999/xlink">Préparation d'un filtre d'affichage à la souris</phrase>
      </textobject>
      <caption xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/travaux_pratiques/intro.analyse/images/wireshark-preparefilter.png">
      Préparation d'un filtre d'affichage à la souris - vue complète</link></para>
      </caption>
    </mediaobject>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">L'expression préparée apparaît dans la champ de la <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.postfilter"/> :</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">tcp.options.mss_val == 1460
</screen>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Supposons maintenant que l'on veuille afficher toutes les trames
      ayant cette option indépendamment de sa valeur. Il suffit alors de
      supprimer le test :</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">tcp.options.mss_val
</screen>
      </listitem>
      </varlistentry>
      <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.fragment">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Fragmentation IP</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Admettons que l'on veuille observer la fragmentation
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> en repérant les champs correspondants de l'en-tête
      des paquets <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym>. Tout d'abord, il faut «provoquer» la
      fragmentation <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> artificiellement. On utilise deux
      hôtes avec chacun une interface Ethernet et un hub. En réduisant la
      taille maximum des données transmises par paquet (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Maximum
      Transmit Unit</wordasword>) sur l'interface Ethernet d'un hôte, on
      observe plus facilement les effets de la fragmentation.</para>

<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">  __________
 |_=_=_=_=_// Hub
   |     |
  /       \_______
  |.....          \
.------,~         |.....
|Hote_A|'       .------,~
|      ||       |Hote_B|'
\------ /       |      ||
 ======/        \------ /
192.168.254.128  ======/
                192.168.254.2

Hote_A # ifconfig eth0 mtu 256
Hote_A # ping -s 128 -c 5 192.168.254.2
PING 192.168.254.2 (192.168.254.2) 128(156) bytes of data.
136 bytes from 192.168.254.2: icmp_seq=1 ttl=64 time=0.591 ms
136 bytes from 192.168.254.2: icmp_seq=2 ttl=64 time=0.528 ms
136 bytes from 192.168.254.2: icmp_seq=3 ttl=64 time=0.554 ms
136 bytes from 192.168.254.2: icmp_seq=4 ttl=64 time=0.545 ms
136 bytes from 192.168.254.2: icmp_seq=5 ttl=64 time=0.546 ms

--- 192.168.254.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.528/0.552/0.591/0.036 ms
Hote_A # ping -s 8192 -c 5 192.168.254.2
PING 192.168.254.2 (192.168.254.2) 8192(8220) bytes of data.
8200 bytes from 192.168.254.2: icmp_seq=1 ttl=64 time=15.4 ms
8200 bytes from 192.168.254.2: icmp_seq=2 ttl=64 time=15.4 ms
8200 bytes from 192.168.254.2: icmp_seq=3 ttl=64 time=15.4 ms
8200 bytes from 192.168.254.2: icmp_seq=4 ttl=64 time=15.4 ms
8200 bytes from 192.168.254.2: icmp_seq=5 ttl=64 time=15.4 ms

--- 192.168.254.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4004ms
rtt min/avg/max/mdev = 15.444/15.462/15.481/0.079 ms
</screen>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">On observe ensuite le résultat sur l'affichage des trames
      capturées. La syntaxe du filtre est :</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">ip.flags.df == 0
</screen>

    <mediaobject xmlns:xlink="http://www.w3.org/1999/xlink">
      <imageobject xmlns:xlink="http://www.w3.org/1999/xlink">
      <imagedata fileref="images/wireshark-fragment.png" format="PNG" contentwidth="8cm" width="8.5cm"/>
      </imageobject>
      <textobject xmlns:xlink="http://www.w3.org/1999/xlink">
      <phrase xmlns:xlink="http://www.w3.org/1999/xlink">Préparation d'un filtre d'affichage à la souris</phrase>
      </textobject>
      <caption xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/travaux_pratiques/intro.analyse/images/wireshark-fragment.png">
      Préparation d'un filtre d'affichage à la souris - vue complète</link></para>
      </caption>
    </mediaobject>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Connaissant maintenant la syntaxe d'identification de la
      fragmentation <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym>, il sera toujours possible
      d'appliquer le même filtre sur une capture beaucoup plus importante en
      volume.</para>

      </listitem>
      </varlistentry>
    </variablelist>
    </sect2>

    <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.dfref">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Documentation de référence sur les filtres d'affichage</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">La documentation sur l'ensemble des champs des protocoles reconnus
      utilisables dans les expressions de filtres d'affichage est disponible à
      l'adresse : <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.wireshark.org/docs/dfref/">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Display Filter Reference</citetitle></link>.</para>
    </sect2>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.distance">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Analyse à distance</title>

  <para xmlns:xlink="http://www.w3.org/1999/xlink">Lorsque l'on exploite une infrastructure de serveurs avec plusieurs
  périmètres réseau cloisonnés, il est fréquent de devoir procéder à des
  captures réseau à distance. De plus, la plupart des serveurs récents sont des
  lames qui n'ont ni clavier ni écran. Voici donc un exemple de scénario
  capture réseau réalisée sur un hôte distant exploitée ensuite sur un poste de
  travail ayant une interface graphique.</para>

  <para xmlns:xlink="http://www.w3.org/1999/xlink">Dans la suite de copies d'écran suivante, on considère les éléments
  suivants :</para>

  <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Le poste de travail sur lequel l'analyse est effectuée en mode
    graphique après collecte du fichier de capture est appelé <systemitem xmlns:xlink="http://www.w3.org/1999/xlink" class="systemname">&lt;my_laptop.myothernet&gt;</systemitem>.</para>
    </listitem>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Le serveur lame sans écran ni clavier sur lequel la capture réseau
    est réalisée est appelé <systemitem xmlns:xlink="http://www.w3.org/1999/xlink" class="systemname">&lt;my_distant_server.mynet&gt;</systemitem>. On y
    accède via une console sécurisée <acronym xmlns:xlink="http://www.w3.org/1999/xlink">SSH</acronym>.</para>
    </listitem>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">On suppose que les deux hôtes ont un compte utilisateur <systemitem xmlns:xlink="http://www.w3.org/1999/xlink" class="username">me</systemitem>. Le compte utilisateur sur le serveur doit
    disposer des droits nécessaire à la capture de trames sur les interfaces
    réseau du serveur. Ces droits sont gérés avec
    <application xmlns:xlink="http://www.w3.org/1999/xlink">sudo</application>.</para>
    </listitem>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">On utilise l'application <application xmlns:xlink="http://www.w3.org/1999/xlink">tshark</application> qui
    permet d'exécuter l'analyse réseau directement à la console sans recours à
    une interface graphique. Cette application est fournie par le paquet
    <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Debian</citetitle> du même nom. Voir le résultat de la commande
    <userinput xmlns:xlink="http://www.w3.org/1999/xlink">$ apt-cache show tshark</userinput> pour
    obtenir les informations sur ce paquet.</para>
    </listitem>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Les indications données ci-dessous ne peuvent se substituer aux pages
    de manuels de l'application. Il est vivement conseillé de les consulter
    pour adapter l'analyse réseau à ses besoins :
    <userinput xmlns:xlink="http://www.w3.org/1999/xlink">man tshark</userinput>.</para>
    </listitem>
  </itemizedlist>

  <variablelist xmlns:xlink="http://www.w3.org/1999/xlink">
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
    <term xmlns:xlink="http://www.w3.org/1999/xlink">Connexion au serveur depuis le poste de travail</term>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Comme indiqué ci-avant, on accède au serveur via une console
    sécurisée <acronym xmlns:xlink="http://www.w3.org/1999/xlink">SSH</acronym>. À partir le Windoze, l'outil
    <systemitem xmlns:xlink="http://www.w3.org/1999/xlink">putty</systemitem> permet d'effectuer la même opération.</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">me@&lt;my_laptop&gt;:~$ ssh me@&lt;my_distant_server.mynet&gt;

Linux &lt;my_distant_server&gt; 2.6.15 #1 SMP Mon Mar 13 14:54:19 CET 2006 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
No mail.
Last login: Tue Mar 21 10:45:38 2006 from &lt;my_laptop.myothernet&gt;

me@&lt;my_distant_server&gt;:~$
</screen>
    </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
    <term xmlns:xlink="http://www.w3.org/1999/xlink">Lancement de la capture réseau dans un nouveau shell</term>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Un utilisateur «normal» n'ayant pas les droits suffisants pour accéder
    directement aux interfaces réseau, on doit lancer l'analyseur de réseau via
    <application xmlns:xlink="http://www.w3.org/1999/xlink">sudo</application> :
    <userinput xmlns:xlink="http://www.w3.org/1999/xlink">$ sudo tshark</userinput>.</para>
    <para xmlns:xlink="http://www.w3.org/1999/xlink">On lance cette commande dans un nouveau shell en ajoutant le symbole
    <option xmlns:xlink="http://www.w3.org/1999/xlink">&amp;</option> à la fin de la ligne. De cette façon, on conserve la
    possibilité de lancer d'autres commandes sur la console obtenue lors de la
    connexion au serveur.</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">me@&lt;my_distant_server&gt;:~$ sudo tshark -q -i _eth0 -w distant.cap \
  -a filesize:4096 tcp and ! host &lt;my_laptop.myothernet&gt; &amp;
</screen>
    <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">L'option <option xmlns:xlink="http://www.w3.org/1999/xlink">-q</option> rend la capture «silencieuse». Il
      s'agit surtout de supprimer l'affichage du compte des paquets enregistrés
      pendant la capture. Cet affichage est gênant si l'on souhaite conserver
      la console pour effectuer d'autres manipulations en cours de
      capture.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">L'option <option xmlns:xlink="http://www.w3.org/1999/xlink">-i _eth0</option> désigne l'interface réseau
      sur laquelle la capture est réalisée.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">L'option <option xmlns:xlink="http://www.w3.org/1999/xlink">-w distant.cap</option> désigne le fichier dans
      lequel les paquets capturés sont enregistrés. Sans spécification du
      format de fichier avec l'option <option xmlns:xlink="http://www.w3.org/1999/xlink">-F</option>, les paquets capturés
      sont enregistrés directement (mode <wordasword xmlns:xlink="http://www.w3.org/1999/xlink">raw</wordasword>).</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">L'option <option xmlns:xlink="http://www.w3.org/1999/xlink">-a filesize:4096</option> donne le critère d'arrêt
      de l'enregistrement. Ici, le critère retenu est la taille du fichier de
      capture. Cette taille est comptabilisée en multiple du kilooctet (1024
      octets) ; soit 4096ko dans cet exemple.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Les options suivantes correspondent au filtrage à priori des
      paquets à enregistrer. On spécifie le protocole de transport
      <option xmlns:xlink="http://www.w3.org/1999/xlink">tcp</option> <emphasis xmlns:xlink="http://www.w3.org/1999/xlink">et</emphasis> on n'enregistre pas les
      paquets de l'hôte qui à ouvert la console sécurisée : <option xmlns:xlink="http://www.w3.org/1999/xlink">! host
      &lt;my_laptop.myothernet&gt;</option>. Sans cette dernière précaution,
      l'enregistrement ne contiendra pratiquement que les échanges
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">SSH</acronym>. Ces échanges sont sans intérêt puisqu'ils
      correspondent aux communications entre les deux hôtes utilisés pour
      l'analyse distante.</para> 
      </listitem>
    </itemizedlist>
    </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
    <term xmlns:xlink="http://www.w3.org/1999/xlink">«Initiation» du trafic réseau à capturer.</term>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Cette commande n'est qu'un prétexte pour remplir le fichier de
    capture. Avec le téléchargement d'une image des sources du noyau Linux, on
    est sûr de faire transiter un volume suffisant ;-).</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">me@&lt;my_distant_server&gt;:~$ wget \
  http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2
--11:14:29--  http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2
           =&gt; `linux-2.6.16.tar.bz2'
Résolution de kernel.org... 204.152.191.5, 204.152.191.37
Connexion vers kernel.org|204.152.191.5|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 40 845 005 (39M) [application/x-bzip2]

100%[===============//=====================&gt;] 40 845 005   296.19K/s    ETA 00:00

11:16:58 (292.09 KB/s) - « linux-2.6.16.tar.bz2 » sauvegardé [40845005/40845005]
</screen>
    </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
    <term xmlns:xlink="http://www.w3.org/1999/xlink">Fin de la capture et visualisation du fichier</term>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Comme indiqué ci-avant, l'enregistrement s'arrête lorsque le fichier
    atteint la taille de 4096ko.</para>
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">[1]+  Done  sudo tshark -q -i _eth0 -w distant.cap \
                 -a filesize:4096 tcp and ! host &lt;my_laptop.myothernet&gt;

me@&lt;my_distant_server&gt;:~$ ls -lAh
-rw-------  1 root latu   4,1M 2006-03-21 11:14 distant.cap
-rw-r--r--  1 latu latu    39M 2006-03-20 07:22 linux-2.6.16.tar.bz2

me@&lt;my_distant_server&gt;:~$ sudo chmod 640 distant.cap

me@&lt;my_distant_server&gt;:~$ exit
logout
Connection to &lt;my_distant_server.mynet&gt; closed.
</screen>
    <para xmlns:xlink="http://www.w3.org/1999/xlink">L'enregistrement sur fichier ayant été réalisé avec l'identité du
    super-utilisateur via la commande <command xmlns:xlink="http://www.w3.org/1999/xlink">sudo</command>, il faut changer
    le masque des permissions de ce fichier ou son propriétaire. Dans cet
    exemple, c'est le masque des permissions d'accès qui a été étendu pour que
    l'utilisateur normal puisse lire le fichier de capture et le transférer sur
    son poste de travail.</para> 
    </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink">
    <term xmlns:xlink="http://www.w3.org/1999/xlink">Récupération du fichier de capture sur le poste de travail</term>
    <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
<screen xmlns:xlink="http://www.w3.org/1999/xlink" width="80">me@&lt;my_laptop&gt;:~$ scp me@&lt;my_distant_server.mynet&gt;:~/distant.cap .
distant.cap                                      100% 4097KB 682.8KB/s   00:06

me@&lt;my_laptop&gt;:~$ wireshark -r distant.cap
</screen>
    <para xmlns:xlink="http://www.w3.org/1999/xlink">La commande <command xmlns:xlink="http://www.w3.org/1999/xlink">scp</command> illustre le transfert du fichier
    de capture réseau via <acronym xmlns:xlink="http://www.w3.org/1999/xlink">SSH</acronym>. On peut effectuer la même
    opération à partir de Windoze avec l'outil
    <systemitem xmlns:xlink="http://www.w3.org/1999/xlink">WinSCP</systemitem>.</para>
    <para xmlns:xlink="http://www.w3.org/1999/xlink">Enfin, il est possible de lire le fichier de capture directement au
    lancement de l'analyseur réseau avec l'option <option xmlns:xlink="http://www.w3.org/1999/xlink">-r</option>.</para>
    </listitem>
    </varlistentry>
  </variablelist>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Travaux pratiques : navigation Web (HTTP)</title>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.protocols">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Protocoles étudiés</title>

    <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Adressage matériel (<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MAC</acronym>|Ethernet) et logique
      (<acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym>).</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Requête et réponse du service de noms de domaines
      (<acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym>).</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Établissement, maintien et libération de connexion
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> : procédure en trois étapes, numéros de
      séquence et d'acquittement.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Requête et réponse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym>.</para>
      </listitem>
    </itemizedlist>
  </sect2>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.procedure">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Marche à suivre</title>

    <orderedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer la capture des trames sans restrictions d'adresses, de
      protocoles ou de volume.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer un navigateur Web et saisir une adresse de site
      (<acronym xmlns:xlink="http://www.w3.org/1999/xlink">URL</acronym>) de votre choix.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Une fois la page complètement chargée, arrêter la capture.
      Sauvegarder un fichier de capture.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Passer aux questions suivantes.</para>
      </listitem>
    </orderedlist>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Suivant le contexte de connexion, le volume d'information capturé
    varie énormément : connexion <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DSL</acronym>, réseau local
    commuté ou non, multiplicité des protocoles réseau, etc. Il est cependant
    préférable d'effectuer la première capture sans aucune restriction
    <emphasis xmlns:xlink="http://www.w3.org/1999/xlink">à priori</emphasis> de façon à avoir une image exacte du trafic.
    Si l'information utile est vraiment noyée dans du «bruit», il est toujours
    possible de reprendre la capture avec un filtre ; voir <xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.capture"/>.</para>
  </sect2>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.questions">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Analyse des protocoles</title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Pour répondre aux questions suivantes, utiliser le résultat de la
    capture issue de l'étape précédente ou charger un fichier de
    capture.</para>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.questions.captured_protocols">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Protocoles capturés</title>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les protocoles indiqués dans la colonne
	<guisubmenu xmlns:xlink="http://www.w3.org/1999/xlink">Protocol</guisubmenu> de la fenêtre de liste des trames
	capturées ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Confirmer que la capture contient bien les protocoles
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym>, <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> et
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym>.</para>
	</answer>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.questions.ethernet_frame">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Trame Ethernet, paquet IP et datagramme UDP</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Analyser la trame correspondant au premier message
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym> émis par le client Web.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les adresses (<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MAC</acronym>|Ethernet) et
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> du client ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le contenu du champ type de la trame
	Ethernet ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelles sont les adresses destination
	(<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MAC</acronym>|Ethernet) et
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">À quelles machines correspondent ces adresses ?</para>
	</question>
	</qandaentry>
      </qandaset>	

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Analyser l'en-tête <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> du premier message
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym> émis par le client Web.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est la taille de l'en-tête ? Quelle est la longueur
	totale du paquet ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Repérer le champ «type de protocole» dans l'en-tête. Quel est le
	numéro et le type de protocole présent dans les données du
	paquet ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Analyser l'en-tête <acronym xmlns:xlink="http://www.w3.org/1999/xlink">UDP</acronym> du premier message
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym> émis par le client Web.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les numéros de ports du client et du serveur ?
	Quelles sont les particularités de ces valeurs ? Quel est le
	protocole de couche application présent dans les données du
	message ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est la valeur indiquée dans le champ longueur de l'en-tête
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">UDP</acronym> ? Est-ce qu'elle correspond à l'information
	donnée dans l'en-tête du paquet <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Faire un croquis des piles de protocoles des couches physique à
      application pour le client et le serveur ; identifier les unités de
      données de protocoles (<acronym xmlns:xlink="http://www.w3.org/1999/xlink">PDUs</acronym>) et les communications de
      bout en bout.</para>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.questions.dns_resolver">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Service DNS</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Analyser le message de requête <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym> émis par le
      client Web.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le champ qui indique si le message est une requête ou
	une réponse ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est l'information transportée dans le corps de la
	requête ? Identifier le type et la classe de la requête.</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est l'identificateur de transaction de la
	requête ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">On considère maintenant la réponse à la requête précédente.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelles devraient être les adresses
	(<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MAC</acronym>|Ethernet) et <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> de ce
	paquet ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Vérifier que les adresses attendues sont présentes.</para>
	</answer>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est la taille du paquet <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> ; du
	message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">UDP</acronym> ? Cette taille est-elle plus
	importante que celle du paquet de requête ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est l'identificateur de transaction de la réponse ?
	Est-ce qu'il correspond à la requête ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Combien de réponses sont disponibles dans le message de
	réponse ? Comparer les réponses et leurs valeurs
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TTL</acronym> (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Time-to-live</wordasword>).</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.questions.tcp_connect">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Connexion TCP</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Identifier la trame qui correspond au premier segment
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> dans la procédure en trois étapes
      (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">three ways handshake</wordasword>) qui initie la connexion
      entre le client et le serveur <acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelles sont les adresses (<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MAC</acronym>|Ethernet) et
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> attendues pour cette trame ? Quels sont les
	valeurs des champs <option xmlns:xlink="http://www.w3.org/1999/xlink">type</option> et <option xmlns:xlink="http://www.w3.org/1999/xlink">protocole</option>
	respectivement attendus pour cette trame et ce paquet ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Vérifier que ces champs et adresses correspondent.</para>
	</answer>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Expliquer les valeurs des adresses destination
	(<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MAC</acronym>|Ethernet) et <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> ? À
	quels hôtes correspondent ces adresses ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Identifier les numéros de ports utilisés par le client. Pourquoi
	ces valeurs sont-elles utilisées ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est la longueur du segment
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le numéro de séquence initial (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Initial
	Sequence Number</wordasword> ou <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ISN</acronym> émis par le
	client vers le serveur ? Quelle est la taille de fenêtre
	initiale ? Quelle est la taille maximale de segment
	(<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Maximum Segment Size</wordasword> ou
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MSS</acronym>) ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Trouver la valeur hexadécimale de l'octet qui contient
	l'indicateur d'état <acronym xmlns:xlink="http://www.w3.org/1999/xlink">SYN</acronym> ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Identifier la trame qui correspond au second segment
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> dans la procédure en trois étapes
      (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">three ways handshake</wordasword>).</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Combien de temps s'est écoulé entre la capture du premier et du
	second segment <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Relever les valeurs des champs suivants de cette
	trame :</para>
	<itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
	  <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	  <para xmlns:xlink="http://www.w3.org/1999/xlink">Adresses <acronym xmlns:xlink="http://www.w3.org/1999/xlink">MAC</acronym> source et destination de la
	  trame Ethernet.</para>
	  </listitem>
	  <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	  <para xmlns:xlink="http://www.w3.org/1999/xlink">Adresses source et destination du paquet
	  <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym>.</para>
	  </listitem>
	  <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	  <para xmlns:xlink="http://www.w3.org/1999/xlink">Numéros de séquence et d'acquittement du segment
	  <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym>.</para>
	  </listitem>
	  <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	  <para xmlns:xlink="http://www.w3.org/1999/xlink">Valeurs des indicateurs d'état.</para>
	  </listitem>
	</itemizedlist>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Vérifier que tout correspond aux valeurs attendues.</para>
	</answer>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est la longueur du segment
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le numéro de séquence initial (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Initial
	Sequence Number</wordasword> ou <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ISN</acronym> émis par le
	serveur vers le client ? Quelle est la taille de fenêtre
	initiale ? Quelle est la taille maximale de segment
	(<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Maximum Segment Size</wordasword> ou
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">MSS</acronym>) ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Identifier la trame qui correspond au dernier segment
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> dans la procédure en trois étapes
      (<wordasword xmlns:xlink="http://www.w3.org/1999/xlink">three ways handshake</wordasword>).</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Combien de temps s'est écoulé entre la capture du second et du
	troisième segment <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ? Comparer cette valeur
	avec celle relevée entre le premier et le second segment et expliquer
	la différence.</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Relever les valeurs des champs suivants de cette
	trame :</para>
	<itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
	  <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	  <para xmlns:xlink="http://www.w3.org/1999/xlink">Numéros de séquence et d'acquittement du segment
	  <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym>.</para>
	  </listitem>
	  <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	  <para xmlns:xlink="http://www.w3.org/1999/xlink">Valeurs des indicateurs d'état.</para>
	  </listitem>
	  <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	  <para xmlns:xlink="http://www.w3.org/1999/xlink">Tailles de fenêtre.</para>
	  </listitem>
	</itemizedlist>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Vérifier que tout correspond aux valeurs attendues.</para>
	</answer>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est la longueur du segment
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ?</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.questions.http_get">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Requête HTTP GET</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Identifier la trame qui correspond au message
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym> <literal xmlns:xlink="http://www.w3.org/1999/xlink">GET</literal>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelles sont les valeurs des numéros de séquence et d'acquittement
	de l'en-tête <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ?.</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Vérifier que tout correspond aux valeurs attendues.</para>
	</answer>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les indicateurs d'état actifs de l'en-tête
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ? Expliquer pourquoi.</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelles sont les longueurs de l'en-tête et de la «charge» du
	message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">On considère maintenant le contenu du message
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym> <literal xmlns:xlink="http://www.w3.org/1999/xlink">GET</literal>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Comparer le texte décodé dans la <link xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.protocollist">fenêtre d'affichage de la pile de
	protocoles</link> avec le contenu de la <link xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.hexa">fenêtre d'affichage brut</link>.</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Compter le nombre d'octets du message et vérifier que ce nombre
	correspond au champ longueur de l'en-tête
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym>.</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le prochain numéro de séquence attendu dans le message
	suivant émis par le serveur <acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym> ?</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.http.questions.http_answer">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Réponse HTTP</title>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Combien de temps s'est écoulé entre la capture du message
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">GET</literal> et la capture du message de réponse
	correspondant ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Déterminer si le serveur répond avec un message
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym> ou un segment <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym>
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">ACK</literal> ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le numéro de séquence émis par le serveur
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym> ? Est-ce qu'il correspond à la valeur
	attendue ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">On considère maintenant l'en-tête du message réponse
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est la longueur de la «charge» indiquée dans l'en-tête
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les indicateurs d'état actifs de l'en-tête
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> ? Expliquer pourquoi.</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le prochain numéro de séquence attendu dans le message
	suivant émis par le client ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">On considère maintenant le corps du message réponse
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">HTTP</acronym>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le code dans le message de réponse ?</para>
	</question>
	</qandaentry>

	<qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Sélectionner ce code avec la souris dans la <link xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.protocollist">fenêtre d'affichage de la pile de
	protocoles</link> et comparer avec ce qui est affiché sur la page du
	navigateur Web.</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Cette opération revient à suivre la démarche présentée dans la
	<xref xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.tcpstream"/>.</para>
	</answer>
	</qandaentry>
      </qandaset>
    </sect3>
  </sect2>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Travaux pratiques : messages de contrôle internet (ICMP)</title>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.protocols">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Protocoles et outils étudiés</title>

    <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Internet Control Message Protocol</wordasword> ou
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> ; messages de type :
      <literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo</literal>, <literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo Reply</literal> et <literal xmlns:xlink="http://www.w3.org/1999/xlink">Time
      Exceeded</literal>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink"><wordasword xmlns:xlink="http://www.w3.org/1999/xlink">Internet Protocol</wordasword> ou
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> ; champ de l'en-tête
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> : <literal xmlns:xlink="http://www.w3.org/1999/xlink">Time to Live</literal>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Commande <command xmlns:xlink="http://www.w3.org/1999/xlink">ping</command>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Commandes <command xmlns:xlink="http://www.w3.org/1999/xlink">traceroute</command> et
      <command xmlns:xlink="http://www.w3.org/1999/xlink">tcptraceroute</command>.</para>
      </listitem>
    </itemizedlist>
  </sect2>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.procedure">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Marche à suivre</title>

    <orderedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Commande <command xmlns:xlink="http://www.w3.org/1999/xlink">ping</command></title>

      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer la capture des trames sans restrictions d'adresses, de
      protocoles ou de volume.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer une console et taper une commande du type
      <userinput xmlns:xlink="http://www.w3.org/1999/xlink">ping -c10 www.phrack.org</userinput>. L'option
      <option xmlns:xlink="http://www.w3.org/1999/xlink">-c10</option> limite le nombre de requêtes
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> à 10. Bien sûr, le choix de l'adresse à contacter
      est totalement libre.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Arrêter la capture lorsque l'invite de commande réapparaît à la
      console.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Sauvegarder le fichier de capture.</para>
      </listitem>
    </orderedlist>

    <orderedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Commande <command xmlns:xlink="http://www.w3.org/1999/xlink">traceroute</command></title>

      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer la capture des trames sans restrictions d'adresses, de
      protocoles ou de volume.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer une console et taper une commande du type
      <userinput xmlns:xlink="http://www.w3.org/1999/xlink">traceroute www.phrack.org</userinput>. Bien sûr, le choix de
      l'adresse à contacter est totalement libre.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Arrêter la capture lorsque l'invite de commande réapparaît à la
      console.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Sauvegarder le fichier de capture.</para>
      </listitem>
    </orderedlist>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">La plage de ports <acronym xmlns:xlink="http://www.w3.org/1999/xlink">UDP</acronym> utilisée par défaut par la
    commande <command xmlns:xlink="http://www.w3.org/1999/xlink">traceroute</command> est de plus en plus fréquemment
    bloquée par les équipements d'interconnexion. Il est alors utile
    d'envisager l'emploi de la commande <command xmlns:xlink="http://www.w3.org/1999/xlink">tcptraceroute</command> avec
    laquelle on peut fixer les ports source et destination.</para>

    <orderedlist xmlns:xlink="http://www.w3.org/1999/xlink">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Commande <command xmlns:xlink="http://www.w3.org/1999/xlink">tcptraceroute</command></title>

      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark</citetitle>.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer la capture des trames sans restrictions d'adresses, de
      protocoles ou de volume.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Lancer une console et taper une commande du type
      <userinput xmlns:xlink="http://www.w3.org/1999/xlink">tcptraceroute -p 1024 www.phrack.org 80</userinput>.
      Bien sûr, le choix de l'adresse à contacter est totalement libre.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Arrêter la capture lorsque l'invite de commande réapparaît à la
      console.</para>
      </listitem>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Sauvegarder le fichier de capture.</para>
      </listitem>
    </orderedlist>
  </sect2>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.ping.questions">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Analyse avec <command xmlns:xlink="http://www.w3.org/1999/xlink">ping</command></title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Pour répondre aux questions suivantes, utiliser le résultat de la
    capture issue de l'étape précédente ou charger un fichier de
    capture.</para>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.ping.questions.captured_protocols">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Protocoles capturés</title>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les protocoles indiqués dans la colonne
	<guisubmenu xmlns:xlink="http://www.w3.org/1999/xlink">Protocol</guisubmenu> de la fenêtre de liste des trames
	capturées ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Il est probable que les paquets <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> soient
	précédés d'un jeu de question/réponse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym>.</para>
	</answer>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Relever l'adresse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> renvoyée avec la réponse
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym>.</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.ping.questions.echo_request">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Message ICMP «Echo Request»</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Étude du paquet <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> qui correspond au premier
      message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> <literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo Request</literal>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est l'adresse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> destination du
	paquet ? Quelle est la valeur du champ <literal xmlns:xlink="http://www.w3.org/1999/xlink">Protocol
	Type</literal> ? Quelle est la valeur du champ <literal xmlns:xlink="http://www.w3.org/1999/xlink">Time to
	Live</literal> ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Étude du message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le type de message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> ? Quel
	est l'identificateur de message ? Quel est le numéro de
	séquence ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Sélectionner à la souris les octets de données du message de
	requête. Comparer ces données avec celles affichées dans la <link xmlns:xlink="http://www.w3.org/1999/xlink" linkend="wireshark.hexa">fenêtre d'affichage brut</link>.</para> 
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.ping.questions.echo_reply">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Message ICMP «Echo Reply»</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Étude du paquet <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> qui correspond au premier
      message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> <literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo Reply</literal>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle sont les adresses <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> source et
	destination du paquet ? Quelle est la valeur du champ
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">Protocol Type</literal> ? Quelle est la valeur du champ
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">Time to Live</literal> ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Étude du message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le type de message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> ?
	Comparer l'identificateur de message et le numéro de séquence du
	message de réponse avec les valeurs du message de requête.</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Sélectionner à la souris les octets de données du message de
	requête. Comparer ces données avec celles affichées dans le message de
	requête.</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.ping.questions.icmp_other">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Messages ICMP restants</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Reprendre les 2 points précédents pour les messages
      <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> <literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo Request</literal> et <literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo
      Reply</literal> restants.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Comment les champs d'identification et de numéro de séquence
	évoluent dans le temps ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Est-ce que les séquences de données des requêtes et des réponses
	changent ?</para>
	</question>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Calculer l'écart de temps entre l'émission de chaque message
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo Request</literal> et la réception de chaque message
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo Reply</literal>. Comparer les résultats avec les valeurs
	maximum, moyenne et minium fournies par la commande
	<command xmlns:xlink="http://www.w3.org/1999/xlink">ping</command>.</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>
  </sect2>

  <sect2 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.traceroute.questions">
    <title xmlns:xlink="http://www.w3.org/1999/xlink">Analyse avec <command xmlns:xlink="http://www.w3.org/1999/xlink">(tcp)traceroute</command></title>

    <para xmlns:xlink="http://www.w3.org/1999/xlink">Pour répondre aux questions suivantes, utiliser le résultat de la
    capture issue de l'étape précédente ou charger un fichier de
    capture.</para>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.traceroute.questions.captured_protocols">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Protocoles capturés</title>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quels sont les protocoles indiqués dans la colonne
	<guisubmenu xmlns:xlink="http://www.w3.org/1999/xlink">Protocol</guisubmenu> de la fenêtre de liste des trames
	capturées ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Il est probable que les paquets <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> soient
	précédés d'un jeu de question/réponse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym>.</para>
	</answer>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Relever l'adresse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> renvoyée avec la réponse
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym>.</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.traceroute.questions.udp_message">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Message UDP</title>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="traceroute.udp">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelle est l'adresse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> destination du	premier
	paquet contenant le message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">UDP</acronym> ? Quelles sont
	les valeurs des champs <literal xmlns:xlink="http://www.w3.org/1999/xlink">Protocol Type</literal> et
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">Time to Live</literal> ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Comparer l'adresse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> destination relevée avec
	celle de la réponse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">DNS</acronym>. Noter les valeurs
	caractéristiques de l'en-tête <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> en vue d'une
	utilisation <link xmlns:xlink="http://www.w3.org/1999/xlink" linkend="traceroute.ttl-exceeded">ultérieure</link>.</para>
	</answer>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Combien d'octets de données sont présents dans ce message de
	requête ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Noter la séquence de caractères présente dans la troisième
	fenêtre.</para>
	</answer>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.traceroute.questions.time_exceeded">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Message ICMP «Time Exceeded»</title>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelles sont les adresses <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> source et
	destination du paquet de la première réponse <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym>
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">Time Exceeded</literal> ?</para>
	</question>
	</qandaentry>
      </qandaset>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Étude du message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym>.</para>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="traceroute.ttl-exceeded">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le type de message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Les champs <literal xmlns:xlink="http://www.w3.org/1999/xlink">Type</literal>, <literal xmlns:xlink="http://www.w3.org/1999/xlink">Code</literal> et
	<literal xmlns:xlink="http://www.w3.org/1999/xlink">Checksum</literal> sont suivis par plusieurs octets à zéro
	puis par l'en-tête <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> du message
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> <literal xmlns:xlink="http://www.w3.org/1999/xlink">Echo Request</literal>. Comparer les
	valeurs caractéristiques de cet en-tête avec celles notées <link xmlns:xlink="http://www.w3.org/1999/xlink" linkend="traceroute.udp">ci-avant</link>.</para>
	</answer>
	</qandaentry>

        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Est-ce que le message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> contient de
	nouveaux octets de données ?</para>
	</question>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.traceroute.questions.ttl">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Evolution du champ TTL</title>

      <qandaset xmlns:xlink="http://www.w3.org/1999/xlink">
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Combien de messages <acronym xmlns:xlink="http://www.w3.org/1999/xlink">UDP</acronym> sont émis avec la même
	valeur de champ <literal xmlns:xlink="http://www.w3.org/1999/xlink">TTL</literal> dans l'en-tête de paquet
	<acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> ?</para>
	</question>
	</qandaentry>
	
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quelles sont les adresses <acronym xmlns:xlink="http://www.w3.org/1999/xlink">IP</acronym> source des
	paquets <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> <literal xmlns:xlink="http://www.w3.org/1999/xlink">Time
	Exceeded</literal> ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Comparer ces adresses avec celles données lors de l'exécution de
	la commande <command xmlns:xlink="http://www.w3.org/1999/xlink">traceroute</command>.</para>
	</answer>
	</qandaentry>
	
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Quel est le type du message <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> reçu lorsque
	l'hôte destinataire est atteint ?</para>
	</question>
	</qandaentry>
	
        <qandaentry xmlns:xlink="http://www.w3.org/1999/xlink">
	<question xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Comment calculer les temps affichés par la commande
	<command xmlns:xlink="http://www.w3.org/1999/xlink">traceroute</command> à partir des valeurs données dans la
	colonne <literal xmlns:xlink="http://www.w3.org/1999/xlink">Time</literal> de la fenêtre des trames
	capturées ?</para>
	</question>
	<answer xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Utiliser les pages de manuels de la commande
	<command xmlns:xlink="http://www.w3.org/1999/xlink">traceroute</command> pour obtenir la signification des
	différentes valeurs de temps pour atteindre une destination.</para>
	</answer>
	</qandaentry>
      </qandaset>
    </sect3>

    <sect3 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.lab.icmp.traceroute.questions.tcptraceroute">
      <title xmlns:xlink="http://www.w3.org/1999/xlink">Variantes</title>

      <para xmlns:xlink="http://www.w3.org/1999/xlink">Il est possible de reprendre les questions ci-dessus en utilisant
      différentes options des commandes <command xmlns:xlink="http://www.w3.org/1999/xlink">traceroute</command> et|ou
      <command xmlns:xlink="http://www.w3.org/1999/xlink">tcptraceroute</command>.</para>

      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Analyse uniquement à base de messages <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym>
	avec l'option <option xmlns:xlink="http://www.w3.org/1999/xlink">-I</option> : <userinput xmlns:xlink="http://www.w3.org/1999/xlink">traceroute -I
	www.phrack.org</userinput>.</para>
	</listitem>
	<listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Analyse à base de segments <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP</acronym> en précisant le
	numéro de port visé : <userinput xmlns:xlink="http://www.w3.org/1999/xlink">tcptraceroute www.phrack.org
	80</userinput>.</para>
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Cette dernière variante est très utile pour vérifier si un
	service est ouvert ou non.</para>
	</listitem>
      </itemizedlist>
    </sect3>
  </sect2>
</sect1>

<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="wireshark.reference">
  <title xmlns:xlink="http://www.w3.org/1999/xlink">Documents de référence</title>

  <variablelist xmlns:xlink="http://www.w3.org/1999/xlink">
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="guide">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Guide de l'utilisateur</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <para xmlns:xlink="http://www.w3.org/1999/xlink">Le <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.wireshark.org/download/docs/user-guide-a4.pdf">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Wireshark User's Guide</citetitle></link> est la référence la plus complète sur
      l'utilisation de notre analyseur de trafic favori !</para>
      </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="protocols">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Protocoles</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Le fichier <acronym xmlns:xlink="http://www.w3.org/1999/xlink">PDF</acronym>
	<link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.sans.org/resources/tcpip.pdf">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">TCP/IP and tcpdump Pocket Reference Guide</citetitle></link>  est une «antisèche» sur les champs
	des en-têtes des protocoles essentiels ; un document
	<emphasis xmlns:xlink="http://www.w3.org/1999/xlink">indispensable</emphasis> pour la pratique de l'analyse
	réseau.</para>
	</listitem>
      </itemizedlist>
      </listitem>
    </varlistentry>
    <varlistentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="otherlabs">
      <term xmlns:xlink="http://www.w3.org/1999/xlink">Travaux pratiques</term>
      <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
      <itemizedlist xmlns:xlink="http://www.w3.org/1999/xlink">
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Le support <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.inetdoc.net/travaux_pratiques/config.interface.lan/"><citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Configuration d'une interface de réseau local</citetitle></link>  présente les opérations
	de configuration d'une interface réseau et propose une exploitation des
	protocoles <acronym xmlns:xlink="http://www.w3.org/1999/xlink">TCP/IP</acronym> et <acronym xmlns:xlink="http://www.w3.org/1999/xlink">ICMP</acronym> sans
	recours à un analyseur réseau.</para>
	</listitem>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Le chapitre <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://searchenterpriselinux.techtarget.com/searchEnterpriseLinux/downloads/284_EPS_04.pdf">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Using Ethereal - Chapter 4 of Ethereal packet sniffing</citetitle></link>  est un extrait de
	livre consacré à la version antérieure de l'analyseur de trafic
	réseau.</para>
	</listitem>
        <listitem xmlns:xlink="http://www.w3.org/1999/xlink">
	<para xmlns:xlink="http://www.w3.org/1999/xlink">Le site <link xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://gaia.cs.umass.edu/ethereal-labs/">
   <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Ethereal Labs</citetitle></link>  présente d'autres travaux
	pratiques basés sur <citetitle xmlns:xlink="http://www.w3.org/1999/xlink">Ethereal</citetitle>, la version
	antérieure de l'analyseur de trafic réseau.</para>
	</listitem>
      </itemizedlist>
      </listitem>
    </varlistentry>
  </variablelist>
</sect1>
</article>

