aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/server.el
diff options
context:
space:
mode:
authorKenichi Handa2012-09-30 23:39:46 +0900
committerKenichi Handa2012-09-30 23:39:46 +0900
commitc194970e15b6d6efa07697679a25dfab3aa76442 (patch)
tree49aec8be9d2dcc74ad3c81f562e48308d8e27b75 /lisp/server.el
parent95402d5faa114a311cabfb8c64cf22a93787a066 (diff)
parentdd946752ab8810149a66a3eff469eb128709972d (diff)
downloademacs-c194970e15b6d6efa07697679a25dfab3aa76442.tar.gz
emacs-c194970e15b6d6efa07697679a25dfab3aa76442.zip
merge trunk
Diffstat (limited to 'lisp/server.el')
-rw-r--r--lisp/server.el25
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.
104If set, the server accepts remote connections; otherwise it is local." 104If set, the server accepts remote connections; otherwise it is local.
105
106DO NOT give this a non-nil value unless you know what you are
107doing! On unsecured networks, accepting remote connections is
108very dangerous, because server-client communication (including
109session 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.
148This is only used if `server-use-tcp' is non-nil.
143 149
144Normally, the authentication key is randomly generated when the 150Normally, the authentication key is randomly generated when the
145server starts, which guarantees some level of security. It is 151server starts. It is recommended to leave it that way. Using a
146recommended to leave it that way. Using a long-lived shared key 152long-lived shared key will decrease security (especially since
147will decrease security (especially since the key is transmitted as 153the key is transmitted as plain-text).
148plain text).
149 154
150In some situations however, it can be difficult to share randomly 155In some situations however, it can be difficult to share randomly
151generated passwords with remote hosts (eg. no shared directory), 156generated 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
153server file to the remote host (with possible changes to IP 158server file to the remote host (with possible changes to IP
154address and/or port if that applies). 159address and/or port if that applies).
155 160
156The key must consist of 64 ASCII printable characters except for 161Note that the usual security risks of using the server over
157space (this means characters from ! to ~; or from code 33 to 126). 162remote TCP, arising from the fact that client-server
163communications are unencrypted, still apply.
158 164
159You can use \\[server-generate-key] to get a random authentication 165The key must consist of 64 ASCII printable characters except for
160key." 166space (this means characters from ! to ~; or from code 33 to
167126). 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)