diff options
author | Hans Nilsson <[email protected]> | 2015-04-16 16:40:06 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2015-04-21 09:29:02 +0200 |
commit | ab9c37a30c960cbc5e5b72c73a3a315afc4c3920 (patch) | |
tree | 7f9934080ba0551c6b6a42f7b3a7c294b6efe972 /lib/inets/doc/src | |
parent | bbac1019905e6e493a2cd3c8463e53a818d0723d (diff) | |
download | otp-ab9c37a30c960cbc5e5b72c73a3a315afc4c3920.tar.gz otp-ab9c37a30c960cbc5e5b72c73a3a315afc4c3920.tar.bz2 otp-ab9c37a30c960cbc5e5b72c73a3a315afc4c3920.zip |
inets: Add value 'none' in server_tokens config
When the Server header has empty info (or 'none' in config), it is not generated. This is for limiting Banner Grabbing attempts.
Diffstat (limited to 'lib/inets/doc/src')
-rw-r--r-- | lib/inets/doc/src/httpd.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/inets/doc/src/httpd.xml b/lib/inets/doc/src/httpd.xml index 20c8a6b1b1..e40660ab39 100644 --- a/lib/inets/doc/src/httpd.xml +++ b/lib/inets/doc/src/httpd.xml @@ -315,7 +315,7 @@ text/plain asc txt </item> <marker id="prop_server_tokens"></marker> - <tag>{server_tokens, prod|major|minor|minimal|os|full|{private, string()}}</tag> + <tag>{server_tokens, none|prod|major|minor|minimal|os|full|{private, string()}}</tag> <item> <p>ServerTokens defines how the value of the server header should look. </p> @@ -323,6 +323,7 @@ text/plain asc txt here is what the server header string could look like for the different values of server-tokens: </p> <pre> +none "" % A Server: header will not be generated prod "inets" major "inets/5" minor "inets/5.8" |