If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

HTTP/FTP ServiceStatus codes

Introduction

Some of you may remember my tutorial Building your own IDS tripwire. I wanted to extend the use-ability of this sort of app (regardless of O/S) a bit by adding a descriptive service status, rather than the numerical message actually stored in the logs.

The service codes given below include the descriptions of the numerical values that are added to the ServiceStatus field of your webserver log files.

What are service codes?

When a web server (serving any content inluding Http, FTP and others) receives a request it send back an error code. Some of these codes are just informational and some represent errors either on the server or by the client.

You see service codes every day on the internet even if you are not aware of it. URL not found on a web-server? You should see a message including 404 - Not found. Well this 404 is a Service Status code in HTTP which mean the page was not found.

Where is this information from?

So I spent a while looking through RFC2616 (HTTP) and RFC959 (FTP) at the w3.org and came up with this list of FTP and HTTP ServiceStatus codes.