diff options
| author | Kenichi Handa | 2012-09-30 23:39:46 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-09-30 23:39:46 +0900 |
| commit | c194970e15b6d6efa07697679a25dfab3aa76442 (patch) | |
| tree | 49aec8be9d2dcc74ad3c81f562e48308d8e27b75 /lisp/server.el | |
| parent | 95402d5faa114a311cabfb8c64cf22a93787a066 (diff) | |
| parent | dd946752ab8810149a66a3eff469eb128709972d (diff) | |
| download | emacs-c194970e15b6d6efa07697679a25dfab3aa76442.tar.gz emacs-c194970e15b6d6efa07697679a25dfab3aa76442.zip | |
merge trunk
Diffstat (limited to 'lisp/server.el')
| -rw-r--r-- | lisp/server.el | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/lisp/server.el b/lisp/server.el index 4fd55bcf6d1..73c253a87a6 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -101,7 +101,12 @@ | |||
| 101 | 101 | ||
| 102 | (defcustom server-host nil | 102 | (defcustom server-host nil |
| 103 | "The name or IP address to use as host address of the server process. | 103 | "The name or IP address to use as host address of the server process. |
| 104 | If set, the server accepts remote connections; otherwise it is local." | 104 | If set, the server accepts remote connections; otherwise it is local. |
| 105 | |||
| 106 | DO NOT give this a non-nil value unless you know what you are | ||
| 107 | doing! On unsecured networks, accepting remote connections is | ||
| 108 | very dangerous, because server-client communication (including | ||
| 109 | session authentication) is not encrypted." | ||
| 105 | :group 'server | 110 | :group 'server |
| 106 | :type '(choice | 111 | :type '(choice |
| 107 | (string :tag "Name or IP address") | 112 | (string :tag "Name or IP address") |
| @@ -140,12 +145,12 @@ directory residing in a NTFS partition instead." | |||
| 140 | 145 | ||
| 141 | (defcustom server-auth-key nil | 146 | (defcustom server-auth-key nil |
| 142 | "Server authentication key. | 147 | "Server authentication key. |
| 148 | This is only used if `server-use-tcp' is non-nil. | ||
| 143 | 149 | ||
| 144 | Normally, the authentication key is randomly generated when the | 150 | Normally, the authentication key is randomly generated when the |
| 145 | server starts, which guarantees some level of security. It is | 151 | server starts. It is recommended to leave it that way. Using a |
| 146 | recommended to leave it that way. Using a long-lived shared key | 152 | long-lived shared key will decrease security (especially since |
| 147 | will decrease security (especially since the key is transmitted as | 153 | the key is transmitted as plain-text). |
| 148 | plain text). | ||
| 149 | 154 | ||
| 150 | In some situations however, it can be difficult to share randomly | 155 | In some situations however, it can be difficult to share randomly |
| 151 | generated passwords with remote hosts (eg. no shared directory), | 156 | generated passwords with remote hosts (eg. no shared directory), |
| @@ -153,11 +158,13 @@ so you can set the key with this variable and then copy the | |||
| 153 | server file to the remote host (with possible changes to IP | 158 | server file to the remote host (with possible changes to IP |
| 154 | address and/or port if that applies). | 159 | address and/or port if that applies). |
| 155 | 160 | ||
| 156 | The key must consist of 64 ASCII printable characters except for | 161 | Note that the usual security risks of using the server over |
| 157 | space (this means characters from ! to ~; or from code 33 to 126). | 162 | remote TCP, arising from the fact that client-server |
| 163 | communications are unencrypted, still apply. | ||
| 158 | 164 | ||
| 159 | You can use \\[server-generate-key] to get a random authentication | 165 | The key must consist of 64 ASCII printable characters except for |
| 160 | key." | 166 | space (this means characters from ! to ~; or from code 33 to |
| 167 | 126). You can use \\[server-generate-key] to get a random key." | ||
| 161 | :group 'server | 168 | :group 'server |
| 162 | :type '(choice | 169 | :type '(choice |
| 163 | (const :tag "Random" nil) | 170 | (const :tag "Random" nil) |