diff --git a/Report/Labo5_Report.aux b/Report/Labo5_Report.aux index 953d249a9a59f5685c08bcac760db652a85606e9..4e42c3f7ae8db62f5ec8508bc3ea9dfe00963c0a 100644 --- a/Report/Labo5_Report.aux +++ b/Report/Labo5_Report.aux @@ -30,7 +30,7 @@ \abx@aux@segm{0}{0}{Cours:Hoerdt} \@writefile{lof}{\contentsline {figure}{\numberline {2}{\ignorespaces Capture Wireshark de l'entête UDP du message HELLO\relax }}{3}{figure.caption.2}\protected@file@percent } \newlabel{img:ip-brief-r2}{{2}{3}{Capture Wireshark de l'entête UDP du message HELLO\relax }{figure.caption.2}{}} -\@writefile{toc}{\contentsline {subsection}{\numberline {1.3}B. Fragmentation}{4}{subsection.1.3}\protected@file@percent } +\@writefile{toc}{\contentsline {subsection}{\numberline {1.3}B. Fragmentation}{3}{subsection.1.3}\protected@file@percent } \@writefile{lof}{\contentsline {figure}{\numberline {3}{\ignorespaces Capture Wireshark d'un message fragmenté\relax }}{4}{figure.caption.3}\protected@file@percent } \newlabel{img:frag1}{{3}{4}{Capture Wireshark d'un message fragmenté\relax }{figure.caption.3}{}} \@writefile{lof}{\contentsline {figure}{\numberline {4}{\ignorespaces Capture Wireshark d'un message fragmenté, deuxième fragment\relax }}{4}{figure.caption.4}\protected@file@percent } diff --git a/Report/Labo5_Report.fdb_latexmk b/Report/Labo5_Report.fdb_latexmk index c610b872a029e0e7a4794e9126095f692b2a4955..bf7165cfcc8f08030fd6bc3de7a1e140e2a091a3 100644 --- a/Report/Labo5_Report.fdb_latexmk +++ b/Report/Labo5_Report.fdb_latexmk @@ -1,14 +1,14 @@ # Fdb version 3 -["biber Labo5_Report"] 1679834876 "Labo5_Report.bcf" "Labo5_Report.bbl" "Labo5_Report" 1679834937 +["biber Labo5_Report"] 1679834876 "Labo5_Report.bcf" "Labo5_Report.bbl" "Labo5_Report" 1680200727 "Bibliography.bib" 1679759909 171 8442279fca2bdb9213ad7ebbd05a4879 "" - "Labo5_Report.bcf" 1679834937 106676 a085c229a87cdb5a1bc33416f03d403a "lualatex" + "Labo5_Report.bcf" 1680200727 106676 a085c229a87cdb5a1bc33416f03d403a "lualatex" (generated) "Labo5_Report.bbl" "Labo5_Report.blg" -["lualatex"] 1679834936 "/home/joachim/Documents/Cours2022-2023/Git/Labo_5_BDR2/Report/Labo5_Report.tex" "Labo5_Report.pdf" "Labo5_Report" 1679834937 +["lualatex"] 1680200725 "/home/joachim/Documents/Cours2022-2023/Git/Labo_5_BDR2/Report/Labo5_Report.tex" "Labo5_Report.pdf" "Labo5_Report" 1680200727 "/home/joachim/.texlive2022/texmf-var/luatex-cache/generic/fonts/otl/lmroman12-regular.luc" 1674144434 127652 ea9fc6c83383bb1337b771452cfd801e "" "/home/joachim/.texlive2022/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.gz" 1674144433 577217 9bed720cca56cff19933e6ad42f3f963 "" - "/home/joachim/Documents/Cours2022-2023/Git/Labo_5_BDR2/Report/Labo5_Report.tex" 1679834934 9248 8da68154dfdb5a113a2191192dd0b175 "" + "/home/joachim/Documents/Cours2022-2023/Git/Labo_5_BDR2/Report/Labo5_Report.tex" 1680200725 10278 d26c5a163b79fde85c6c1150ef570ffc "" "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmex10.tfm" 1136768653 992 662f679a0b3d2d53c1b94050fdaa3f50 "" "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi12.tfm" 1136768653 1524 4414a8315f39513458b80dfc63bff03a "" "/usr/share/texlive/texmf-dist/fonts/tfm/public/cm/cmmi6.tfm" 1136768653 1512 f21f83efb36853c0b70002322c1ab3ad "" @@ -271,12 +271,12 @@ "Images/Hello_Wireshark.png" 1679758760 227850 ba3730291caab6f4bb1a697d336ae9f7 "" "Images/UDP.png" 1679759127 58117 2bc0670cd5d8b43a566e0fd76e5bde1d "" "Images/ipv6.png" 1679834765 115466 22b99407e7600f762767af1f7fc6fc0e "" - "Labo5_Report.aux" 1679834937 3214 d41c3b43f2801e3775a186a857817bdd "lualatex" + "Labo5_Report.aux" 1680200727 3214 77091babf391e67b3665d71b3f7c7a65 "lualatex" "Labo5_Report.bbl" 1679834876 1017 83d2b53b72e0590188052a6eabda0f1a "biber Labo5_Report" - "Labo5_Report.out" 1679834937 761 926feec182ff52959b244983edd4fba2 "lualatex" - "Labo5_Report.run.xml" 1679834937 2403 2991992fedfb94fcc2625eb671876e5b "lualatex" - "Labo5_Report.tex" 1679834934 9248 8da68154dfdb5a113a2191192dd0b175 "" - "Labo5_Report.toc" 1679834937 456 e63b7acc96c85ca350361113b2d7eb6e "lualatex" + "Labo5_Report.out" 1680200727 761 926feec182ff52959b244983edd4fba2 "lualatex" + "Labo5_Report.run.xml" 1680200727 2403 2991992fedfb94fcc2625eb671876e5b "lualatex" + "Labo5_Report.tex" 1680200725 10278 d26c5a163b79fde85c6c1150ef570ffc "" + "Labo5_Report.toc" 1680200727 456 150f0eb077664ce5230f8869b0c81daf "lualatex" (generated) "Labo5_Report.aux" "Labo5_Report.bcf" diff --git a/Report/Labo5_Report.log b/Report/Labo5_Report.log index ab582d4a2d7525c84f8d45ad5a79821f15d034de..edb49a6fcc0d5677ca162733e09b08f241645151 100644 --- a/Report/Labo5_Report.log +++ b/Report/Labo5_Report.log @@ -1,4 +1,4 @@ -This is LuaHBTeX, Version 1.15.0 (TeX Live 2022/Debian) (format=lualatex 2023.1.19) 26 MAR 2023 14:48 +This is LuaHBTeX, Version 1.15.0 (TeX Live 2022/Debian) (format=lualatex 2023.1.19) 30 MAR 2023 20:25 restricted system commands enabled. file:line:error style messages enabled. **/home/joachim/Documents/Cours2022-2023/Git/Labo_5_BDR2/Report/Labo5_Report.tex @@ -1088,17 +1088,17 @@ File: t1lmtt.fd 2015/05/01 v1.6.1 Font defs for Latin Modern <Images/Hello_Wireshark.png, id=48, 1474.75969pt x 885.3075pt> File: Images/Hello_Wireshark.png Graphic file (type png) <use Images/Hello_Wireshark.png> -Package luatex.def Info: Images/Hello_Wireshark.png used on input line 219. +Package luatex.def Info: Images/Hello_Wireshark.png used on input line 221. (luatex.def) Requested size: 331.50238pt x 198.99646pt. -Overfull \hbox (12.76292pt too wide) in paragraph at lines 224--225 +Overfull \hbox (12.76292pt too wide) in paragraph at lines 226--227 []\T1/lmr/m/n/12 Dans cette cap-ture, nous pou-vons ob-ser-ver que le client a en-voyé "HELLO" [] <Images/UDP.png, id=49, 514.92375pt x 261.97874pt> File: Images/UDP.png Graphic file (type png) <use Images/UDP.png> -Package luatex.def Info: Images/UDP.png used on input line 229. +Package luatex.def Info: Images/UDP.png used on input line 233. (luatex.def) Requested size: 331.50238pt x 168.6612pt. Package fancyhdr Warning: \headheight is too small (12.0pt): @@ -1111,7 +1111,7 @@ Package fancyhdr Warning: \headheight is too small (12.0pt): <Images/Fragment_1.png, id=62, 1381.41093pt x 776.14969pt> File: Images/Fragment_1.png Graphic file (type png) <use Images/Fragment_1.png> -Package luatex.def Info: Images/Fragment_1.png used on input line 250. +Package luatex.def Info: Images/Fragment_1.png used on input line 266. (luatex.def) Requested size: 331.50238pt x 186.2442pt. @@ -1125,7 +1125,7 @@ Package fancyhdr Warning: \headheight is too small (12.0pt): <Images/Fragment_2.png, id=76, 1392.70313pt x 740.7675pt> File: Images/Fragment_2.png Graphic file (type png) <use Images/Fragment_2.png> -Package luatex.def Info: Images/Fragment_2.png used on input line 260. +Package luatex.def Info: Images/Fragment_2.png used on input line 279. (luatex.def) Requested size: 331.50238pt x 176.3184pt. @@ -1139,7 +1139,7 @@ Package fancyhdr Warning: \headheight is too small (12.0pt): <Images/ipv6.png, id=85, 889.82437pt x 663.98062pt> File: Images/ipv6.png Graphic file (type png) <use Images/ipv6.png> -Package luatex.def Info: Images/ipv6.png used on input line 274. +Package luatex.def Info: Images/ipv6.png used on input line 296. (luatex.def) Requested size: 331.50238pt x 247.36095pt. AED: lastpage setting LastPage @@ -1161,14 +1161,14 @@ Package logreq Info: Writing requests to 'Labo5_Report.run.xml'. Here is how much of LuaTeX's memory you used: 39241 strings out of 477474 125056,1648299 words of node,token memory allocated - 968 words of node memory still in use: - 4 hlist, 1 vlist, 1 rule, 24 glue, 3 kern, 1 penalty, 2 glyph, 131 attribute, 65 glue_spec, 20 attribute_list, 3 write, 2 pdf_action nodes - avail lists: 1:1,2:1470,3:253,4:54,5:156,6:36,7:1815,8:59,9:249,10:9,11:115 + 1162 words of node memory still in use: + 4 hlist, 1 vlist, 1 rule, 38 glue, 3 kern, 1 penalty, 2 glyph, 173 attribute, 65 glue_spec, 26 attribute_list, 3 write, 2 pdf_action nodes + avail lists: 1:1,2:1486,3:259,4:54,5:199,6:44,7:2648,8:59,9:270,10:9,11:180 58947 multiletter control sequences out of 65536+600000 41 fonts using 2665503 bytes - 100i,12n,98p,1262b,1818s stack positions out of 10000i,1000n,20000p,200000b,200000s + 100i,11n,98p,1262b,1818s stack positions out of 10000i,1000n,20000p,200000b,200000s {/usr/share/texmf/fonts/enc/dvips/lm/lm-ec.enc}</usr/share/texmf/fonts/type1/public/lm/lmbx12.pfb></usr/share/texmf/fonts/type1/public/lm/lmcsc10.pfb></usr/share/texmf/fonts/type1/public/lm/lmr10.pfb></usr/share/texmf/fonts/type1/public/lm/lmr12.pfb></usr/share/texmf/fonts/type1/public/lm/lmr8.pfb></usr/share/texmf/fonts/type1/public/lm/lmri10.pfb></usr/share/texmf/fonts/type1/public/lm/lmri12.pfb></usr/share/texmf/fonts/type1/public/lm/lmtt12.pfb> -Output written on Labo5_Report.pdf (6 pages, 1085959 bytes). +Output written on Labo5_Report.pdf (6 pages, 1087787 bytes). PDF statistics: 126 PDF objects out of 1000 (max. 8388607) 101 compressed objects within 2 object streams diff --git a/Report/Labo5_Report.pdf b/Report/Labo5_Report.pdf index 234d45140eab833f134140dcc5930f3c37695f8a..6f1a6ae684a2846a9a71fb2ec714e0d1525bbce3 100644 Binary files a/Report/Labo5_Report.pdf and b/Report/Labo5_Report.pdf differ diff --git a/Report/Labo5_Report.synctex.gz b/Report/Labo5_Report.synctex.gz index 6a3603f2542c65acb689afdf57629b3261838ad3..0b42d90506a0f51240256e38065faa6f70fc3e95 100644 Binary files a/Report/Labo5_Report.synctex.gz and b/Report/Labo5_Report.synctex.gz differ diff --git a/Report/Labo5_Report.tex b/Report/Labo5_Report.tex index 65abae90318add7ec0e139a24d03f7c3a3236f25..8365704502c81da9b4b40171ad9f6ba62ea09fed 100644 --- a/Report/Labo5_Report.tex +++ b/Report/Labo5_Report.tex @@ -214,6 +214,8 @@ \subsection{A. Communications client/serveur sur UDP} \begin{itemize} \item[1.] + Décrivez l'échange de message qui a lieu à l'aide de votre capture Wireshark. + \begin{figure}[H] \centering \includegraphics[width=0.85\textwidth]{Images/Hello_Wireshark.png} @@ -224,6 +226,8 @@ Dans cette capture, nous pouvons observer que le client a envoyé "HELLO" afin de se connecter. Les autres messages UDP sont des pings envoyés par le serveur pour vérifier que le client est toujours joignable. \item[2.] + Que contient l'en-tête UDP ? Décrivez chaque champ. + \begin{figure}[H] \centering \includegraphics[width=0.85\textwidth]{Images/UDP.png} @@ -233,11 +237,20 @@ Nous pouvons observer l'entête UDP du message capturé précédemment. Les champs importants sont : port source, port destination, longueur et checksum. - \item[3.] Dans le cas de ce programme, c'est le client qui initie la communication avec le serveur grâce au message "HELLO". Il n'y a aucun accusé de réception. + \item[3.] + Qui initie la connexion ? Y-a-t-il un accusé de réception ? + + Dans le cas de ce programme, c'est le client qui initie la communication avec le serveur grâce au message "HELLO". Il n'y a aucun accusé de réception. - \item[4.] Oui, Wireshark nous montre le checksum. + \item[4.] + Est-ce que wireshark vous fournit la valeur du champs checksum UDP ? Vérifiez manuellement qu'il est bien juste sur un message court. + + Oui, Wireshark nous montre le checksum. - \item[5.] \textit{"Par défaut, le port source est choisi aléatoirement parmi les ports libres sur l'intervalle des « ports éphémères » de l'OS. Il est valable pendant toute la durée de vie de la socket/du programme."} \footcite{Cours:Hoerdt} + \item[5.] + Comment est attribué le numéro de port du client ? + + \textit{"Par défaut, le port source est choisi aléatoirement parmi les ports libres sur l'intervalle des « ports éphémères » de l'OS. Il est valable pendant toute la durée de vie de la socket/du programme."} \footcite{Cours:Hoerdt} \end{itemize} @@ -245,6 +258,9 @@ \begin{itemize} \item[2.] + Envoyez depuis un client un message contenant plus de 100 caractères. + Depuis Wireshark que remarquez-vous ? + \begin{figure}[H] \centering \includegraphics[width=0.85\textwidth]{Images/Fragment_1.png} @@ -255,6 +271,9 @@ Nous pouvons observer que le message envoyé a été signalé comme fragmenté. \item[3.] + + A quoi correspond le champ Fragment offset ? Expliquez le mécanisme de fragmentation à l'aide de capture d'écran wireshark. + \begin{figure}[H] \centering \includegraphics[width=0.85\textwidth]{Images/Fragment_2.png} @@ -267,7 +286,10 @@ \subsection{C. IPv6} \begin{itemize} - \item[1.] Pour que la socket soit fonctionnelle en IPv6, il est nécessaire de changer sa famille en "socket.AF\_INET6". De plus, il faut utiliser l'adresse loopback propre à IPv6 qui est "::1". + \item[1.] + Modifiez votre application pour qu'elle fonctionne sur IPv6. Indiquer les changements nécessaires et montrez par une capture d'écran whireshark qu'elle fonctionne correctement sur votre machine. + + Pour que la socket soit fonctionnelle en IPv6, il est nécessaire de changer sa famille en "socket.AF\_INET6". De plus, il faut utiliser l'adresse loopback propre à IPv6 qui est "::1". \begin{figure}[H] \centering diff --git a/Report/Labo5_Report.toc b/Report/Labo5_Report.toc index bd9d9534a2e89188eaf0a885ef96b7bcf4a2c59e..4ac374c0ff112193b711ea9515102e0dc37d52f1 100644 --- a/Report/Labo5_Report.toc +++ b/Report/Labo5_Report.toc @@ -3,5 +3,5 @@ \contentsline {section}{\numberline {1}Réponse aux questions}{2}{section.1}% \contentsline {subsection}{\numberline {1.1}Repo Git}{2}{subsection.1.1}% \contentsline {subsection}{\numberline {1.2}A. Communications client/serveur sur UDP}{2}{subsection.1.2}% -\contentsline {subsection}{\numberline {1.3}B. Fragmentation}{4}{subsection.1.3}% +\contentsline {subsection}{\numberline {1.3}B. Fragmentation}{3}{subsection.1.3}% \contentsline {subsection}{\numberline {1.4}C. IPv6}{5}{subsection.1.4}%