Sie sind auf Seite 1von 12

The objective of this lab is to check the commands used bySMTP, POP3 and IMAP protocols to

send/receive emails. Note that to download your inbox you have two options, IMAP and POP3.
Both should be tested.
You will have to do the following:
1. Install/configure an email client software (outlook express) in your local host and work against
the server provided by the teachers.
2. Capture the traffic generated when transmitting/receiving emails.
3. List and explain the purpose of the commands used by the protocols.
4. Repeat the task but using the command line (telnet). Is there any difference? Why?
5. Upload the results by Friday, November 27 (23:55 Brussels time). Note that the server will be
available ONLY during Tuesday's class hours.

Server info (this may vary):


· 172.17.111.116
· Users/paswords: grupo1/grupo1 , grupo2/grupo2…
· Email accounts: grupo1@ubuntu-server.test.org…
Reference:
· http://www.yuki-onna.co.uk/email/

Index
IMAP....................................................................................................................................................2
Outlook (IMAP)...............................................................................................................................2
Recive...........................................................................................................................................2
Conclusions..................................................................................................................................4
POP.......................................................................................................................................................4
Outlook (POP)..................................................................................................................................4
Recive...........................................................................................................................................4
Send..............................................................................................................................................5
Telnet....................................................................................................................................................6
Recive (POP)....................................................................................................................................6
Conclusions..................................................................................................................................9
Send (SMTP)....................................................................................................................................9
Conclusions................................................................................................................................11
2

IMAP

Outlook (IMAP)

Recive

Only IMAP message

4 0.008415 172.17.111.3 172.17.110.114 IMAP Response: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN


NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-
IMAP ready. Copyright 1998-2005 Double Precision, Inc. See COPYING for distribution information.

5 0.009777 172.17.110.114 172.17.111.3 IMAP Request: uyo8 CAPABILITY

7 0.010463 172.17.111.3 172.17.110.114 IMAP Response: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN


NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION

 The CAPABILITY command requests a listing of capabilities that the server supports

8 0.010540 172.17.110.114 172.17.111.3 IMAP Request: lfus LOGIN "grupo4" "grupo4"

 Login command with name and password

9 0.034363 172.17.111.3 172.17.110.114 IMAP Response: lfus OK LOGIN Ok.

10 0.034429 172.17.110.114 172.17.111.3 IMAP Request: sd73 IDLE

11 0.037432 172.17.111.3 172.17.110.114 IMAP Response: + entering idle mode

 To maintain the conetion with server

12 0.037488 172.17.110.114 172.17.111.3 IMAP Request: DONE

13 0.040240 172.17.111.3 172.17.110.114 IMAP Response: sd73 OK IDLE completed

14 0.040327 172.17.110.114 172.17.111.3 IMAP Request: nfyr STATUS "INBOX" (MESSAGES UNSEEN)

15 0.047830 172.17.111.3 172.17.110.114 IMAP Response: * STATUS "INBOX" (MESSAGES 2 UNSEEN 1)

 We can see the msg that are unread

16 0.047986 172.17.110.114 172.17.111.3 IMAP Request: 6uwx IDLE

18 0.051749 172.17.111.3 172.17.110.114 IMAP Response: + entering idle mode

23 0.062897 172.17.111.3 172.17.110.114 IMAP Response: * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN


NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-
IMAP ready.

24 0.064234 172.17.110.114 172.17.111.3 IMAP Request: 3dwp CAPABILITY

26 0.064812 172.17.111.3 172.17.110.114 IMAP Response: * CAPABILITY IMAP4rev1 UIDPLUS CHILDREN


NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION
3

27 0.064886 172.17.110.114 172.17.111.3 IMAP Request: d78u LOGIN "grupo4" "grupo4"

28 0.088681 172.17.111.3 172.17.110.114 IMAP Response: d78u OK LOGIN Ok.

29 0.088763 172.17.110.114 172.17.111.3 IMAP Request: x4t4 IDLE

30 0.091706 172.17.111.3 172.17.110.114 IMAP Response: + entering idle mode

31 0.091763 172.17.110.114 172.17.111.3 IMAP Request: DONE

32 0.094566 172.17.111.3 172.17.110.114 IMAP Response: x4t4 OK IDLE completed

33 0.094625 172.17.110.114 172.17.111.3 IMAP Request: ajvp SELECT "INBOX"

 The SELECT command selects a mailbox so that messages in the mailbox can be accessed

