{"id":477362,"date":"2023-08-09T09:11:34","date_gmt":"2023-08-09T09:11:34","guid":{"rendered":""},"modified":"2023-09-05T11:14:33","modified_gmt":"2023-09-05T11:14:33","slug":"gopher","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/cn\/wiki\/gopher\/","title":{"rendered":"\u5730\u9f20"},"content":{"rendered":"<p>Gopher \u662f\u4e00\u79cd\u4e92\u8054\u7f51\u534f\u8bae\uff0c\u7528\u4e8e\u5728\u4e92\u8054\u7f51\u4e0a\u5206\u53d1\u3001\u641c\u7d22\u548c\u68c0\u7d22\u6587\u6863\u3002Gopher \u7531\u660e\u5c3c\u82cf\u8fbe\u5927\u5b66\u4e8e 20 \u4e16\u7eaa 90 \u5e74\u4ee3\u521d\u5f00\u53d1\uff0c\u662f\u4e07\u7ef4\u7f51\u7684\u524d\u8eab\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u57fa\u4e8e\u6587\u672c\u3001\u5c42\u6b21\u5316\u4e14\u7528\u6237\u53cb\u597d\u7684\u5728\u7ebf\u6587\u6863\u6d4f\u89c8\u65b9\u6cd5\u3002<\/p>\n<h2>Gopher \u7684\u8d77\u6e90\u4e0e\u6f14\u5316<\/h2>\n<p>Gopher \u534f\u8bae\u7531\u660e\u5c3c\u82cf\u8fbe\u5927\u5b66\u7684 Mark P. McCahill \u9886\u5bfc\u7684\u56e2\u961f\u4e8e 1991 \u5e74\u6784\u601d\u3002\u8be5\u534f\u8bae\u4ee5\u8be5\u6821\u5409\u7965\u7269\u201c\u91d1\u5730\u9f20\u201d\u547d\u540d\uff0c\u6700\u521d\u7528\u4e8e\u8bbf\u95ee\u6821\u56ed\u5185\u7684\u4e92\u8054\u7f51\u8d44\u6e90\u3002<\/p>\n<p>\u5728\u56fe\u5f62\u4e07\u7ef4\u7f51\u51fa\u73b0\u4e4b\u524d\uff0cGopher \u7684\u7b80\u5355\u6027\u548c\u5206\u5c42\u7ec4\u7ec7\u4fe1\u606f\u7684\u80fd\u529b\u4f7f\u5176\u6210\u4e3a\u4e92\u8054\u7f51\u7528\u6237\u7684\u70ed\u95e8\u9009\u62e9\u3002\u7136\u800c\uff0c\u7f51\u7edc\u7684\u5174\u8d77\uff0c\u5c24\u5176\u662f 1993 \u5e74\u63a8\u51fa Mosaic \u7f51\u7edc\u6d4f\u89c8\u5668\u4e4b\u540e\uff0c\u7531\u4e8e\u7f51\u7edc\u80fd\u591f\u663e\u793a\u6587\u672c\u65c1\u8fb9\u7684\u56fe\u5f62\u548c\u66f4\u5438\u5f15\u4eba\u7684\u754c\u9762\uff0cGopher \u7684\u5149\u8292\u5927\u5927\u76d6\u8fc7\u4e86 Gopher\u3002<\/p>\n<h2>\u6df1\u5165\u63a2\u7d22 Gopher<\/h2>\n<p>Gopher \u57fa\u4e8e\u5ba2\u6237\u7aef-\u670d\u52a1\u5668\u67b6\u6784\uff0cGopher \u5ba2\u6237\u7aef\u8fde\u63a5\u5230 Gopher \u670d\u52a1\u5668\u4ee5\u8bf7\u6c42\u4fe1\u606f\u3002Gopher \u5448\u73b0\u7684\u4fe1\u606f\u88ab\u7ec4\u7ec7\u6210\u7c7b\u4f3c\u4e8e\u6587\u4ef6\u7cfb\u7edf\u7684\u5c42\u6b21\u7ed3\u6784\u3002\u5f53\u7528\u6237\u9009\u62e9 Gopher \u94fe\u63a5\u65f6\uff0c\u5ba2\u6237\u7aef\u4f1a\u5411\u670d\u52a1\u5668\u53d1\u9001\u67e5\u8be2\uff0c\u7136\u540e\u670d\u52a1\u5668\u8fd4\u56de\u6240\u8bf7\u6c42\u7684\u6587\u6863\u6216\u94fe\u63a5\u76ee\u5f55\uff08\u5982\u679c\u94fe\u63a5\u662f\u76ee\u5f55\uff09\u3002<\/p>\n<p>\u8be5\u534f\u8bae\u8fd8\u652f\u6301\u5173\u952e\u5b57\u641c\u7d22\uff0cGopher \u5ba2\u6237\u7aef\u53ef\u4ee5\u5411 Gopher \u670d\u52a1\u5668\u53d1\u9001\u641c\u7d22\u5b57\u7b26\u4e32\uff0c\u670d\u52a1\u5668\u4f1a\u8fd4\u56de\u4e0e\u641c\u7d22\u5b57\u7b26\u4e32\u5339\u914d\u7684\u6240\u6709\u6587\u6863\u3002\u4e0d\u8fc7\uff0c\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0cGopher \u4e0d\u652f\u6301\u73b0\u4ee3\u534f\u8bae\u4e2d\u66f4\u9ad8\u7ea7\u7684\u529f\u80fd\uff0c\u4f8b\u5982 HTTPS\u3001cookie \u6216\u4ea4\u4e92\u5f0f\u8868\u5355\u3002<\/p>\n<h2>Gopher \u5185\u90e8\uff1a\u7406\u89e3\u5176\u5de5\u4f5c\u673a\u5236<\/h2>\n<p>Gopher \u91c7\u7528\u5ba2\u6237\u7aef-\u670d\u52a1\u5668\u6a21\u578b\uff0cGopher \u5ba2\u6237\u7aef\u5411 Gopher \u670d\u52a1\u5668\u53d1\u9001\u4fe1\u606f\u8bf7\u6c42\u3002\u670d\u52a1\u5668\u901a\u8fc7\u53d1\u9001\u8bf7\u6c42\u7684\u6587\u672c\u6587\u4ef6\u6216\u83dc\u5355\u8fdb\u884c\u54cd\u5e94\u3002\u83dc\u5355\u662f\u7b80\u5355\u7684\u6587\u672c\u6587\u4ef6\uff0c\u5176\u4e2d\u7684\u884c\u8868\u793a\u83dc\u5355\u9879\u3002\u6bcf\u4e2a\u83dc\u5355\u9879\u90fd\u5305\u542b\u4e00\u4e2a\u53ef\u8bfb\u7684\u540d\u79f0\u548c\u4e00\u4e2a\u53ef\u4ee5\u627e\u5230\u8be5\u83dc\u5355\u9879\u7684\u670d\u52a1\u5668\u5730\u5740\u3002<\/p>\n<p>Gopher \u4f7f\u7528\u81ea\u5df1\u72ec\u7279\u7684 URL \u65b9\u6848\u3002Gopher URL \u4ee5\u201cgopher:\/\/\u201d\u5f00\u5934\uff0c\u5305\u542b\u670d\u52a1\u5668\u5730\u5740\u3001\u8d44\u6e90\u7c7b\u578b\u548c\u9009\u62e9\u5668\u5b57\u7b26\u4e32\u3002\u9009\u62e9\u5668\u5b57\u7b26\u4e32\u662f\u670d\u52a1\u5668\u4e0a\u8d44\u6e90\u7684\u8def\u5f84\u3002<\/p>\n<h2>Gopher \u7684\u663e\u8457\u7279\u70b9<\/h2>\n<ol>\n<li><strong>\u7b80\u5355\uff1a<\/strong> Gopher \u7684\u8bbe\u8ba1\u975e\u5e38\u7b80\u5355\uff0c\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa Gopher \u5ba2\u6237\u7aef\u3001\u670d\u52a1\u5668\u548c\u6587\u6863\u3002<\/li>\n<li><strong>\u5c42\u6b21\u7ed3\u6784\uff1a<\/strong> Gopher \u4ee5\u6e05\u6670\u3001\u5206\u5c42\u7684\u683c\u5f0f\u5448\u73b0\u4fe1\u606f\uff0c\u7c7b\u4f3c\u4e8e\u6587\u4ef6\u7cfb\u7edf\u3002<\/li>\n<li><strong>\u9ad8\u6548\u7684\u7f51\u7edc\u4f7f\u7528\uff1a<\/strong> Gopher \u6bd4 HTTP \u7b49\u56fe\u5f62\u534f\u8bae\u5360\u7528\u66f4\u5c11\u7684\u5e26\u5bbd\uff0c\u56e0\u6b64\u5728\u6162\u901f\u8fde\u63a5\u4e0a\u6d4f\u89c8\u901f\u5ea6\u66f4\u5feb\u3002<\/li>\n<li><strong>\u53ef\u641c\u7d22\u6027\uff1a<\/strong> Gopher \u652f\u6301\u5728 Gopher \u670d\u52a1\u5668\u4e0a\u8fdb\u884c\u5173\u952e\u5b57\u641c\u7d22\u3002<\/li>\n<li><strong>\u57fa\u4e8e\u7eaf\u6587\u672c\uff1a<\/strong> Gopher \u6587\u6863\u4e3b\u8981\u662f\u7eaf\u6587\u672c\uff0c\u5c3d\u7ba1\u8be5\u534f\u8bae\u4e5f\u53ef\u4ee5\u5206\u53d1\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/li>\n<\/ol>\n<h2>\u4e0d\u540c\u7c7b\u578b\u7684\u5730\u9f20<\/h2>\n<p>\u5728 Gopher \u4e2d\uff0c\u4e0d\u540c\u7c7b\u578b\u7684\u7269\u54c1\u4f7f\u7528\u7269\u54c1\u884c\u5f00\u5934\u7684\u5355\u5b57\u7b26\u4ee3\u7801\u6765\u6807\u8bc6\u3002\u4e00\u4e9b\u5e38\u7528\u7684\u7269\u54c1\u7c7b\u578b\u5305\u62ec\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u7c7b\u578b\u4ee3\u7801<\/th>\n<th>\u63cf\u8ff0<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>\u6587\u672c\u6587\u4ef6\uff1a\u6b64\u9879\u7c7b\u578b\u4ee3\u8868\u6587\u6863\u6216\u4efb\u4f55\u5176\u4ed6\u7c7b\u578b\u7684\u6587\u672c\u6570\u636e\u3002<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>\u76ee\u5f55\uff1a\u6b64\u9879\u7c7b\u578b\u662f\u5305\u542b\u66f4\u591a\u9879\u76ee\u7684 Gopher \u83dc\u5355\u3002<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>\u641c\u7d22\u5f15\u64ce\uff1a\u6b64\u9879\u7c7b\u578b\u8868\u793a\u53ef\u641c\u7d22\u7684\u7d22\u5f15\u3002<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>\u4e8c\u8fdb\u5236\u6587\u4ef6\uff1a\u6b64\u9879\u7c7b\u578b\u7528\u4e8e\u975e\u6587\u672c\u6570\u636e\u6587\u4ef6\uff0c\u4f8b\u5982\u56fe\u50cf\u3001\u97f3\u9891\u6216\u89c6\u9891\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6211<\/td>\n<td>\u4fe1\u606f\u6d88\u606f\uff1a\u6b64\u9879\u7c7b\u578b\u7528\u4e8e\u5728 Gopher \u83dc\u5355\u5185\u663e\u793a\u4fe1\u606f\u6587\u672c\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Gopher \u7684\u5b9e\u9645\u5e94\u7528\uff1a\u7528\u9014\u3001\u6311\u6218\u548c\u89e3\u51b3\u65b9\u6848<\/h2>\n<p>\u5c3d\u7ba1 Gopher \u4e0d\u5982 Web \u90a3\u4e48\u6d41\u884c\uff0c\u4f46\u5b83\u4ecd\u7136\u62e5\u6709\u4e00\u6279\u5fe0\u5b9e\u7684\u7528\u6237\uff0c\u4e3b\u8981\u6765\u81ea\u590d\u53e4\u8ba1\u7b97\u548c\u6280\u672f\u7231\u597d\u8005\u793e\u533a\u3002Gopher \u7528\u4e8e\u5206\u53d1\u57fa\u4e8e\u6587\u672c\u7684\u6587\u6863\u548c\u6587\u4ef6\uff0c\u4ee5\u53ca\u521b\u5efa\u6613\u4e8e\u5bfc\u822a\u7684\u94fe\u63a5\u83dc\u5355\u3002<\/p>\n<p>\u7136\u800c\uff0cGopher \u4e5f\u9762\u4e34\u4e00\u4e9b\u6311\u6218\u3002\u73b0\u4ee3\u7f51\u7edc\u6d4f\u89c8\u5668\u9ed8\u8ba4\u4e0d\u652f\u6301 Gopher\uff0c\u800c\u4e14\u8be5\u534f\u8bae\u7f3a\u4e4f\u52a0\u5bc6\u548c Cookie \u7b49\u9ad8\u7ea7\u529f\u80fd\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u4e13\u7528\u7684 Gopher \u5ba2\u6237\u7aef\u548c\u4ee3\u7406\u670d\u52a1\u53ef\u7528\u4e8e\u8bbf\u95ee Gopher \u7f51\u7ad9\uff0c\u5e76\u4e14\u4eba\u4eec\u6b63\u5728\u52aa\u529b\u5728\u4fdd\u6301\u534f\u8bae\u7b80\u5355\u6027\u7684\u540c\u65f6\u5bf9\u5176\u8fdb\u884c\u73b0\u4ee3\u5316\u6539\u9020\u3002<\/p>\n<h2>\u4e0e\u7c7b\u4f3c\u534f\u8bae\u7684\u6bd4\u8f83<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u5f81<\/th>\n<th>\u5730\u9f20<\/th>\n<th>HTTP\uff08\u7f51\u7edc\uff09<\/th>\n<th>\u6587\u4ef6\u4f20\u8f93\u534f\u8bae<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u52a0\u5bc6<\/td>\n<td>\u4e0d<\/td>\n<td>\u662f\u7684<\/td>\n<td>\u662f\u7684<\/td>\n<\/tr>\n<tr>\n<td>\u997c\u5e72<\/td>\n<td>\u4e0d<\/td>\n<td>\u662f\u7684<\/td>\n<td>\u4e0d<\/td>\n<\/tr>\n<tr>\n<td>\u53ef\u641c\u7d22\u6027<\/td>\n<td>\u662f\u7684<\/td>\n<td>\u662f\u7684<\/td>\n<td>\u4e0d<\/td>\n<\/tr>\n<tr>\n<td>\u5c42\u6b21\u7ed3\u6784<\/td>\n<td>\u662f\u7684<\/td>\n<td>\u4e0d<\/td>\n<td>\u662f\u7684<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Gopher \u7684\u672a\u6765\uff1a\u5c06\u4f1a\u6709\u4ec0\u4e48\uff1f<\/h2>\n<p>\u5c3d\u7ba1 Gopher \u4f3c\u4e4e\u5df2\u6210\u4e3a\u5386\u53f2\uff0c\u4f46\u4eba\u4eec\u5bf9\u4f7f\u7528\u548c\u5f00\u53d1\u8be5\u534f\u8bae\u7684\u5174\u8da3\u4e00\u76f4\u4e0d\u51cf\uff0c\u8fd9\u4e3b\u8981\u662f\u56e0\u4e3a\u5b83\u7684\u7b80\u5355\u6027\u548c\u6548\u7387\u3002\u5f00\u53d1\u4eba\u5458\u6b63\u5728\u5f00\u5c55\u4e00\u4e9b\u9879\u76ee\u6765\u4f7f Gopher \u73b0\u4ee3\u5316\uff0c\u4f8b\u5982\u589e\u52a0\u5bf9\u52a0\u5bc6\u7684\u652f\u6301\uff0c\u5e76\u4e14\u6b63\u5728\u52aa\u529b\u521b\u5efa\u4e00\u4e2a\u4e0e\u73b0\u4ee3 Web \u76f8\u5f53\u7684 Gopher\uff0c\u5373\u201cGopherspace\u201d\u3002<\/p>\n<h2>Gopher \u7684\u4ee3\u7406\u670d\u52a1\u5668\u7684\u4f5c\u7528<\/h2>\n<p>\u9274\u4e8e\u73b0\u4ee3\u6d4f\u89c8\u5668\u9ed8\u8ba4\u4e0d\u652f\u6301 Gopher \u534f\u8bae\uff0c\u4ee3\u7406\u670d\u52a1\u5668\u5728\u8bbf\u95ee Gopher \u7f51\u7ad9\u65f6\u8d77\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002Gopher \u5230 HTTP \u4ee3\u7406\u5141\u8bb8\u7528\u6237\u4f7f\u7528\u6807\u51c6 Web \u6d4f\u89c8\u5668\u8bbf\u95ee Gopher \u5185\u5bb9\u3002\u4ee3\u7406\u670d\u52a1\u5668\u83b7\u53d6\u8bf7\u6c42\u7684 Gopher \u5185\u5bb9\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u6d4f\u89c8\u5668\u53ef\u4ee5\u663e\u793a\u7684 HTTP \u5185\u5bb9\u3002\u8fd9\u5728\u73b0\u4ee3 Web \u548c Gopher \u4e4b\u95f4\u67b6\u8d77\u4e86\u4e00\u5ea7\u6865\u6881\uff0c\u4f7f\u7528\u6237\u53ef\u4ee5\u63a2\u7d22\u72ec\u7279\u7684\u3001\u4ee5\u6587\u672c\u4e3a\u4e2d\u5fc3\u7684 Gopherspace \u4e16\u754c\u3002<\/p>\n<h2>\u76f8\u5173\u94fe\u63a5<\/h2>\n<ol>\n<li><a href=\"https:\/\/addons.mozilla.org\/en-US\/firefox\/addon\/overbiteff\/\" target=\"_new\" rel=\"noopener nofollow\">\u6df1\u8986\u5408\u9879\u76ee<\/a>\uff1a\u4e00\u9879\u5c06 Gopher \u91cd\u65b0\u5e26\u56de Firefox \u548c Chrome \u7684\u8ba1\u5212\u3002<\/li>\n<li><a href=\"http:\/\/gopher.floodgap.com\/gopher\/\" target=\"_new\" rel=\"noopener nofollow\">Floodgap \u516c\u5171 Gopher \u4ee3\u7406<\/a>\uff1a\u516c\u5171\u7684 Gopher \u5230 HTTP \u4ee3\u7406\u3002<\/li>\n<li><a href=\"https:\/\/tools.ietf.org\/html\/rfc1436\" target=\"_new\" rel=\"noopener nofollow\">Gopher \u534f\u8bae<\/a>\uff1a\u539f\u59cb\u7684 Gopher \u534f\u8bae\u89c4\u8303\u3002<\/li>\n<li><a href=\"\/cn\/void(0)\/\" target=\"_new\" rel=\"noopener\">SDF \u516c\u5171\u8bbf\u95ee Unix \u7cfb\u7edf<\/a>\uff1a\u4e00\u4e2a\u8457\u540d\u7684 Gopher \u7ad9\u70b9\u3002<\/li>\n<li><a href=\"\/cn\/void(0)\/\" target=\"_new\" rel=\"noopener\">\u5730\u9f20\u8349\u576a<\/a>\uff1a\u6d3b\u8dc3 Gopher \u7ad9\u70b9\u7684\u7cbe\u9009\u5217\u8868\u3002<\/li>\n<\/ol>","protected":false},"featured_media":477363,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-477362","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Gopher: A Look into the Old-school Internet Protocol<\/mark>","faq_items":[{"question":"What is Gopher?","answer":"<p>Gopher is an Internet protocol developed in the early 1990s at the University of Minnesota for distributing, searching, and retrieving documents over the Internet. It presents information in a hierarchical structure, akin to a filesystem.<\/p>"},{"question":"When and where was the Gopher protocol developed?","answer":"<p>Gopher was developed in 1991 by a team led by Mark P. McCahill at the University of Minnesota. The protocol was named after the university's mascot, the \"Golden Gopher\".<\/p>"},{"question":"How does Gopher work?","answer":"<p>Gopher operates on a client-server model. Gopher clients send requests to Gopher servers for information. The server responds by sending the requested text file or menu. Each item in the menu includes a human-readable name and a server address where the item can be found.<\/p>"},{"question":"What are the main features of Gopher?","answer":"<p>The main features of Gopher include simplicity of design, hierarchical structure of information, efficient network usage due to less bandwidth consumption, and the ability to perform keyword searches on Gopher servers.<\/p>"},{"question":"How does a Gopher URL look like?","answer":"<p>A Gopher URL starts with \"gopher:\/\/\" and includes the server's address, the type of the resource, and the selector string. The selector string is the path to the resource on the server.<\/p>"},{"question":"What are the different types of Gopher?","answer":"<p>In Gopher, different types of items are identified using a one-character code at the start of the item line. Some common types include text files, directories, search engines, binary files, and informational messages.<\/p>"},{"question":"What challenges does Gopher face and how can they be solved?","answer":"<p>Modern web browsers do not support Gopher by default, and the protocol lacks features like encryption and cookies. These challenges can be addressed by using dedicated Gopher clients and proxy services, and through ongoing efforts to modernize the protocol.<\/p>"},{"question":"How are proxy servers used with Gopher?","answer":"<p>Proxy servers, particularly Gopher-to-HTTP proxies, allow users to access Gopher content using a standard web browser. The proxy server fetches the requested Gopher content and converts it into HTTP content that the browser can display.<\/p>"},{"question":"What is the future of Gopher?","answer":"<p>Despite seeming like a relic of the past, there's ongoing interest in Gopher, primarily due to its simplicity and efficiency. Developers are working to modernize Gopher, for instance, by adding support for encryption. There's an ongoing effort to create a Gopher equivalent of the modern Web, known as \"Gopherspace.\"<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki\/477362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/wiki\/477362\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/media\/477363"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/cn\/wp-json\/wp\/v2\/media?parent=477362"}],"curies":[{"name":"\u53ef\u6e7f\u6027\u7c89\u5242","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}