Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |||
999-archives:tcp-ip:010tcpip:040_mode_connecte [le 30/05/2025 à 13:47] – supprimée - modification externe (Date inconnue) 127.0.0.1 | 999-archives:tcp-ip:010tcpip:040_mode_connecte [le 30/05/2025 à 13:47] (Version actuelle) – ↷ Page déplacée de 040-adresses:001-archives:010tcpip:040_mode_connecte à 999-archives:tcp-ip:010tcpip:040_mode_connecte prof | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== Mode connecté ====== | ||
+ | |||
+ | |||
+ | ===== La connexion TCP ===== | ||
+ | |||
+ | Le mode connecté de TCP n'est pas d'une grande simplicité. Il est conçu pour être robuste et tient compte des possibilités et des risques des grands réseaux maillés, à savoir: | ||
+ | |||
+ | * Les paquets peuvent circuler de la source vers la cible par des chemins différents (dans ce cas, ils arrivent sur la cible dans le désordre), | ||
+ | * Il peut s'en perdre en route, | ||
+ | * Certains paquets peuvent arriver corrompus | ||
+ | * etc.. | ||
+ | |||
+ | TCP en revanche ne prend hélas pas en compte, ou très peu, les problèmes de piratage. | ||
+ | |||
+ | L' | ||
+ | |||
+ | ==== La séquence en gros ==== | ||
+ | L' | ||
+ | No. Time Source | ||
+ | 1 0.000000 00: | ||
+ | 2 0.000277 00: | ||
+ | 3 0.000474 chris.maison.mrs | ||
+ | 4 0.000885 gateway1.maison.mrs chris.maison.mrs | ||
+ | 5 0.001111 chris.maison.mrs | ||
+ | 6 0.049836 gateway1.maison.mrs chris.maison.mrs | ||
+ | 7 0.050586 chris.maison.mrs | ||
+ | 8 0.050998 gateway1.maison.mrs chris.maison.mrs | ||
+ | 9 0.051511 gateway1.maison.mrs chris.maison.mrs | ||
+ | 10 0.051979 chris.maison.mrs | ||
+ | 11 0.060769 gateway1.maison.mrs chris.maison.mrs | ||
+ | 12 0.159888 gateway1.maison.mrs chris.maison.mrs | ||
+ | 13 0.160799 chris.maison.mrs | ||
+ | 14 0.161552 gateway1.maison.mrs chris.maison.mrs | ||
+ | 15 0.162801 chris.maison.mrs | ||
+ | 16 0.167987 gateway1.maison.mrs chris.maison.mrs | ||
+ | 17 0.168562 chris.maison.mrs | ||
+ | 18 0.168957 gateway1.maison.mrs chris.maison.mrs | ||
+ | 19 0.169465 gateway1.maison.mrs chris.maison.mrs | ||
+ | 20 0.169698 chris.maison.mrs | ||
+ | |||
+ | Pas moins de 20 trames, pour constater qu'il n'y a pas de nouveau courrier! | ||
+ | |||
+ | ==== TCP en détail ==== | ||
+ | |||
+ | === Un petit coup d' | ||
+ | |||
+ | Les séquences 1 et 2 ne sont pas inintéressantes, | ||
+ | |||
+ | * Trame 1:\\ Mon poste n'a pas en mémoire la correspondance MAC Address / IP pour le serveur. Il pose donc la question sur un broadcast ARP: | ||
+ | |||
+ | Trame 2:\\ Le serveur répond: | ||
+ | |||
+ | Si, sans trop attendre, je lance la commande ARP sur mon poste, voici le résultat: | ||
+ | |||
+ | E:\> arp -a | ||
+ | | ||
+ | Interface : | ||
+ | Adresse Internet Adresse physique Type | ||
+ | 192.168.0.250 00-20-18-61-90-e3 dynamique** | ||
+ | |||
+ | Au bout d'un « certain temps » sans servir, cette ligne sera effacée de la mémoire. Rappelons qu'à l' | ||
+ | |||
+ | === Et la connexion TCP === | ||
+ | |||
+ | == Etablissement de la connexion == | ||
+ | |||
+ | // | ||
+ | |||
+ | Il faut d' | ||
+ | |||
+ | * Sequence number | ||
+ | * Acknowledgment number | ||
+ | |||
+ | Ces deux pointeurs permettent le suivi des paquets: | ||
+ | |||
+ | * L' | ||
+ | * La remise en ordre des paquets reçus sur la cible. | ||
+ | |||
+ | D' | ||
+ | |||
+ | Par ailleurs, un ensemble de « flags » (drapeaux, bits significatifs d'un état particulier) permet de donner des informations sur la nature du paquet. | ||
+ | |||
+ | Voyons ce que les livres disent: | ||
+ | |||
+ | L' | ||
+ | |||
+ | |||
+ | {{ : | ||
+ | |||
+ | ^ 1 ^ 2 ^ 3 ^ | ||
+ | |Le client envoie une séquence de synchronisation, | ||
+ | |||
+ | Mais voyons cela sur l' | ||
+ | |||
+ | < | ||
+ | Frame 3 (62 on wire, 62 captured) | ||
+ | | ||
+ | Time delta from previous packet: 0.000197 seconds | ||
+ | Frame Number: 3 | ||
+ | Packet Length: 62 bytes | ||
+ | Capture Length: 62 bytes | ||
+ | Ethernet II | ||
+ | <span class=" | ||
+ | Source: 00: | ||
+ | <span class=" | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 48 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Header checksum: 0x024f (correct) | ||
+ | Source: chris.maison.mrs (192.168.0.10) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Header length: 28 bytes | ||
+ | Flags: 0x0002 (SYN) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...0 .... = Acknowledgment: | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 16384 | ||
+ | Checksum: 0x6f64 | ||
+ | Options: (8 bytes) | ||
+ | Maximum segment size: 1460 bytes | ||
+ | NOP | ||
+ | NOP | ||
+ | SACK permitted | ||
+ | </ | ||
+ | |||
+ | La seconde doit être la réponse du serveur POP. Normalement, | ||
+ | |||
+ | < | ||
+ | Frame 4 (62 on wire, 62 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000411 seconds | ||
+ | Frame Number: 4 | ||
+ | Packet Length: 62 bytes | ||
+ | Capture Length: 62 bytes | ||
+ | Ethernet II | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 48 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafe9 (correct) | ||
+ | Source: gateway1.maison.mrs (192.168.0.250) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Header length: 28 bytes | ||
+ | Flags: 0x0012 (SYN, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x41e4 | ||
+ | Options: (8 bytes) | ||
+ | Maximum segment size: 1460 bytes | ||
+ | NOP | ||
+ | NOP | ||
+ | SACK permitted | ||
+ | </ | ||
+ | |||
+ | Ici, nous devrions trouver un acquittement du client sur le numéro de séquence 4089248825 | ||
+ | |||
+ | < | ||
+ | Frame 5 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000226 seconds | ||
+ | Frame Number: 5 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | <span class=" | ||
+ | Source: 00: | ||
+ | <span class=" | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 40 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0x0256 (correct) | ||
+ | Source: chris.maison.mrs (192.168.0.10) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | <span class=" | ||
+ | Destination port: pop3 (110)</ | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0010 (ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 17520 | ||
+ | Checksum: 0xa7b0 | ||
+ | </ | ||
+ | |||
+ | C'est bien comme dans les livres (ouf!) | ||
+ | |||
+ | == La transmission des données == | ||
+ | |||
+ | Que disent les livres? Ils disent que maintenant, les échanges de données vont se faire. | ||
+ | |||
+ | * Le flag PUSH sert à signaler à TCP qu'il doit transmettre les données reçues aux couches supérieures. | ||
+ | * Chaque paquet aura: | ||
+ | * Pour numéro d' | ||
+ | * Pour numéro de séquence le numéro d' | ||
+ | |||
+ | Sur le protocole POP3, c'est le serveur qui va envoyer un message de bienvenue. La trame qui suit doit donc provenir du serveur, elle doit contenir: | ||
+ | |||
+ | * Un acquittement du numéro de séquence de la trame précédente: | ||
+ | * Un numéro de séquence égal au numéro d' | ||
+ | |||
+ | < | ||
+ | Frame 6 (103 on wire, 103 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.048725 seconds | ||
+ | Frame Number: 6 | ||
+ | Packet Length: 103 bytes | ||
+ | Capture Length: 103 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 89 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafbf (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | <span class=" | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | <span class=" | ||
+ | Acknowledgement number: 3662573347</ | ||
+ | <span class=" | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0xa343 | ||
+ | Post Office Protocol | ||
+ | <span class=" | ||
+ | Response Arg: POP3 gateway1.maison.mrs v7.64 server ready</ | ||
+ | <span class=" | ||
+ | </ | ||
+ | |||
+ | Pour le moment, tout se passe encore conformément aux écritures. Voyons la suite. | ||
+ | |||
+ | Le paquet précédent contient les données: | ||
+ | |||
+ | +OK POP3 gateway1.maison.mrs v7.64 server ready | ||
+ | |||
+ | Ceci nous fait 47 octets (Il ne faut pas oublier de compter les espaces, ce sont des caractères comme les autres). Il ne faut pas oublier non plus qu'une ligne de texte se termine par les caractères CR (retour à la ligne) et LF (saut de ligne), ce qui nous fait deux caractères de plus, soit au total 49 octets. | ||
+ | |||
+ | Normalement: | ||
+ | |||
+ | * Le numéro d' | ||
+ | * Le numéro de séquence devrait être 3662573347 | ||
+ | |||
+ | Le client doit maintenant envoyer son login. Nous devrions donc trouver un PUSH et un ACK . | ||
+ | |||
+ | < | ||
+ | Frame 7 (66 on wire, 66 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000750 seconds | ||
+ | Frame Number: 7 | ||
+ | Packet Length: 66 bytes | ||
+ | Capture Length: 66 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 52 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0x0249 (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | <span class=" | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | Source port: 1927 (1927) | ||
+ | Destination port: pop3 (110) | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 17471 | ||
+ | Checksum: 0x0da4 | ||
+ | Post Office Protocol | ||
+ | <span class=" | ||
+ | Request Arg: chris</ | ||
+ | <span class=" | ||
+ | </ | ||
+ | |||
+ | Tout s'est passé comme prévu. | ||
+ | |||
+ | Bien. Comme nous connaissons par cœur le protocole POP, nous savons que le serveur va envoyer la réponse « +OK » et une invite à communiquer le mot de passe. | ||
+ | |||
+ | Nous devrions trouver: | ||
+ | |||
+ | * Un ACK et un PUSH, | ||
+ | * Un Sequence number égal à l' | ||
+ | * Un Acknowledgment number égal au Sequence number du paquet précédent +12 (comptez les octets de données du paquet précédent).. | ||
+ | |||
+ | < | ||
+ | Frame 8 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000412 seconds | ||
+ | Frame Number: 8 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 40 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafef (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | <span class=" | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | <span class=" | ||
+ | Acknowledgement number: 3662573359</ | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0010 (ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x6e6b | ||
+ | </ | ||
+ | |||
+ | Ben non, il n'y a pas eu de données. Comme on est parfaitement certain que le serveur doit en envoyer (parce que l'on connaît le protocole POP3 par cœur), c'est que c'est encore le serveur qui va parler... | ||
+ | |||
+ | < | ||
+ | Frame 9 (95 on wire, 95 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000513 seconds | ||
+ | Frame Number: 9 | ||
+ | Packet Length: 95 bytes | ||
+ | Capture Length: 95 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 81 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafc5 (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | <span class=" | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | <span class=" | ||
+ | Acknowledgement number: 3662573359</ | ||
+ | <span class=" | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | .... 1... = Push: Set</ | ||
+ | <span class=" | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x6428 | ||
+ | Post Office Protocol | ||
+ | <span class=" | ||
+ | Response Arg: User name accepted, password please</ | ||
+ | <span class=" | ||
+ | </ | ||
+ | |||
+ | Et voilà. Le client va envoyer son mot de passe, le dialogue continue. | ||
+ | |||
+ | < | ||
+ | Frame 10 (68 on wire, 68 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000468 seconds | ||
+ | Frame Number: 10 | ||
+ | Packet Length: 68 bytes | ||
+ | Capture Length: 68 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 54 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0x0246 (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | |||
+ | <span class=" | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | Source port: 1927 (1927) | ||
+ | Destination port: pop3 (110) | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | <span class=" | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | .... 1... = Push: Set</ | ||
+ | <span class=" | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 17430 | ||
+ | Checksum: 0x8f50 | ||
+ | Post Office Protocol | ||
+ | <span class=" | ||
+ | Request Arg: epikoi</ | ||
+ | <span class=" | ||
+ | *** M**** alors! le mot de passe circule en clair ! | ||
+ | rassurez-vous, | ||
+ | Mais le mot de passe circule vraiment en clair. Stupéfiant non?//** | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Bien. Il ne reste plus que 10 trames à regarder mais maintenant, ça va devenir monotone. Je vous laisse les analyser tout seul. Je vous conseille tout de même les trames 17, 18 19 et 20 qui servent à fermer proprement la connexion. C'est une procédure importante qui permet au serveur « d' | ||
+ | |||
+ | < | ||
+ | Frame 11 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.008790 seconds | ||
+ | Frame Number: 11 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 40 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafed (correct) | ||
+ | Source: gateway1.maison.mrs (192.168.0.250) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | Sequence number: 4089248916 | ||
+ | Acknowledgement number: 3662573373 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0010 (ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...1 .... = Acknowledgment: | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x6e34 | ||
+ | |||
+ | Frame 12 (84 on wire, 84 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.099119 seconds | ||
+ | Frame Number: 12 | ||
+ | Packet Length: 84 bytes | ||
+ | Capture Length: 84 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 70 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafce (correct) | ||
+ | Source: gateway1.maison.mrs (192.168.0.250) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | Sequence number: 4089248916 | ||
+ | Acknowledgement number: 3662573373 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...1 .... = Acknowledgment: | ||
+ | .... 1... = Push: Set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x8064 | ||
+ | Post Office Protocol | ||
+ | Response: +OK | ||
+ | Response Arg: Mailbox open, 0 messages | ||
+ | |||
+ | Frame 13 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000911 seconds | ||
+ | Frame Number: 13 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 46 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0x024d (correct) | ||
+ | Source: chris.maison.mrs (192.168.0.10) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | Source port: 1927 (1927) | ||
+ | Destination port: pop3 (110) | ||
+ | Sequence number: 3662573373 | ||
+ | Acknowledgement number: 4089248946 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...1 .... = Acknowledgment: | ||
+ | .... 1... = Push: Set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 17400 | ||
+ | Checksum: 0x05d6 | ||
+ | Post Office Protocol | ||
+ | Request: STAT | ||
+ | |||
+ | Frame 14 (63 on wire, 63 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000753 seconds | ||
+ | Frame Number: 14 | ||
+ | Packet Length: 63 bytes | ||
+ | Capture Length: 63 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 49 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafe2 (correct) | ||
+ | Source: gateway1.maison.mrs (192.168.0.250) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | Sequence number: 4089248946 | ||
+ | Acknowledgement number: 3662573379 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...1 .... = Acknowledgment: | ||
+ | .... 1... = Push: Set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x8d62 | ||
+ | Post Office Protocol | ||
+ | Response: +OK | ||
+ | Response Arg: 0 0 | ||
+ | |||
+ | Frame 15 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.001249 seconds | ||
+ | Frame Number: 15 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 46 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0x024c (correct) | ||
+ | Source: chris.maison.mrs (192.168.0.10) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | Source port: 1927 (1927) | ||
+ | Destination port: pop3 (110) | ||
+ | Sequence number: 3662573379 | ||
+ | Acknowledgement number: 4089248955 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...1 .... = Acknowledgment: | ||
+ | .... 1... = Push: Set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 17391 | ||
+ | Checksum: 0xffce | ||
+ | Post Office Protocol | ||
+ | Request: QUIT | ||
+ | |||
+ | Frame 16 (68 on wire, 68 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.005186 seconds | ||
+ | Frame Number: 16 | ||
+ | Packet Length: 68 bytes | ||
+ | Capture Length: 68 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 54 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafdc (correct) | ||
+ | Source: gateway1.maison.mrs (192.168.0.250) | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | Sequence number: 4089248955 | ||
+ | Acknowledgement number: 3662573385 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0018 (PSH, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...1 .... = Acknowledgment: | ||
+ | .... 1... = Push: Set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x3cde | ||
+ | Post Office Protocol | ||
+ | Response: +OK | ||
+ | Response Arg: Sayonara | ||
+ | |||
+ | Frame 17 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000575 seconds | ||
+ | Frame Number: 17 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 40 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0x0251 (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | Source port: 1927 (1927) | ||
+ | Destination port: pop3 (110) | ||
+ | Sequence number: 3662573385 | ||
+ | Acknowledgement number: 4089248969 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0011 (FIN, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | ...1 .... = Acknowledgment: | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | <span class=" | ||
+ | Window size: 17377 | ||
+ | Checksum: 0xa789 | ||
+ | |||
+ | Frame 18 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000395 seconds | ||
+ | Frame Number: 18 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 40 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafe9 (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | Sequence number: 4089248969 | ||
+ | Acknowledgement number: 3662573386 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0010 (ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x6df2 | ||
+ | |||
+ | Frame 19 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000508 seconds | ||
+ | Frame Number: 19 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 40 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 64 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0xafe8 (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: pop3 (110), Dst Port: 1927 (1927) | ||
+ | Source port: pop3 (110) | ||
+ | Destination port: 1927 (1927) | ||
+ | Sequence number: 4089248969 | ||
+ | Acknowledgement number: 3662573386 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0011 (FIN, ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | <span class=" | ||
+ | Window size: 32120 | ||
+ | Checksum: 0x6df1 | ||
+ | |||
+ | Frame 20 (60 on wire, 60 captured) | ||
+ | Arrival Time: Oct 12, 2000 11: | ||
+ | Time delta from previous packet: 0.000233 seconds | ||
+ | Frame Number: 20 | ||
+ | Packet Length: 60 bytes | ||
+ | Capture Length: 60 bytes | ||
+ | Ethernet II | ||
+ | Destination: | ||
+ | Source: 00: | ||
+ | Type: IP (0x0800) | ||
+ | Internet Protocol | ||
+ | Version: 4 | ||
+ | Header length: 20 bytes | ||
+ | Differentiated Services Field: 0x00 (DSCP 0x00: Default) | ||
+ | 0000 00.. = Differentiated Services Codepoint: Default (0x00) | ||
+ | .... ..00 = Currently Unused: 0 | ||
+ | Total Length: 40 | ||
+ | Identification: | ||
+ | Flags: 0x04 | ||
+ | .1.. = Don't fragment: Set | ||
+ | ..0. = More fragments: Not set | ||
+ | Fragment offset: 0 | ||
+ | Time to live: 128 | ||
+ | Protocol: TCP (0x06) | ||
+ | Header checksum: 0x0250 (correct) | ||
+ | <span class=" | ||
+ | Destination: | ||
+ | Transmission Control Protocol, Src Port: 1927 (1927), Dst Port: pop3 (110) | ||
+ | Source port: 1927 (1927) | ||
+ | Destination port: pop3 (110) | ||
+ | Sequence number: 3662573386 | ||
+ | Acknowledgement number: 4089248970 | ||
+ | Header length: 20 bytes | ||
+ | Flags: 0x0010 (ACK) | ||
+ | ..0. .... = Urgent: Not set | ||
+ | <span class=" | ||
+ | .... 0... = Push: Not set | ||
+ | .... .0.. = Reset: Not set | ||
+ | .... ..0. = Syn: Not set | ||
+ | .... ...0 = Fin: Not set | ||
+ | Window size: 17377 | ||
+ | Checksum: 0xa788 | ||
+ | </ | ||
+ | |||
+ | Ce qu'il est intéressant d' | ||
+ | |||
+ | Vous avez également la [[http:// | ||
+ | |||
+ | https:// | ||
Mode connecté: Dernière modification le: 01/01/1970 à 00:00 par