34 0.101485 172.17.111.3 172.17.110.114 IMAP Response: * FLAGS (\Draft \Answered \Flagged \Deleted \Seen
\Recent)

35 0.101625 172.17.110.114 172.17.111.3 IMAP Request: xkoh IDLE

36 0.106358 172.17.111.3 172.17.110.114 IMAP Response: + entering idle mode

37 0.106420 172.17.110.114 172.17.111.3 IMAP Request: DONE

38 0.109744 172.17.111.3 172.17.110.114 IMAP Response: xkoh OK IDLE completed

39 0.109806 172.17.110.114 172.17.111.3 IMAP Request: y8fi UID FETCH 3:* (BODY.PEEK[HEADER.FIELDS
(References X-Ref X-Priority X-MSMail-Priority X-MSOESRec Newsgroups)] ENVELOPE RFC822.SIZE UID FLAGS
INTERNALDATE)

40 0.112852 172.17.111.3 172.17.110.114 IMAP Response: y8fi OK FETCH completed.

41 0.112914 172.17.110.114 172.17.111.3 IMAP Request: q3uw UID FETCH 1:2 (UID FLAGS)

42 0.115574 172.17.111.3 172.17.110.114 IMAP Response: * 1 FETCH (UID 1 FLAGS ())

43 0.115683 172.17.110.114 172.17.111.3 IMAP Request: ig6z IDLE

45 0.120498 172.17.111.3 172.17.110.114 IMAP Response: + entering idle mode

Send

6 21.841764 172.17.111.3 172.17.110.114 SMTP S: 220 ubuntu-server.escomposlinux.org ESMTP Postfix (Ubuntu)

 Make conection with server

7 21.841917 172.17.110.114 172.17.111.3 SMTP C: HELO 1209e08

 Say who I am

8 21.844664 172.17.111.3 172.17.110.114 TCP smtp > netcelera [ACK] Seq=61 Ack=15 Win=5840 Len=0

9 21.844840 172.17.111.3 172.17.110.114 SMTP S: 250 ubuntu-server.escomposlinux.org

10 21.845209 172.17.110.114 172.17.111.3 SMTP C: MAIL FROM: <grupo4@ubuntu-server.test.org>


4

11 21.847718 172.17.110.114 172.17.111.3 IMAP Request: DONE

 Make the email with imap

12 21.849076 172.17.111.3 172.17.110.114 SMTP S: 250 2.1.0 Ok

13 21.849205 172.17.110.114 172.17.111.3 SMTP C: RCPT TO: <grupo1@ubuntu-server.test.org>

 14 21.854113 172.17.111.3 172.17.110.114 IMAP Response: 19jk OK IDLE completed

 Answer if it is ok

15 21.854194 172.17.110.114 172.17.111.3 IMAP Request: bnn0 UID STORE 1 +FLAGS.SILENT (\Answered)

16 21.855784 172.17.111.3 172.17.110.114 SMTP S: 250 2.1.5 Ok

17 21.855845 172.17.110.114 172.17.111.3 SMTP C: DATA

18 21.857151 172.17.111.3 172.17.110.114 IMAP Response: bnn0 OK STORE completed.

 Say all it finish

19 21.857177 172.17.111.3 172.17.110.114 SMTP S: 354 End data with <CR><LF>.<CR><LF>

20 21.857316 172.17.110.114 172.17.111.3 SMTP C: DATA fragment, 1460 bytes

21 21.857322 172.17.110.114 172.17.111.3 IMAP Request: 7vkr IDLE

22 21.857347 172.17.110.114 172.17.111.3 SMTP C: DATA fragment, 868 bytes

23 21.858576 172.17.111.3 172.17.110.114 TCP smtp > netcelera [ACK] Seq=163 Ack=2435 Win=11680 Len=0

24 21.858606 172.17.110.114 172.17.111.3 IMF from: "alex" <grupo4@ubuntu-server.test.org>, subject: Re: hello are
you there, (text/plain) (text/html)

25 21.859651 172.17.111.3 172.17.110.114 IMAP Response: + entering idle mode

26 21.879108 172.17.111.3 172.17.110.114 SMTP S: 250 2.0.0 Ok: queued as 3F3C95F037

27 21.879291 172.17.110.114 172.17.111.3 SMTP C: QUIT

28 21.883101 172.17.111.3 172.17.110.114 SMTP S: 221 2.0.0 Bye

Conclusions

