Self-Help Knowledge
Base Articles

 

Return Codes for HTTP, ICMP, FTP, and SMTP (OneTouch AT)

 
 
Views: 0
 

The OneTouch AT network assistant features many tests to facilitate troubleshooting of network services and applications. The OneTouch AT test results vary by test type. For the HTTP, ICMP, FTP and SMTP tests, the test results include the return code. The return code provides diagnostic information that is useful when troubleshooting problems. The return codes, also called reply codes, are defined in Internet Engineering Task Force (IETF) Request for Comments (RFC) documents. These documents are available online at http://www.ietf.org/rfc.html.

This note summarizes the return codes from relevant RFC documents for the following tests:

HTTP:  RFC 2616
ICMP:  RFC 792RFC 1122RFC 1812
FTP:  RFC 959
SMTP:  RFC 5321

HTTP Status Code Definitions 
Informational 1xx
100 Continue
101 Switching Protocols

Successful 2xx
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content

Redirection 3xx
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
306 (Unused)
307 Temporary Redirect

Client Error 4xx
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed

Server Error 5xx
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported

ICMP Destination Unreachable Codes 
0 Net Unreachable [RFC792]
1 Host Unreachable [RFC792]
2 Protocol Unreachable [RFC792]
3 Port Unreachable [RFC792]
4 Fragmentation Needed and Don't Fragment was Set [RFC792]
5 Source Route Failed [RFC792]
6 Destination Network Unknown [RFC1122]
7 Destination Host Unknown [RFC1122]
8 Source Host Isolated [RFC1122]
9 Communication with Destination Network is Administratively Prohibited [RFC1122]
10 Communication with Destination Host is Administratively Prohibited [RFC1122]
11 Destination Network Unreachable for Type of Service [RFC1122]
12 Destination Host Unreachable for Type of Service [RFC1122]
13 Communication Administratively Prohibited [RFC1812]
14 Host Precedence Violation [RFC1812]
15 Precedence cutoff in effect [RFC1812]

FTP Reply codes 
1yz Positive preliminary reply
110 Restart marker reply
120 Service ready in nnn minutes
125 Data connection already open; transfer starting
150 File status okay; about to open data connection
2yz Positive completion reply

200 Command okay
202 Command not implemented, superfluous at this site
211 System status, or system help reply
212 Directory status
213 File status
214 Help message
215 NAME system type
220 Service ready for new user
221 Service closing control connection
225 Data connection open; no transfer in progress
226 Closing data connection
227 Entering Passive Mode (h1,h2,h3,h4,p1,p2)
230 User logged in, proceed
250 Requested file action okay, completed
257 "PATHNAME" created

3yz Positive intermediate reply
331 User name okay, need password
332 Need account for login
350 Requested file action pending further information

4yz Transient negative completion reply
421 Service not available, closing control connection
425 Can't open data connection
426 Connection closed; transfer aborted
450 Requested file action not taken
451 Requested action aborted: local error in processing
452 Requested action not taken

5yz Permanent negative completion reply
500 Syntax error, command unrecognized
501 Syntax error in parameters or arguments
502 Command not implemented
503 Bad sequence of commands
504 Command not implemented for that parameter
530 Not logged in
532 Need account for storing files
550 Requested action not taken
551 Requested action aborted: page type unknown
552 Requested file action aborted
553 Requested action not taken

SMTP Reply Codes 
Positive completion reply
211 System status, or system help reply
214 Help message
220 Service ready
221 Service closing transmission channel
250 Requested mail action okay, completed
251 User not local; will forward to
252 Cannot VRFY user, but will accept message and attempt delivery

Positive intermediate reply
354 Start mail input; end with .

Transient negative completion reply
421 Service not available, closing transmission channel
450 Requested mail action not taken: mailbox unavailable
451 Requested action aborted: local error in processing
452 Requested action not taken: insufficient system storage
455 Server unable to accommodate parameters

Permanent negative completion reply
500 Syntax error, command unrecognized
501 Syntax error in parameters or arguments
502 Command not implemented
503 Bad sequence of commands
504 Command parameter not implemented
550 Requested action not taken: mailbox unavailable
551 User not local; please try
552 Requested mail action aborted: exceeded storage allocation
553 Requested action not taken: mailbox name not allowed
554 Transaction failed
555 MAIL FROM/RCPT TO parameters not recognized or not implemented