# AUTHOR , YEAR. msgid "" msgstr "" "Project-Id-Version: 0\n" "POT-Creation-Date: 2022-08-10 10:50+0200\n" "PO-Revision-Date: 2022-07-30 20:24+0200\n" "Last-Translator: billchenchina \n" "Language-Team: Chinese (Simplified) \n" "Language: zh-CN\n" "MIME-Version: 1.0\n" "Content-Type: application/x-publican; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: Weblate 4.11-dev\n" msgid "Network" msgstr "网络" msgid "Gateway" msgstr "网关" msgid "TCP/IP" msgstr "TCP/IP" msgid "IPv6" msgstr "IPV6" msgid "DNS" msgstr "DNS" msgid "Bind" msgstr "Bind" msgid "DHCP" msgstr "DHCP" msgid "QoS" msgstr "QoS(服务质量保证)" msgid "Network Infrastructure" msgstr "基本网络设置" msgid "Linux sports the whole Unix heritage for networking, and Debian provides a full set of tools to create and manage them. This chapter reviews these tools." msgstr "Linux从Unix系统上传承了网络的功能,Debian 同样提供了一整套完整的工具用于配置和管理网络。本章将向大家介绍这些工具。" msgid "gateway" msgstr "网关" msgid "networkgateway" msgstr "网络网关" msgid "router" msgstr "路由器" msgid "A gateway is a system linking several networks. This term often refers to a local network's “exit point” on the mandatory path to all external IP addresses. The gateway is connected to each of the networks it links together, and acts as a router to convey IP packets between its various interfaces." msgstr "“网关”用于连接多个网络。这个词常常用于表示本地网络通往外部 IP 地址的“出口”。网关充当路由器的身份,在它的多个网络接口间转发 IP 包,从而把它所连接的不同网络联系起来。" msgid "BACK TO BASICS IP packet" msgstr "基本 IP 封包" msgid "packetIP" msgstr "包IP" #, fuzzy #| msgid "CACertificate Authority" msgid "IPInternet Protocol" msgstr "CA权威认证" #, fuzzy #| msgid "AH, protocol" msgid "Internet Protocol" msgstr "AH,协议" msgid "Most networks nowadays use the IP protocol (Internet Protocol). This protocol segments the transmitted data into limited-size packets. Each packet contains, in addition to its payload data, a number of details required for its proper routing." msgstr "今天,大部分的网络使用 IP 通信协议 (Internet Protocol)。这种协议把传输数据切割成小小的封包。除了实际传输的数据外,每个封包还包括必备的路由信息。" msgid "BACK TO BASICS TCP/UDP" msgstr "基本 TCP/UDP" #, fuzzy #| msgid "protocolESP" msgid "protocolTCP" msgstr "协议ESP" #, fuzzy #| msgid "protocolESP" msgid "protocolUDP" msgstr "协议ESP" msgid "portTCP" msgstr "端口TCP" msgid "portUDP" msgstr "端口UDP" #, fuzzy #| msgid "portTCP" msgid "TCPport" msgstr "端口TCP" #, fuzzy #| msgid "portUDP" msgid "UDPport" msgstr "端口UDP" #, fuzzy #| msgid "protocolAH" msgid "Transmission Control Protocol" msgstr "协议AH" #, fuzzy #| msgid "protocolESP" msgid "User Datagram ProtocolUDP" msgstr "协议ESP" msgid "Many programs do not handle the individual packets themselves, even though the data they transmit does travel over IP; they often use TCP (Transmission Control Protocol). TCP is a layer over IP allowing the establishment of connections dedicated to data streams between two points. The programs then only see an entry point into which data can be fed with the guarantee that the same data exits without loss (and in the same sequence) at the exit point at the other end of the connection. Although many kinds of errors can happen in the lower layers, they are compensated by TCP: lost packets are retransmitted, and packets arriving out of order (for example, if they used different paths) are re-ordered appropriately." msgstr "即使在 IP 上传输数据,大部分程序都不处理个别的封包问题;他们通常使用 TCP (Transmission Control Protocol)。TCP 是 IP 的上层,为专属的数据流创建两点间的链接。程序只看到数据进来的条目,并保证同样的数据无误 (且以同样顺序) 流到另端链接的出口。在较低层可能发生多种错误,都可以被 TCP 补偿:重送失去的封包、重组到达的封包 (例如,经由不同路径送到) 的顺序。" msgid "Another protocol relying on IP is UDP (User Datagram Protocol). In contrast to TCP, it is packet-oriented. Its goals are different: the purpose of UDP is only to transmit one packet from an application to another. The protocol does not try to compensate for possible packet loss on the way, nor does it ensure that packets are received in the same order as were sent. The main advantage to this protocol is that the latency is greatly improved, since the loss of a single packet does not delay the receiving of all following packets until the lost one is retransmitted." msgstr "另个在 IP 上的协议是 UDP (User Datagram Protocol)。与 TCP 不同,它是封包导向的。它的目标不同:UDP 的目的是在应用程序间传输封包。此协议不补偿封包的遗漏,也不在意封包依序到达。此协议的主要优点是,大幅改善延迟的问题,遗漏的封包不影响接收后续封包,并且持续重送该遗漏的封包。" msgid "TCP and UDP both involve ports, which are “extension numbers” for establishing communication with a given application on a machine. This concept allows keeping several different communications in parallel with the same correspondent, since these communications can be distinguished by the port number." msgstr "TCP 和 UDP 都涉及封包,也就是以 \"分机号码\" 模式在机器内的程序创建链接。此做法允许在同个通信中创建多个平行的管道,因为它们以不同的端口号区分之。" msgid "Internet Assigned Numbers AuthorityIANA" msgstr "" #, fuzzy #| msgid "NAT" msgid "IANA" msgstr "NAT" #, fuzzy #| msgid "qualityof service" msgid "/etc/etc/services" msgstr "品质服务的" #, fuzzy #| msgid "Some of these port numbers — standardized by the IANA (Internet Assigned Numbers Authority) — are “well-known” for being associated with network services. For instance, TCP port 25 is generally used by the email server. " msgid "Some of these port numbers — standardized by the IANA (Internet Assigned Numbers Authority) — are “well-known” for being associated with network services. For instance, TCP port 25 is generally used by the email server. The list of services associated with port numbers can be found in the /etc/services file, also explained in services 5, as well as in: " msgstr "部分端口号 — 由 IANA (Internet Assigned Numbers Authority) 规范 — 以与网络服务相关而 “知名”。例如,TCP 端口号 25 系供电子邮件服务器使用。" #, fuzzy #| msgid "servicequality" msgid "IPmasquerading" msgstr "服务品质" #, fuzzy #| msgid "networkgateway" msgid "networkmasquerading" msgstr "网络网关" msgid "When a local network uses a private address range (not routable on the Internet), the gateway needs to implement address masquerading so that the machines on the network can communicate with the outside world. The masquerading operation is a kind of proxy operating on the network level: each outgoing connection from an internal machine is replaced with a connection from the gateway itself (since the gateway does have an external, routable address), the data going through the masqueraded connection is sent to the new one, and the data coming back in reply is sent through to the masqueraded connection to the internal machine. The gateway uses a range of dedicated TCP ports for this purpose, usually with very high numbers (over 60000). Each connection coming from an internal machine then appears to the outside world as a connection coming from one of these reserved ports." msgstr "局域网路接在私人网址范围内 (不在网络网络的路由上),网关就需要 地址掩蔽 让其经由网络与外界沟通。掩蔽作业是网络层次的代理工作:内部机器,都被网关取代 (因为网关有外部的路由地址),借由掩蔽链接,数据送出出去,进来的数据经由掩蔽链接至内部机器。网关以指定的 TCP 端口运行此工作,通常是较高的号码 (超过 60000)。对外部而言,经由内部机器的链接,就是来自此等保留端口号。" msgid "masquerading" msgstr "掩蔽" msgid "CULTURE Private address range" msgstr "文化 私有地址范围" #, fuzzy #| msgid "IP addressprivate" msgid "IPprivate address" msgstr "IP 地址私有" msgid "private IP address" msgstr "私有 IP 地址" msgid "RFC 1918 defines three ranges of IPv4 addresses not meant to be routed on the Internet but only used in local networks. The first one, 10.0.0.0/8 (see sidebar ), is a class-A range (with 224 IP addresses). The second one, 172.16.0.0/12, gathers 16 class-B ranges (172.16.0.0/16 to 172.31.0.0/16), each containing 216 IP addresses. Finally, 192.168.0.0/16 is a class-B range (grouping 256 class-C ranges, 192.168.0.0/24 to 192.168.255.0/24, with 256 IP addresses each). " msgstr "RFC 1918 把三组 IPv4 地址设为局域网路专用,不能路由至互联网。第一组是,10.0.0.0/8 (见专栏 ),是一个A级范围 (是 224 IP 地址)。第二组是,172.16.0.0/12,16个B级范围 (172.16.0.0/16 至 172.31.0.0/16),每个有 216 IP 地址。最后,192.168.0.0/16 是一个B级范围 (包括 256 个C级范围,192.168.0.0/24 至 192.168.255.0/24,各有 256 个 IP 地址)。" msgid "The gateway can also perform two kinds of network address translation (or NAT for short). The first kind, Destination NAT (DNAT) is a technique to alter the destination IP address (and/or the TCP or UDP port) for a (generally) incoming connection. The connection tracking mechanism also alters the following packets in the same connection to ensure continuity in the communication. The second kind of NAT is Source NAT (SNAT), of which masquerading is a particular case; SNAT alters the source IP address (and/or the TCP or UDP port) of a (generally) outgoing connection. As for DNAT, all the packets in the connection are appropriately handled by the connection tracking mechanism. Note that NAT is only relevant for IPv4 and its limited address space; in IPv6, the wide availability of addresses greatly reduces the usefulness of NAT by allowing all “internal” addresses to be directly routable on the Internet (this does not imply that internal machines are accessible, since intermediary firewalls can filter traffic)." msgstr "网关有两种 网络地址转换 (英文缩写 NAT) 的功能。第一种是 目的 NAT (DNAT),改变封包目的 IP 地址 (与 TCP 或 UDP 端口)。链接追踪机制同时改变后续封包的链接。第二种 NAT 是 来源 NAT (SNAT),其中的 伪装 是特例之一;SNAT 改变出去链接的来源 IP 地址 (与 TCP 或 UDP 端口)。如同 DNAT,所有的封包由链接追踪机制处理。NAT 只用于 IPv4 及其限制的地址空间;在 IPv6 内,其宽广的地址技术允许直接在互联网路由 (并不表示可以近用内部机器,因为防火墙可以过滤流量) 减少 NAT 的用途。" #, fuzzy #| msgid "NetworkAddress Translation" msgid "NATNetwork Address Translation" msgstr "网络地址转换" #, fuzzy #| msgid "NetworkAddress Translation" msgid "Network Address TranslationNAT" msgstr "网络地址转换" #, fuzzy #| msgid "NetworkAddress Translation" msgid "networkaddress translationNAT" msgstr "网络地址转换" #, fuzzy #| msgid "networkgateway" msgid "networkNAT" msgstr "网络网关" #, fuzzy #| msgid "CACertificate Authority" msgid "SNATSource NAT" msgstr "CA权威认证" #, fuzzy #| msgid "Source NAT" msgid "Source NATSNAT" msgstr "Source NAT" #, fuzzy #| msgid "CACertificate Authority" msgid "DNATDestination NAT" msgstr "CA权威认证" #, fuzzy #| msgid "Destination NAT" msgid "Destination NATDNAT" msgstr "Destination NAT" msgid "BACK TO BASICS Port forwarding" msgstr "基本 端口转发" msgid "port forwarding" msgstr "端口转发" #, fuzzy #| msgid "networkgateway" msgid "networkport forwarding" msgstr "网络网关" #, fuzzy #| msgid "tc" msgid "redir" msgstr "tc" msgid "A concrete application of DNAT is port forwarding. Incoming connections to a given port of a machine are forwarded to a port on another machine. Other solutions may exist for achieving a similar effect, though, especially at the application level with ssh (see ) or redir." msgstr "DNAT 的具体应用之一是 端口转发。进来链接至机器的指定端口号转发至另部机器的端口号。虽然还有其他的方案达成同样的效果,诸如应用层面的 ssh (见 ) 或 redir。" msgid "filesystemvirtual/proc/" msgstr "" msgid "Enough theory, let's get practical. Turning a Debian system into a gateway is a simple matter of enabling the appropriate option in the Linux kernel, by way of the /proc/ virtual filesystem:" msgstr "理论讲多了,看看实务怎么做。system into a gateway is a simple matter of enabling the appropriate option in the Linux kernel, 经由 /proc/ 虚拟文件系统,从 Linux 核心进入 Debian 系统的网关:" msgid "" "\n" "# echo 1 > /proc/sys/net/ipv4/conf/default/forwarding" msgstr "" "\n" "# echo 1 > /proc/sys/net/ipv4/conf/default/forwarding" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/sysctl.conf" msgstr "流量限制" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/sysctl.d/" msgstr "流量限制" #, fuzzy #| msgid "This option can also be automatically enabled on boot if /etc/sysctl.conf sets the net.ipv4.conf.default.forwarding option to 1." msgid "This option can also be automatically enabled on boot if /etc/sysctl.conf or a configuration file in /etc/sysctl.d/ sets the net.ipv4.conf.default.forwarding option to 1." msgstr "若 /etc/sysctl.conf 设置 net.ipv4.conf.default.forwarding 选项为 1,就能以此方式在开机时自动启用。" msgid "The /etc/sysctl.conf file" msgstr "/etc/sysctl.conf 文件" msgid "" "\n" "net.ipv4.conf.default.forwarding = 1\n" "net.ipv4.conf.default.rp_filter = 1\n" "net.ipv4.tcp_syncookies = 1" msgstr "" "\n" "net.ipv4.conf.default.forwarding = 1\n" "net.ipv4.conf.default.rp_filter = 1\n" "net.ipv4.tcp_syncookies = 1" msgid "The same effect can be obtained for IPv6 by simply replacing ipv4 with ipv6 in the manual command and using the net.ipv6.conf.all.forwarding line in /etc/sysctl.conf." msgstr "在 IPv6 也能取得同样的效果,把手册中的 ipv4 换为 ipv6,并使用 net.ipv6.conf.all.forwarding 于 /etc/sysctl.conf 文件内。" msgid "Enabling IPv4 masquerading is a slightly more complex operation that involves configuring the netfilter firewall." msgstr "启用 IPv4 伪装就有点复杂,涉及配置 netfilter 防火墙。" msgid "Similarly, using NAT (for IPv4) requires configuring netfilter. Since the primary purpose of this component is packet filtering, the details are listed in (see )." msgstr "需配置 netfilter,才能使用 NAT (IPv4)。因为此种组件的主要目的是软件包筛选,详情列在 (见 )。" msgid "X.509 certificates" msgstr "X.509 认证" msgid "certificateX.509" msgstr "认证X.509" msgid "SSL" msgstr "SSL" #, fuzzy #| msgid "packetIP" msgid "Secure Socket LayerSSL" msgstr "包IP" msgid "TLS" msgstr "TLS" #, fuzzy #| msgid "portTCP" msgid "Transport Layer SecurityTLS" msgstr "端口TCP" msgid "X.509certificates" msgstr "X.509证书" #, fuzzy #| msgid "CACertificate Authority" msgid "CACertificate Authority" msgstr "CA数字证书颁发机构" msgid "Certificate Authority" msgstr "数字证书颁发机构" msgid "Certificates are an important building block of many network services built on cryptographic protocols, when they need some sort of central authentication." msgstr "需要中央身份验证时,证书是基于密码协议构建的网络服务的重要组成部分。" #, fuzzy #| msgid "IKE" msgid "IETF" msgstr "IKE" msgid "Among those protocols, SSL (Secure Socket Layer) was invented by Netscape to secure connections to web servers. It was later standardized by IETF under the acronym TLS (Transport Layer Security). Since then TLS continued to evolve, and nowadays SSL is deprecated due to multiple design flaws that have been discovered." msgstr "在那些协议中,SSL 协议 (Secure Socket Layer)是由Netscape发明的,用以保护与网页服务器的连接。它后来被 IETF 标准化为 TLS (Transport Layer Security)。此后,TLS不断演进。如今,由于SSL被发现了多个设计缺陷,它已被弃用。" msgid "The TLS protocol aims primarily to provide privacy and data integrity between two or more communicating computer applications. The most common case on the Internet is the communication between a client (e.g. a web browser) and a server." msgstr "TLS 协议主要关注于在两个或多个互相通信的计算机程序之间提供隐私和数据完整性。在互联网上,最常见的应用场景是在客户端(例如网页浏览器)和服务器之间的通信。" #, fuzzy #| msgid "packetIP" msgid "certificateroot certificate" msgstr "包IP" #, fuzzy #| msgid "However, anyone can create a key pair, store any identity on it, and pretend to be the identity of their choice. One solution involves the concept of a Certification Authority (CA), formalized by the X.509 standard. This term covers an entity that holds a trusted key pair known as a root certificate. This certificate is only used to sign other certificates (key pairs), after proper steps have been undertaken to check the identity stored on the key pair. Applications using X.509 can then check the certificates presented to them, if they know about the trusted root certificates." msgid "A key pair is needed for the exchange of information, which involves a public key that includes information about the identity of the owner and matches a private key. The private key must be kept secret, otherwise the security is compromised. However, anyone can create a key pair, store any identity on it, and pretend to be the identity of their choice. One solution involves the concept of a Certification Authority (CA), formalized by the X.509 standard. This term covers an entity that holds a trusted key pair known as a root certificate. This certificate is only used to sign other certificates (key pairs), after proper steps have been undertaken to check the identity stored on the key pair. Applications using X.509 can then check the certificates presented to them, if they know about the trusted root certificates." msgstr "任何人都可以添加密钥配对。采用 授权认证 (CA),即 X.509 标准。此术语指的是拥有信任密钥配对做为 root 认证。此认证只用于签署另个认证 (密钥配对),经过适当的进程,检查保存在密钥配对的内容。使用 X.509 可以检查其中的认证。" msgid "You can implement a CA (as described in ), but if you intend to use the certificate for a website, you need to rely on a trusted CA. The prices vary significantly, but it is possible to implement great security spending little to no money." msgstr "你可以建立自己的数字证书颁发机构(如在 中所述),但如果你打算将证书用于网站,则需要依赖受信任的数字证书颁发机构。证书的价格差异很大,但,用很少的花费甚至零花费,来实现出色的安全性,是有可能的。" msgid "Creating gratis trusted certificates" msgstr "创建免费的受信任证书" #, fuzzy #| msgid "packetIP" msgid "certificatetrusted certificate" msgstr "包IP" #, fuzzy #| msgid "packetIP" msgid "certificatesnakeoil certificate" msgstr "包IP" #, fuzzy #| msgid "Apachecertbot" msgid "certificateletsencryptcertbot" msgstr "Apachecertbot" #, fuzzy #| msgid "Many programs create and use snakeoil certificates by default (see sidebar ). Fortunately the certbot package brings everything we need to create our own trusted certificates, provided by the \"Lets Encrypt\" initiative (see sidebar ), which can also be used for mail transport agents (Postfix) and mail delivery agents (Dovecot, Cyrus, etc.)." msgid "Many programs create and use snakeoil certificates by default (see sidebar ). Fortunately the certbot package brings everything we need to create our own trusted certificates, provided by the \"Lets Encrypt\" initiative (see sidebar ), which can also be used for mail transport agents (Postfix), mail delivery agents (Dovecot, Cyrus, etc.), and other network services." msgstr "许多程序默认创建和使用snakeoil证书(参见补充说明 )。幸运的是,由“Lets Encrypt”倡议(参见补充说明 )提供的 certbot 包提供了我们创建自己的受信任证书所需的一切。它也可被用于邮件传输代理(Postfix)和邮件投递代理(Dovecot、Cyrus等)。" msgid "The Falcot administrators just want to create a certificate for their website, which runs on Apache. There is a convenient Apache plugin for certbot that automatically edits the Apache configuration to serve the obtained certificate, so they make use of it:" msgstr "" #, fuzzy #| msgid "pptp-linux" msgid "certbot" msgstr "pptp-linux" #, fuzzy #| msgid "pptp-linux" msgid "python3-certbot-apache" msgstr "pptp-linux" msgid "Apachecertbot" msgstr "Apachecertbot" #, fuzzy #| msgid "Apachecertbot" msgid "Apachepython3-certbot-apache" msgstr "Apachecertbot" #, fuzzy #| msgid "packetIP" msgid "Apachetrusted certificates" msgstr "包IP" msgid "" "\n" "# apt install python3-certbot-apache\n" "[...]\n" "# certbot --apache\n" "aving debug log to /var/log/letsencrypt/letsencrypt.log\n" "Plugins selected: Authenticator apache, Installer apache\n" "Enter email address (used for urgent renewal and security notices)\n" " (Enter 'c' to cancel): admin@falcot.com\n" "\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "Please read the Terms of Service at\n" "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must\n" "agree in order to register with the ACME server. Do you agree?\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "(Y)es/(N)o: Y\n" "\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "Would you be willing, once your first certificate is successfully issued, to\n" "share your email address with the Electronic Frontier Foundation, a founding\n" "partner of the Let's Encrypt project and the non-profit organization that\n" "develops Certbot? We'd like to send you email about our work encrypting the web,\n" "EFF news, campaigns, and ways to support digital freedom.\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "(Y)es/(N)o: N\n" "\n" "Account registered.\n" "\n" "No names were found in your configuration files. Please enter in your domain\n" "name(s) (comma and/or space separated) (Enter 'c' to cancel): falcot.com\n" "\n" "Requesting a certificate for falcot.com\n" "Performing the following challenges:\n" "http-01 challenge for falcot.com\n" "Enabled Apache rewrite module\n" "Waiting for verification...\n" "Cleaning up challenges\n" "Created an SSL vhost at /etc/apache2/sites-available/000-default-le-ssl.conf\n" "Enabled Apache socache_shmcb module\n" "Enabled Apache ssl module\n" "Deploying Certificate to VirtualHost /etc/apache2/sites-available/000-default-le-ssl.conf\n" "Enabling available site: /etc/apache2/sites-available/000-default-le-ssl.conf\n" "\n" "Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "1: No redirect - Make no further changes to the webserver configuration.\n" "2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for\n" "new sites, or if you're confident your site works on HTTPS. You can undo this\n" "change by editing your web server's configuration.\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2\n" "\n" "Enabled Apache rewrite module\n" "Redirecting vhost in /etc/apache2/sites-enabled/000-default.conf to ssl vhost in /etc/apache2/sites-available/000-default-le-ssl.conf\n" "\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "Congratulations! You have successfully enabled https://falcot.com\n" "\n" "You should test your configuration at:\n" "https://www.ssllabs.com/ssltest/analyze.html?d=falcot.com\n" "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" "\n" "IMPORTANT NOTES:\n" " - Congratulations! Your certificate and chain have been saved at:\n" " /etc/letsencrypt/live/falcot.com/fullchain.pem\n" " Your key file has been saved at:\n" " /etc/letsencrypt/live/falcot.com/privkey.pem\n" " Your cert will expire on 2022-06-04. To obtain a new or tweaked\n" " version of this certificate in the future, simply run certbot again\n" " with the \"certonly\" option. To non-interactively renew *all* of\n" " your certificates, run \"certbot renew\"\n" " - Your account credentials have been saved in your Certbot\n" " configuration directory at /etc/letsencrypt. You should make a\n" " secure backup of this folder now. This configuration directory will\n" " also contain certificates and private keys obtained by Certbot so\n" " making regular backups of this folder is ideal.\n" " - If you like Certbot, please consider supporting our work by:\n" "\n" " Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate\n" " Donating to EFF: https://eff.org/donate-le\n" "" msgstr "" #, fuzzy #| msgid "CULTURE Private address range" msgid "CULTURE The Let's Encrypt Initiative" msgstr "文化 私有地址范围" #, fuzzy #| msgid "IPsec" msgid "Let's Encrypt" msgstr "互联网安全协议" msgid "The Let's Encrypt initiative is a joint effort to create a free, automated, and open certificate authority (CA), run for the public's benefit. It is supported by the EFF and the Linux Foundation. The initiative provides an automated tool for acquiring and renewing certificates. This reduces the amount of manual effort involved, especially if multiple sites and domains must be managed. The certificates can also be used for SIP, XMPP, WebSockets and TURN servers. Usage of the service requires control over the DNS information of the domain in question (domain validation). " msgstr "" msgid "If you would rather keep the server running during the certificate creation, you can use the webroot plugin to get the certificate with the arguments certonly and --webroot. You would have to specify a --webroot-path (abbreviated -w), which should contain the files served. The command looks as follows:" msgstr "" msgid "# certbot certonly --webroot -w /var/www/html -d www.DOMAIN.com -d DOMAIN.com" msgstr "" msgid "You need to restart all services using the certificates that you have created." msgstr "" #, fuzzy #| msgid "packetIP" msgid "/etc/etc/cron.d/certbot" msgstr "包IP" #, fuzzy #| msgid "tc" msgid "certbot" msgstr "tc" msgid "The certificates created are so called short-life certificates, which are valid for 90 days and must therefor be renewed every once in three months using the certbot renew command. However, we shouldn't renew every certificate manually, but automatically. A basic cron job is included by certbot in /etc/cron.d/certbot. To ensure that certificates can be automatically renewed, you can execute certbot renew --dry-run." msgstr "" msgid "Public Key Infrastructure: easy-rsa" msgstr "公钥基础设施:easy-rsa" #, fuzzy #| msgid "PKI (Public Key Infrastructure)" msgid "PKIPublic Key Infrastructure" msgstr "PKI (公钥基础架构)" msgid "Public Key Infrastructure" msgstr "公钥基础设施" #, fuzzy #| msgid "NAT" msgid "X.509" msgstr "NAT" msgid "easy-rsa" msgstr "easy-rsa" msgid "RSA (algorithm)" msgstr "RSA (算法)" #, fuzzy #| msgid "portTCP" msgid "algorithmRSA" msgstr "端口TCP" msgid "key pair" msgstr "密钥对" #, fuzzy #| msgid "The RSA algorithm is widely used in public-key cryptography. It involves a “key pair”, comprised of a private and a public key. The two keys are closely linked to each other, and their mathematical properties are such that a message encrypted with the public key can only be decrypted by someone knowing the private key, which ensures confidentiality. In the opposite direction, a message encrypted with the private key can be decrypted by anyone knowing the public key, which allows authenticating the origin of a message since only someone with access to the private key could generate it. When associated with a digital hash function (MD5, SHA1, or a more recent variant), this leads to a signature mechanism that can be applied to any message." msgid "It is also possible to create our own CA, for that we will use the RSA algorithm, widely used in public-key cryptography. It involves a “key pair”, comprised of a private and a public key. The two keys are closely linked to each other, and their mathematical properties are such that a message encrypted with the public key can only be decrypted by someone knowing the private key, which ensures confidentiality. In the opposite direction, a message encrypted with the private key can be decrypted by anyone knowing the public key, which allows authenticating the origin of a message since only someone with access to the private key could generate it. When associated with a digital hash function (MD5, SHA1, or a more recent variant), this leads to a signature mechanism that can be applied to any message." msgstr "RSA 算法是使用广泛的公钥加密法。以 “密钥配对” 法比对私钥与公钥。两钥密切连在一起,以公钥演算加密的消息,只能被知道私钥的人解开,以保障其安全。反之亦然,以私钥加密的消息,只能被公钥解开,也就是让拥有私钥的人,可以向指定的社区发出消息。以数字哈希 (MD5、SHA1、或其他) 方式演算,适用于任何签名机制的消息。" #, fuzzy #| msgid "OpenVPN follows this rule. Since public CAs only emit certificates in exchange for a (hefty) fee, it is also possible to create a private certification authority within the company. The easy-rsa package provides tools to serve as an X.509 certification infrastructure, implemented as a set of scripts using the openssl command." msgid "Since public CAs only emit certificates in exchange for a (hefty) fee, it is also possible to create a private certification authority within the company. The easy-rsa package provides tools to serve as an X.509 certification infrastructure, implemented as a set of scripts using the openssl command." msgstr "OpenVPN 遵守此法则。因为公共 CA 放出的认证系用于交换 (巨大) 的费用,可以在公司内部生成专用的认证机制。easy-rsa 软件包可做为 X.509 认证基础建设,应用于 openssl 命令的脚本内。" #, fuzzy #| msgid "CULTURE SSL and TLS" msgid "ALTERNATIVE GnuTLS" msgstr "文化 SSL 和 TLS" #, fuzzy #| msgid "TLS" msgid "DTLS" msgstr "TLS" #, fuzzy #| msgid "TLS" msgid "GnuTLS" msgstr "TLS" msgid "GnuTLS can also be used to generate a CA, and deal with other technologies around the TLS, DTLS and SSL protocols." msgstr "" msgid "The package gnutls-bin contains the command-line utilities. It is also useful to install the gnutls-doc package, which includes extensive documentation." msgstr "" msgid "The Falcot Corp administrators use this tool to create the required certificates, both for the server and the clients. This allows the configuration of all clients to be similar since they will only have to be set up so as to trust certificates coming from Falcot's local CA. This CA is the first certificate to create; to this end, the administrators set up a directory with the files required for the CA in an appropriate location, preferably on a machine not connected to the network in order to mitigate the risk of the CA's private key being stolen." msgstr "Falcot 公司的管理者以此工具添加必要的服务器与客户端认证。可以把所有的客户端配置成类似的状态,因为他们只需信件 Falcot 本地 CA 的认证。此 CA 是率先认证的;为此工作,管理者在适当的地方创建新的文件夹,供 CA 的文件使用,最好放在脱机的地方,杜绝私钥被窃的危险。" msgid "" "\n" "$ make-cadir pki-falcot\n" "$ cd pki-falcot" msgstr "" "\n" "$ make-cadir pki-falcot\n" "$ cd pki-falcot" msgid "They then store the required parameters into the vars file, which can be uncommented and edited:" msgstr "然后它们将所需的参数存储到vars文件中,可以不加注释和编辑:" msgid "" "\n" "$ grep EASYRSA vars\n" "$ vim vars\n" "$ " msgstr "" msgid "Now we prepare the public key infrastructure directory with the following command:" msgstr "" #, fuzzy #| msgid "" #| "\n" #| "$ make-cadir pki-falcot\n" #| "$ cd pki-falcot" msgid "" "\n" "$ ./easyrsa init-pki\n" "\n" "\n" "init-pki complete; you may now create a CA or requests.\n" "Your newly created PKI dir is: /home/debian/pki-falcot/pki\n" "\n" "" msgstr "" "\n" "$ make-cadir pki-falcot\n" "$ cd pki-falcot" msgid "The next step is the creation of the CA's key pair itself (the two parts of the key pair will be stored under pki/ca.crt and pki/private/ca.key during this step). We can add the option nopass to avoid entering a password each time the private key is used:" msgstr "下一步是创建CA本身的密钥对(在这一步中,密钥对的两个部分将存储在pki/ca.crt和pki/private/ca.key下)。我们可以添加选项 nopass 来避免每次使用私钥时输入密码:" #, fuzzy #| msgid "" #| "\n" #| "$ ./build-ca\n" #| "Generating a 2048 bit RSA private key\n" #| "...................................................................+++\n" #| "...+++\n" #| "writing new private key to 'ca.key'\n" #| "-----\n" #| "You are about to be asked to enter information that will be incorporated\n" #| "into your certificate request.\n" #| "What you are about to enter is what is called a Distinguished Name or a DN.\n" #| "There are quite a few fields but you can leave some blank\n" #| "For some fields there will be a default value,\n" #| "If you enter '.', the field will be left blank.\n" #| "-----\n" #| "Country Name (2 letter code) [FR]:\n" #| "State or Province Name (full name) [Loire]:\n" #| "Locality Name (eg, city) [Saint-Étienne]:\n" #| "Organization Name (eg, company) [Falcot Corp]:\n" #| "Organizational Unit Name (eg, section) [Certificate authority]:\n" #| "Common Name (eg, your name or your server's hostname) [Falcot Corp CA]:\n" #| "Name [Certificate authority for Falcot Corp]:\n" #| "Email Address [admin@falcot.com]:\n" #| "" msgid "" "\n" "$ ./easyrsa build-ca nopass\n" "\n" "Using SSL: openssl OpenSSL 1.1.1k 25 Mar 2021\n" "Generating RSA private key, 2048 bit long modulus (2 primes)\n" "..................+++++\n" "...............................+++++\n" "e is 65537 (0x010001)\n" "You are about to be asked to enter information that will be incorporated\n" "into your certificate request.\n" "What you are about to enter is what is called a Distinguished Name or a DN.\n" "There are quite a few fields but you can leave some blank\n" "For some fields there will be a default value,\n" "If you enter '.', the field will be left blank.\n" "-----\n" "Common Name (eg: your user, host, or server name) [Easy-RSA CA]:\n" "\n" "CA creation complete and you may now import and sign cert requests.\n" "Your new CA certificate file for publishing is at:\n" "/home/debian/pki-falcot/pki/ca.crt\n" "\n" "" msgstr "" "\n" "$ ./easyrsa build-ca nopass\n" "\n" "Note: using Easy-RSA configuration from: ./vars\n" "\n" "Using SSL: openssl OpenSSL 1.1.1b 26 Feb 2019\n" "Generating RSA private key, 2048 bit long modulus (2 primes)\n" "......................................................................................+++++\n" "......................+++++\n" "e is 65537 (0x010001)\n" "You are about to be asked to enter information that will be incorporated\n" "into your certificate request.\n" "What you are about to enter is what is called a Distinguished Name or a DN.\n" "There are quite a few fields but you can leave some blank\n" "For some fields there will be a default value,\n" "If you enter '.', the field will be left blank.\n" "-----\n" "Common Name (eg: your user, host, or server name) [Easy-RSA CA]:\n" "\n" "CA creation complete and you may now import and sign cert requests.\n" "Your new CA certificate file for publishing is at:\n" "/home/roland/pki-falcot/pki/ca.crt\n" "\n" "" #, fuzzy #| msgid "iproute" msgid "dh.pem" msgstr "iproute" #, fuzzy #| msgid "The certificate for the VPN server can now be created, as well as the Diffie-Hellman parameters required for the server side of an SSL/TLS connection. The VPN server is identified by its DNS name vpn.falcot.com; this name is re-used for the generated key files (keys/vpn.falcot.com.crt for the public certificate, keys/vpn.falcot.com.key for the private key):" msgid "The certificate can now be created, as well as the Diffie-Hellman parameters required for the server side of an SSL/TLS connection. They want to use it for a VPN server (see section ) that is identified by the DNS name vpn.falcot.com; this name is re-used for the generated key files (keys/vpn.falcot.com.crt for the public certificate, keys/vpn.falcot.com.key for the private key):" msgstr "现在可以创建证书,以及SSL/TLS连接服务器端所需的Diffie-Hellman参数。他们希望将其用于VPN服务器(见节),该服务器由DNS名称vpn.falcot.com识别;该名称被重新用于生成密钥文件(keys/vpn.falcot.com.crt用于公开证书,keys/vpn.falcot.com.keys用于私钥):" msgid "" "\n" "$ ./easyrsa gen-req vpn.falcot.com nopass\n" "\n" "Using SSL: openssl OpenSSL 1.1.1k 25 Mar 2021\n" "Generating a RSA private key\n" "......................................+++++\n" "..........................................................................+++++\n" "writing new private key to '/home/debian/pki-falcot/pki/easy-rsa-5515.0PwyXl/tmp.g1c6u6'\n" "-----\n" "You are about to be asked to enter information that will be incorporated\n" "into your certificate request.\n" "What you are about to enter is what is called a Distinguished Name or a DN.\n" "There are quite a few fields but you can leave some blank\n" "For some fields there will be a default value,\n" "If you enter '.', the field will be left blank.\n" "-----\n" "Common Name (eg: your user, host, or server name) [vpn.falcot.com]:\n" "\n" "Keypair and certificate request completed. Your files are:\n" "req: /home/debian/pki-falcot/pki/reqs/vpn.falcot.com.req\n" "key: /home/debian/pki-falcot/pki/private/vpn.falcot.com.key\n" "\n" "\n" "$ ./easyrsa sign-req server vpn.falcot.com\n" "\n" "Using SSL: openssl OpenSSL 1.1.1k 25 Mar 2021\n" "\n" "\n" "You are about to sign the following certificate.\n" "Please check over the details shown below for accuracy. Note that this request\n" "has not been cryptographically verified. Please be sure it came from a trusted\n" "source or that you have verified the request checksum with the sender.\n" "\n" "Request subject, to be signed as a server certificate for 825 days:\n" "\n" "subject=\n" " commonName = vpn.falcot.com\n" "\n" "\n" "Type the word 'yes' to continue, or any other input to abort.\n" " Confirm request details: yes\n" "Using configuration from /home/debian/pki-falcot/pki/easy-rsa-5603.87iCIa/tmp.u8r8Fj\n" "Check that the request matches the signature\n" "Signature ok\n" "The Subject's Distinguished Name is as follows\n" "commonName :ASN.1 12:'vpn.falcot.com'\n" "Certificate is to be certified until May 27 15:26:29 2024 GMT (825 days)\n" "\n" "Write out database with 1 new entries\n" "Data Base Updated\n" "\n" "Certificate created at: /home/debian/pki-falcot/pki/issued/vpn.falcot.com.crt\n" "\n" "\n" "$ ./easyrsa gen-dh\n" "\n" "Using SSL: openssl OpenSSL 1.1.1k 25 Mar 2021\n" "Generating DH parameters, 2048 bit long safe prime, generator 2\n" "This is going to take a long time\n" "[…]\n" "\n" "DH parameters of size 2048 created at /home/debian/pki-falcot/pki/dh.pem\n" "\n" "" msgstr "" msgid "The following step creates certificates for the VPN clients; one certificate is required for each computer or person allowed to use the VPN:" msgstr "以上的步骤添加 VPN 客户;每个使用 VPN 的电脑或用户都需有个认证:" msgid "" "\n" "$ ./easyrsa build-client-full JoeSmith nopass\n" "\n" "Using SSL: openssl OpenSSL 1.1.1k 25 Mar 2021\n" "Generating a RSA private key\n" "...................................+++++\n" ".........................................................................................+++++\n" "writing new private key to '/home/debian/pki-falcot/pki/easy-rsa-5694.DOYwSn/tmp.RKlbOE'\n" "-----\n" "Using configuration from /home/debian/pki-falcot/pki/easy-rsa-5694.DOYwSn/tmp.d5QHAC\n" "Check that the request matches the signature\n" "Signature ok\n" "The Subject's Distinguished Name is as follows\n" "commonName :ASN.1 12:'JoeSmith'\n" "Certificate is to be certified until May 27 15:29:25 2024 GMT (825 days)\n" "\n" "Write out database with 1 new entries\n" "Data Base Updated\n" "\n" "" msgstr "" msgid "Virtual Private Network" msgstr "虚拟专用网络" msgid "networkvirtual private" msgstr "网络虚拟专用" msgid "VPN" msgstr "VPN" #, fuzzy #| msgid "virtual private network" msgid "virtual private networkVPN" msgstr "虚拟专用网络" #, fuzzy #| msgid "packetIP" msgid "IPIPsec" msgstr "包IP" msgid "A Virtual Private Network (VPN for short) is a way to link two different local networks through the Internet by way of a tunnel; the tunnel is usually encrypted for confidentiality. VPNs are often used to integrate a remote machine within a company's local network." msgstr "虚拟专用网络 (VPN) 是以信道方式,经由互联网链接两个局域网路的方式;通常以加密方式在信道内发送信息。VPN 通常用于集成公司内部远程机器。" #, fuzzy #| msgid "Several tools provide this. OpenVPN is an efficient solution, easy to deploy and maintain, based on SSL/TLS. Another possibility is using IPsec to encrypt IP traffic between two machines; this encryption is transparent, which means that applications running on these hosts need not be modified to take the VPN into account. SSH can also be used to provide a VPN, in addition to its more conventional features. Finally, a VPN can be established using Microsoft's PPTP protocol. Other solutions exist, but are beyond the focus of this book." msgid "Several tools provide this functionality. OpenVPN is an efficient solution, easy to deploy and maintain, based on SSL/TLS. Another possibility is using IPsec to encrypt IP traffic between two machines; this encryption is transparent, which means that applications running on these hosts need not be modified to take the VPN into account. SSH can also be used to provide a VPN, in addition to its more conventional features. Finally, a VPN can be established using Microsoft's PPTP protocol. Other solutions exist, but are beyond the focus of this book." msgstr "好几个工具提供这种服务。OpenVPN 是个有效率解决方案,基于 SSL/TLS,容易布署与维护。以 IPsec 加密两部机器的 IP 流量;这是透明的编码,在该等主机运行应用程序时不需修改 VPN。SSH 在传统的功能外,也能提供 VPN。最后,可以用微软的 PPTP 协议创建 VPN。其他的解决方案,就留给读者自行探索。" msgid "OpenVPN" msgstr "OpenVPN" msgid "OpenVPN" msgstr "OpenVPN" #, fuzzy #| msgid "portTCP" msgid "VPNOpenVPN" msgstr "端口TCP" #, fuzzy #| msgid "networkvirtual private" msgid "networktun interface" msgstr "网络虚拟专用" #, fuzzy #| msgid "networkvirtual private" msgid "networktap interface" msgstr "网络虚拟专用" msgid "OpenVPN is a piece of software dedicated to creating virtual private networks. Its setup involves creating virtual network interfaces on the VPN server and on the client(s); both tun (for IP-level tunnels) and tap (for Ethernet-level tunnels) interfaces are supported. In practice, tun interfaces will most often be used except when the VPN clients are meant to be integrated into the server's local network by way of an Ethernet bridge." msgstr "OpenVPN 用于创建虚拟专用网络的一个软件。在 VPN 服务器及客户端创建虚拟专用网络;支持 tun (IP 层面的信道) 和 tap (Ethernet 层面的信道) 接口。实务上,常用的是 tun 接口,除非 VPN 客户端难以经由 Ethernet 桥接器集成入服务器的局域网路。" msgid "OpenVPN relies on OpenSSL for all the SSL/TLS cryptography and associated features (confidentiality, authentication, integrity, non-repudiation). It can be configured either with a shared private key or using X.509 certificates based on a public key infrastructure. The latter configuration is strongly preferred since it allows greater flexibility when faced with a growing number of roaming users accessing the VPN." msgstr "OpenVPN 所有的 SSL/TLS 加密与其他功能 (机密性、认证、完整性、不可否认性),均有赖于 OpenSSL。可以用公钥基础设施的共享私钥或使用 X.509 认证的方式配置它。建议使用后者的方式配置,以漫游方式近用 VPN 的用户可享有更多的弹性。" msgid "Configuring the OpenVPN Server" msgstr "配置 OpenVPN 服务器" #, fuzzy #| msgid "packetIP" msgid "OpenVPNserver" msgstr "包IP" #, fuzzy #| msgid "Now all certificates have been created, they need to be copied where appropriate: the root certificate's public key (keys/ca.crt) will be stored on all machines (both server and clients) as /etc/ssl/certs/Falcot_CA.crt. The server's certificate is installed only on the server (keys/vpn.falcot.com.crt goes to /etc/ssl/vpn.falcot.com.crt, and keys/vpn.falcot.com.key goes to /etc/ssl/private/vpn.falcot.com.key with restricted permissions so that only the administrator can read it), with the corresponding Diffie-Hellman parameters (keys/dh2048.pem) installed to /etc/openvpn/dh2048.pem. Client certificates are installed on the corresponding VPN client in a similar fashion." msgid "After all certificates have been created (follow the instructions from ), they need to be copied where appropriate: the root certificate's public key (pki/ca.crt) will be stored on all machines (both server and clients) as /etc/ssl/certs/Falcot_CA.crt. The server's certificate is installed only on the server (pki/issued/vpn.falcot.com.crt goes to /etc/ssl/certs/vpn.falcot.com.crt, and pki/private/vpn.falcot.com.key goes to /etc/ssl/private/vpn.falcot.com.key with restricted permissions so that only the administrator can read it), with the corresponding Diffie-Hellman parameters (pki/dh.pem) installed to /etc/openvpn/dh.pem. Client certificates are installed on the corresponding VPN client in a similar fashion." msgstr "新的认证建好后,需复制至适当的地方:超级用户公钥 (keys/ca.crt) 保存在所有机器 (服务器与客户端) 的 /etc/ssl/certs/Falcot_CA.crt。服务器的认证仅安装在服务器 (keys/vpn.falcot.com.crt 的 /etc/ssl/vpn.falcot.com.crt,以及 keys/vpn.falcot.com.key 在 /etc/ssl/private/vpn.falcot.com.key 限制其权限为管理者才能读取),对应至 Diffie-Hellman 参数 (keys/dh2048.pem) 安装在 /etc/openvpn/dh2048.pem。客户端认证则类似的方式,安装在对应的 VPN 各户端。" #, fuzzy #| msgid "certificateX.509" msgid "/etc/etc/ssl/" msgstr "认证X.509" #, fuzzy #| msgid "certificateX.509" msgid "/etc/etc/openvpn/dh.pem" msgstr "认证X.509" #, fuzzy #| msgid "trafficcontrol" msgid "/etc/etc/openvpn/*.conf" msgstr "流量控制" #, fuzzy #| msgid "By default, the OpenVPN initialization script tries starting all virtual private networks defined in /etc/openvpn/*.conf. Setting up a VPN server is therefore a matter of storing a corresponding configuration file in this directory. A good starting point is /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz, which leads to a rather standard server. Of course, some parameters need to be adapted: ca, cert, key and dh need to describe the selected locations (respectively, /etc/ssl/certs/Falcot_CA.crt, /etc/ssl/vpn.falcot.com.crt, /etc/ssl/private/vpn.falcot.com.key and /etc/openvpn/dh2048.pem). The server 10.8.0.0 255.255.255.0 directive defines the subnet to be used by the VPN; the server uses the first IP address in that range (10.8.0.1) and the rest of the addresses are allocated to clients." msgid "By default, the OpenVPN initialization script tries starting all virtual private networks defined in /etc/openvpn/*.conf. Setting up a VPN server is therefore a matter of storing a corresponding configuration file in this directory. A good starting point is /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz, which leads to a rather standard server. Of course, some parameters need to be adapted: ca, cert, key and dh need to describe the selected locations (respectively, /etc/ssl/certs/Falcot_CA.crt, /etc/ssl/vpn.falcot.com.crt, /etc/ssl/private/vpn.falcot.com.key and /etc/openvpn/dh.pem). The server 10.8.0.0 255.255.255.0 directive defines the subnet to be used by the VPN; the server uses the first IP address in that range (10.8.0.1) and the rest of the addresses are allocated to clients." msgstr "缺省,OpenVPN 初始化的脚本在 /etc/openvpn/*.conf 启动所有虚拟专用网络。设置 VPN 服务器就是在此文件夹保存对应的配置档。/usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz 是个好的起点,创建相当标准服务器。当然,还有若干参数需要调整:ca、cert、key 和 dh 需指定其地点 (分别是 /etc/ssl/certs/Falcot_CA.crt、/etc/ssl/vpn.falcot.com.crt、/etc/ssl/private/vpn.falcot.com.key 和 /etc/openvpn/dh2048.pem)。server 10.8.0.0 255.255.255.0 设置 VPN 的次网络;此服务器使用此范围内的第一个 IP 地址 (10.8.0.1) 然后把其他的地址保留给客户端。" #, fuzzy #| msgid "trafficcontrol" msgid "/etc/etc/network/interfaces" msgstr "流量控制" #, fuzzy #| msgid "networkvirtual private" msgid "networkvirtual interface" msgstr "网络虚拟专用" #, fuzzy #| msgid "packetIP" msgid "OpenVPNnetwork interface" msgstr "包IP" #, fuzzy #| msgid "With this configuration, starting OpenVPN creates the virtual network interface, usually under the tun0 name. However, firewalls are often configured at the same time as the real network interfaces, which happens before OpenVPN starts. Good practice therefore recommends creating a persistent virtual network interface, and configuring OpenVPN to use this pre-existing interface. This further allows choosing the name for this interface. To this end, openvpn --mktun --dev vpn --dev-type tun creates a virtual network interface named vpn with type tun; this command can easily be integrated in the firewall configuration script, or in an up directive of the /etc/network/interfaces file. The OpenVPN configuration file must also be updated accordingly, with the dev vpn and dev-type tun directives." msgid "With this configuration, starting OpenVPN creates the virtual network interface, usually under the tun0 name. However, firewalls are often configured at the same time as the real network interfaces, which happens before OpenVPN starts. Good practice therefore recommends creating a persistent virtual network interface, and configuring OpenVPN to use this pre-existing interface. This further allows choosing the name for this interface. To this end, openvpn --mktun --dev vpn --dev-type tun creates a virtual network interface named vpn with type tun; this command can easily be integrated in the firewall configuration script, or in an up directive of the /etc/network/interfaces file, or a udev rule can be added to that end. The OpenVPN configuration file must also be updated accordingly, with the dev vpn and dev-type tun directives." msgstr "在这种配置下,通常以 tun0 之名,添加 OpenVPN 的虚拟网络接口。然而,有时在启动 OpenVPN 前,把防火墙配置成真实的网络接口。最好固定添加的虚拟网络接口,OpenVPN 使用预存的接口。进一步选择接口的名称。到了这个阶段,openvpn --mktun --dev vpn --dev-type tun 添加一个虚拟网络接口名称为 vpn 型态为 tun;这个命令可以集成入防火墙配置脚本,或 up 指向 /etc/network/interfaces 文件。OpenVPN 配置档必须跟着更新,直接使用 dev vpn 和 dev-type tun。" #, fuzzy #| msgid "packetIP" msgid "OpenVPNpush route" msgstr "包IP" msgid "Barring further action, VPN clients can only access the VPN server itself by way of the 10.8.0.1 address. Granting the clients access to the local network (192.168.0.0/24), requires adding a push route 192.168.0.0 255.255.255.0 directive to the OpenVPN configuration so that VPN clients automatically get a network route telling them that this network is reachable by way of the VPN. Furthermore, machines on the local network also need to be informed that the route to the VPN goes through the VPN server (this automatically works when the VPN server is installed on the gateway). Alternatively, the VPN server can be configured to perform IP masquerading so that connections coming from VPN clients appear as if they are coming from the VPN server instead (see )." msgstr "禁止进一步的行动,VPN 客户端只能经由 10.8.0.1 地址近用 VPN 服务器。为了授权客户近用本地网络 (192.168.0.0/24),需在 OpenVPN 配置中加入 推送路径 192.168.0.0 255.255.255.0,让 VPN 客户端自动取得网络路由,使其明了经由 VPN 可以进入该网络。此外,本地网络的机器也需被告知,经由 VPN 服务器 (在闸道安装 VPN 服务器即自动启用) 进入VPN。另外,VPN 服务器可以配置后运行伪装 IP 的工作,让来自 VPN 客户端的消息显示成来自 VPN 服务器 (见 )。" msgid "Configuring the OpenVPN Client" msgstr "配置 OpenVPN 客户端" #, fuzzy #| msgid "packetIP" msgid "OpenVPNclient" msgstr "包IP" msgid "Setting up an OpenVPN client also requires creating a configuration file in /etc/openvpn/. A standard configuration can be obtained by using /usr/share/doc/openvpn/examples/sample-config-files/client.conf as a starting point. The remote vpn.falcot.com 1194 directive describes the address and port of the OpenVPN server; the ca, cert and key also need to be adapted to describe the locations of the key files." msgstr "需配置 /etc/openvpn/ 内的文件才能设置 OpenVPN 客户端。标准的配置方法可从使用 /usr/share/doc/openvpn/examples/sample-config-files/client.conf 这个文件开始。remote vpn.falcot.com 1194 介绍 OpenVPN 服务器的地址及端口号;描述密钥文档地址时,需参考 ca、cert 和 key。" #, fuzzy #| msgid "networkvirtual private" msgid "OpenVPNAUTOSTART" msgstr "网络虚拟专用" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/default/openvpn" msgstr "流量限制" #, fuzzy #| msgid "servicequality" msgid "serviceopenvpn@.service" msgstr "服务品质" #, fuzzy #| msgid "If the VPN should not be started automatically on boot, set the AUTOSTART directive to none in the /etc/default/openvpn file. Starting or stopping a given VPN connection is always possible with the commands service openvpn@name start and service openvpn@name stop (where the connection name matches the one defined in /etc/openvpn/name.conf)." msgid "If the VPN should not be started automatically on boot, set the AUTOSTART directive to none in the /etc/default/openvpn file. Starting or stopping a given VPN connection is always possible with the commands systemctl start openvpn@name and systemctl stop openvpn@name (where the connection name matches the one defined in /etc/openvpn/name.conf)." msgstr "若开机时无法自动进入 VPN,则需设置 AUTOSTART 为 none 于 /etc/default/openvpn 文件内。以命令 service openvpn@name start 和 service openvpn@name stop (其中的 name 就是在 /etc/openvpn/name.conf 中设置的名称) 就能启用或停用指定的 VPN 链接。" #, fuzzy #| msgid "Apachecertbot" msgid "OpenVPNnetwork-manager-openvpn-gnome" msgstr "Apachecertbot" #, fuzzy #| msgid "The network-manager-openvpn-gnome package contains an extension to Network Manager (see ) that allows managing OpenVPN virtual private networks. This allows every user to configure OpenVPN connections graphically and to control them from the network management icon. network-manager-openvpn-gnome" msgid "The network-manager-openvpn-gnome package contains an extension to Network Manager (see ) that allows managing OpenVPN virtual private networks. This allows every user to configure OpenVPN connections graphically and to control them from the network management icon." msgstr "此 network-manager-openvpn-gnome 软件包包括允许管理 OpenVPN 虚拟专属网络的延伸网络管理者 (见 )。允许每个用户以图形接口配置 OpenVPN 且从网络管理图标控制它们。 network-manager-openvpn-gnome" #, fuzzy #| msgid "pptp-linux" msgid "network-manager-openvpn-gnome" msgstr "pptp-linux" msgid "Virtual Private Network with SSH" msgstr "SSH 下的虚拟专属网络" #, fuzzy #| msgid "portTCP" msgid "SSHVPN" msgstr "端口TCP" msgid "PPP" msgstr "PPP" #, fuzzy #| msgid "There are actually two ways of creating a virtual private network with SSH. The historic one involves establishing a PPP layer over the SSH link. This method is described in a HOWTO document: " msgid "There are actually two ways of creating a virtual private network with SSH. The historic one involves establishing a PPP layer over the SSH link. This method is described in a HOWTO document: " msgstr "实际上有两种方法以 SSH 添加虚拟专属网络。较旧的是以 SSH 创建 PPP 层链接。此方法在 HOWTO 文档详细说明:" #, fuzzy #| msgid "networkvirtual private" msgid "SSHPermitTunnel" msgstr "网络虚拟专用" #, fuzzy #| msgid "packetIP" msgid "/etc/etc/ssh/sshd_config" msgstr "包IP" msgid "The second method is more recent, and was introduced with OpenSSH 4.3; it is now possible for OpenSSH to create virtual network interfaces (tun*) on both sides of an SSH connection, and these virtual interfaces can be configured exactly as if they were physical interfaces. The tunneling system must first be enabled by setting PermitTunnel to “yes” in the SSH server configuration file (/etc/ssh/sshd_config). When establishing the SSH connection, the creation of a tunnel must be explicitly requested with the -w any:any option (any can be replaced with the desired tun device number). This requires the user to have administrator privilege on both sides, so as to be able to create the network device (in other words, the connection must be established as root)." msgstr "第二个方法较新,适用于 OpenSSH 4.3;可以在 OpenSSH 之下创建虚拟网络接口 (tun*) 于 SSH 链接的两端,且可以精准地配置这些虚拟接口,就像在实体接口环境下。必须先设置 PermitTunnel 为 “yes” 于 SSH 服务器配置档 (/etc/ssh/sshd_config),才能启用此隧道系统。启用 SSH 链接后,添加的隧道必须以 -w any:any 选项 (any 可以用期望的 tun 设备名称取代) 请求链接。两端的用户需有管理者权限,才能添加网络设备 (换句话说,必须以超级用户的身份才能创建链接)。" msgid "Both methods for creating a virtual private network over SSH are quite straightforward. However, the VPN they provide is not the most efficient available; in particular, it does not handle high levels of traffic very well." msgstr "以 SSH 创建虚拟专属网络的两种方法都很直接。然而,它们提供的 VPN 不是最有效的;特别是,无法有效处理高端的流量。" #, fuzzy #| msgid "The explanation is that when a TCP/IP stack is encapsulated within a TCP/IP connection (for SSH), the TCP protocol is used twice, once for the SSH connection and once within the tunnel. This leads to problems, especially due to the way TCP adapts to network conditions by altering timeout delays. The following site describes the problem in more detail: VPNs over SSH should therefore be restricted to one-off tunnels with no performance constraints." msgid "The explanation is that when a TCP/IP stack is encapsulated within a TCP/IP connection (for SSH), the TCP protocol is used twice, once for the SSH connection and once within the tunnel. This leads to problems, especially due to the way TCP adapts to network conditions by altering timeout delays. The following site describes the problem in more detail: " msgstr "解释是,当TCP/IP协议栈被封装在TCP/IP连接中(用于SSH)时,TCP协议被使用两次,一次用于SSH连接,一次用于隧道内。这导致了问题,特别是由于TCP通过改变超时延迟来适应网络条件的方式。下面的网站更详细地描述了这个问题:" msgid "VPNs over SSH should therefore be restricted to one-off tunnels with no performance constraints." msgstr "" msgid "IPsec" msgstr "互联网安全协议" msgid "IPsec" msgstr "互联网安全协议" #, fuzzy #| msgid "protocolESP" msgid "Internet Protocol SecurityIPsec" msgstr "协议ESP" #, fuzzy #| msgid "strongswan" msgid "libreswan" msgstr "strongswan" msgid "strongswan" msgstr "strongswan" msgid "IPsec, despite being the standard in IP VPNs, is rather more involved in its implementation. The IPsec engine itself is integrated in the Linux kernel; the required user-space parts, the control and configuration tools, are provided by the libreswan package or the strongswan package. Here we describe briefly the first of these options." msgstr "" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/ipsec.conf" msgstr "流量限制" #, fuzzy #| msgid "servicequality" msgid "IPsectunnel" msgstr "服务品质" msgid "First, we install the libreswan package. In concrete terms, each host's /etc/ipsec.conf contains the parameters for IPsec tunnels (or Security Associations, in the IPsec terminology) that the host is concerned with. There are many configuration examples in /usr/share/doc/libreswan/, but Libreswan's online documentation has more examples with explanations: " msgstr "" #, fuzzy #| msgid "servicequality" msgid "serviceipsec.service" msgstr "服务品质" msgid "The IPsec service can be controlled with systemctl; for example, systemctl start ipsec will start the IPsec service." msgstr "" msgid "IKE" msgstr "IKE" #, fuzzy #| msgid "IPsec" msgid "IPsec Key ExchangeIKE" msgstr "互联网安全协议" #, fuzzy #| msgid "IPsecIPsec Key Exchange" msgid "IPsecIPsec Key ExchangeIKE" msgstr "IPsecIPsec Key Exchange" msgid "setkey" msgstr "setkey" msgid "In spite of its status as the reference, the complexity of setting up IPsec restricts its usage in practice. OpenVPN-based solutions will generally be preferred when the required tunnels are neither too many nor too dynamic." msgstr "仅管其状态为参照,IPsec 的设置限制其用途。必备的信道不多也不是动态时,OpenVPN-based 解决方案较受用。" msgid "CAUTION IPsec and NAT" msgstr "注意 IPsec 与 NAT" msgid "NAT" msgstr "NAT" msgid "NAT-T" msgstr "NAT-T" #, fuzzy #| msgid "NAT Traversal" msgid "NAT TraversalNAT-T" msgstr "NAT Traversal" msgid "NATing firewalls and IPsec do not work well together: since IPsec signs the packets, any change on these packets that the firewall might perform will void the signature, and the packets will be rejected at their destination. Various IPsec implementations now include the NAT-T technique (for NAT Traversal), which basically encapsulates the IPsec packet within a standard UDP packet." msgstr "NAT 的防火墙与 IPsec 无法并用:因为 IPsec 是软件包,任何改变将引发防火墙的作用,软件包就会被拒绝。不同的 IPsec 应用包括:NAT-T 技术 (给 NAT Traversal),把 IPsec 软件包包装在标准的 UDP 封包内。" msgid "SECURITY IPsec and firewalls" msgstr "安全 IPsec 与防火墙" msgid "ESP, protocol" msgstr "ESP,协议" msgid "AH, protocol" msgstr "AH,协议" msgid "protocolAH" msgstr "协议AH" msgid "protocolESP" msgstr "协议ESP" msgid "The standard mode of operation of IPsec involves data exchanges on UDP port 500 for key exchanges (also on UDP port 4500 in the case that NAT-T is in use). Moreover, IPsec packets use two dedicated IP protocols that the firewall must let through; reception of these packets is based on their protocol numbers, 50 (ESP) and 51 (AH)." msgstr "IPsec 的标准操作模式在 UDP 端口号 500 做键值交换 (使用 NAT-T 时,也可在 UDP 端口号 4500)。而且,IPsec 封包使用两个固定的 IP 协议允许防火墙通过;收到这些封包的基础是其协议编号,50 (ESP) 与 51 (AH)。" msgid "PPTP" msgstr "PPTP" msgid "PPTP" msgstr "PPTP" msgid "GRE, protocol" msgstr "GRE,协议" msgid "protocolGRE" msgstr "协议GRE" msgid "PPTP (for Point-to-Point Tunneling Protocol) uses two communication channels, one for control data and one for payload data; the latter uses the GRE protocol (Generic Routing Encapsulation). A standard PPP link is then set up over the data exchange channel." msgstr "PPTP (𪅈原文是 Point-to-Point Tunneling Protocol) 用到两种通信闸道,一个控制数据另个酬载数据;后者使用 GRE 协议 (Generic Routing Encapsulation)。标准的 PPP 链接创建在数据交换闸道。" msgid "Configuring the Client" msgstr "配置客户端" #, fuzzy #| msgid "portTCP" msgid "PPTPClient" msgstr "端口TCP" msgid "pptp-linux" msgstr "pptp-linux" msgid "The pptp-linux package contains an easily-configured PPTP client for Linux. The following instructions take their inspiration from the official documentation: " msgstr "此 pptp-linux 封包含有易于配置的 Linux 客户端 PPTP。以下说明取自官方文档:" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/ppp/" msgstr "流量限制" msgid "The Falcot administrators created several files: /etc/ppp/options.pptp, /etc/ppp/peers/falcot, /etc/ppp/ip-up.d/falcot, and /etc/ppp/ip-down.d/falcot." msgstr "Falcot 管理者添加若干文件:/etc/ppp/options.pptp、/etc/ppp/peers/falcot、/etc/ppp/ip-up.d/falcot、与 /etc/ppp/ip-down.d/falcot。" msgid "The /etc/ppp/options.pptp file" msgstr "/etc/ppp/options.pptp 文件" msgid "" "\n" "# PPP options used for a PPTP connection\n" "lock\n" "noauth\n" "nobsdcomp\n" "nodeflate" msgstr "" "\n" "# PPP options used for a PPTP connection\n" "lock\n" "noauth\n" "nobsdcomp\n" "nodeflate" msgid "The /etc/ppp/peers/falcot file" msgstr "/etc/ppp/peers/falcot 文件" msgid "" "\n" "# vpn.falcot.com is the PPTP server\n" "pty \"pptp vpn.falcot.com --nolaunchpppd\"\n" "# the connection will identify as the \"vpn\" user\n" "user vpn\n" "remotename pptp\n" "# encryption is needed\n" "require-mppe-128\n" "file /etc/ppp/options.pptp\n" "ipparam falcot" msgstr "" "\n" "# vpn.falcot.com is the PPTP server\n" "pty \"pptp vpn.falcot.com --nolaunchpppd\"\n" "# the connection will identify as the \"vpn\" user\n" "user vpn\n" "remotename pptp\n" "# encryption is needed\n" "require-mppe-128\n" "file /etc/ppp/options.pptp\n" "ipparam falcot" msgid "The /etc/ppp/ip-up.d/falcot file" msgstr "/etc/ppp/ip-up.d/falcot 文件" #, fuzzy #| msgid "" #| "\n" #| "# Create the route to the Falcot network\n" #| "if [ \"$6\" = \"falcot\" ]; then\n" #| " # 192.168.0.0/24 is the (remote) Falcot network\n" #| " route add -net 192.168.0.0 netmask 255.255.255.0 dev $1\n" #| "fi" msgid "" "\n" "# Create the route to the Falcot network\n" "if [ \"$6\" = \"falcot\" ]; then\n" " # 192.168.0.0/24 is the (remote) Falcot network\n" " ip route add 192.168.0.0/24 dev $1\n" "fi" msgstr "" "\n" "# Create the route to the Falcot network\n" "if [ \"$6\" = \"falcot\" ]; then\n" " # 192.168.0.0/24 is the (remote) Falcot network\n" " ip route add 192.168.0.0/24 dev $1\n" "fi" msgid "The /etc/ppp/ip-down.d/falcot file" msgstr "/etc/ppp/ip-down.d/falcot 文件" #, fuzzy #| msgid "" #| "\n" #| "# Delete the route to the Falcot network\n" #| "if [ \"$6\" = \"falcot\" ]; then\n" #| " # 192.168.0.0/24 is the (remote) Falcot network\n" #| " route del -net 192.168.0.0 netmask 255.255.255.0 dev $1\n" #| "fi" msgid "" "\n" "# Delete the route to the Falcot network\n" "if [ \"$6\" = \"falcot\" ]; then\n" " # 192.168.0.0/24 is the (remote) Falcot network\n" " ip route del 192.168.0.0/24 dev $1\n" "fi" msgstr "" "\n" "# Delete the route to the Falcot network\n" "if [ \"$6\" = \"falcot\" ]; then\n" " # 192.168.0.0/24 is the (remote) Falcot network\n" " ip route del 192.168.0.0/24 dev $1\n" "fi" msgid "SECURITY MPPE" msgstr "安全 MPPE" msgid "MPPE" msgstr "MPPE" #, fuzzy #| msgid "MicrosoftPoint-to-Point Encryption" msgid "MicrosoftPoint-to-Point EncryptionMPPE" msgstr "MicrosoftPoint-to-Point Encryption" msgid "Securing PPTP involves using the MPPE feature (Microsoft Point-to-Point Encryption), which is available in official Debian kernels as a module." msgstr "加密的 PPTP 涉及使用 MPPE 功能 (Microsoft Point-to-Point Encryption),可从 Debian 官方的核心取得模块。" msgid "Configuring the Server" msgstr "配置服务器" #, fuzzy #| msgid "tc" msgid "pptpd" msgstr "tc" msgid "CAUTION PPTP and firewalls" msgstr "注意 PPTP 与防火墙" msgid "Intermediate firewalls need to be configured to let through IP packets using protocol 47 (GRE). Moreover, the PPTP server's port 1723 needs to be open so that the communication channel can happen." msgstr "需配置中间防火墙让 IP 封包使用端口号 47 (GRE)。此外,需打开 PPTP 服务器的端口号 1723以使用通信闸道。" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/pptpd.conf" msgstr "流量限制" msgid "pptpd is the PPTP server for Linux. Its main configuration file, /etc/pptpd.conf, requires very few changes: localip (local IP address) and remoteip (remote IP address). In the example below, the PPTP server always uses the 192.168.0.199 address, and PPTP clients receive IP addresses from 192.168.0.200 to 192.168.0.250." msgstr "pptpd 是 Linux 的 PPTP 服务器。它的主要配置档是,/etc/pptpd.conf,应做若干改变:localip (内网 IP 地址) 与 remoteip (外网 IP 地址)。在下例中,PPTP 服务器总是使用 192.168.0.199 地址,以及从 192.168.0.200 至 192.168.0.250 之间接收 PPTP 客户端的 IP 地址。" msgid "The /etc/pptpd.conf file" msgstr "/etc/pptpd.conf 文件" #, fuzzy #| msgid "" #| "\n" #| "# TAG: speed\n" #| "#\n" #| "# Specifies the speed for the PPP daemon to talk at.\n" #| "#\n" #| "speed 115200\n" #| "\n" #| "# TAG: option\n" #| "#\n" #| "# Specifies the location of the PPP options file.\n" #| "# By default PPP looks in '/etc/ppp/options'\n" #| "#\n" #| "option /etc/ppp/pptpd-options\n" #| "\n" #| "# TAG: debug\n" #| "#\n" #| "# Turns on (more) debugging to syslog\n" #| "#\n" #| "# debug\n" #| "\n" #| "# TAG: localip\n" #| "# TAG: remoteip\n" #| "#\n" #| "# Specifies the local and remote IP address ranges.\n" #| "#\n" #| "# You can specify single IP addresses separated by commas or you can\n" #| "# specify ranges, or both. For example:\n" #| "#\n" #| "# 192.168.0.234,192.168.0.245-249,192.168.0.254\n" #| "#\n" #| "# IMPORTANT RESTRICTIONS:\n" #| "#\n" #| "# 1. No spaces are permitted between commas or within addresses.\n" #| "#\n" #| "# 2. If you give more IP addresses than MAX_CONNECTIONS, it will\n" #| "# start at the beginning of the list and go until it gets\n" #| "# MAX_CONNECTIONS IPs. Others will be ignored.\n" #| "#\n" #| "# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,\n" #| "# you must type 234-238 if you mean this.\n" #| "#\n" #| "# 4. If you give a single localIP, that's ok - all local IPs will\n" #| "# be set to the given one. You MUST still give at least one remote\n" #| "# IP for each simultaneous client.\n" #| "#\n" #| "#localip 192.168.0.234-238,192.168.0.245\n" #| "#remoteip 192.168.1.234-238,192.168.1.245\n" #| "#localip 10.0.1.1\n" #| "#remoteip 10.0.1.2-100\n" #| "localip 192.168.0.199\n" #| "remoteip 192.168.0.200-250" msgid "" "\n" "[..]\n" "# TAG: localip\n" "# TAG: remoteip\n" "# Specifies the local and remote IP address ranges.\n" "#\n" "# These options are ignored if delegate option is set.\n" "#\n" "# Any addresses work as long as the local machine takes care of the\n" "# routing. But if you want to use MS-Windows networking, you should\n" "# use IP addresses out of the LAN address space and use the proxyarp\n" "# option in the pppd options file, or run bcrelay.\n" "#\n" "# You can specify single IP addresses seperated by commas or you can\n" "# specify ranges, or both. For example:\n" "#\n" "# 192.168.0.234,192.168.0.245-249,192.168.0.254\n" "#\n" "# IMPORTANT RESTRICTIONS:\n" "#\n" "# 1. No spaces are permitted between commas or within addresses.\n" "#\n" "# 2. If you give more IP addresses than the value of connections,\n" "# it will start at the beginning of the list and go until it\n" "# gets connections IPs. Others will be ignored.\n" "#\n" "# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,\n" "# you must type 234-238 if you mean this.\n" "#\n" "# 4. If you give a single localIP, that's ok - all local IPs will\n" "# be set to the given one. You MUST still give at least one remote\n" "# IP for each simultaneous client.\n" "#\n" "# (Recommended)\n" "#localip 192.168.0.1\n" "#remoteip 192.168.0.234-238,192.168.0.245\n" "# or\n" "#localip 192.168.0.234-238,192.168.0.245\n" "#remoteip 192.168.1.234-238,192.168.1.245\n" "localip 192.168.0.199\n" "remoteip 192.168.0.200-250" msgstr "" "\n" "# TAG: speed\n" "#\n" "# Specifies the speed for the PPP daemon to talk at.\n" "#\n" "speed 115200\n" "\n" "# TAG: option\n" "#\n" "# Specifies the location of the PPP options file.\n" "# By default PPP looks in '/etc/ppp/options'\n" "#\n" "option /etc/ppp/pptpd-options\n" "\n" "# TAG: debug\n" "#\n" "# Turns on (more) debugging to syslog\n" "#\n" "# debug\n" "\n" "# TAG: localip\n" "# TAG: remoteip\n" "#\n" "# Specifies the local and remote IP address ranges.\n" "#\n" "# You can specify single IP addresses separated by commas or you can\n" "# specify ranges, or both. For example:\n" "#\n" "# 192.168.0.234,192.168.0.245-249,192.168.0.254\n" "#\n" "# IMPORTANT RESTRICTIONS:\n" "#\n" "# 1. No spaces are permitted between commas or within addresses.\n" "#\n" "# 2. If you give more IP addresses than MAX_CONNECTIONS, it will\n" "# start at the beginning of the list and go until it gets\n" "# MAX_CONNECTIONS IPs. Others will be ignored.\n" "#\n" "# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,\n" "# you must type 234-238 if you mean this.\n" "#\n" "# 4. If you give a single localIP, that's ok - all local IPs will\n" "# be set to the given one. You MUST still give at least one remote\n" "# IP for each simultaneous client.\n" "#\n" "#localip 192.168.0.234-238,192.168.0.245\n" "#remoteip 192.168.1.234-238,192.168.1.245\n" "#localip 10.0.1.1\n" "#remoteip 10.0.1.2-100\n" "localip 192.168.0.199\n" "remoteip 192.168.0.200-250" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/ppp/pptpd-options" msgstr "流量限制" msgid "The PPP configuration used by the PPTP server also requires a few changes in /etc/ppp/pptpd-options. The important parameters are the server name (pptp), the domain name (falcot.com), and the IP addresses for DNS and WINS servers." msgstr "PPP 采用 PPTP 服务器配置时也需在 /etc/ppp/pptpd-options 做若干改变。 重要的参数有服务器名称 (pptp)、网域名称 (falcot.com)、以及 DNS 与 WINS 服务器的 IP 地址。" msgid "The /etc/ppp/pptpd-options file" msgstr "/etc/ppp/pptpd-options 文件" #, fuzzy #| msgid "" #| "\n" #| "## turn pppd syslog debugging on\n" #| "#debug\n" #| "\n" #| "## change 'servername' to whatever you specify as your server name in chap-secrets\n" #| "name pptp\n" #| "## change the domainname to your local domain\n" #| "domain falcot.com\n" #| "\n" #| "## these are reasonable defaults for WinXXXX clients\n" #| "## for the security related settings\n" #| "# The Debian pppd package now supports both MSCHAP and MPPE, so enable them\n" #| "# here. Please note that the kernel support for MPPE must also be present!\n" #| "auth\n" #| "require-chap\n" #| "require-mschap\n" #| "require-mschap-v2\n" #| "require-mppe-128\n" #| "\n" #| "## Fill in your addresses\n" #| "ms-dns 192.168.0.1\n" #| "ms-wins 192.168.0.1\n" #| "\n" #| "## Fill in your netmask\n" #| "netmask 255.255.255.0\n" #| "\n" #| "## some defaults\n" #| "nodefaultroute\n" #| "proxyarp\n" #| "lock" msgid "" "\n" "# Enable connection debugging facilities.\n" "# (see your syslog configuration for where pppd sends to)\n" "#debug\n" "\n" "# Name of the local system for authentication purposes\n" "# (must match the second field in /etc/ppp/chap-secrets entries)\n" "name pptpd\n" "\n" "# Optional: domain name to use for authentication\n" "## change the domainname to your local domain\n" "domain falcot.com\n" "\n" "# Authentication\n" "## these are reasonable defaults for WinXXXX clients\n" "## for the security related settings\n" "auth\n" "refuse-pap\n" "refuse-chap\n" "refuse-mschap\n" "# Require the peer to authenticate itself using MS-CHAPv2 [Microsoft\n" "# Challenge Handshake Authentication Protocol, Version 2] authentication.\n" "require-mschap-v2\n" "# Require MPPE 128-bit encryption\n" "# (note that MPPE requires the use of MSCHAP-V2 during authentication)\n" "require-mppe-128\n" "\n" "# Network and Routing\n" "## Fill in your addresses\n" "ms-dns 192.168.0.1\n" "ms-wins 192.168.0.1\n" "\n" "## Fill in your netmask\n" "netmask 255.255.255.0\n" "\n" "## some defaults\n" "nodefaultroute\n" "proxyarp\n" "lock" msgstr "" "\n" "## turn pppd syslog debugging on\n" "#debug\n" "\n" "## change 'servername' to whatever you specify as your server name in chap-secrets\n" "name pptp\n" "## change the domainname to your local domain\n" "domain falcot.com\n" "\n" "## these are reasonable defaults for WinXXXX clients\n" "## for the security related settings\n" "# The Debian pppd package now supports both MSCHAP and MPPE, so enable them\n" "# here. Please note that the kernel support for MPPE must also be present!\n" "auth\n" "require-chap\n" "require-mschap\n" "require-mschap-v2\n" "require-mppe-128\n" "\n" "## Fill in your addresses\n" "ms-dns 192.168.0.1\n" "ms-wins 192.168.0.1\n" "\n" "## Fill in your netmask\n" "netmask 255.255.255.0\n" "\n" "## some defaults\n" "nodefaultroute\n" "proxyarp\n" "lock" #, fuzzy #| msgid "Apachecertbot" msgid "/etc/etc/ppp/chap-secrets" msgstr "Apachecertbot" msgid "The last step involves registering the vpn user (and the associated password) in the /etc/ppp/chap-secrets file. Contrary to other instances where an asterisk (*) would work, the server name must be filled explicitly here. Furthermore, Windows PPTP clients identify themselves under the DOMAIN\\\\USER form, instead of only providing a user name. This explains why the file also mentions the FALCOT\\\\vpn user. It is also possible to specify individual IP addresses for users; an asterisk in this field specifies that dynamic addressing should be used." msgstr "登录 vpn 用户 (及其密码) 于 /etc/ppp/chap-secrets 文件的最后一个步骤。其他的作为里,星号 (*) 是有作用的,在此的服务器名称必须明示出来。而且,Windows PPTP 客户端以 DOMAIN\\\\USER 形式辨识,不是以用户名区别。这就说明了在 FALCOT\\\\vpn 用户必须提及的文件。也可以指定用户使用特定的 IP 地址;此字段内的星号用于指定动态的地址。" msgid "The /etc/ppp/chap-secrets file" msgstr "该 /etc/ppp/chap-secrets 文件" msgid "" "\n" "# Secrets for authentication using CHAP\n" "# client server secret IP addresses\n" "vpn pptp f@Lc3au *\n" "FALCOT\\\\vpn pptp f@Lc3au *" msgstr "" "\n" "# Secrets for authentication using CHAP\n" "# client server secret IP addresses\n" "vpn pptp f@Lc3au *\n" "FALCOT\\\\vpn pptp f@Lc3au *" msgid "SECURITY PPTP vulnerabilities" msgstr "安全 PPTP 漏洞" #, fuzzy #| msgid "X.509certificates" msgid "PPTPvulnerabilities" msgstr "X.509证书" msgid "Microsoft's first PPTP implementation drew severe criticism because it had many security vulnerabilities; most have since then been fixed in more recent versions. The configuration documented in this section uses the latest version of the protocol. Be aware though that removing some options (such as require-mppe-128 and require-mschap-v2) would make the service vulnerable again." msgstr "𧢒微软的第一个 PPTP 应用发生重大的瑕疪,因为出现很多安全漏洞;多半在新版已修正了。本节的配置文档使用最新版的协议。移除部分选项 (如 require-mppe-128 与 require-mschap-v2) 仍可能再出现服务漏洞。" msgid "Quality of Service" msgstr "品质服务" msgid "Principle and Mechanism" msgstr "原则与机制" #, fuzzy #| msgid "networkgateway" msgid "networkQoS" msgstr "网络网关" msgid "QoS" msgstr "QoS" #, fuzzy #| msgid "quality of service" msgid "Quality of ServiceQoS" msgstr "服务品质" #, fuzzy #| msgid "qualityof service" msgid "qualityof serviceQoS" msgstr "品质服务的" #, fuzzy #| msgid "servicequality" msgid "servicequalityQoS" msgstr "服务品质" msgid "Quality of Service (or QoS for short) refers to a set of techniques that guarantee or improve the quality of the service provided to applications. The most popular such technique involves classifying the network traffic into categories, and differentiating the handling of traffic according to which category it belongs to. The main application of this differentiated services concept is traffic shaping, which limits the data transmission rates for connections related to some services and/or hosts so as not to saturate the available bandwidth and starve important other services. Traffic shaping is a particularly good fit for TCP traffic, since this protocol automatically adapts to available bandwidth." msgstr "服务品质 (Quality of Service 或缩写为 QoS) 系指提供应用时足以保证或改进服务品质的技术。最常见的技术包括分类网络流量、及依照其类别区分流量的作用。这种区分服务的概念是 流量成形,限制部分服务或主机的数据传输率,使其不致塞饱可用的带宽以及压缩其他的服务。流量成形是 TCP 流量的特定形式,此协议自动调整可用的频。" #, fuzzy #| msgid "CULTURE SSL and TLS" msgid "CULTURE Net neutrality and QoS" msgstr "文化 SSL 和 TLS" #, fuzzy #| msgid "networkgateway" msgid "networkneutrality" msgstr "网络网关" msgid "Network neutrality is achieved when Internet service providers treat all Internet communications equally, that is, without any access limitation based on content, user, website, destination address, etc." msgstr "" msgid "Quality of service can be implemented in a net neutral Internet, but only if Internet service providers can't charge a special fee for a higher-quality service." msgstr "" msgid "It is also possible to alter the priorities on traffic, which allows prioritizing packets related to interactive services (such as ssh and telnet) or to services that only deal with small blocks of data." msgstr "也可能改变流量的优先级,允许与交互服务有关的 (如 ssh 与 telnet) 或只服务小量数据的封包优先处理。" msgid "The Debian kernels include the features required for QoS along with their associated modules. These modules are many, and each of them provides a different service, most notably by way of special schedulers for the queues of IP packets; the wide range of available scheduler behaviors spans the whole range of possible requirements." msgstr "Debian 核心包括 QoS 必备的功能与相关的模块。这些模块提供多样服务,多半系供 IP 封包数组使用;这些数组行为包括多种可能的需求。" msgid "CULTURE LARTC — Linux Advanced Routing & Traffic Control" msgstr "文化 LARTC — Linux 高端路由与流量控制" #, fuzzy #| msgid "networkvirtual private" msgid "networkadvanced routingrouting" msgstr "网络虚拟专用" msgid "routingadvanced" msgstr "路由高端" msgid "trafficcontrol" msgstr "流量控制" msgid "control of traffic" msgstr "流量控制" #, fuzzy #| msgid "The Linux Advanced Routing & Traffic Control HOWTO is the reference document covering everything there is to know about network quality of service. " msgid "The Linux Advanced Routing & Traffic Control HOWTO is the reference document covering everything there is to know about network quality of service. " msgstr "Linux 高端路由与流量控制 做法是一份包括网络服务品质的参考文档。" msgid "Configuring and Implementing" msgstr "配置与应用" msgid "iproute" msgstr "iproute" msgid "tc" msgstr "tc" msgid "QoS parameters are set through the tc command (provided by the iproute package). Since its interface is quite complex, using higher-level tools is recommended." msgstr "经由 tc 命令 (由 iproute 软件包提供) 设置 QoS 参数。因为其接口较为复杂,推荐使用高端的工具。" msgid "Reducing Latencies: wondershaper" msgstr "减少延迟:wondershaper" msgid "wondershaper" msgstr "wondershaper" msgid "limitation of traffic" msgstr "流量的限制" msgid "trafficlimitation" msgstr "流量限制" msgid "The main purpose of wondershaper (in the similarly-named package) is to minimize latencies independent of network load. This is achieved by limiting total traffic to a value that falls just short of the link saturation value." msgstr "wondershaper (在同名的软件包中) 的主要目的是最小化独立网络负载的延迟。经由限制整体流量的值缩短链接的饱和值。" #, fuzzy #| msgid "Once a network interface is configured, setting up this traffic limitation is achieved by running wondershaper interface download_rate upload_rate. The interface can be eth0 or ppp0 for example, and both rates are expressed in kilobits per second. The wondershaper remove interface command disables traffic control on the specified interface." msgid "Once a network interface is configured, setting up this traffic limitation is achieved by running wondershaper interface download_rate upload_rate. The interface can be enp1s0, eth0 or ppp0 for example, and both rates are expressed in kilobits per second. The wondershaper remove interface command disables traffic control on the specified interface." msgstr "配置网络接口后,运行 wondershaper interface download_rate upload_rate命令,设置流量控制。可以是 eth0 或 ppp0 接口,两者的速度均以每秒千位为单位。wondershaper remove interface 命令可以在特定接口停用流量控制。" #, fuzzy #| msgid "packetIP" msgid "/etc/etc/network/interfaces" msgstr "包IP" #, fuzzy #| msgid "For an Ethernet connection, this script is best called right after the interface is configured. This is done by adding up and down directives to the /etc/network/interfaces file allowing declared commands to be run, respectively, after the interface is configured and before it is deconfigured. For example:" msgid "For an Ethernet connection, historically this script would be called right after the interface is configured. This is done by adding up and down directives to the /etc/network/interfaces file allowing declared commands to be run, respectively, after the interface is configured and before it is deconfigured. Or in the PPP case, creating a script that calls wondershaper in /etc/ppp/ip-up.d/ will enable traffic control as soon as the connection is up. Below is an example using this first method:" msgstr "对于一个以太网连接,这个脚本最好在接口配置完成以后调用。这个操作可以通过添加up和down操作到/etc/network/interfaces文件来分别在接口配置前,配置完成后运行。比如:" msgid "Changes in the /etc/network/interfaces file" msgstr "对文件/etc/network/interfaces的变更" msgid "" "\n" "iface eth0 inet dhcp\n" " up /sbin/wondershaper eth0 500 100\n" " down /sbin/wondershaper remove eth0" msgstr "" "\n" "iface eth0 inet dhcp\n" " up /sbin/wondershaper eth0 500 100\n" " down /sbin/wondershaper remove eth0" msgid "GOING FURTHER Optimal configuration" msgstr "进阶优化配置" msgid "The /usr/share/doc/wondershaper/README.Debian.gz file describes, in some detail, the configuration method recommended by the package maintainer. In particular, it advises measuring the download and upload speeds so as to best evaluate real limits." msgstr "文件/usr/share/doc/wondershaper/README.Debian.gz描述了由包维护者推荐的,一些细节的配置方式。尤其是,它建议测量下载和上传速度来最好评估实际限制。" msgid "Standard Configuration" msgstr "标准配置" #, fuzzy #| msgid "DHCP" msgid "DSCP" msgstr "DHCP" #, fuzzy #| msgid "Type of Service" msgid "Differentiated Services Code PointDSCP" msgstr "服务类型" #, fuzzy #| msgid "Barring a specific QoS configuration, the Linux kernel uses the pfifo_fast queue scheduler, which provides a few interesting features by itself. The priority of each processed IP packet is based on the DSCP field (Differentiated of Services Code Point) of this packet; modifying this 6-bit field is enough to take advantage of the scheduling features. Refer to for more information." msgid "Barring a specific QoS configuration, the Linux kernel uses the pfifo_fast queue scheduler, which provides a few interesting features by itself. The priority of each processed IP packet is based on the DSCP field (Differentiated Services Code Point) of this packet; modifying this 6-bit field is enough to take advantage of the scheduling features. Refer to for more information." msgstr "除非有特定的 QoS 配置,Linux 内核使用 pfifo_fast 队列调度器,它本身提供了一些有趣的功能。每个处理过的 IP 数据包的优先级是基于这个数据包的 DSCP 字段(Differentiated of Services Code Point),修改这个 6 位字段就可以利用调度功能。更多信息请参考 。" #, fuzzy #| msgid "X.509certificates" msgid "IPnetfilter" msgstr "X.509证书" #, fuzzy #| msgid "The ToS field can be set by applications that generate IP packets, or modified on the fly by netfilter. The following rules are sufficient to increase responsiveness for a server's SSH service:" msgid "The DSCP field can be set by applications that generate IP packets, or modified on the fly by netfilter. The following rules are sufficient to increase responsiveness for a server's SSH service, note that the DSCP field must be set in hexadecimal:" msgstr "DSCP 字段可以由生成 IP 数据包的应用程序设置,也可以由 netfilter 进行快速修改。以下规则足以提高服务器 SSH 服务的响应能力,请注意,DSCP 字段必须设置为十六进制:" msgid "" "\n" "nft add table ip mangle\n" "nft add rule ip mangle PREROUTING tcp sport 22 counter ip dscp set 0x04\n" "nft add rule ip mangle PREROUTING tcp dport 22 counter ip dscp set 0x04" msgstr "" msgid "Dynamic Routing" msgstr "" #, fuzzy #| msgid "routingadvanced" msgid "routingdynamicfrr" msgstr "路由高端" #, fuzzy #| msgid "tc" msgid "frr" msgstr "tc" #, fuzzy #| msgid "nmap" msgid "quaggafrr" msgstr "nmap" #, fuzzy #| msgid "strongswan" msgid "zebrafrr" msgstr "strongswan" msgid "The reference tool for dynamic routing is currently frr from the similarly-named package; it used to be quagga, and before that zebra until development of these stopped. However, frr kept the names of the programs for compatibility reasons which explains the zebra commands below." msgstr "" msgid "BACK TO BASICS Dynamic routing" msgstr "" msgid "Dynamic routing allows routers to adjust, in real time, the paths used for transmitting IP packets. Each protocol involves its own method of defining routes (shortest path, use routes advertised by peers, and so on)." msgstr "" #, fuzzy #| msgid "trafficlimitation" msgid "iproute" msgstr "流量限制" msgid "route" msgstr "" msgid "In the Linux kernel, a route links a network device to a set of machines that can be reached through this device. The ip command, when route is used as the first argument, defines new routes and displays existing ones. The route command was used for that purpose, but it is deprecated in favor of ip." msgstr "" msgid "FRR (FRRouting) is a set of daemons cooperating to define the routing tables to be used by the Linux kernel; each routing protocol (most notably BGP, OSPF and RIP) provides its own daemon(s). The zebra and staticd daemons, which are always started, collect information from other daemons and handle static routing tables accordingly. The other daemons are known as bgpd, ospfd, ospf6d, ripd, ripngd, isisd, etc." msgstr "" msgid "OSPF" msgstr "" msgid "BGP" msgstr "" msgid "RIP" msgstr "" msgid "IS-IS" msgstr "" msgid "bgpd" msgstr "" msgid "ospfd" msgstr "" msgid "ospf6d" msgstr "" msgid "ripd" msgstr "" msgid "ripngd" msgstr "" msgid "isisd" msgstr "" #, fuzzy #| msgid "servicequality" msgid "servicefrr.service" msgstr "服务品质" msgid "Daemons are enabled by creating the /etc/frr/daemon.conf config file, daemon being the name of the daemon to use, and editing the /etc/frr/daemon configuration file. The daemon config file must belong to the frr user and group with permissions of 0640 in order for the /etc/init.d/frr script or the frr.service systemd service file to invoke the daemon. The package frr provides configuration examples under /usr/share/doc/frr/examples/." msgstr "" msgid "The configuration of each of these daemons requires knowledge of the routing protocol in question. These protocols cannot be described in detail here, but frr-doc provides ample explanation in the form of both info and HTML files. The same contents may be more browsed on the project's website: " msgstr "" msgid "In addition, the syntax is very close to a standard router's configuration interface, and network administrators will adapt quickly to frr." msgstr "" msgid "IN PRACTICE OSPF, BGP or RIP?" msgstr "" #, fuzzy #| msgid "protocolESP" msgid "protocolBGP" msgstr "协议ESP" #, fuzzy #| msgid "protocolESP" msgid "protocolRIP" msgstr "协议ESP" msgid "OSPF (Open Shortest Path First) is generally the best protocol to use for dynamic routing on private networks, but BGP (Border Gateway Protocol) is more common for Internet-wide routing. RIP (Routing Information Protocol) is rather ancient, and hardly used anymore." msgstr "" #, fuzzy #| msgid "portTCP" msgid "IPv4IPv4" msgstr "端口TCP" #, fuzzy #| msgid "portTCP" msgid "IPv6IPv6" msgstr "端口TCP" #, fuzzy #| msgid "IPsec" msgid "IPv4" msgstr "互联网安全协议" msgid "IPv6" msgstr "" msgid "iputils-ping" msgstr "" msgid "iputils-tracepath" msgstr "" msgid "IPv6, successor to IPv4, is a newer version of the IP protocol designed to fix its flaws, most notably the scarcity of available IP addresses. This protocol handles the network layer; its purpose is to provide a way to address machines, to convey data to their intended destination, and to handle data fragmentation if needed (in other words, to split packets into chunks with a size that depends on the network links to be used on the path and to reassemble the chunks in their proper order on arrival)." msgstr "" msgid "Debian kernels include IPv6 handling in the core kernel (with the exception of some architectures that have it compiled as a module named ipv6). Basic tools such as ping and traceroute have their IPv6 equivalents in ping6 and traceroute6, available respectively in the iputils-ping and iputils-tracepath packages." msgstr "" msgid "The IPv6 network is configured similarly to IPv4, in /etc/network/interfaces. But if you want that network to be globally available, you must ensure that you have an IPv6-capable router relaying traffic to the global IPv6 network." msgstr "" msgid "Example of IPv6 configuration" msgstr "" msgid "" "\n" "iface enp7s0 inet6 static\n" " address 2001:db8:1234:5::1:1/64\n" " # Disabling auto-configuration\n" " # autoconf 0\n" " # The router is auto-configured and has no fixed address\n" " # (accept_ra 1). If it had:\n" " # gateway 2001:db8:1234:5::1" msgstr "" #, fuzzy #| msgid "SSL" msgid "SLAAC" msgstr "SSL" msgid "Stateless Address AutoconfigurationSLAAC" msgstr "" msgid "IPv6 subnets usually have a netmask of 64 bits. This means that 264 distinct addresses exist within the subnet. This allows Stateless Address Autoconfiguration (SLAAC) to pick an address based on the network interface's MAC address. By default, if SLAAC is activated in your network and IPv6 on your computer, the kernel will automatically find IPv6 routers and configure the network interfaces." msgstr "" #, fuzzy #| msgid "NAT" msgid "MAC" msgstr "NAT" #, fuzzy #| msgid "IP addressprivate" msgid "IPv6privacy extensions" msgstr "IP 地址私有" msgid "This behavior may have privacy implications. If you switch networks frequently, e.g. with a laptop, you might not want your MAC address being a part of your public IPv6 address. This makes it easy to identify the same device across networks. A solution to this are IPv6 privacy extensions (which Debian enables by default if IPv6 connectivity is detected during initial installation), which will assign an additional randomly generated address to the interface, periodically change them and prefer them for outgoing connections. Incoming connections can still use the address generated by SLAAC. The following example, for use in /etc/network/interfaces, activates these privacy extensions for the interface enp7s0." msgstr "" msgid "IPv6 privacy extensions" msgstr "" msgid "" "\n" "iface enp7s0 inet6 auto\n" " # Prefer the randomly assigned addresses for outgoing connections.\n" " privext 2" msgstr "" msgid "TIP Programs built with IPv6" msgstr "" #, fuzzy #| msgid "Apachecertbot" msgid "mailing listsdebian-ipv6@lists.debian.org" msgstr "Apachecertbot" msgid "Many pieces of software need to be adapted to handle IPv6. Most of the packages in Debian have been adapted already, but not all. If your favorite package does not work with IPv6 yet, you can ask for help on the debian-ipv6 mailing-list. They might know about an IPv6-aware replacement and could file a bug to get the issue properly tracked. " msgstr "" #, fuzzy #| msgid "networkgateway" msgid "IPv6firewall" msgstr "网络网关" msgid "firewallIPv6" msgstr "" msgid "ip6tables" msgstr "ip6tables" msgid "IPv6 connections can be restricted, in the same fashion as for IPv4. nft can be used to create firewall rules for IPv4 and IPv6 (see )." msgstr "" msgid "Tunneling" msgstr "" #, fuzzy #| msgid "servicequality" msgid "IPv6tunneling" msgstr "服务品质" msgid "CAUTION IPv6 tunneling and firewalls" msgstr "" #, fuzzy #| msgid "trafficcontrol" msgid "IPv6tunnel broker" msgstr "流量控制" msgid "IPv6 tunneling over IPv4 (as opposed to native IPv6) requires the firewall to accept the traffic, which uses IPv4 protocol number 41." msgstr "" msgid "If a native IPv6 connection is not available, the fallback method is to use a tunnel over IPv4. Hurricane Electric is one (free) provider of such tunnels: " msgstr "" #, fuzzy #| msgid "Source NAT" msgid "Hurricane Electric" msgstr "Source NAT" #, fuzzy #| msgid "router" msgid "tunnel broker" msgstr "路由器" msgid "To use a Hurricane Electric tunnel, you need to register an account, login, select a free tunnel and edit the file /etc/network/interfaces with the generated code." msgstr "" msgid "radvd" msgstr "" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/radvd.conf" msgstr "流量限制" #, fuzzy #| msgid "servicequality" msgid "serviceradvd.service" msgstr "服务品质" msgid "You can install and configure the radvd daemon (from the similarly-named package) if you want to use the configured computer as a router for a local network. This IPv6 configuration daemon has a role similar to dhcpd in the IPv4 world." msgstr "" #, fuzzy #| msgid "networkvirtual private" msgid "ipaddress" msgstr "网络虚拟专用" msgid "The /etc/radvd.conf configuration file must then be created (see /usr/share/doc/radvd/examples/simple-radvd.conf as a starting point). In our case, the only required change is the prefix, which needs to be replaced with the one provided by Hurricane Electric; it can be found in the output of the ip a command, in the block concerning the he-ipv6 interface." msgstr "" msgid "Then run systemctl start radvd. The IPv6 network should now work." msgstr "" msgid "Domain Name Servers (DNS)" msgstr "" msgid "DNS" msgstr "DNS" #, fuzzy #| msgid "quality of service" msgid "Domain Name ServiceDNS" msgstr "服务品质" msgid "servername" msgstr "" #, fuzzy #| msgid "NetworkAddress Translation" msgid "IPaddress mapping" msgstr "网络地址转换" msgid "The Domain Name Service (DNS) is a fundamental component of the Internet: it maps host names to IP addresses (and vice-versa), which allows the use of www.debian.org instead of 130.89.148.77 or 2001:67c:2564:a119::77." msgstr "" msgid "DNS records are organized in zones; each zone matches either a domain (or a subdomain) or an IP address range (since IP addresses are generally allocated in consecutive ranges). A primary server is authoritative on the contents of a zone; secondary servers, usually hosted on separate machines, provide regularly refreshed copies of the primary zone." msgstr "" msgid "zoneDNS" msgstr "" msgid "DNSzone" msgstr "" #, fuzzy #| msgid "trafficcontrol" msgid "DNSresource record" msgstr "流量控制" msgid "Each zone can contain records of various kinds (Resource Records), these are some of the most common:" msgstr "" msgid "A (address record): IPv4 address. This is the most common form to point a domain to an IPv4 address." msgstr "" msgid "DNSresource recordA" msgstr "" msgid "CNAME (canonical name record): alias" msgstr "" msgid "DNSresource recordCNAME" msgstr "" msgid "MX (mail exchange): an email server. This information is used by other email servers to find where to send email addressed to a given address. Each MX record has a priority. The highest-priority server (with the lowest number) is tried first (see sidebar ); other servers are contacted in order of decreasing priority if the first one does not reply." msgstr "" msgid "DNSresource recordMX" msgstr "" msgid "PTR (pointer): mapping of an IP address to a name. Such a record is stored in a “reverse DNS” zone named after the IP address range. For example, 1.168.192.in-addr.arpa is the zone containing the reverse mapping for all addresses in the 192.168.1.0/24 range." msgstr "" msgid "DNSresource recordPTR" msgstr "" msgid "AAAA (IPv6 address record): IPv6 address." msgstr "" msgid "DNSresource recordAAAA" msgstr "" msgid "NS (name server): maps a name to a name server. Each domain must have at least one NS record. These records point at a DNS server that can answer queries concerning this domain; they usually point at the primary and secondary servers for the domain. These records also allow DNS delegation; for instance, the falcot.com zone can include an NS record for internal.falcot.com, which means that the internal.falcot.com zone is handled by another server. Of course, this server must declare an internal.falcot.com zone." msgstr "" msgid "DNSresource recordNS" msgstr "" msgid "DNS software" msgstr "" msgid "ISC" msgstr "" msgid "Internet Software ConsortiumISC" msgstr "" msgid "bind9" msgstr "" #, fuzzy #| msgid "Apachecertbot" msgid "DNSbind9bind" msgstr "Apachecertbot" msgid "The reference name server, Bind, was developed and is maintained by ISC (the Internet Software Consortium). It is provided in Debian by the bind9 package. Version 9 brings two major changes compared to previous versions. First, the DNS server can now run under an unprivileged user, so that a security vulnerability in the server does not grant root privileges to the attacker (as was seen repeatedly with versions 8.x)." msgstr "" msgid "Furthermore, Bind supports the DNSSEC standard for signing (and therefore authenticating) DNS records, which allows blocking any spoofing of this data during man-in-the-middle attacks." msgstr "" msgid "CULTURE DNSSEC" msgstr "" msgid "DNSSEC" msgstr "" msgid "Domain Name System Security ExtensionsDNSSEC" msgstr "" #, fuzzy #| msgid "X.509certificates" msgid "DNSsecurity extensionsDNSSEC" msgstr "X.509证书" msgid "The DNSSEC norm is quite complex; this partly explains why it is not in widespread usage yet (even if it perfectly coexists with DNS servers unaware of DNSSEC). To understand all the ins and outs, you should check the following article. " msgstr "" #, fuzzy #| msgid "Configuring" msgid "Configuring bind" msgstr "配置" #, fuzzy #| msgid "packetIP" msgid "daemonbind" msgstr "包IP" #, fuzzy #| msgid "portUDP" msgid "serverDNS" msgstr "端口UDP" #, fuzzy #| msgid "trafficcontrol" msgid "bindconfiguration" msgstr "流量控制" msgid "Configuration files for bind, irrespective of version, have the same structure." msgstr "" msgid "The Falcot administrators created a primary falcot.com zone to store information related to this domain, and a 168.192.in-addr.arpa zone for reverse mapping of IP addresses in the local networks." msgstr "" msgid "CAUTION Names of reverse zones" msgstr "" msgid "zonereverse" msgstr "" msgid "reverse zone" msgstr "" #, fuzzy #| msgid "portTCP" msgid "DNSreverse zone" msgstr "端口TCP" msgid "in-addr.arpa" msgstr "" msgid "ip6.arpa" msgstr "" msgid "nibble format" msgstr "" msgid "Reverse zones have a particular name. The zone covering the 192.168.0.0/16 network needs to be named 168.192.in-addr.arpa: the IP address components are reversed, and followed by the in-addr.arpa suffix." msgstr "" msgid "For IPv6 networks, the suffix is ip6.arpa and the IP address components which are reversed are each character in the full hexadecimal representation of the IP address. As such, the 2001:0bc8:31a0::/48 network would use a zone named 0.a.1.3.8.c.b.0.1.0.0.2.ip6.arpa." msgstr "" msgid "TIP Testing the DNS server" msgstr "" msgid "host" msgstr "" msgid "The host command (in the bind9-host package) queries a DNS server, and can be used to test the server configuration. For example, host machine.falcot.com localhost checks the local server's reply for the machine.falcot.com query. host ipaddress localhost tests the reverse resolution." msgstr "" #, fuzzy #| msgid "trafficlimitation" msgid "/etc/etc/bind/named.conf" msgstr "流量限制" msgid "The following configuration excerpts, taken from the Falcot files, can serve as starting points to configure a DNS server:" msgstr "" msgid "Excerpt of /etc/bind/named.conf.local" msgstr "" msgid "" "\n" "zone \"falcot.com\" {\n" " type master;\n" " file \"/etc/bind/db.falcot.com\";\n" " allow-query { any; };\n" " allow-transfer {\n" " 195.20.105.149/32 ; // ns0.xname.org\n" " 193.23.158.13/32 ; // ns1.xname.org\n" " };\n" "};\n" "\n" "zone \"internal.falcot.com\" {\n" " type master;\n" " file \"/etc/bind/db.internal.falcot.com\";\n" " allow-query { 192.168.0.0/16; };\n" "};\n" "\n" "zone \"168.192.in-addr.arpa\" {\n" " type master;\n" " file \"/etc/bind/db.192.168\";\n" " allow-query { 192.168.0.0/16; };\n" "};" msgstr "" msgid "Excerpt of /etc/bind/db.falcot.com" msgstr "" msgid "" "; falcot.com Zone \n" "; admin.falcot.com. => zone contact: admin@falcot.com\n" "$TTL 604800\n" "@ IN SOA falcot.com. admin.falcot.com. (\n" " 20040121 ; Serial\n" " 604800 ; Refresh\n" " 86400 ; Retry\n" " 2419200 ; Expire\n" " 604800 ) ; Negative Cache TTL\n" ";\n" "; The @ refers to the zone name (\"falcot.com\" here)\n" "; or to $ORIGIN if that directive has been used\n" ";\n" "@ IN NS ns\n" "@ IN NS ns0.xname.org.\n" "\n" "internal IN NS 192.168.0.2\n" "\n" "@ IN A 212.94.201.10\n" "@ IN MX 5 mail\n" "@ IN MX 10 mail2\n" "\n" "ns IN A 212.94.201.10\n" "mail IN A 212.94.201.10\n" "mail2 IN A 212.94.201.11\n" "www IN A 212.94.201.11\n" "\n" "dns IN CNAME ns" msgstr "" msgid "CAUTION Syntax of a name" msgstr "" msgid "The syntax of machine names follows strict rules. For instance, machine implies machine.domain. If the domain name should not be appended to a name, said name must be written as machine. (with a dot as suffix). Indicating a DNS name outside the current domain therefore requires a syntax such as machine.otherdomain.com. (with the final dot)." msgstr "" msgid "Excerpt of /etc/bind/db.192.168" msgstr "" msgid "" "; Reverse zone for 192.168.0.0/16\n" "; admin.falcot.com. => zone contact: admin@falcot.com\n" "$TTL 604800\n" "@ IN SOA ns.internal.falcot.com. admin.falcot.com. (\n" " 20040121 ; Serial\n" " 604800 ; Refresh\n" " 86400 ; Retry\n" " 2419200 ; Expire\n" " 604800 ) ; Negative Cache TTL\n" "\n" " IN NS ns.internal.falcot.com.\n" "\n" "; 192.168.0.1 -> arrakis\n" "1.0 IN PTR arrakis.internal.falcot.com.\n" "; 192.168.0.2 -> neptune\n" "2.0 IN PTR neptune.internal.falcot.com.\n" "\n" "; 192.168.3.1 -> pau\n" "1.3 IN PTR pau.internal.falcot.com." msgstr "" #, fuzzy #| msgid "CACertificate Authority" msgid "DHCPDynamic Host Configuration Protocol" msgstr "CA权威认证" msgid "Dynamic Host Configuration ProtocolDHCP" msgstr "" msgid "networkDHCP configuration" msgstr "" #, fuzzy #| msgid "pptp-linux" msgid "isc-dhcp-server" msgstr "pptp-linux" msgid "DHCP (for Dynamic Host Configuration Protocol) is a protocol by which a machine can automatically get its network configuration when it boots. This allows centralizing the management of network configurations, and ensuring that all desktop machines get similar settings." msgstr "" msgid "A DHCP server provides many network-related parameters. The most common of these is an IP address and the network where the machine belongs, but it can also provide other information, such as DNS servers, WINS servers, NTP servers, and so on." msgstr "" msgid "The Internet Software Consortium (also involved in developing bind) is the main author of the DHCP server. The matching Debian package is isc-dhcp-server." msgstr "" msgid "Configuring" msgstr "配置" #, fuzzy #| msgid "portTCP" msgid "DHCP" msgstr "端口TCP" #, fuzzy #| msgid "portTCP" msgid "serverDHCP" msgstr "端口TCP" #, fuzzy #| msgid "routingadvanced" msgid "daemondhcpd" msgstr "路由高端" msgid "/etc/etc/dhcp/dhcpd.conf" msgstr "" msgid "/etc/etc/dhcp/dhcpd6.conf" msgstr "" msgid "The first elements that need to be edited in the DHCP server configuration files (/etc/dhcp/dhcpd.conf, and /etc/dhcp/dhcpd6.conf for IPv6) are the domain name and the DNS servers. If this server is alone on the local network (as defined by the broadcast propagation), the authoritative directive must also be enabled (or uncommented). One also needs to create a subnet section describing the local network and the configuration information to be provided. The following example fits a 192.168.0.0/24 local network with a router at 192.168.0.1 serving as the gateway. Available IP addresses are in the range 192.168.0.128 to 192.168.0.254." msgstr "" msgid "Excerpt of /etc/dhcp/dhcpd.conf" msgstr "" msgid "" "\n" "#\n" "# Sample configuration file for ISC dhcpd for Debian\n" "#\n" "\n" "# The ddns-updates-style parameter controls whether or not the server will\n" "# attempt to do a DNS update when a lease is confirmed. We default to the\n" "# behavior of the version 2 packages ('none', since DHCP v2 didn't\n" "# have support for DDNS.)\n" "ddns-update-style interim;\n" "\n" "# option definitions common to all supported networks...\n" "option domain-name \"internal.falcot.com\";\n" "option domain-name-servers ns.internal.falcot.com;\n" "\n" "default-lease-time 600;\n" "max-lease-time 7200;\n" "\n" "# If this DHCP server is the official DHCP server for the local\n" "# network, the authoritative directive should be uncommented.\n" "authoritative;\n" "\n" "# Use this to send dhcp log messages to a different log file (you also\n" "# have to hack syslog.conf to complete the redirection).\n" "log-facility local7;\n" "\n" "# My subnet\n" "subnet 192.168.0.0 netmask 255.255.255.0 {\n" " option routers 192.168.0.1;\n" " option broadcast-address 192.168.0.255;\n" " range 192.168.0.128 192.168.0.254;\n" " ddns-domainname \"internal.falcot.com\";\n" "}" msgstr "" msgid "DHCP and DNS" msgstr "" msgid "DNSautomated updates" msgstr "" #, fuzzy #| msgid "nmap" msgid "bind" msgstr "nmap" msgid "A nice feature is the automated registering of DHCP clients in the DNS zone, so that each machine gets a significant name (rather than something impersonal such as machine-192-168-0-131.internal.falcot.com). Using this feature requires configuring the DNS server to accept updates to the internal.falcot.com DNS zone from the DHCP server, and configuring the latter to submit updates for each registration." msgstr "" msgid "In the bind case (see ), the allow-update directive needs to be added to each of the zones that the DHCP server is to edit (the one for the internal.falcot.com domain, and the reverse zone). This directive lists the IP addresses allowed to perform these updates; it should therefore contain the possible addresses of the DHCP server (both the local address and the public address, if appropriate)." msgstr "" msgid "" "\n" "allow-update { 127.0.0.1 192.168.0.1 212.94.201.10 !any };" msgstr "" msgid "Beware! A zone that can be modified will be changed by bind, and the latter will overwrite its configuration files at regular intervals. Since this automated procedure produces files that are less human-readable than manually-written ones, the Falcot administrators handle the internal.falcot.com domain with a delegated DNS server; this means the falcot.com zone file stays firmly under their manual control." msgstr "" msgid "The DHCP server configuration excerpt above already includes the directives required for DNS zone updates: they are the ddns-update-style interim; and ddns-domain-name \"internal.falcot.com\"; lines." msgstr "" msgid "Network Diagnosis Tools" msgstr "网络诊断工具" #, fuzzy #| msgid "networkgateway" msgid "networkdiagnosis" msgstr "网络网关" msgid "When a network application does not run as expected, it is important to be able to look under the hood. Even when everything seems to run smoothly, running a network diagnosis can help ensure everything is working as it should. Several diagnosis tools exists for this purpose; each one operates on a different level. It would go beyond the scope of this book to discuss all tools, so we will focus on the more well-known and commonly used tools in the following sections." msgstr "" msgid "Local Diagnosis: netstat" msgstr "本地诊断:netstat" msgid "netstat" msgstr "netstat" msgid "Let's first mention the netstat command (in the net-tools package); it displays an instant summary of a machine's network activity. When invoked with no argument, this command lists all open connections; this list can be very verbose since it includes many Unix-domain sockets (widely used by daemons) which do not involve the network at all (for example, dbus communication, X11 traffic, and communications between virtual filesystems and the desktop)." msgstr "首先是在 net-tools 包中的 netstat 命令;这个命令能够显示机器的实时网络活动。当直接运行时,该程序会输出所有的连接;由于该命令会输出很多不涉及网络的 Unix 域套接字(如 dbus 连接、X11 连接,以及虚拟文件系统和桌面间的通信),所以输出内容会非常长。" msgid "Common invocations therefore use options that alter netstat's behavior. The most frequently used options include:" msgstr "因此,运行 netstat 命令时通常会使用其他命令行参数。最常用的参数都有:" msgid "-t, which filters the results to only include TCP connections;" msgstr "-t, 会只输出 TCP 连接;" #, fuzzy msgid "-u, which works similarly for UDP connections; these options are not mutually exclusive, and one of them is enough to stop displaying Unix-domain connections;" msgstr "-u, 与上面一样,会只输出 UDP 连接;参数之间并不互斥,但是只要有参数,程序就会不再输出 Unix 域连接;" #, fuzzy msgid "-a, to also list listening sockets (waiting for incoming connections);" msgstr "-a, 会列出监听套接字(监听以等待连接);" #, fuzzy msgid "-n, to display the results numerically: IP addresses (no DNS resolution), port numbers (no aliases as defined in /etc/services) and user ids (no login names);" msgstr "-n, 以数值形式输出 IP 地址(不解析域名)、端口号(不按 /etc/services 文件中的内容解析服务)、user id(不解析用户名);" msgid "-p, to list the processes involved; this option is only useful when netstat is run as root, since normal users will only see their own processes;" msgstr "-p, 列出所涉及的进程;由于普通用户只能看到自己的进程,这个选项仅在 netstat 以 root 身份运行时才有效;" msgid "-c, to continuously refresh the list of connections." msgstr "-c, 不断刷新连接列表。" msgid "Other options, documented in the netstat 8 manual page, provide an even finer control over the displayed results. In practice, the first five options are so often used together that systems and network administrators practically acquired netstat -tupan as a reflex. Typical results, on a lightly loaded machine, may look like the following:" msgstr "" msgid "" "\n" "# netstat -tupan\n" "Active Internet connections (servers and established)\n" "Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name\n" "tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 397/rpcbind \n" "tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 431/sshd \n" "tcp 0 0 0.0.0.0:36568 0.0.0.0:* LISTEN 407/rpc.statd \n" "tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 762/exim4 \n" "tcp 0 272 192.168.1.242:22 192.168.1.129:44452 ESTABLISHED 1172/sshd: roland [\n" "tcp6 0 0 :::111 :::* LISTEN 397/rpcbind \n" "tcp6 0 0 :::22 :::* LISTEN 431/sshd \n" "tcp6 0 0 ::1:25 :::* LISTEN 762/exim4 \n" "tcp6 0 0 :::35210 :::* LISTEN 407/rpc.statd \n" "udp 0 0 0.0.0.0:39376 0.0.0.0:* 916/dhclient \n" "udp 0 0 0.0.0.0:996 0.0.0.0:* 397/rpcbind \n" "udp 0 0 127.0.0.1:1007 0.0.0.0:* 407/rpc.statd \n" "udp 0 0 0.0.0.0:68 0.0.0.0:* 916/dhclient \n" "udp 0 0 0.0.0.0:48720 0.0.0.0:* 451/avahi-daemon: r\n" "udp 0 0 0.0.0.0:111 0.0.0.0:* 397/rpcbind \n" "udp 0 0 192.168.1.242:123 0.0.0.0:* 539/ntpd \n" "udp 0 0 127.0.0.1:123 0.0.0.0:* 539/ntpd \n" "udp 0 0 0.0.0.0:123 0.0.0.0:* 539/ntpd \n" "udp 0 0 0.0.0.0:5353 0.0.0.0:* 451/avahi-daemon: r\n" "udp 0 0 0.0.0.0:39172 0.0.0.0:* 407/rpc.statd \n" "udp6 0 0 :::996 :::* 397/rpcbind \n" "udp6 0 0 :::34277 :::* 407/rpc.statd \n" "udp6 0 0 :::54852 :::* 916/dhclient \n" "udp6 0 0 :::111 :::* 397/rpcbind \n" "udp6 0 0 :::38007 :::* 451/avahi-daemon: r\n" "udp6 0 0 fe80::5054:ff:fe99::123 :::* 539/ntpd \n" "udp6 0 0 2001:bc8:3a7e:210:a:123 :::* 539/ntpd \n" "udp6 0 0 2001:bc8:3a7e:210:5:123 :::* 539/ntpd \n" "udp6 0 0 ::1:123 :::* 539/ntpd \n" "udp6 0 0 :::123 :::* 539/ntpd \n" "udp6 0 0 :::5353 :::* 451/avahi-daemon: r\n" "" msgstr "" msgid "As expected, this lists established connections, two SSH connections in this case, and applications waiting for incoming connections (listed as LISTEN), notably the Exim4 email server listening on port 25." msgstr "" msgid "Remote Diagnosis: nmap" msgstr "" msgid "nmap" msgstr "nmap" msgid "nmap (in the similarly-named package) is, in a way, the remote equivalent for netstat. It can scan a set of “well-known” ports for one or several remote servers, and list the ports where an application is found to answer to incoming connections. Furthermore, nmap is able to identify some of these applications, sometimes even their version number. The counterpart of this tool is that, since it runs remotely, it cannot provide information on processes or users; however, it can operate on several targets at once." msgstr "" msgid "A typical nmap invocation only uses the -A option (so that nmap attempts to identify the versions of the server software it finds) followed by one or more IP addresses or DNS names of machines to scan. Again, many more options exist to finely control the behavior of nmap; please refer to the documentation in the nmap 1 manual page." msgstr "" msgid "" "\n" "# nmap debian\n" "# nmap -A localhost\n" "" msgstr "" msgid "As expected, e.g. the SSH, Apache and Postfix applications are listed. Note that not all applications listen on all IP addresses; since Postfix is only accessible on the lo loopback interface, it only appears during an analysis of localhost and not when scanning debian (which maps to the enp1s0 interface on the same machine)." msgstr "" msgid "Sniffers: tcpdump and wireshark" msgstr "" msgid "tcpdump" msgstr "" msgid "wireshark" msgstr "wireshark" msgid "Sometimes, one needs to look at what actually goes on the wire, packet by packet. These cases call for a “frame analyzer”, more widely known as a sniffer. Such a tool observes all the packets that reach a given network interface, and displays them in a user-friendly way." msgstr "" msgid "The venerable tool in this domain is tcpdump, available as a standard tool on a wide range of platforms. It allows many kinds of network traffic capture, but the representation of this traffic stays rather obscure. We will therefore not describe it in further detail." msgstr "" msgid "A more recent (and more modern) tool, wireshark (in the wireshark package), has become the new reference in network traffic analysis due to its many decoding modules that allow for a simplified analysis of the captured packets. The packets are displayed graphically with an organization based on the protocol layers. This allows a user to visualize all protocols involved in a packet. For example, given a packet containing an HTTP request, wireshark displays, separately, the information concerning the physical layer, the Ethernet layer, the IP packet information, the TCP connection parameters, and finally the HTTP request itself." msgstr "" msgid "The wireshark network traffic analyzer" msgstr "wireshark 网络流量分析器" msgid "In our example, the packets traveling over SSH are filtered out (with the !tcp.port == 22 filter). The packet currently displayed was developed at the transport layer of the SSHv2 protocol." msgstr "" msgid "TIP wireshark with no graphical interface: tshark" msgstr "" msgid "tshark" msgstr "" msgid "When one cannot run a graphical interface, or does not wish to do so for whatever reason, a text-only version of wireshark also exists under the name tshark (in a separate tshark package). Most of the capture and decoding features are still available, but the lack of a graphical interface necessarily limits the interactions with the program (filtering packets after they've been captured, tracking of a given TCP connection, and so on). It can still be used as a first approach. If further manipulations are intended and require the graphical interface, the packets can be saved to a file and this file can be loaded into a graphical wireshark running on another machine." msgstr "" #~ msgid "TCP, port" #~ msgstr "TCP,端口" #~ msgid "UDP, port" #~ msgstr "UDP,端口" #~ msgid "SNAT" #~ msgstr "SNAT" #~ msgid "DNAT" #~ msgstr "DNAT" #~ msgid "certificates" #~ msgstr "认证" #~ msgid "X.509, certificate" #~ msgstr "X.509,认证" #~ msgid "SSH" #~ msgstr "SSH" #~ msgid "Point-to-Point Tunneling Protocol" #~ msgstr "Point-to-Point Tunneling Protocol" #, fuzzy #~| msgid "gateway" #~ msgid "net neutrality" #~ msgstr "网关" #~ msgid "In the PPP case, creating a script that calls wondershaper in /etc/ppp/ip-up.d/ will enable traffic control as soon as the connection is up." #~ msgstr "对于PPP的情况,只要连接已建立,就可以在/etc/ppp/ip-up.d/生成一个脚本调用wondershaper命令来使能流量控制。" #, fuzzy #~| msgid "tc" #~ msgid "ip route" #~ msgstr "tc" #~ msgid "DHCP" #~ msgstr "DHCP" #~ msgid "NOTE easy-rsa before Jessie" #~ msgstr "说明 easy-rsa 早于 Jessie 之前" #~ msgid "In versions of Debian up to Wheezy, easy-rsa was distributed as part of the openvpn package, and its scripts were to be found under /usr/share/doc/openvpn/examples/easy-rsa/2.0/. Setting up a CA involved copying that directory, instead of using the make-cadir command as documented here." #~ msgstr "在 Debian Wheezy 之前的版本,easy-rsa 做为 openvpn 软件包的一部分,其脚本在 /usr/share/doc/openvpn/examples/easy-rsa/2.0/ 之内。复制该文件夹就能设置成 CA,不必使用 make-cadir 命令。" #~ msgid "" #~ "\n" #~ "$ vim vars\n" #~ "$ grep KEY_ vars\n" #~ "export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`\n" #~ "export KEY_DIR=\"$EASY_RSA/keys\"\n" #~ "echo NOTE: If you run ./clean-all, I will be doing a rm -rf on $KEY_DIR\n" #~ "export KEY_SIZE=2048\n" #~ "export KEY_EXPIRE=3650\n" #~ "export KEY_COUNTRY=\"FR\"\n" #~ "export KEY_PROVINCE=\"Loire\"\n" #~ "export KEY_CITY=\"Saint-Étienne\"\n" #~ "export KEY_ORG=\"Falcot Corp\"\n" #~ "export KEY_EMAIL=\"admin@falcot.com\"\n" #~ "export KEY_OU=\"Certificate authority\"\n" #~ "export KEY_NAME=\"Certificate authority for Falcot Corp\"\n" #~ "# If you'd like to sign all keys with the same Common Name, uncomment the KEY_CN export below\n" #~ "# export KEY_CN=\"CommonName\"\n" #~ "$ . ./vars\n" #~ "NOTE: If you run ./clean-all, I will be doing a rm -rf on /home/roland/pki-falcot/keys\n" #~ "$ ./clean-all\n" #~ "" #~ msgstr "" #~ "\n" #~ "$ vim vars\n" #~ "$ grep KEY_ vars\n" #~ "export KEY_CONFIG=`$EASY_RSA/whichopensslcnf $EASY_RSA`\n" #~ "export KEY_DIR=\"$EASY_RSA/keys\"\n" #~ "echo NOTE: If you run ./clean-all, I will be doing a rm -rf on $KEY_DIR\n" #~ "export KEY_SIZE=2048\n" #~ "export KEY_EXPIRE=3650\n" #~ "export KEY_COUNTRY=\"FR\"\n" #~ "export KEY_PROVINCE=\"Loire\"\n" #~ "export KEY_CITY=\"Saint-Étienne\"\n" #~ "export KEY_ORG=\"Falcot Corp\"\n" #~ "export KEY_EMAIL=\"admin@falcot.com\"\n" #~ "export KEY_OU=\"Certificate authority\"\n" #~ "export KEY_NAME=\"Certificate authority for Falcot Corp\"\n" #~ "# If you'd like to sign all keys with the same Common Name, uncomment the KEY_CN export below\n" #~ "# export KEY_CN=\"CommonName\"\n" #~ "$ . ./vars\n" #~ "NOTE: If you run ./clean-all, I will be doing a rm -rf on /home/roland/pki-falcot/keys\n" #~ "$ ./clean-all\n" #~ "" #~ msgid "" #~ "\n" #~ "$ ./build-key-server vpn.falcot.com\n" #~ "Generating a 2048 bit RSA private key\n" #~ ".....................................................................................................................+++\n" #~ "...........+++\n" #~ "writing new private key to 'vpn.falcot.com.key'\n" #~ "-----\n" #~ "You are about to be asked to enter information that will be incorporated\n" #~ "into your certificate request.\n" #~ "What you are about to enter is what is called a Distinguished Name or a DN.\n" #~ "There are quite a few fields but you can leave some blank\n" #~ "For some fields there will be a default value,\n" #~ "If you enter '.', the field will be left blank.\n" #~ "-----\n" #~ "Country Name (2 letter code) [FR]:\n" #~ "State or Province Name (full name) [Loire]:\n" #~ "Locality Name (eg, city) [Saint-Étienne]:\n" #~ "Organization Name (eg, company) [Falcot Corp]:\n" #~ "Organizational Unit Name (eg, section) [Certificate authority]:\n" #~ "Common Name (eg, your name or your server's hostname) [vpn.falcot.com]:\n" #~ "Name [Certificate authority for Falcot Corp]:\n" #~ "Email Address [admin@falcot.com]:\n" #~ "\n" #~ "Please enter the following 'extra' attributes\n" #~ "to be sent with your certificate request\n" #~ "A challenge password []:\n" #~ "An optional company name []:\n" #~ "Using configuration from /home/roland/pki-falcot/openssl-1.0.0.cnf\n" #~ "Check that the request matches the signature\n" #~ "Signature ok\n" #~ "The Subject's Distinguished Name is as follows\n" #~ "countryName :PRINTABLE:'FR'\n" #~ "stateOrProvinceName :PRINTABLE:'Loire'\n" #~ "localityName :T61STRING:'Saint-\\0xFFFFFFC3\\0xFFFFFF89tienne'\n" #~ "organizationName :PRINTABLE:'Falcot Corp'\n" #~ "organizationalUnitName:PRINTABLE:'Certificate authority'\n" #~ "commonName :PRINTABLE:'vpn.falcot.com'\n" #~ "name :PRINTABLE:'Certificate authority for Falcot Corp'\n" #~ "emailAddress :IA5STRING:'admin@falcot.com'\n" #~ "Certificate is to be certified until Mar 6 14:54:56 2025 GMT (3650 days)\n" #~ "Sign the certificate? [y/n]:y\n" #~ "\n" #~ "\n" #~ "1 out of 1 certificate requests certified, commit? [y/n]y\n" #~ "Write out database with 1 new entries\n" #~ "Data Base Updated\n" #~ "$ ./build-dh\n" #~ "Generating DH parameters, 2048 bit long safe prime, generator 2\n" #~ "This is going to take a long time\n" #~ "[…]\n" #~ "" #~ msgstr "" #~ "\n" #~ "$ ./build-key-server vpn.falcot.com\n" #~ "Generating a 2048 bit RSA private key\n" #~ ".....................................................................................................................+++\n" #~ "...........+++\n" #~ "writing new private key to 'vpn.falcot.com.key'\n" #~ "-----\n" #~ "You are about to be asked to enter information that will be incorporated\n" #~ "into your certificate request.\n" #~ "What you are about to enter is what is called a Distinguished Name or a DN.\n" #~ "There are quite a few fields but you can leave some blank\n" #~ "For some fields there will be a default value,\n" #~ "If you enter '.', the field will be left blank.\n" #~ "-----\n" #~ "Country Name (2 letter code) [FR]:\n" #~ "State or Province Name (full name) [Loire]:\n" #~ "Locality Name (eg, city) [Saint-Étienne]:\n" #~ "Organization Name (eg, company) [Falcot Corp]:\n" #~ "Organizational Unit Name (eg, section) [Certificate authority]:\n" #~ "Common Name (eg, your name or your server's hostname) [vpn.falcot.com]:\n" #~ "Name [Certificate authority for Falcot Corp]:\n" #~ "Email Address [admin@falcot.com]:\n" #~ "\n" #~ "Please enter the following 'extra' attributes\n" #~ "to be sent with your certificate request\n" #~ "A challenge password []:\n" #~ "An optional company name []:\n" #~ "Using configuration from /home/roland/pki-falcot/openssl-1.0.0.cnf\n" #~ "Check that the request matches the signature\n" #~ "Signature ok\n" #~ "The Subject's Distinguished Name is as follows\n" #~ "countryName :PRINTABLE:'FR'\n" #~ "stateOrProvinceName :PRINTABLE:'Loire'\n" #~ "localityName :T61STRING:'Saint-\\0xFFFFFFC3\\0xFFFFFF89tienne'\n" #~ "organizationName :PRINTABLE:'Falcot Corp'\n" #~ "organizationalUnitName:PRINTABLE:'Certificate authority'\n" #~ "commonName :PRINTABLE:'vpn.falcot.com'\n" #~ "name :PRINTABLE:'Certificate authority for Falcot Corp'\n" #~ "emailAddress :IA5STRING:'admin@falcot.com'\n" #~ "Certificate is to be certified until Mar 6 14:54:56 2025 GMT (3650 days)\n" #~ "Sign the certificate? [y/n]:y\n" #~ "\n" #~ "\n" #~ "1 out of 1 certificate requests certified, commit? [y/n]y\n" #~ "Write out database with 1 new entries\n" #~ "Data Base Updated\n" #~ "$ ./build-dh\n" #~ "Generating DH parameters, 2048 bit long safe prime, generator 2\n" #~ "This is going to take a long time\n" #~ "[…]\n" #~ "" #~ msgid "" #~ "\n" #~ "$ ./build-key JoeSmith\n" #~ "Generating a 2048 bit RSA private key\n" #~ "................................+++\n" #~ "..............................................+++\n" #~ "writing new private key to 'JoeSmith.key'\n" #~ "-----\n" #~ "You are about to be asked to enter information that will be incorporated\n" #~ "into your certificate request.\n" #~ "What you are about to enter is what is called a Distinguished Name or a DN.\n" #~ "There are quite a few fields but you can leave some blank\n" #~ "For some fields there will be a default value,\n" #~ "If you enter '.', the field will be left blank.\n" #~ "-----\n" #~ "Country Name (2 letter code) [FR]:\n" #~ "State or Province Name (full name) [Loire]:\n" #~ "Locality Name (eg, city) [Saint-Étienne]:\n" #~ "Organization Name (eg, company) [Falcot Corp]:\n" #~ "Organizational Unit Name (eg, section) [Certificate authority]:Development unit\n" #~ "Common Name (eg, your name or your server's hostname) [JoeSmith]:Joe Smith\n" #~ "[…]" #~ msgstr "" #~ "\n" #~ "$ ./build-key JoeSmith\n" #~ "Generating a 2048 bit RSA private key\n" #~ "................................+++\n" #~ "..............................................+++\n" #~ "writing new private key to 'JoeSmith.key'\n" #~ "-----\n" #~ "You are about to be asked to enter information that will be incorporated\n" #~ "into your certificate request.\n" #~ "What you are about to enter is what is called a Distinguished Name or a DN.\n" #~ "There are quite a few fields but you can leave some blank\n" #~ "For some fields there will be a default value,\n" #~ "If you enter '.', the field will be left blank.\n" #~ "-----\n" #~ "Country Name (2 letter code) [FR]:\n" #~ "State or Province Name (full name) [Loire]:\n" #~ "Locality Name (eg, city) [Saint-Étienne]:\n" #~ "Organization Name (eg, company) [Falcot Corp]:\n" #~ "Organizational Unit Name (eg, section) [Certificate authority]:Development unit\n" #~ "Common Name (eg, your name or your server's hostname) [JoeSmith]:Joe Smith\n" #~ "[…]" #~ msgid "racoon" #~ msgstr "racoon" #~ msgid "IPsec, despite being the standard in IP VPNs, is rather more involved in its implementation. The IPsec engine itself is integrated in the Linux kernel; the required user-space parts, the control and configuration tools, are provided by the ipsec-tools package. In concrete terms, each host's /etc/ipsec-tools.conf contains the parameters for IPsec tunnels (or Security Associations, in the IPsec terminology) that the host is concerned with; the /etc/init.d/setkey script provides a way to start and stop a tunnel (each tunnel is a secure link to another host connected to the virtual private network). This file can be built by hand from the documentation provided by the setkey 8 manual page. However, explicitly writing the parameters for all hosts in a non-trivial set of machines quickly becomes an arduous task, since the number of tunnels grows fast. Installing an IKE daemon (for IPsec Key Exchange) such as racoon or strongswan makes the process much simpler by bringing administration together at a central point, and more secure by rotating the keys periodically." #~ msgstr "仅管 IPsec 已是 IP VPN 的标准,不过在应用层面仍有待加强。IPsec 引擎本身已经集成入 Linux 核心;控制与配置工具等必备的用户部分,已由 ipsec-tools 软件包提供。具体来说,每个主机的 /etc/ipsec-tools.conf 包括给 IPsec tunnels (或 Security Associations,以 IPsec 术语来说) 使用的参数,让主机连进来;/etc/init.d/setkey 脚本提供启用与停止信道的方法 (每个信道是安全链接至另个主机虚拟私有网络)。可以参考 setkey 8 手册提供的文档,以人工方式创建此文件。然而,撰写供所有主机使用的参数,并不轻松反而极为烦琐,因为信道的数量急剧增加。安装 IKE 调度 (如 IPsec Key Exchange) 就像 racoon 或 strongswan 把管理带入中央的点,就可简化此进程,而且定期更换密钥,显得更安全。" #~ msgid "Normal-Service (0);" #~ msgstr "一般服务(0);" #~ msgid "Minimize-Cost (2);" #~ msgstr "最小成本(2);" #~ msgid "Maximize-Reliability (4);" #~ msgstr "最大可用性(4);" #~ msgid "Maximize-Throughput (8);" #~ msgstr "最大吞吐量(8);" #~ msgid "Minimize-Delay (16)." #~ msgstr "最小延迟(16)。" #~ msgid "ToS" #~ msgstr "ToS" #~ msgid "" #~ "\n" #~ "iptables -t mangle -A PREROUTING -p tcp --sport ssh -j TOS --set-tos Minimize-Delay\n" #~ "iptables -t mangle -A PREROUTING -p tcp --dport ssh -j TOS --set-tos Minimize-Delay" #~ msgstr "" #~ "\n" #~ "iptables -t mangle -A PREROUTING -p tcp --sport ssh -j TOS --set-tos Minimize-Delay\n" #~ "iptables -t mangle -A PREROUTING -p tcp --dport ssh -j TOS --set-tos Minimize-Delay"