T.A.R.I. – Esercitazioni (ICT, AL)
Giulio Concas 1
Esempio di connessione HTTP telnet www.unica.it 80
GET /index.html HTTP/1.0 User-agent:
Mozilla/3.0 Host: 192.146.242.107 Accept:
text/html Accept: image/gif Accept:
application/octet-stream If-modified-since:
01/01/1900 13:30
T.A.R.I. – Esercitazioni (ICT, AL)
Giulio Concas 2
ESEMPIO Sessione SMTP
SMTP: 18:43:41 [rx] 220 vaxca1.unica.it ESMTP Sendmail 8.9.3/8.9.3; Mon, 22 Apr 2002 18:46:37 +0100 (GMT+0100)
SMTP: 18:43:41 [tx] HELO giulio
SMTP: 18:43:41 [rx] 250 vaxca1.unica.it Hello access1.unica.it
[192.146.242.201], pleased to meet you SMTP: 18:43:41 [tx] MAIL FROM:
<pippo@unica.it>
SMTP: 18:43:41 [rx] 250
<pippo@unica.it>... Sender ok SMTP: 18:43:41 [tx] RCPT TO:
<pippo@unica.it>
SMTP: 18:43:41 [rx] 250
<pippo@unica.it>... Recipient ok SMTP: 18:43:41 [tx] DATA
SMTP: 18:43:41 [rx] 354 Enter mail, end with "." on a line by itself
SMTP: 18:43:41 [tx]
.
SMTP: 18:43:41 [rx] 250 SAA26691 Message accepted for delivery
SMTP: 18:43:41 [tx] QUIT
SMTP: 18:43:41 [rx] 221 vaxca1.unica.it
closing connection
T.A.R.I. – Esercitazioni (ICT, AL)
Giulio Concas 3
ESEMPIO Sessione POP3
POP3 Log started at 04/22/2002 18:40:34 POP3: 18:40:34 [rx] +OK QPOP (version 2.53) at vaxca1.unica.it starting.
POP3: 18:40:34 [tx] USER pippo POP3: 18:40:34 [rx] +OK Password required for pippo.
POP3: 18:40:34 [tx] PASS ********
POP3: 18:40:44 [rx] -ERR Password supplied for "pippo" is incorrect.
POP3: 18:40:52 [rx] +OK QPOP (version 2.53) at vaxca1.unica.it starting.
POP3: 18:40:52 [tx] USER pippo POP3: 18:40:52 [rx] +OK Password required for pippo.
POP3: 18:40:52 [tx] PASS ********
POP3: 18:40:54 [rx] +OK pippo has 152 messages (12440298 octets).
POP3: 18:40:54 [tx] STAT
POP3: 18:40:54 [rx] +OK 152 12440298 POP3: 18:40:54 [tx] LIST
POP3: 18:40:54 [rx] +OK 152 messages (12440298 octets)
POP3: 18:40:54 [rx] 1 2915 POP3: 18:40:57 [tx] RETR 9
POP3: 18:40:57 [rx] +OK 192196 octets POP3: 18:41:04 [tx] QUIT
T.A.R.I. – Esercitazioni (ICT, AL)
Giulio Concas 4
ESEMPIO Sessione NNTP
NNTP: 18:42:12 [db] Connessione a
"news.unica.it" sulla porta 119.
NNTP: 18:42:12 [db] srv_name =
"news.unica.it" srv_addr = 192.146.242.6 NNTP: 18:42:12 [rx] 200 kyra.unica.it InterNetNews NNRP server INN 1.4 22-Dec- 93 ready (posting ok).
NNTP: 18:42:12 [tx] MODE READER
NNTP: 18:42:12 [rx] 200 kyra.unica.it InterNetNews NNRP server INN 1.4 22-Dec- 93 ready (posting ok).
NNTP: 18:42:12 [tx] LIST
NNTP: 18:42:12 [rx] 215 Newsgroups in form "group high low flags".
API del sistema di messaggistica Internet 5.00.2919.6600
NNTP Log started at 04/22/2002 18:42:24 NNTP: 18:42:24 [db] Connessione a
"news.unica.it" sulla porta 119.
NNTP: 18:42:24 [rx] 200 kyra.unica.it InterNetNews NNRP server INN 1.4 22-Dec- 93 ready (posting ok).
NNTP: 18:42:24 [tx] MODE READER
NNTP: 18:42:24 [rx] 200 kyra.unica.it
InterNetNews NNRP server INN 1.4 22-Dec-
93 ready (posting ok).
T.A.R.I. – Esercitazioni (ICT, AL)
Giulio Concas 5