The commands used by outlook and telnet are different, outlook uses another commands to get the messages

POP

Outlook (POP)
 POP3-DELE receives a number (number of the message) as an argument and deletes the specified message,
located on a server by it's number.
 POP3-LIST returns a string with numbers and sizes (in bytes) of all of the messages available on a POP3
5

server.
 POP3-QUIT disconnects from the POP3 mail server.
 POP3-TOP receives two numbers (number of the message and the lines count) as an arguments and returns a
string, containing the specified message header and the specified count of the lines of the message body.
 POP3-RETR receives a number (number of the message) as an argument and returns a string with the entire
text (including header) of the specified message.
 POP3-STAT returns the count of a messages available on a POP3 mail server.

Recive
1 0.000000 172.17.110.99 172.17.111.3 TCP savant > pop3 [SYN] Seq=0 Win=65535 Len=0 MSS=1460

2 0.000315 172.17.111.3 172.17.110.99 TCP pop3 > savant [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460

3 0.000338 172.17.110.99 172.17.111.3 TCP savant > pop3 [ACK] Seq=1 Ack=1 Win=65535 Len=0

4 0.008008 172.17.111.3 172.17.110.99 POP S: +OK Hello there.

- Hello to say if we are conect

5 0.008159 172.17.110.99 172.17.111.3 POP C: USER grupo4

- Put user

6 0.011334 172.17.111.3 172.17.110.99 TCP pop3 > savant [ACK] Seq=19 Ack=14 Win=5840 Len=0

7 0.011572 172.17.111.3 172.17.110.99 POP S: +OK Password required.

- Put pass

8 0.011646 172.17.110.99 172.17.111.3 POP C: PASS grupo4

9 0.035621 172.17.111.3 172.17.110.99 POP S: +OK logged in.

- Confirm de login

10 0.035853 172.17.110.99 172.17.111.3 POP C: STAT

- Stat to show if ther is any email

11 0.038730 172.17.111.3 172.17.110.99 POP S: +OK 1 1550

12 0.038987 172.17.110.99 172.17.111.3 POP C: LIST

- List all the emails

13 0.041518 172.17.111.3 172.17.110.99 POP S: +OK POP3 clients that break here, they violate STD53.

14 0.042985 172.17.110.99 172.17.111.3 POP C: RETR 1

- Give the email with id

15 0.043915 172.17.111.3 172.17.110.99 POP S: +OK 1550 octets follow.

16 0.218169 172.17.110.99 172.17.111.3 TCP savant > pop3 [ACK] Seq=47 Ack=1161 Win=64375 Len=0

17 0.218793 172.17.111.3 172.17.110.99 POP S: DATA fragment, 554 bytes


6

- We show it

18 0.220030 172.17.110.99 172.17.111.3 POP C: DELE 1

- Now it delete it of the list

19 0.220708 172.17.111.3 172.17.110.99 POP S: +OK Deleted.

20 0.221043 172.17.110.99 172.17.111.3 POP C: QUIT

21 0.223664 172.17.111.3 172.17.110.99 POP S: +OK Bye-bye.

Send
1 0.000000 172.17.110.99 172.17.111.3 TCP nokia-ann-ch2 > pop3 [SYN] Seq=0 Win=65535 Len=0 MSS=1460

2 0.000417 172.17.111.3 172.17.110.99 TCP pop3 > nokia-ann-ch2 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0
MSS=1460

3 0.000444 172.17.110.99 172.17.111.3 TCP nokia-ann-ch2 > pop3 [ACK] Seq=1 Ack=1 Win=65535 Len=0

4 0.007606 172.17.111.3 172.17.110.99 POP S: +OK Hello there.

5 0.007770 172.17.110.99 172.17.111.3 POP C: USER grupo4

6 0.012942 172.17.111.3 172.17.110.99 TCP pop3 > nokia-ann-ch2 [ACK] Seq=19 Ack=14 Win=5840 Len=0

7 0.013076 172.17.111.3 172.17.110.99 POP S: +OK Password required.

8 0.013151 172.17.110.99 172.17.111.3 POP C: PASS grupo4

9 0.033334 172.17.111.3 172.17.110.99 POP S: +OK logged in.

10 0.033590 172.17.110.99 172.17.111.3 POP C: STAT

11 0.036457 172.17.111.3 172.17.110.99 POP S: +OK 0 0

12 0.036734 172.17.110.99 172.17.111.3 POP C: QUIT

13 0.040277 172.17.111.3 172.17.110.99 POP S: +OK Bye-bye.

Telnet
Recive (POP)
1 0.000000 172.17.110.114 172.17.111.3 TCP owserver > pop3 [SYN] Seq=0 Win=65535 Len=0 MSS=1460

2 0.000423 172.17.111.3 172.17.110.114 TCP pop3 > owserver [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0
MSS=1460

3 0.000449 172.17.110.114 172.17.111.3 TCP owserver > pop3 [ACK] Seq=1 Ack=1 Win=65535 Len=0

4 0.000900 172.17.110.114 172.17.111.3 POP C: .

5 0.003798 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=1 Ack=2 Win=5840 Len=0
7

6 0.009762 172.17.111.3 172.17.110.114 POP S: +OK Hello there.

- Conection is make now is going to send one by one packet to make the conection to user and pass

7 0.254414 172.17.110.114 172.17.111.3 TCP owserver > pop3 [ACK] Seq=2 Ack=19 Win=65517 Len=0

8 1.500870 172.17.110.114 172.17.111.3 POP C: U

9 1.533932 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=3 Win=5840 Len=0

10 2.039572 172.17.110.114 172.17.111.3 POP C: S

11 2.040034 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=4 Win=5840 Len=0

12 2.271898 172.17.110.114 172.17.111.3 POP C: E

13 2.272370 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=5 Win=5840 Len=0

14 2.389471 172.17.110.114 172.17.111.3 POP C: R

15 2.389965 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=6 Win=5840 Len=0

16 2.719630 172.17.110.114 172.17.111.3 POP C:

17 2.720175 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=7 Win=5840 Len=0

18 3.066711 172.17.110.114 172.17.111.3 POP C: g

19 3.067241 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=8 Win=5840 Len=0

20 3.222552 172.17.110.114 172.17.111.3 POP C: r

21 3.223092 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=9 Win=5840 Len=0

22 3.344178 172.17.110.114 172.17.111.3 POP C: u

23 3.344614 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=10 Win=5840 Len=0

24 3.534123 172.17.110.114 172.17.111.3 POP C: p

25 3.534657 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=11 Win=5840 Len=0

26 3.689945 172.17.110.114 172.17.111.3 POP C: o

27 3.690374 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=12 Win=5840 Len=0

28 4.037005 172.17.110.114 172.17.111.3 POP C: 4

29 4.037590 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=19 Ack=13 Win=5840 Len=0

30 4.422287 172.17.110.114 172.17.111.3 POP C:

31 4.422935 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq19 Ack=15 Win=5840 Len=0

32 4.422964 172.17.111.3 172.17.110.114 POP S: -ERR Invalid command.

- It give us an error, now is going to repeat all the process


8

33 4.629146 172.17.110.114 172.17.111.3 TCP owserver > pop3 [ACK] Seq=15 Ack=42 Win=65494 Len=0

34 9.423575 172.17.110.114 172.17.111.3 POP C: U

35 9.463038 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=16 Win=5840 Len=0

36 9.539200 172.17.110.114 172.17.111.3 POP C: S

37 9.539725 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=17 Win=5840 Len=0

38 9.811822 172.17.110.114 172.17.111.3 POP C: E

39 9.812225 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=18 Win=5840 Len=0

40 10.006014 172.17.110.114 172.17.111.3 POP C: R

41 10.006555 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=19 Win=5840 Len=0

42 12.586255 172.17.110.114 172.17.111.3 POP C:

43 12.586830 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=20 Win=5840 Len=0

44 12.742032 172.17.110.114 172.17.111.3 POP C: g

45 12.742430 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=21 Win=5840 Len=0

46 12.906350 172.17.110.114 172.17.111.3 POP C: r

47 12.906848 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=22 Win=5840 Len=0

48 13.021576 172.17.110.114 172.17.111.3 POP C: u

49 13.022009 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=23 Win=5840 Len=0

50 13.256335 172.17.110.114 172.17.111.3 POP C: p

51 13.256908 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=24 Win=5840 Len=0

52 13.450360 172.17.110.114 172.17.111.3 POP C: o

53 13.450766 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=25 Win=5840 Len=0

54 13.989180 172.17.110.114 172.17.111.3 POP C: 4

55 13.989742 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=26 Win=5840 Len=0

56 14.835811 172.17.110.114 172.17.111.3 POP C:

57 14.836689 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=42 Ack=28 Win=5840 Len=0

58 14.836720 172.17.111.3 172.17.110.114 POP S: +OK Password required.

- The same with pass

59 15.019190 172.17.110.114 172.17.111.3 TCP owserver > pop3 [ACK] Seq=28 Ack=66 Win=65470 Len=0

60 17.528044 172.17.110.114 172.17.111.3 POP C: P

61 17.562299 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=29 Win=5840 Len=0
9

62 17.724227 172.17.110.114 172.17.111.3 POP C: A

63 17.724760 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=30 Win=5840 Len=0

64 18.109669 172.17.110.114 172.17.111.3 POP C: S

65 18.110235 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=31 Win=5840 Len=0

66 18.648370 172.17.110.114 172.17.111.3 POP C: S

67 18.648859 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=32 Win=5840 Len=0

68 19.150862 172.17.110.114 172.17.111.3 POP C:

69 19.151343 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=33 Win=5840 Len=0

70 19.574451 172.17.110.114 172.17.111.3 POP C: g

71 19.574982 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=34 Win=5840 Len=0

72 19.730264 172.17.110.114 172.17.111.3 POP C: r

73 19.730725 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=35 Win=5840 Len=0

74 20.000842 172.17.110.114 172.17.111.3 POP C: u

75 20.001343 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=36 Win=5840 Len=0

76 20.233164 172.17.110.114 172.17.111.3 POP C: p

77 20.233677 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=37 Win=5840 Len=0

78 20.388950 172.17.110.114 172.17.111.3 POP C: o

79 20.389421 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=38 Win=5840 Len=0

80 20.736072 172.17.110.114 172.17.111.3 POP C: 4

81 20.736588 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=39 Win=5840 Len=0

82 21.428571 172.17.110.114 172.17.111.3 POP C:

83 21.429482 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=66 Ack=41 Win=5840 Len=0

84 21.521606 172.17.111.3 172.17.110.114 POP S: +OK logged in.

- It see if the login is OK


- It going to read it packet by packet

85 21.690735 172.17.110.114 172.17.111.3 TCP owserver > pop3 [ACK] Seq=41 Ack=82 Win=65454 Len=0

86 24.198362 172.17.110.114 172.17.111.3 POP C: l

87 24.198939 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=82 Ack=42 Win=5840 Len=0

88 24.354117 172.17.110.114 172.17.111.3 POP C: i

89 24.354612 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=82 Ack=43 Win=5840 Len=0
10

90 24.469372 172.17.110.114 172.17.111.3 POP C: s

91 24.469792 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=82 Ack=44 Win=5840 Len=0

92 24.665828 172.17.110.114 172.17.111.3 POP C: t

93 24.666334 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=82 Ack=45 Win=5840 Len=0

94 25.358527 172.17.110.114 172.17.111.3 POP C:

95 25.359188 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=82 Ack=47 Win=5840 Len=0

96 25.359217 172.17.111.3 172.17.110.114 POP S: +OK POP3 clients that break here, they violate STD53.

97 25.627968 172.17.110.114 172.17.111.3 TCP owserver > pop3 [ACK] Seq=47 Ack=147 Win=65389 Len=0

98 26.936242 172.17.110.114 172.17.111.3 POP C: r

99 26.971230 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=147 Ack=48 Win=5840 Len=0

100 27.359904 172.17.110.114 172.17.111.3 POP C: e

101 27.360440 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=147 Ack=49 Win=5840 Len=0

102 27.554014 172.17.110.114 172.17.111.3 POP C: t

103 27.554546 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=147 Ack=50 Win=5840 Len=0

104 28.631489 172.17.110.114 172.17.111.3 POP C: r

105 28.631975 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=147 Ack=51 Win=5840 Len=0

106 29.016908 172.17.110.114 172.17.111.3 POP C:

107 29.017459 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=147 Ack=52 Win=5840 Len=0

108 29.902027 172.17.110.114 172.17.111.3 POP C: 1

109 29.902551 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=147 Ack=53 Win=5840 Len=0

110 30.479195 172.17.110.114 172.17.111.3 POP C:

111 30.479822 172.17.111.3 172.17.110.114 TCP pop3 > owserver [ACK] Seq=147 Ack=55 Win=5840 Len=0

112 30.480241 172.17.111.3 172.17.110.114 POP S: +OK 621 octets follow.

113 30.768313 172.17.110.114 172.17.111.3 TCP owserver > pop3 [ACK] Seq=55 Ack=795 Win=64741 Len=0

Conclusions
With telnet it send a character with every fragment

Send (SMTP)
EHLO: to start the service
MAIL FROM: to specify what is the sender of the email
RCPT FROM: to specify what is the receiver of the email
11

DATA: This is the data that has the email


QUIT: Quit from service
1 0.000000 172.17.110.114 172.17.111.3 SMTP C: MAIL FROM:grupo4@ubuntu-server.test.org

2 0.000074 172.17.110.114 172.17.111.3 SMTP C: MAIL FROM:grupo4@ubuntu-server.test.org

- Mail from

3 0.000593 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=1 Ack=42 Win=5840 Len=0

4 0.002180 172.17.111.3 172.17.110.114 SMTP S: 250 2.1.0 Ok

- Ok all its ok

5 0.160435 172.17.110.114 172.17.111.3 TCP drip > smtp [ACK] Seq=42 Ack=15 Win=65126 Len=0

6 9.694993 172.17.110.114 172.17.111.3 SMTP C: RCPT TO:grupo1@ubuntu-server.test.org

7 9.695063 172.17.110.114 172.17.111.3 SMTP C: RCPT TO:grupo1@ubuntu-server.test.org

- Whom is goint this email

8 9.696422 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=15 Ack=81 Win=5840 Len=0

9 9.698435 172.17.111.3 172.17.110.114 SMTP S: 250 2.1.5 Ok

- Ok all its ok

10 9.894266 172.17.110.114 172.17.111.3 TCP drip > smtp [ACK] Seq=81 Ack=29 Win=65112 Len=0

11 15.003910 172.17.110.114 172.17.111.3 SMTP C: DATA

12 15.003971 172.17.110.114 172.17.111.3 SMTP C: DATA

- Now is going to appear the data

13 15.004616 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=29 Ack=87 Win=5840 Len=0

14 15.004646 172.17.111.3 172.17.110.114 SMTP S: 354 End data with <CR><LF>.<CR><LF>

15 15.143971 172.17.110.114 172.17.111.3 TCP drip > smtp [ACK] Seq=87 Ack=66 Win=65075 Len=0

16 25.051908 172.17.111.3 224.0.0.251 MDNS Standard query PTR 30.110.17.172.in-addr.arpa, "QM" question

17 25.160884 172.17.111.3 224.0.0.251 MDNS Standard query A ubuntu.local, "QM" question

18 25.773443 172.17.110.114 172.17.111.3 SMTP C: Subject:el fin del mundo se acerca, dame dinero si quieres
evitarlo

- Data is going to send in different packets first the email header

19 25.773504 172.17.110.114 172.17.111.3 SMTP C: DATA fragment, 69 bytes

20 25.774118 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=66 Ack=156 Win=5840 Len=0

21 29.195882 172.17.110.114 172.17.111.3 SMTP C: DATA fragment, 2 bytes

22 29.229854 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=66 Ack=158 Win=5840 Len=0

- Now the body of the email


12

23 40.304067 172.17.110.114 172.17.111.3 SMTP C: holaaaaaaaaaaa


HAIZEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaaa

24 40.304138 172.17.110.114 172.17.111.3 SMTP C: DATA fragment, 54 bytes

25 40.304605 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=66 Ack=210 Win=5840 Len=0

26 40.304635 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=66 Ack=212 Win=5840 Len=0

27 41.111829 172.17.110.114 172.17.111.3 SMTP C: DATA fragment, 2 bytes

28 41.112244 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=66 Ack=214 Win=5840 Len=0

29 44.765169 172.17.110.114 172.17.111.3 SMTP C: .

30 44.765241 172.17.110.114 172.17.111.3 IMF subject: el fin del mundo se acerca, dame dinero si quieres
evitarlo\r\n,

- Resume of all to now if its ok

31 44.765980 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=66 Ack=215 Win=5840 Len=0

32 44.766009 172.17.111.3 172.17.110.114 TCP smtp > drip [ACK] Seq=66 Ack=217 Win=5840 Len=0

33 44.794382 172.17.111.3 172.17.110.114 SMTP S: 250 2.0.0 Ok: queued as 399EA5F037

34 45.001681 172.17.110.114 172.17.111.3 TCP drip > smtp [ACK] Seq=217 Ack=102 Win=65039 Len=0

Conclusions
Is the same as with outlook

Das könnte Ihnen auch gefallen