11/24/2007

SMTP command

SMTP command
ref: http://www.freesoft.org/CIE/RFC/821/index.htm

HELLO (HELO)
MAIL (MAIL)
RECIPIENT (RCPT)
DATA (DATA)
SEND (SEND)
SEND OR MAIL (SOML)
SEND AND MAIL (SAML)
RESET (RSET)
VERIFY (VRFY)
EXPAND (EXPN)
HELP (HELP)
NOOP (NOOP)
QUIT (QUIT)
TURN (TURN)

11/23/2007

Change Apache Http repose Server header

The purpose of this setting is to hidden apache version

#This setting applies to the entire server, and cannot be enabled or disabled on a virtualhost-by-virtualhost basis.
vi /usr/local/apache/conf/httpd.conf
#I add below ServerName
ServerTokens Prod


More details information
This directive controls whether Server response header field which is sent back to clients includes a description of the generic OS-type of the server
as well as information about compiled-in modules.

ServerTokens Prod[uctOnly]
Server sends (e.g.): Server: Apache
ServerTokens Major
Server sends (e.g.): Server: Apache/2
ServerTokens Minor
Server sends (e.g.): Server: Apache/2.0
ServerTokens Min[imal]
Server sends (e.g.): Server: Apache/2.0.41
ServerTokens OS
Server sends (e.g.): Server: Apache/2.0.41 (Unix)
ServerTokens Full (or not specified)
Server sends (e.g.): Server: Apache/2.0.41 (Unix) PHP/4.2.2 MyMod/1.2