Debian Codegraph @

po/ru/man7/ip.7.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Azamat Hackimov <[email protected]>, 2013-2014, 2017.
5 # Dmitriy S. Seregin <[email protected]>, 2013.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017, 2019.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:28+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "ip"
29 msgstr "ip"
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-08"
36 msgstr "8 февраля 2026 г."
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, fuzzy, no-wrap
41 #| msgid "Linux man-pages 6.17"
42 msgid "Linux man-pages 6.18"
43 msgstr "Справочные страницы Linux 6.17"
44
45 #. type: SH
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 msgid "ip - Linux IPv4 protocol implementation"
56 msgstr "ip - реализация протокола IPv4 в Linux"
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "SYNOPSIS"
63 msgstr "СИНТАКСИС"
64
65 #. .B #include <net/netinet.h> -- does not exist anymore
66 #. .B #include <linux/errqueue.h> -- never include <linux/foo.h>
67 #. type: Plain text
68 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
69 #: opensuse-tumbleweed
70 #, fuzzy, no-wrap
71 #| msgid ""
72 #| "B<#include E<lt>sys/socket.hE<gt>>\n"
73 #| "B<#include E<lt>netinet/in.hE<gt>>\n"
74 #| "B<#include E<lt>arpa/inet.hE<gt>>\n"
75 msgid ""
76 "B<#include E<lt>sys/socket.hE<gt>>\n"
77 "B<#include E<lt>netinet/in.hE<gt>>\n"
78 "B<#include E<lt>netinet/ip.hE<gt>> /* superset of previous */\n"
79 msgstr ""
80 "B<#include E<lt>sys/socket.hE<gt>>\n"
81 "B<#include E<lt>netinet/in.hE<gt>>\n"
82 "B<#include E<lt>arpa/inet.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "I<tcp_socket>B< = socket(AF_INET, SOCK_STREAM, 0);>\n"
90 "I<udp_socket>B< = socket(AF_INET, SOCK_DGRAM, 0);>\n"
91 "I<raw_socket>B< = socket(AF_INET, SOCK_RAW, >I<protocol>B<);>\n"
92 msgstr ""
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr "ОПИСАНИЕ"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "Linux implements the Internet Protocol, version 4, described in RFC\\ 791 "
106 "and RFC\\ 1122. B<ip> contains a level 2 multicasting implementation "
107 "conforming to RFC\\ 1112. It also contains an IP router including a packet "
108 "filter."
109 msgstr ""
110 "В Linux реализован протокол Интернета (Internet Protocol, IP) версии 4, "
111 "описанный в RFC\\ 791 и RFC\\ 1122. В модуле B<ip> содержится реализация "
112 "второго уровня групповых многоадресных сообщений, которая соответствует "
113 "RFC\\ 1112. Кроме того, в нём имеется маршрутизатор IP с фильтрацией пакетов."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The programming interface is BSD-sockets compatible. For more information "
120 "on sockets, see B<socket>(7)."
121 msgstr ""
122 "Программный интерфейс совместим с интерфейсом сокетов BSD. Более подробную "
123 "информацию смотрите в B<socket>(7)."
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid "An IP socket is created using B<socket>(2):"
129 msgstr "Сокет IP создаётся с помощью B<socket>(2):"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, fuzzy, no-wrap
135 #| msgid " socket(AF_INET, socket_type, protocol);\n"
136 msgid "socket(AF_INET, socket_type, protocol);\n"
137 msgstr " socket(AF_INET, socket_type, protocol);\n"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "Valid socket types include B<SOCK_STREAM> to open a stream socket, "
144 "B<SOCK_DGRAM> to open a datagram socket, and B<SOCK_RAW> to open a "
145 "B<raw>(7) socket to access the IP protocol directly."
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "I<protocol> is the IP protocol in the IP header to be received or sent. "
153 "Valid values for I<protocol> include:"
154 msgstr ""
155
156 #. type: IP
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "\\[bu]"
161 msgstr "\\[bu]"
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid "0 and B<IPPROTO_TCP> for B<tcp>(7) stream sockets;"
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid "0 and B<IPPROTO_UDP> for B<udp>(7) datagram sockets;"
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid "B<IPPROTO_SCTP> for B<sctp>(7) stream sockets; and"
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid "B<IPPROTO_UDPLITE> for B<udplite>(7) datagram sockets."
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "For B<SOCK_RAW> you may specify a valid IANA IP protocol defined in RFC\\ "
192 "1700 assigned numbers."
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid ""
199 "When a process wants to receive new incoming packets or connections, it "
200 "should bind a socket to a local interface address using B<bind>(2). In this "
201 "case, only one IP socket may be bound to any given local (address, port) "
202 "pair. When B<INADDR_ANY> is specified in the bind call, the socket will be "
203 "bound to I<all> local interfaces. When B<listen>(2) is called on an "
204 "unbound socket, the socket is automatically bound to a random free port with "
205 "the local address set to B<INADDR_ANY>. When B<connect>(2) is called on an "
206 "unbound socket, the socket is automatically bound to a random free port or "
207 "to a usable shared port with the local address set to B<INADDR_ANY>."
208 msgstr ""
209 "Если процесс хочет принимать новые входящие пакеты или соединения, то он "
210 "должен связать сокет с адресом локального интерфейса с помощью B<bind>(2). "
211 "Каждый IP-сокет может быть связан только с одной задаваемой локальной парой "
212 "(адрес, порт). Если в вызове B<bind>(2) указать B<INADDR_ANY>, то сокет "
213 "будет связан со I<всеми> локальными интерфейсами. При вызове B<listen>(2) "
214 "для несвязанного сокета происходит автоматическая привязка к произвольно "
215 "выбранному свободному порту с локальным адресом B<INADDR_ANY>. При вызове "
216 "B<connect>(2) для несвязанного сокета происходит автоматическая привязка к "
217 "произвольно выбранному свободному порту или используемому общему порту с "
218 "локальным адресом B<INADDR_ANY>."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "A TCP local socket address that has been bound is unavailable for some time "
225 "after closing, unless the B<SO_REUSEADDR> flag has been set. Care should be "
226 "taken when using this flag as it makes TCP less reliable."
227 msgstr ""
228 "После закрытия связанного локального TCP-сокета его адрес будет недоступен в "
229 "течение некоторого времени, если только не был установлен флаг "
230 "B<SO_REUSEADDR>. Следует проявлять осторожность при использовании этого "
231 "флага, поскольку это делает TCP менее надежным."
232
233 #. type: SS
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "Address format"
238 msgstr "Формат адреса"
239
240 #. type: Plain text
241 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
242 #: opensuse-tumbleweed
243 #, fuzzy
244 #| msgid ""
245 #| "An IP socket address is defined as a combination of an IP interface "
246 #| "address and a 16-bit port number. The basic IP protocol does not supply "
247 #| "port numbers, they are implemented by higher level protocols like "
248 #| "B<udp>(7) and B<tcp>(7). On raw sockets I<sin_port> is set to the IP "
249 #| "protocol."
250 msgid ""
251 "An IP socket address is defined as a combination of an IP interface address "
252 "and a 16-bit port number. The basic IP protocol does not supply port "
253 "numbers, they are implemented by higher level protocols like B<udp>(7) and "
254 "B<tcp>(7). On raw sockets I<.sin_port> is set to the IP protocol."
255 msgstr ""
256 "Адрес IP-сокета определяется как комбинация IP-адреса интерфейса и номера "
257 "порта. В самом протоколе IP нет номеров портов, они реализуются протоколами "
258 "более высокого уровня, например B<udp>(7) и B<tcp>(7). У неструктурированных "
259 "(raw) сокетов номер протокола IP указывается в I<sin_port>."
260
261 #. type: Plain text
262 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
263 #: opensuse-tumbleweed
264 #, fuzzy
265 #| msgid "See B<pthread_attr_init>(3)."
266 msgid "See B<sockaddr_in>(3type)."
267 msgstr "Смотрите B<pthread_attr_init>(3)."
268
269 #. type: Plain text
270 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
271 #: opensuse-tumbleweed
272 #, fuzzy
273 #| msgid ""
274 #| "I<sin_family> is always set to B<AF_INET>. This is required; in Linux "
275 #| "2.2 most networking functions return B<EINVAL> when this setting is "
276 #| "missing. I<sin_port> contains the port in network byte order. The port "
277 #| "numbers below 1024 are called I<privileged ports> (or sometimes: "
278 #| "I<reserved ports>). Only a privileged process (on Linux: a process that "
279 #| "has the B<CAP_NET_BIND_SERVICE> capability in the user namespace "
280 #| "governing its network namespace) may B<bind>(2) to these sockets. Note "
281 #| "that the raw IPv4 protocol as such has no concept of a port, they are "
282 #| "implemented only by higher protocols like B<tcp>(7) and B<udp>(7)."
283 msgid ""
284 "I<.sin_family> is always set to B<AF_INET>. This is required; in Linux 2.2 "
285 "most networking functions return B<EINVAL> when this setting is missing. "
286 "I<.sin_port> contains the port in network byte order. The port numbers "
287 "below 1024 are called I<privileged ports> (or sometimes: I<reserved "
288 "ports>). Only a privileged process (on Linux: a process that has the "
289 "B<CAP_NET_BIND_SERVICE> capability in the user namespace governing its "
290 "network namespace) may B<bind>(2) to these sockets. Note that the raw IPv4 "
291 "protocol as such has no concept of a port, they are implemented only by "
292 "higher protocols like B<tcp>(7) and B<udp>(7)."
293 msgstr ""
294 "Значение I<sin_family> всегда устанавливается в B<AF_INET>. Это обязательно; "
295 "в Linux 2.2 большая часть сетевых функций возвращает код ошибки B<EINVAL>, "
296 "если это условие не выполняется. В I<sin_port> указывается номер порта в "
297 "сетевом порядке байт. Порты, номера которых меньше 1024, называются "
298 "I<привилегированными портами> (или, иногда, I<зарезервированными портами>). "
299 "Только привилегированные процессы (в Linux: процессы с мандатом "
300 "B<CAP_NET_BIND_SERVICE> в пользовательском пространстве имён, управляющим "
301 "его сетевым пространством имён) могут быть связаны с этими сокетами с "
302 "помощью B<bind>(2). Заметим, что у неструктурированного протокола IPv4 нет "
303 "понятия портов как таковых, они реализуются только протоколами более "
304 "высокого уровня, типа B<tcp>(7) и B<udp>(7)."
305
306 #. type: Plain text
307 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
308 #: opensuse-tumbleweed
309 #, fuzzy
310 #| msgid ""
311 #| "I<sin_addr> is the IP host address. The I<s_addr> member of I<struct "
312 #| "in_addr> contains the host interface address in network byte order. "
313 #| "I<in_addr> should be assigned one of the B<INADDR_*> values (e.g., "
314 #| "B<INADDR_LOOPBACK>) using B<htonl>(3) or set using the B<inet_aton>(3), "
315 #| "B<inet_addr>(3), B<inet_makeaddr>(3) library functions or directly with "
316 #| "the name resolver (see B<gethostbyname>(3))."
317 msgid ""
318 "I<.sin_addr> is the IP host address. The I<.s_addr> member of the "
319 "B<in_addr>(3type) structure contains the host interface address in network "
320 "byte order. B<in_addr>(3type) should be assigned one of the B<INADDR_*> "
321 "values (e.g., B<INADDR_LOOPBACK>) using B<htonl>(3) or set using the "
322 "B<inet_aton>(3), B<inet_addr>(3), B<inet_makeaddr>(3) library functions or "
323 "directly with the name resolver (see B<gethostbyname>(3))."
324 msgstr ""
325 "В I<sin_addr> указывается IP-адрес узла. В поле I<s_addr> структуры I<struct "
326 "in_addr> содержится адрес интерфейса узла в сетевом порядке байт. Значение "
327 "I<in_addr> должно быть одним из B<INADDR_*> (например, B<INADDR_LOOPBACK>) "
328 "установленное B<htonl>(3), или с помощью библиотечных функций "
329 "B<inet_aton>(3), B<inet_addr>(3), B<inet_makeaddr>(3) или напрямую с помощью "
330 "преобразователя имён (смотрите B<gethostbyname>(3))."
331
332 #. Leave a loophole for XTP @)
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid ""
337 "IPv4 addresses are divided into unicast, broadcast, and multicast "
338 "addresses. Unicast addresses specify a single interface of a host, "
339 "broadcast addresses specify all hosts on a network, and multicast addresses "
340 "address all hosts in a multicast group. Datagrams to broadcast addresses "
341 "can be sent or received only when the B<SO_BROADCAST> socket flag is set. "
342 "In the current implementation, connection-oriented sockets are allowed to "
343 "use only unicast addresses."
344 msgstr ""
345 "Адреса IPv4 делятся на однозначные (unicast), широковещательные (broadcast) "
346 "и многоадресные (multicast). Однозначный адрес указывает на один интерфейс "
347 "узла, широковещательный адрес указывает на все узлы в сети, а многоадресный "
348 "указывает на все узлы многоадресной (multicast group). Дейтаграммы могут "
349 "посылаться или приниматься по широковещательным адресам только, если для "
350 "сокета установлен флаг B<SO_BROADCAST>. В текущей реализации сокетам, "
351 "ориентированным на соединения, разрешено иметь только однозначные адреса."
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "Note that the address and the port are always stored in network byte order. "
358 "In particular, this means that you need to call B<htons>(3) on the number "
359 "that is assigned to a port. All address/port manipulation functions in the "
360 "standard library work in network byte order."
361 msgstr ""
362 "Заметим, что значение адреса и порта всегда хранится в сетевом порядке байт. "
363 "В частности, это означает, что требуется вызывать B<htons>(3) для числа, "
364 "обозначающего порт. Все функции из стандартной библиотеки, используемые для "
365 "работы с адресами/портами, используют сетевой порядок байт."
366
367 #. type: SS
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "Special and reserved addresses"
372 msgstr ""
373
374 #. type: Plain text
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 msgid "There are several special addresses:"
378 msgstr ""
379
380 #. type: TP
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "B<INADDR_LOOPBACK> (127.0.0.1)"
385 msgstr ""
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid "always refers to the local host via the loopback device;"
391 msgstr ""
392
393 #. type: TP
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "B<INADDR_ANY> (0.0.0.0)"
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid "means any address for socket binding;"
404 msgstr ""
405
406 #. type: TP
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "B<INADDR_BROADCAST> (255.255.255.255)"
411 msgstr ""
412
413 #. type: Plain text
414 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
415 #: opensuse-tumbleweed
416 msgid ""
417 "A packet addressed to B<INADDR_BROADCAST> through a socket which has "
418 "B<SO_BROADCAST> set will be broadcast to all hosts on the local network "
419 "segment, as long as the link is broadcast-capable."
420 msgstr ""
421
422 #. type: TP
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 #, no-wrap
426 msgid "Highest-numbered address"
427 msgstr ""
428
429 #. type: TQ
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, no-wrap
433 msgid "Lowest-numbered address"
434 msgstr ""
435
436 #. commit 58fee5fc83658aaacf60246aeab738946a9ba516
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "On any locally-attached non-point-to-point IP subnet with a link type that "
442 "supports broadcasts, the highest-numbered address (e.g., the .255 address on "
443 "a subnet with netmask 255.255.255.0) is designated as a broadcast address. "
444 "It cannot usefully be assigned to an individual interface, and can only be "
445 "addressed with a socket on which the B<SO_BROADCAST> option has been set. "
446 "Internet standards have historically also reserved the lowest-numbered "
447 "address (e.g., the .0 address on a subnet with netmask 255.255.255.0) for "
448 "broadcast, though they call it \"obsolete\" for this purpose. (Some sources "
449 "also refer to this as the \"network address.\") Since Linux 5.14, it is "
450 "treated as an ordinary unicast address and can be assigned to an interface."
451 msgstr ""
452
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid ""
457 "Internet standards have traditionally also reserved various addresses for "
458 "particular uses, though Linux no longer treats some of these specially."
459 msgstr ""
460
461 #. type: TP
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid "[0.0.0.1, 0.255.255.255]"
466 msgstr ""
467
468 #. type: TQ
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid "[240.0.0.0, 255.255.255.254]"
473 msgstr ""
474
475 #. commit 96125bf9985a75db00496dd2bc9249b777d2b19b
476 #. commit 1e637c74b0f84eaca02b914c0b8c6f67276e9697
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "Addresses in these ranges (0/8 and 240/4) are reserved globally. Since "
482 "Linux 5.3 and Linux 2.6.25, respectively, the 0/8 and 240/4 addresses, other "
483 "than B<INADDR_ANY> and B<INADDR_BROADCAST>, are treated as ordinary unicast "
484 "addresses. Systems that follow the traditional behaviors may not "
485 "interoperate with these historically reserved addresses."
486 msgstr ""
487
488 #. type: TP
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "[127.0.0.1, 127.255.255.254]"
493 msgstr ""
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid ""
499 "Addresses in this range (127/8) are treated as loopback addresses akin to "
500 "the standardized local loopback address B<INADDR_LOOPBACK> (127.0.0.1);"
501 msgstr ""
502
503 #. type: TP
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 #, no-wrap
507 msgid "[224.0.0.0, 239.255.255.255]"
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid "Addresses in this range (224/4) are dedicated to multicast use."
514 msgstr ""
515
516 #. type: SS
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 #, no-wrap
520 msgid "Socket options"
521 msgstr "Параметры сокета"
522
523 #. type: Plain text
524 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
525 #: opensuse-tumbleweed
526 msgid "See B<IPPROTO_IP>(2const)."
527 msgstr ""
528
529 #. type: SS
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "/proc interfaces"
534 msgstr "Интерфейс /proc"
535
536 #. type: Plain text
537 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
538 #: opensuse-tumbleweed
539 #, fuzzy
540 #| msgid "See B<core>(5)."
541 msgid "See B<proc_sys_net_ipv4>(5)."
542 msgstr "Смотрите B<core>(5)."
543
544 #. type: SS
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "Ioctls"
549 msgstr "Вызовы ioctl"
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid "All ioctls described in B<socket>(7) apply to B<ip>."
555 msgstr "Все вызовы ioctl, описанные в B<socket>(7), применимы к B<ip>."
556
557 #. FIXME Add a discussion of multicasting
558 #. type: Plain text
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 msgid ""
562 "Ioctls to configure generic device parameters are described in "
563 "B<netdevice>(7)."
564 msgstr ""
565 "Вызовы ioctl для настройки общих параметров устройств описаны в "
566 "B<netdevice>(7)."
567
568 #. type: SH
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 #, no-wrap
572 msgid "ERRORS"
573 msgstr "ОШИБКИ"
574
575 #. type: TP
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "B<EACCES>"
580 msgstr "B<EACCES>"
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 msgid ""
586 "The user tried to execute an operation without the necessary permissions. "
587 "These include: sending a packet to a broadcast address without having the "
588 "B<SO_BROADCAST> flag set; sending a packet via a I<prohibit> route; "
589 "modifying firewall settings without superuser privileges (the "
590 "B<CAP_NET_ADMIN> capability); binding to a privileged port without superuser "
591 "privileges (the B<CAP_NET_BIND_SERVICE> capability)."
592 msgstr ""
593 "Пользователь попытался выполнить действие, не имея на это необходимых "
594 "полномочий. Примеры таких действий: посылка пакета по широковещательному "
595 "адресу без предварительной установки флага B<SO_BROADCAST>; посылка пакета "
596 "по I<запрещённому> маршруту; изменение настроек межсетевого экрана не имея "
597 "прав суперпользователя (мандата B<CAP_NET_ADMIN>); связывание сокета с "
598 "зарезервированным портом, не имея прав суперпользователя (мандата "
599 "B<CAP_NET_BIND_SERVICE>)."
600
601 #. type: TP
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 #, no-wrap
605 msgid "B<EADDRINUSE>"
606 msgstr "B<EADDRINUSE>"
607
608 #. type: Plain text
609 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
610 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
611 msgid "Tried to bind to an address already in use."
612 msgstr "Попытка связать сокет с уже используемым адресом."
613
614 #. type: TP
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid "B<EADDRNOTAVAIL>"
619 msgstr "B<EADDRNOTAVAIL>"
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid ""
625 "A nonexistent interface was requested or the requested source address was "
626 "not local."
627 msgstr ""
628 "Был запрошен несуществующий интерфейс или запрошенный исходящий адрес не "
629 "является локальным."
630
631 #. type: TP
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "B<EAGAIN>"
636 msgstr "B<EAGAIN>"
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid "Operation on a nonblocking socket would block."
642 msgstr "Действие над неблокирующим сокетом привело бы к его блокировке."
643
644 #. type: TP
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "B<EALREADY>"
649 msgstr "B<EALREADY>"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid "A connection operation on a nonblocking socket is already in progress."
655 msgstr ""
656 "Операция соединения на неблокирующем сокете уже находится в процессе "
657 "выполнения."
658
659 #. type: TP
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, no-wrap
663 msgid "B<ECONNABORTED>"
664 msgstr "B<ECONNABORTED>"
665
666 #. type: Plain text
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 msgid "A connection was closed during an B<accept>(2)."
670 msgstr "Соединение закрыто во время B<accept>(2)."
671
672 #. type: TP
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 #, no-wrap
676 msgid "B<EHOSTUNREACH>"
677 msgstr "B<EHOSTUNREACH>"
678
679 #. type: Plain text
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 msgid ""
683 "No valid routing table entry matches the destination address. This error "
684 "can be caused by an ICMP message from a remote router or for the local "
685 "routing table."
686 msgstr ""
687 "В таблице маршрутизации нет допустимых записей, соответствующих адресу "
688 "назначения. Эта ошибка может возникнуть из-за ICMP-сообщения от удалённого "
689 "маршрутизатора или из-за локальной таблицы маршрутизации."
690
691 #. type: TP
692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
694 #, no-wrap
695 msgid "B<EINVAL>"
696 msgstr "B<EINVAL>"
697
698 #. type: Plain text
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 msgid ""
702 "Invalid argument passed. For send operations this can be caused by sending "
703 "to a I<blackhole> route."
704 msgstr ""
705 "Передан недопустимый аргумент. При операциях отправки эта ошибка может "
706 "возникнуть из-за передачи по маршруту I<чёрная дыра> (blackhole)."
707
708 #. type: TP
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "B<EISCONN>"
713 msgstr "B<EISCONN>"
714
715 #. type: Plain text
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 msgid "B<connect>(2) was called on an already connected socket."
719 msgstr "Вызов B<connect>(2) запущен для сокета, уже установившего соединение."
720
721 #. type: TP
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 #, no-wrap
725 msgid "B<EMSGSIZE>"
726 msgstr "B<EMSGSIZE>"
727
728 #. type: Plain text
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 msgid "Datagram is bigger than an MTU on the path and it cannot be fragmented."
732 msgstr ""
733 "Дейтаграмма больше значения MTU на маршруте, и она не может быть "
734 "фрагментирована."
735
736 #. type: TP
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid "B<ENOBUFS>"
741 msgstr "B<ENOBUFS>"
742
743 #. type: TQ
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "B<ENOMEM>"
748 msgstr "B<ENOMEM>"
749
750 #. type: Plain text
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 msgid ""
754 "Not enough free memory. This often means that the memory allocation is "
755 "limited by the socket buffer limits, not by the system memory, but this is "
756 "not 100% consistent."
757 msgstr ""
758 "Недостаточно свободной памяти. Часто это означает, что выделение памяти "
759 "ограничено не размером системной памяти, а границами буфера сокета, но это "
760 "не всегда так."
761
762 #. type: TP
763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
765 #, no-wrap
766 msgid "B<ENOENT>"
767 msgstr "B<ENOENT>"
768
769 #. type: Plain text
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 msgid "B<SIOCGSTAMP> was called on a socket where no packet arrived."
773 msgstr ""
774 "Для сокета вызван B<SIOCGSTAMP>, но он ещё не получил ни одного пакета."
775
776 #. type: TP
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 #, no-wrap
780 msgid "B<ENOPKG>"
781 msgstr "B<ENOPKG>"
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid "A kernel subsystem was not configured."
787 msgstr "Не настроена подсистема ядра."
788
789 #. type: TP
790 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
791 #: opensuse-leap-16-1 opensuse-tumbleweed
792 #, no-wrap
793 msgid "B<ENOPROTOOPT>"
794 msgstr "B<ENOPROTOOPT>"
795
796 #. type: TQ
797 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
798 #: opensuse-leap-16-1 opensuse-tumbleweed
799 #, no-wrap
800 msgid "B<EOPNOTSUPP>"
801 msgstr "B<EOPNOTSUPP>"
802
803 #. type: Plain text
804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
806 msgid "Invalid socket option passed."
807 msgstr "Передан недопустимый параметр сокета."
808
809 #. type: TP
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 #, no-wrap
813 msgid "B<ENOTCONN>"
814 msgstr "B<ENOTCONN>"
815
816 #. type: Plain text
817 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
818 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
819 msgid ""
820 "The operation is defined only on a connected socket, but the socket wasn't "
821 "connected."
822 msgstr ""
823 "Операция определена только для сокета, установившего соединение, а этот "
824 "сокет не соединён."
825
826 #. type: TP
827 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
828 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
829 #, no-wrap
830 msgid "B<EPERM>"
831 msgstr "B<EPERM>"
832
833 #. type: Plain text
834 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
835 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
836 msgid ""
837 "User doesn't have permission to set high priority, change configuration, or "
838 "send signals to the requested process or group."
839 msgstr ""
840 "У пользователя нет достаточных полномочий, чтобы повысить приоритет, "
841 "изменить настройку или послать сигнал запрашиваемому процессу или группе "
842 "процессов."
843
844 #. type: TP
845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
847 #, no-wrap
848 msgid "B<EPIPE>"
849 msgstr "B<EPIPE>"
850
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 msgid "The connection was unexpectedly closed or shut down by the other end."
855 msgstr ""
856 "Соединение неожиданно закрылось или завершено (shut down) другой стороной."
857
858 #. type: TP
859 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
860 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
861 #, no-wrap
862 msgid "B<ESOCKTNOSUPPORT>"
863 msgstr "B<ESOCKTNOSUPPORT>"
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 msgid "The socket is not configured or an unknown socket type was requested."
869 msgstr "Сокет не настроен или запрошен неизвестный тип сокета."
870
871 #. type: Plain text
872 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
873 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
874 msgid ""
875 "Other errors may be generated by the overlaying protocols; see B<tcp>(7), "
876 "B<raw>(7), B<udp>(7), and B<socket>(7)."
877 msgstr ""
878 "Протоколами более высокого уровня могут генерироваться другие ошибки; "
879 "смотрите B<tcp>(7), B<raw>(7), B<udp>(7) и B<socket>(7)."
880
881 #. type: SH
882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
884 #, no-wrap
885 msgid "NOTES"
886 msgstr "ПРИМЕЧАНИЯ"
887
888 #. type: Plain text
889 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
890 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
891 #, fuzzy
892 #| msgid ""
893 #| "Be very careful with the B<SO_BROADCAST> option - it is not privileged in "
894 #| "Linux. It is easy to overload the network with careless broadcasts. For "
895 #| "new application protocols it is better to use a multicast group instead "
896 #| "of broadcasting. Broadcasting is discouraged."
897 msgid ""
898 "Be very careful with the B<SO_BROADCAST> option - it is not privileged in "
899 "Linux. It is easy to overload the network with careless broadcasts. For "
900 "new application protocols it is better to use a multicast group instead of "
901 "broadcasting. Broadcasting is discouraged. See RFC 6762 for an example of "
902 "a protocol (mDNS) using the more modern multicast approach to communicating "
903 "with an open-ended group of hosts on the local network."
904 msgstr ""
905 "Будьте осторожны при использовании параметра B<SO_BROADCAST> — в Linux он не "
906 "является привилегированным. Если небрежно относиться к широковещательным "
907 "сообщениям, то можно легко перегрузить сеть. В новых протоколах для "
908 "приложений лучше использовать многоадресные рассылки вместо "
909 "широковещательных. Не используйте широковещание."
910
911 #. type: Plain text
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 msgid ""
915 "Using the B<SOL_IP> socket options level isn't portable; BSD-based stacks "
916 "use the B<IPPROTO_IP> level."
917 msgstr ""
918 "Использование уровня параметров сокета B<SOL_IP> непереносимо — в BSD-стеках "
919 "используется уровень B<IPPROTO_IP>."
920
921 #. type: Plain text
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 #, fuzzy
925 #| msgid ""
926 #| "B<INADDR_ANY>\n"
927 #| "(0.0.0.0) and\n"
928 #| "B<INADDR_BROADCAST>\n"
929 #| "(255.255.255.255) are byte-order-neutral.\n"
930 #| " This means\n"
931 #| "B<htonl>(3)\n"
932 #| "has no effect on them.\n"
933 msgid ""
934 "B<INADDR_ANY> (0.0.0.0) and B<INADDR_BROADCAST> (255.255.255.255) are byte-"
935 "order-neutral. This means B<htonl>(3) has no effect on them."
936 msgstr ""
937 "Значение B<INADDR_ANY>\n"
938 "(0.0.0.0) и\n"
939 "B<INADDR_BROADCAST>\n"
940 "(255.255.255.255) указываются с нейтральным порядком байт.\n"
941 "Это означает, что\n"
942 "B<htonl>(3)\n"
943 "на них не действует.\n"
944
945 #. type: SS
946 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
947 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
948 #, no-wrap
949 msgid "Compatibility"
950 msgstr "Совместимость"
951
952 #. type: Plain text
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 msgid ""
956 "For compatibility with Linux 2.0, the obsolete B<socket(AF_INET, "
957 "SOCK_PACKET, >I<protocol>B<)> syntax is still supported to open a "
958 "B<packet>(7) socket. This is deprecated and should be replaced by "
959 "B<socket(AF_PACKET, SOCK_RAW, >I<protocol>B<)> instead. The main difference "
960 "is the new I<sockaddr_ll> address structure for generic link layer "
961 "information instead of the old B<sockaddr_pkt>."
962 msgstr ""
963 "Для совместимости с Linux 2.0 устаревший синтаксис B<socket(AF_INET, "
964 "SOCK_PACKET, >I<protocol>B<)> всё ещё поддерживается для открытия сокетов "
965 "типа B<packet>(7). Такое использование не поощряется и должно быть заменено "
966 "на B<socket(AF_PACKET, SOCK_RAW, >I<protocol>B<)>. Основное различие между "
967 "ними в новой адресной структуре I<sockaddr_ll> (вместо старой структуры "
968 "B<sockaddr_pkt>), хранящей информацию обобщённого уровня соединения."
969
970 #. type: SH
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 #, no-wrap
974 msgid "BUGS"
975 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
976
977 #. type: Plain text
978 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
979 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
980 msgid "There are too many inconsistent error values."
981 msgstr "Слишком много противоречий в значениях ошибок."
982
983 #. type: Plain text
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 msgid ""
987 "The error used to diagnose exhaustion of the ephemeral port range differs "
988 "across the various system calls (B<connect>(2), B<bind>(2), B<listen>(2), "
989 "B<sendto>(2)) that can assign ephemeral ports."
990 msgstr ""
991 "Ошибка, используемая при диагностике исчерпания диапазона эфемерных портов, "
992 "отличается в различных системных вызовах (B<connect>(2), B<bind>(2), "
993 "B<listen>(2), B<sendto>(2)), из-за чего эфемерные порты могут быть назначены."
994
995 #. .P
996 #. Some versions of glibc forget to declare
997 #. .IR in_pktinfo .
998 #. Workaround currently is to copy it into your program from this man page.
999 #. type: Plain text
1000 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1001 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1002 msgid ""
1003 "The ioctls to configure IP-specific interface options and ARP tables are not "
1004 "described."
1005 msgstr ""
1006 "Не описаны ioctl для настройки специальных параметров IP для интерфейса и "
1007 "таблиц ARP."
1008
1009 #. .SH AUTHORS
1010 #. This man page was written by Andi Kleen.
1011 #. type: Plain text
1012 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1013 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1014 #, fuzzy
1015 #| msgid ""
1016 #| "Receiving the original destination address with B<MSG_ERRQUEUE> in "
1017 #| "I<msg_name> by B<recvmsg>(2) does not work in some 2.2 kernels."
1018 msgid ""
1019 "Receiving the original destination address with B<MSG_ERRQUEUE> in "
1020 "I<msg_name> by B<recvmsg>(2) does not work in some Linux 2.2 kernels."
1021 msgstr ""
1022 "Получение исходного адреса назначения в I<msg_name> с помощью "
1023 "B<MSG_ERRQUEUE> вызовом B<recvmsg>(2) не работает в некоторых ядрах 2.2."
1024
1025 #. type: SH
1026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1028 #, no-wrap
1029 msgid "SEE ALSO"
1030 msgstr "СМОТРИТЕ ТАКЖЕ"
1031
1032 #. type: Plain text
1033 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1034 #: opensuse-tumbleweed
1035 #, fuzzy
1036 #| msgid ""
1037 #| "B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), B<ipfw>(4), "
1038 #| "B<capabilities>(7), B<icmp>(7), B<ipv6>(7), B<netlink>(7), B<raw>(7), "
1039 #| "B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
1040 msgid ""
1041 "B<IPPROTO_IP>(2const), B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), "
1042 "B<capabilities>(7), B<icmp>(7), B<ipv6>(7), B<netdevice>(7), B<netlink>(7), "
1043 "B<raw>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
1044 msgstr ""
1045 "B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), B<ipfw>(4), "
1046 "B<capabilities>(7), B<icmp>(7), B<ipv6>(7), B<netlink>(7), B<raw>(7), "
1047 "B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
1048
1049 #. type: Plain text
1050 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1051 #: opensuse-tumbleweed
1052 #, fuzzy
1053 #| msgid "The kernel source file I<Documentation/networking/ip-sysctl.txt>."
1054 msgid "The kernel source file I<Documentation/networking/ip-sysctl.rst>."
1055 msgstr "Исходный файл ядра I<Documentation/networking/ip-sysctl.txt>."
1056
1057 #. type: Plain text
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 msgid ""
1061 "RFC\\ 791 for the original IP specification. RFC\\ 1122 for the IPv4 host "
1062 "requirements. RFC\\ 1812 for the IPv4 router requirements."
1063 msgstr ""
1064 "Первоначальная спецификация IP описана в RFC\\ 791. В RFC\\ 1122 определены "
1065 "требования для узлов IPv4. В RFC\\ 1812 определены требования для "
1066 "маршрутизаторов IPv4."
1067
1068 #. type: TH
1069 #: debian-trixie
1070 #, no-wrap
1071 msgid "2024-05-02"
1072 msgstr "2 мая 2024 г."
1073
1074 #. type: TH
1075 #: debian-trixie
1076 #, no-wrap
1077 msgid "Linux man-pages 6.9.1"
1078 msgstr "Страницы руководства Linux 6.9.1"
1079
1080 #. .B #include <net/netinet.h> -- does not exist anymore
1081 #. .B #include <linux/errqueue.h> -- never include <linux/foo.h>
1082 #. type: Plain text
1083 #: debian-trixie fedora-44 fedora-rawhide
1084 #, fuzzy, no-wrap
1085 #| msgid ""
1086 #| "B<#include E<lt>sys/socket.hE<gt>>\n"
1087 #| "B<#include E<lt>netinet/in.hE<gt>>\n"
1088 #| "B<#include E<lt>arpa/inet.hE<gt>>\n"
1089 msgid ""
1090 "B<#include E<lt>sys/socket.hE<gt>>\n"
1091 "B<#include E<lt>netinet/in.hE<gt>>\n"
1092 "B<#include E<lt>netinet/ip.hE<gt> >/* superset of previous */\n"
1093 msgstr ""
1094 "B<#include E<lt>sys/socket.hE<gt>>\n"
1095 "B<#include E<lt>netinet/in.hE<gt>>\n"
1096 "B<#include E<lt>arpa/inet.hE<gt>>\n"
1097
1098 #. type: Plain text
1099 #: debian-trixie fedora-44 fedora-rawhide
1100 msgid ""
1101 "An IP socket address is defined as a combination of an IP interface address "
1102 "and a 16-bit port number. The basic IP protocol does not supply port "
1103 "numbers, they are implemented by higher level protocols like B<udp>(7) and "
1104 "B<tcp>(7). On raw sockets I<sin_port> is set to the IP protocol."
1105 msgstr ""
1106 "Адрес IP-сокета определяется как комбинация IP-адреса интерфейса и номера "
1107 "порта. В самом протоколе IP нет номеров портов, они реализуются протоколами "
1108 "более высокого уровня, например B<udp>(7) и B<tcp>(7). У неструктурированных "
1109 "(raw) сокетов номер протокола IP указывается в I<sin_port>."
1110
1111 #. type: Plain text
1112 #: debian-trixie fedora-44 fedora-rawhide
1113 #, fuzzy, no-wrap
1114 #| msgid ""
1115 #| "struct sockaddr_in {\n"
1116 #| " sa_family_t sin_family; /* address family: AF_INET */\n"
1117 #| " in_port_t sin_port; /* port in network byte order */\n"
1118 #| " struct in_addr sin_addr; /* internet address */\n"
1119 #| "};\n"
1120 msgid ""
1121 "struct sockaddr_in {\n"
1122 " sa_family_t sin_family; /* address family: AF_INET */\n"
1123 " in_port_t sin_port; /* port in network byte order */\n"
1124 " struct in_addr sin_addr; /* internet address */\n"
1125 "};\n"
1126 "\\&\n"
1127 "/* Internet address */\n"
1128 "struct in_addr {\n"
1129 " uint32_t s_addr; /* address in network byte order */\n"
1130 "};\n"
1131 msgstr ""
1132 "struct sockaddr_in {\n"
1133 " sa_family_t sin_family; /* семейство адресов: AF_INET */\n"
1134 " in_port_t sin_port; /* порт сокета в сетевом порядке\n"
1135 " байт */\n"
1136 " struct in_addr sin_addr; /* Интернет-адрес */\n"
1137 "};\n"
1138
1139 #. type: Plain text
1140 #: debian-trixie fedora-44 fedora-rawhide
1141 msgid ""
1142 "I<sin_family> is always set to B<AF_INET>. This is required; in Linux 2.2 "
1143 "most networking functions return B<EINVAL> when this setting is missing. "
1144 "I<sin_port> contains the port in network byte order. The port numbers below "
1145 "1024 are called I<privileged ports> (or sometimes: I<reserved ports>). Only "
1146 "a privileged process (on Linux: a process that has the "
1147 "B<CAP_NET_BIND_SERVICE> capability in the user namespace governing its "
1148 "network namespace) may B<bind>(2) to these sockets. Note that the raw IPv4 "
1149 "protocol as such has no concept of a port, they are implemented only by "
1150 "higher protocols like B<tcp>(7) and B<udp>(7)."
1151 msgstr ""
1152 "Значение I<sin_family> всегда устанавливается в B<AF_INET>. Это обязательно; "
1153 "в Linux 2.2 большая часть сетевых функций возвращает код ошибки B<EINVAL>, "
1154 "если это условие не выполняется. В I<sin_port> указывается номер порта в "
1155 "сетевом порядке байт. Порты, номера которых меньше 1024, называются "
1156 "I<привилегированными портами> (или, иногда, I<зарезервированными портами>). "
1157 "Только привилегированные процессы (в Linux: процессы с мандатом "
1158 "B<CAP_NET_BIND_SERVICE> в пользовательском пространстве имён, управляющим "
1159 "его сетевым пространством имён) могут быть связаны с этими сокетами с "
1160 "помощью B<bind>(2). Заметим, что у неструктурированного протокола IPv4 нет "
1161 "понятия портов как таковых, они реализуются только протоколами более "
1162 "высокого уровня, типа B<tcp>(7) и B<udp>(7)."
1163
1164 #. type: Plain text
1165 #: debian-trixie fedora-44 fedora-rawhide
1166 msgid ""
1167 "I<sin_addr> is the IP host address. The I<s_addr> member of I<struct "
1168 "in_addr> contains the host interface address in network byte order. "
1169 "I<in_addr> should be assigned one of the B<INADDR_*> values (e.g., "
1170 "B<INADDR_LOOPBACK>) using B<htonl>(3) or set using the B<inet_aton>(3), "
1171 "B<inet_addr>(3), B<inet_makeaddr>(3) library functions or directly with the "
1172 "name resolver (see B<gethostbyname>(3))."
1173 msgstr ""
1174 "В I<sin_addr> указывается IP-адрес узла. В поле I<s_addr> структуры I<struct "
1175 "in_addr> содержится адрес интерфейса узла в сетевом порядке байт. Значение "
1176 "I<in_addr> должно быть одним из B<INADDR_*> (например, B<INADDR_LOOPBACK>) "
1177 "установленное B<htonl>(3), или с помощью библиотечных функций "
1178 "B<inet_aton>(3), B<inet_addr>(3), B<inet_makeaddr>(3) или напрямую с помощью "
1179 "преобразователя имён (смотрите B<gethostbyname>(3))."
1180
1181 #. type: Plain text
1182 #: debian-trixie fedora-44 fedora-rawhide
1183 msgid ""
1184 "has the same effect on B<bind>(2) as B<INADDR_ANY> for historical reasons. "
1185 "A packet addressed to B<INADDR_BROADCAST> through a socket which has "
1186 "B<SO_BROADCAST> set will be broadcast to all hosts on the local network "
1187 "segment, as long as the link is broadcast-capable."
1188 msgstr ""
1189
1190 #. or SOL_IP on Linux
1191 #. type: Plain text
1192 #: debian-trixie fedora-44 fedora-rawhide
1193 msgid ""
1194 "IP supports some protocol-specific socket options that can be set with "
1195 "B<setsockopt>(2) and read with B<getsockopt>(2). The socket option level "
1196 "for IP is B<IPPROTO_IP>. A boolean integer flag is zero when it is false, "
1197 "otherwise true."
1198 msgstr ""
1199 "IP поддерживает некоторые параметры сокета, относящиеся к протоколу, которые "
1200 "могут быть установлены с помощью B<setsockopt>(2) и прочитаны с помощью "
1201 "B<getsockopt>(2). Значением уровня (level) параметров сокета для IP является "
1202 "B<IPPROTO_IP>. Логический флаг в виде целого числа со значением ноль "
1203 "означает «ложь», другие значения — «истина»."
1204
1205 #. type: Plain text
1206 #: debian-trixie fedora-44 fedora-rawhide
1207 msgid ""
1208 "When an invalid socket option is specified, B<getsockopt>(2) and "
1209 "B<setsockopt>(2) fail with the error B<ENOPROTOOPT>."
1210 msgstr ""
1211 "Если сокету передается неправильный параметр, то B<getsockopt>(2) и "
1212 "B<setsockopt>(2) завершаются с ошибкой B<ENOPROTOOPT>."
1213
1214 #. type: TP
1215 #: debian-trixie fedora-44 fedora-rawhide
1216 #, no-wrap
1217 msgid "B<IP_ADD_MEMBERSHIP> (since Linux 1.2)"
1218 msgstr "B<IP_ADD_MEMBERSHIP> (начиная с Linux 1.2)"
1219
1220 #. type: Plain text
1221 #: debian-trixie fedora-44 fedora-rawhide
1222 msgid "Join a multicast group. Argument is an I<ip_mreqn> structure."
1223 msgstr ""
1224 "Присоединиться к многоадресной группе. В аргументе указывается структура "
1225 "I<ip_mreqn>."
1226
1227 #. type: Plain text
1228 #: debian-trixie fedora-44 fedora-rawhide
1229 #, no-wrap
1230 msgid ""
1231 "struct ip_mreqn {\n"
1232 " struct in_addr imr_multiaddr; /* IP multicast group\n"
1233 " address */\n"
1234 " struct in_addr imr_address; /* IP address of local\n"
1235 " interface */\n"
1236 " int imr_ifindex; /* interface index */\n"
1237 "};\n"
1238 msgstr ""
1239 "struct ip_mreqn {\n"
1240 " struct in_addr imr_multiaddr; /* IP-адрес группы */\n"
1241 " struct in_addr imr_address; /* IP локального\n"
1242 " интерфейса */\n"
1243 " int imr_ifindex; /* индекс интерфейса */\n"
1244 "};\n"
1245
1246 #. (i.e., within the 224.0.0.0-239.255.255.255 range)
1247 #. type: Plain text
1248 #: debian-trixie fedora-44 fedora-rawhide
1249 msgid ""
1250 "I<imr_multiaddr> contains the address of the multicast group the application "
1251 "wants to join or leave. It must be a valid multicast address (or "
1252 "B<setsockopt>(2) fails with the error B<EINVAL>). I<imr_address> is the "
1253 "address of the local interface with which the system should join the "
1254 "multicast group; if it is equal to B<INADDR_ANY>, an appropriate interface "
1255 "is chosen by the system. I<imr_ifindex> is the interface index of the "
1256 "interface that should join/leave the I<imr_multiaddr> group, or 0 to "
1257 "indicate any interface."
1258 msgstr ""
1259 "В I<imr_multiaddr> содержится адрес многоадресной группы, в которую "
1260 "приложение хочет войти или выйти. Это должен быть правильный адрес "
1261 "многоадресной рассылки (иначе B<setsockopt>(2) завершится с ошибкой "
1262 "B<EINVAL>). В I<imr_address> указывается адрес локального интерфейса, через "
1263 "который система должна войти в многоадресную группу; если указано значение "
1264 "B<INADDR_ANY>, то нужный интерфейс выбирается системой самостоятельно. В "
1265 "I<imr_ifindex> указывается индекс интерфейса, через который нужно войти/"
1266 "выйти в группу I<imr_multiaddr>, или 0, если интерфейс может быть любым."
1267
1268 #. type: Plain text
1269 #: debian-trixie fedora-44 fedora-rawhide
1270 msgid ""
1271 "The I<ip_mreqn> structure is available only since Linux 2.2. For "
1272 "compatibility, the old I<ip_mreq> structure (present since Linux 1.2) is "
1273 "still supported; it differs from I<ip_mreqn> only by not including the "
1274 "I<imr_ifindex> field. (The kernel determines which structure is being "
1275 "passed based on the size passed in I<optlen>.)"
1276 msgstr ""
1277 "Структура I<ip_mreqn> доступна только начиная с Linux 2.2. Для "
1278 "совместимости, старая структура I<ip_mreq> (существует с Linux 1.2) по-"
1279 "прежнему поддерживается; она отличается от I<ip_mreqn> только отсутствием "
1280 "поля I<imr_ifindex> (при передаче ядро определяет нужную структуру исходя из "
1281 "размера, переданного в I<optlen>)."
1282
1283 #. type: Plain text
1284 #: debian-trixie fedora-44 fedora-rawhide
1285 msgid "B<IP_ADD_MEMBERSHIP> is valid only for B<setsockopt>(2)."
1286 msgstr "B<IP_ADD_MEMBERSHIP> допустим только для B<setsockopt>(2)."
1287
1288 #. type: TP
1289 #: debian-trixie fedora-44 fedora-rawhide
1290 #, fuzzy, no-wrap
1291 #| msgid "B<IP_ADD_SOURCE_MEMBERSHIP> (since Linux 2.4.22 / 2.5.68)"
1292 msgid "B<IP_ADD_SOURCE_MEMBERSHIP> (since Linux 2.4.22 / Linux 2.5.68)"
1293 msgstr "B<IP_ADD_SOURCE_MEMBERSHIP> (начиная с Linux 2.4.22 / 2.5.68)"
1294
1295 #. type: Plain text
1296 #: debian-trixie fedora-44 fedora-rawhide
1297 msgid ""
1298 "Join a multicast group and allow receiving data only from a specified "
1299 "source. Argument is an I<ip_mreq_source> structure."
1300 msgstr ""
1301 "Присоединиться к многоадресной группе и разрешить принимать данные только из "
1302 "указанного источника. Аргументом является структура I<ip_mreq_source>."
1303
1304 #. type: Plain text
1305 #: debian-trixie fedora-44 fedora-rawhide
1306 #, no-wrap
1307 msgid ""
1308 "struct ip_mreq_source {\n"
1309 " struct in_addr imr_multiaddr; /* IP multicast group\n"
1310 " address */\n"
1311 " struct in_addr imr_interface; /* IP address of local\n"
1312 " interface */\n"
1313 " struct in_addr imr_sourceaddr; /* IP address of\n"
1314 " multicast source */\n"
1315 "};\n"
1316 msgstr ""
1317 "struct ip_mreq_source {\n"
1318 " struct in_addr imr_multiaddr; /* IP многоадресной\n"
1319 " группы */\n"
1320 " struct in_addr imr_interface; /* IP-адрес локального\n"
1321 " интерфейса */\n"
1322 " struct in_addr imr_sourceaddr; /* IP-адрес многоадресного\n"
1323 " источника */\n"
1324 "};\n"
1325
1326 #. type: Plain text
1327 #: debian-trixie fedora-44 fedora-rawhide
1328 #, fuzzy
1329 #| msgid ""
1330 #| "The I<ip_mreq_source> structure is similar to I<ip_mreqn> described under "
1331 #| "B<IP_ADD_MEMBERSIP>. The I<imr_multiaddr> field contains the address of "
1332 #| "the multicast group the application wants to join or leave. The "
1333 #| "I<imr_interface> field is the address of the local interface with which "
1334 #| "the system should join the multicast group. Finally, the "
1335 #| "I<imr_sourceaddr> field contains the address of the source the "
1336 #| "application wants to receive data from."
1337 msgid ""
1338 "The I<ip_mreq_source> structure is similar to I<ip_mreqn> described under "
1339 "B<IP_ADD_MEMBERSHIP>. The I<imr_multiaddr> field contains the address of "
1340 "the multicast group the application wants to join or leave. The "
1341 "I<imr_interface> field is the address of the local interface with which the "
1342 "system should join the multicast group. Finally, the I<imr_sourceaddr> "
1343 "field contains the address of the source the application wants to receive "
1344 "data from."
1345 msgstr ""
1346 "Структура I<ip_mreq_source> похожа на I<ip_mreqn>, которая описана в разделе "
1347 "о B<IP_ADD_MEMBERSIP>. Поле I<imr_multiaddr> содержит адрес многоадресной "
1348 "группы, к которой приложение хочет подключиться или выйти. Поле "
1349 "I<imr_interface> содержит адрес локального интерфейса, с которого система "
1350 "должна подключаться к многоадресной группе. В поле I<imr_sourceaddr> "
1351 "содержится адрес источника, из которого приложение хочет получать данные."
1352
1353 #. type: Plain text
1354 #: debian-trixie fedora-44 fedora-rawhide
1355 msgid ""
1356 "This option can be used multiple times to allow receiving data from more "
1357 "than one source."
1358 msgstr ""
1359 "Для приёма данных из нескольких источников этот параметр можно использовать "
1360 "несколько раз."
1361
1362 #. type: TP
1363 #: debian-trixie fedora-44 fedora-rawhide
1364 #, no-wrap
1365 msgid "B<IP_BIND_ADDRESS_NO_PORT> (since Linux 4.2)"
1366 msgstr "B<IP_BIND_ADDRESS_NO_PORT> (начиная с Linux 4.2)"
1367
1368 #. commit 90c337da1524863838658078ec34241f45d8394d
1369 #. type: Plain text
1370 #: debian-trixie fedora-44 fedora-rawhide
1371 msgid ""
1372 "Inform the kernel to not reserve an ephemeral port when using B<bind>(2) "
1373 "with a port number of 0. The port will later be automatically chosen at "
1374 "B<connect>(2) time, in a way that allows sharing a source port as long as "
1375 "the 4-tuple is unique."
1376 msgstr ""
1377 "Информирует ядро, что не требуется резервировать эфемерный порт при "
1378 "использовании B<bind>(2) с номером порта 0. Позднее, порт будет "
1379 "автоматически выбран при B<connect>(2); это позволяет использовать общий "
1380 "исходящий порт пока уникальна связка 4-х значений."
1381
1382 #. type: TP
1383 #: debian-trixie fedora-44 fedora-rawhide
1384 #, no-wrap
1385 msgid "B<IP_BLOCK_SOURCE> (since Linux 2.4.22 / 2.5.68)"
1386 msgstr "B<IP_BLOCK_SOURCE> (начиная с Linux 2.4.22 / 2.5.68)"
1387
1388 #. type: Plain text
1389 #: debian-trixie fedora-44 fedora-rawhide
1390 msgid ""
1391 "Stop receiving multicast data from a specific source in a given group. This "
1392 "is valid only after the application has subscribed to the multicast group "
1393 "using either B<IP_ADD_MEMBERSHIP> or B<IP_ADD_SOURCE_MEMBERSHIP>."
1394 msgstr ""
1395 "Прекратить приём многоадресных данных из указанного источника заданной "
1396 "группы. Это допустимо, если приложение подписывалось на многоадресную группу "
1397 "с помощью B<IP_ADD_MEMBERSHIP> или B<IP_ADD_SOURCE_MEMBERSHIP>."
1398
1399 #. type: Plain text
1400 #: debian-trixie fedora-44 fedora-rawhide
1401 msgid ""
1402 "Argument is an I<ip_mreq_source> structure as described under "
1403 "B<IP_ADD_SOURCE_MEMBERSHIP>."
1404 msgstr ""
1405 "Аргументом является структура I<ip_mreq_source>, описанная в разделе о "
1406 "B<IP_ADD_SOURCE_MEMBERSHIP>."
1407
1408 #. type: TP
1409 #: debian-trixie fedora-44 fedora-rawhide
1410 #, no-wrap
1411 msgid "B<IP_DROP_MEMBERSHIP> (since Linux 1.2)"
1412 msgstr "B<IP_DROP_MEMBERSHIP> (начиная с Linux 1.2)"
1413
1414 #. type: Plain text
1415 #: debian-trixie fedora-44 fedora-rawhide
1416 msgid ""
1417 "Leave a multicast group. Argument is an I<ip_mreqn> or I<ip_mreq> structure "
1418 "similar to B<IP_ADD_MEMBERSHIP>."
1419 msgstr ""
1420 "Выйти из многоадресной группы. Аргументом является структура I<ip_mreqn> или "
1421 "I<ip_mreq>, описана в B<IP_ADD_MEMBERSHIP>."
1422
1423 #. type: TP
1424 #: debian-trixie fedora-44 fedora-rawhide
1425 #, no-wrap
1426 msgid "B<IP_DROP_SOURCE_MEMBERSHIP> (since Linux 2.4.22 / 2.5.68)"
1427 msgstr "B<IP_DROP_SOURCE_MEMBERSHIP> (начиная с Linux 2.4.22 / 2.5.68)"
1428
1429 #. type: Plain text
1430 #: debian-trixie fedora-44 fedora-rawhide
1431 #, fuzzy
1432 #| msgid ""
1433 #| "Leave a source-specific group\\(emthat is, stop receiving data from a "
1434 #| "given multicast group that come from a given source. If the application "
1435 #| "has subscribed to multiple sources within the same group, data from the "
1436 #| "remaining sources will still be delivered. To stop receiving data from "
1437 #| "all sources at once, use B<IP_DROP_MEMBERSHIP>."
1438 msgid ""
1439 "Leave a source-specific group\\[em]that is, stop receiving data from a given "
1440 "multicast group that come from a given source. If the application has "
1441 "subscribed to multiple sources within the same group, data from the "
1442 "remaining sources will still be delivered. To stop receiving data from all "
1443 "sources at once, use B<IP_DROP_MEMBERSHIP>."
1444 msgstr ""
1445 "Выйти из указанной группы — то есть прекратить приём данных указанной "
1446 "многоадресной группы, которые поступают из указанного источника. Если "
1447 "приложение подписано на несколько источников одной группы, то данные из "
1448 "оставшихся источников продолжат поступать. Чтобы прекратить приём данных из "
1449 "всех источников сразу, используйте B<IP_DROP_MEMBERSHIP>."
1450
1451 #. type: TP
1452 #: debian-trixie fedora-44 fedora-rawhide
1453 #, no-wrap
1454 msgid "B<IP_FREEBIND> (since Linux 2.4)"
1455 msgstr "B<IP_FREEBIND> (начиная с Linux 2.4)"
1456
1457 #. Precisely: since Linux 2.4.0-test10
1458 #. type: Plain text
1459 #: debian-trixie fedora-44 fedora-rawhide
1460 msgid ""
1461 "If enabled, this boolean option allows binding to an IP address that is "
1462 "nonlocal or does not (yet) exist. This permits listening on a socket, "
1463 "without requiring the underlying network interface or the specified dynamic "
1464 "IP address to be up at the time that the application is trying to bind to "
1465 "it. This option is the per-socket equivalent of the I<ip_nonlocal_bind> I</"
1466 "proc> interface described below."
1467 msgstr ""
1468 "Этот логический параметр позволяет привязаться (если значение равно "
1469 "«истина») к IP-адресу, который не является локальным или (пока) не "
1470 "существует. Это позволяет прослушивать сокет, не имея нижележащего сетевого "
1471 "интерфейса или назначенного динамического IP-адреса, которых может ещё не "
1472 "быть, когда приложение пытается связаться с ним. Этот параметр имеет "
1473 "эквивалентный интерфейс I<ip_nonlocal_bind> (описан далее) в I</proc> на "
1474 "каждый сокет."
1475
1476 #. type: TP
1477 #: debian-trixie fedora-44 fedora-rawhide
1478 #, no-wrap
1479 msgid "B<IP_HDRINCL> (since Linux 2.0)"
1480 msgstr "B<IP_HDRINCL> (начиная с Linux 2.0)"
1481
1482 #. type: Plain text
1483 #: debian-trixie fedora-44 fedora-rawhide
1484 msgid ""
1485 "If enabled, the user supplies an IP header in front of the user data. Valid "
1486 "only for B<SOCK_RAW> sockets; see B<raw>(7) for more information. When "
1487 "this flag is enabled, the values set by B<IP_OPTIONS>, B<IP_TTL>, and "
1488 "B<IP_TOS> are ignored."
1489 msgstr ""
1490 "Если значение равно «истина», то это означает, что пользователь добавил "
1491 "заголовок IP в начало своих данных. Допустим только для сокетов B<SOCK_RAW>; "
1492 "более подробную информацию смотрите в B<raw>(7). Если этот флаг установлен, "
1493 "то значения, заданные параметрами B<IP_OPTIONS>, B<IP_TTL> и B<IP_TOS>, "
1494 "игнорируются."
1495
1496 #. type: TP
1497 #: debian-trixie fedora-44 fedora-rawhide
1498 #, fuzzy, no-wrap
1499 #| msgid "B<IP_MULTICAST_ALL> (since Linux 2.6.31)"
1500 msgid "B<IP_LOCAL_PORT_RANGE> (since Linux 6.3)"
1501 msgstr "B<IP_MULTICAST_ALL> (since Linux 2.6.31)"
1502
1503 #. type: Plain text
1504 #: debian-trixie fedora-44 fedora-rawhide
1505 msgid ""
1506 "Set or get the per-socket default local port range. This option can be used "
1507 "to clamp down the global local port range, defined by the "
1508 "I<ip_local_port_range> I</proc> interface described below, for a given "
1509 "socket."
1510 msgstr ""
1511
1512 #. type: Plain text
1513 #: debian-trixie fedora-44 fedora-rawhide
1514 msgid ""
1515 "The option takes an I<uint32_t> value with the high 16 bits set to the upper "
1516 "range bound, and the low 16 bits set to the lower range bound. Range bounds "
1517 "are inclusive. The 16-bit values should be in host byte order."
1518 msgstr ""
1519
1520 #. type: Plain text
1521 #: debian-trixie fedora-44 fedora-rawhide
1522 msgid ""
1523 "The lower bound has to be less than the upper bound when both bounds are not "
1524 "zero. Otherwise, setting the option fails with EINVAL."
1525 msgstr ""
1526
1527 #. type: Plain text
1528 #: debian-trixie fedora-44 fedora-rawhide
1529 msgid ""
1530 "If either bound is outside of the global local port range, or is zero, then "
1531 "that bound has no effect."
1532 msgstr ""
1533
1534 #. type: Plain text
1535 #: debian-trixie fedora-44 fedora-rawhide
1536 msgid "To reset the setting, pass zero as both the upper and the lower bound."
1537 msgstr ""
1538
1539 #. type: TP
1540 #: debian-trixie fedora-44 fedora-rawhide
1541 #, no-wrap
1542 msgid "B<IP_MSFILTER> (since Linux 2.4.22 / 2.5.68)"
1543 msgstr "B<IP_MSFILTER> (начиная с Linux 2.4.22 / 2.5.68)"
1544
1545 #. type: Plain text
1546 #: debian-trixie fedora-44 fedora-rawhide
1547 msgid ""
1548 "This option provides access to the advanced full-state filtering API. "
1549 "Argument is an I<ip_msfilter> structure."
1550 msgstr ""
1551 "Этот параметр предоставляет доступ к расширенному программному интерфейсу "
1552 "фильтрации. Аргументом является структура I<ip_msfilter>."
1553
1554 #. type: Plain text
1555 #: debian-trixie fedora-44 fedora-rawhide
1556 #, fuzzy, no-wrap
1557 #| msgid ""
1558 #| "struct ip_mreq_source {\n"
1559 #| " struct in_addr imr_multiaddr; /* IP multicast group\n"
1560 #| " address */\n"
1561 #| " struct in_addr imr_interface; /* IP address of local\n"
1562 #| " interface */\n"
1563 #| " struct in_addr imr_sourceaddr; /* IP address of\n"
1564 #| " multicast source */\n"
1565 #| "};\n"
1566 msgid ""
1567 "struct ip_msfilter {\n"
1568 " struct in_addr imsf_multiaddr; /* IP multicast group\n"
1569 " address */\n"
1570 " struct in_addr imsf_interface; /* IP address of local\n"
1571 " interface */\n"
1572 " uint32_t imsf_fmode; /* Filter-mode */\n"
1573 "\\&\n"
1574 " uint32_t imsf_numsrc; /* Number of sources in\n"
1575 " the following array */\n"
1576 " struct in_addr imsf_slist[1]; /* Array of source\n"
1577 " addresses */\n"
1578 "};\n"
1579 msgstr ""
1580 "struct ip_mreq_source {\n"
1581 " struct in_addr imr_multiaddr; /* IP многоадресной\n"
1582 " группы */\n"
1583 " struct in_addr imr_interface; /* IP-адрес локального\n"
1584 " интерфейса */\n"
1585 " struct in_addr imr_sourceaddr; /* IP-адрес многоадресного\n"
1586 " источника */\n"
1587 "};\n"
1588
1589 #. type: Plain text
1590 #: debian-trixie fedora-44 fedora-rawhide
1591 msgid ""
1592 "There are two macros, B<MCAST_INCLUDE> and B<MCAST_EXCLUDE>, which can be "
1593 "used to specify the filtering mode. Additionally, the "
1594 "B<IP_MSFILTER_SIZE>(n) macro exists to determine how much memory is needed "
1595 "to store I<ip_msfilter> structure with I<n> sources in the source list."
1596 msgstr ""
1597 "Для задания режима фильтрации существует два макроса — B<MCAST_INCLUDE> и "
1598 "B<MCAST_EXCLUDE>. Также, существует макрос B<IP_MSFILTER_SIZE>(n), которым "
1599 "можно определить количество памяти, требуемой для хранения структуры "
1600 "I<ip_msfilter> с I<n> источниками в списке источников."
1601
1602 #. type: Plain text
1603 #: debian-trixie fedora-44 fedora-rawhide
1604 msgid ""
1605 "For the full description of multicast source filtering refer to RFC 3376."
1606 msgstr ""
1607 "Полное описание фильтрации многоадресных источников групп смотрите в RFC "
1608 "3376."
1609
1610 #. type: TP
1611 #: debian-trixie fedora-44 fedora-rawhide
1612 #, no-wrap
1613 msgid "B<IP_MTU> (since Linux 2.2)"
1614 msgstr "B<IP_MTU> (начиная с Linux 2.2)"
1615
1616 #. Precisely: since Linux 2.1.124
1617 #. type: Plain text
1618 #: debian-trixie fedora-44 fedora-rawhide
1619 msgid ""
1620 "Retrieve the current known path MTU of the current socket. Returns an "
1621 "integer."
1622 msgstr ""
1623 "Возвращает известное в данный момент значение MTU маршрута текущего сокета. "
1624 "Возвращается целое число."
1625
1626 #. type: Plain text
1627 #: debian-trixie fedora-44 fedora-rawhide
1628 msgid ""
1629 "B<IP_MTU> is valid only for B<getsockopt>(2) and can be employed only when "
1630 "the socket has been connected."
1631 msgstr ""
1632 "Параметр B<IP_MTU> допускается только для B<getsockopt>(2) и может "
1633 "использоваться только для подключённого сокета."
1634
1635 #. type: TP
1636 #: debian-trixie fedora-44 fedora-rawhide
1637 #, no-wrap
1638 msgid "B<IP_MTU_DISCOVER> (since Linux 2.2)"
1639 msgstr "B<IP_MTU_DISCOVER> (начиная с Linux 2.2)"
1640
1641 #. Precisely: since Linux 2.1.124
1642 #. type: Plain text
1643 #: debian-trixie fedora-44 fedora-rawhide
1644 msgid ""
1645 "Set or receive the Path MTU Discovery setting for a socket. When enabled, "
1646 "Linux will perform Path MTU Discovery as defined in RFC\\ 1191 on "
1647 "B<SOCK_STREAM> sockets. For non-B<SOCK_STREAM> sockets, B<IP_PMTUDISC_DO> "
1648 "forces the don't-fragment flag to be set on all outgoing packets. It is the "
1649 "user's responsibility to packetize the data in MTU-sized chunks and to do "
1650 "the retransmits if necessary. The kernel will reject (with B<EMSGSIZE>) "
1651 "datagrams that are bigger than the known path MTU. B<IP_PMTUDISC_WANT> will "
1652 "fragment a datagram if needed according to the path MTU, or will set the "
1653 "don't-fragment flag otherwise."
1654 msgstr ""
1655 "Устанавливает или возвращает значение Path MTU Discovery (обнаружение "
1656 "значения MTU маршрута) для сокета. Если он установлен, то Linux будет "
1657 "производить обнаружение значения MTU маршрута для сокетов B<SOCK_STREAM> "
1658 "согласно RFC\\ 1191. Для сокетов не B<SOCK_STREAM> при значении "
1659 "B<IP_PMTUDISC_DO> у всех исходящих пакетов будет устанавливаться флаг "
1660 "запрета фрагментации. Ответственность за разбивку данных на пакеты согласно "
1661 "размеру MTU, и за выполнение, при необходимости, повторной передачи данных, "
1662 "лежит на пользователе. Ядро будет отвергать пакеты (с ошибкой B<EMSGSIZE>), "
1663 "размер которых больше текущего значения MTU у маршрута. При значении "
1664 "B<IP_PMTUDISC_WANT> дейтаграмма будет фрагментироваться по размеру MTU, если "
1665 "требуется, иначе устанавливается флаг запрета фрагментации."
1666
1667 #. type: Plain text
1668 #: debian-trixie fedora-44 fedora-rawhide
1669 msgid ""
1670 "The system-wide default can be toggled between B<IP_PMTUDISC_WANT> and "
1671 "B<IP_PMTUDISC_DONT> by writing (respectively, zero and nonzero values) to "
1672 "the I</proc/sys/net/ipv4/ip_no_pmtu_disc> file."
1673 msgstr ""
1674 "Системное значение по умолчанию можно переключать между B<IP_PMTUDISC_WANT> "
1675 "и B<IP_PMTUDISC_DONT>, записывая, соответственно, нулевое и ненулевое "
1676 "значение в файл I</proc/sys/net/ipv4/ip_no_pmtu_disc>."
1677
1678 #. type: tbl table
1679 #: debian-trixie fedora-44 fedora-rawhide
1680 #, no-wrap
1681 msgid "Path MTU discovery value"
1682 msgstr "Значение определения маршрута MTU"
1683
1684 #. type: tbl table
1685 #: debian-trixie fedora-44 fedora-rawhide
1686 #, no-wrap
1687 msgid "Meaning"
1688 msgstr "Смысл"
1689
1690 #. type: tbl table
1691 #: debian-trixie fedora-44 fedora-rawhide
1692 #, no-wrap
1693 msgid "IP_PMTUDISC_WANT"
1694 msgstr "IP_PMTUDISC_WANT"
1695
1696 #. type: tbl table
1697 #: debian-trixie fedora-44 fedora-rawhide
1698 #, no-wrap
1699 msgid "Use per-route settings."
1700 msgstr "Использовать для каждого маршрута своё значение."
1701
1702 #. type: tbl table
1703 #: debian-trixie fedora-44 fedora-rawhide
1704 #, no-wrap
1705 msgid "IP_PMTUDISC_DONT"
1706 msgstr "IP_PMTUDISC_DONT"
1707
1708 #. type: tbl table
1709 #: debian-trixie fedora-44 fedora-rawhide
1710 #, no-wrap
1711 msgid "Never do Path MTU Discovery."
1712 msgstr "Никогда не выполнять обнаружение значения MTU маршрута."
1713
1714 #. type: tbl table
1715 #: debian-trixie fedora-44 fedora-rawhide
1716 #, no-wrap
1717 msgid "IP_PMTUDISC_DO"
1718 msgstr "IP_PMTUDISC_DO"
1719
1720 #. type: tbl table
1721 #: debian-trixie fedora-44 fedora-rawhide
1722 #, no-wrap
1723 msgid "Always do Path MTU Discovery."
1724 msgstr "Всегда выполнять обнаружение значения MTU маршрута."
1725
1726 #. type: tbl table
1727 #: debian-trixie fedora-44 fedora-rawhide
1728 #, no-wrap
1729 msgid "IP_PMTUDISC_PROBE"
1730 msgstr "IP_PMTUDISC_PROBE"
1731
1732 #. type: tbl table
1733 #: debian-trixie fedora-44 fedora-rawhide
1734 #, no-wrap
1735 msgid "Set DF but ignore Path MTU."
1736 msgstr "Установить DF, но игнорировать маршрут MTU."
1737
1738 #. type: Plain text
1739 #: debian-trixie fedora-44 fedora-rawhide
1740 msgid ""
1741 "When PMTU discovery is enabled, the kernel automatically keeps track of the "
1742 "path MTU per destination host. When it is connected to a specific peer with "
1743 "B<connect>(2), the currently known path MTU can be retrieved conveniently "
1744 "using the B<IP_MTU> socket option (e.g., after an B<EMSGSIZE> error "
1745 "occurred). The path MTU may change over time. For connectionless sockets "
1746 "with many destinations, the new MTU for a given destination can also be "
1747 "accessed using the error queue (see B<IP_RECVERR>). A new error will be "
1748 "queued for every incoming MTU update."
1749 msgstr ""
1750 "Если значение Path MTU Discovery задано, то ядро автоматически следит за MTU "
1751 "маршрута для каждого удалённого узла. Когда с некоторым узлом установлено "
1752 "соединение с помощью B<connect>(2), текущее значение MTU маршрута можно "
1753 "легко получить через параметр сокета B<IP_MTU> (например, после "
1754 "возникновения ошибки B<EMSGSIZE>). Значение MTU может со временем меняться. "
1755 "Для сокетов без установления соединения, которые имеют несколько узлов-"
1756 "получателей, новое значение MTU для заданного узла назначения может быть "
1757 "получено с помощью очереди ошибок (смотрите B<IP_RECVERR>). При каждом "
1758 "входящем сообщении об обновлении MTU в очередь будет добавляться новая "
1759 "ошибка."
1760
1761 #. type: Plain text
1762 #: debian-trixie fedora-44 fedora-rawhide
1763 msgid ""
1764 "While MTU discovery is in progress, initial packets from datagram sockets "
1765 "may be dropped. Applications using UDP should be aware of this and not take "
1766 "it into account for their packet retransmit strategy."
1767 msgstr ""
1768 "Во время процесса обнаружения MTU начальные пакеты от дейтаграмных сокетов "
1769 "могут быть отброшены. Приложения, использующие UDP, должны учитывать это и "
1770 "не думать, что эти пакеты будут переданы повторно."
1771
1772 #. type: Plain text
1773 #: debian-trixie fedora-44 fedora-rawhide
1774 msgid ""
1775 "To bootstrap the path MTU discovery process on unconnected sockets, it is "
1776 "possible to start with a big datagram size (headers up to 64 kilobytes long) "
1777 "and let it shrink by updates of the path MTU."
1778 msgstr ""
1779 "Чтобы запустить процесс обнаружения MTU маршрута для сокетов без "
1780 "установления соединения сначала можно установить большой размер дейтаграммы "
1781 "(с размером заголовка до 64 килобайт) и сокращать его при изменении MTU "
1782 "маршрута."
1783
1784 #. type: Plain text
1785 #: debian-trixie fedora-44 fedora-rawhide
1786 msgid ""
1787 "To get an initial estimate of the path MTU, connect a datagram socket to the "
1788 "destination address using B<connect>(2) and retrieve the MTU by calling "
1789 "B<getsockopt>(2) with the B<IP_MTU> option."
1790 msgstr ""
1791 "Чтобы получить начальную оценку MTU маршрута, соедините дейтаграмный сокет с "
1792 "адресом назначения, используя B<connect>(2), и узнайте значение MTU путем "
1793 "вызова B<getsockopt>(2) с параметром B<IP_MTU>."
1794
1795 #. type: Plain text
1796 #: debian-trixie fedora-44 fedora-rawhide
1797 msgid ""
1798 "It is possible to implement RFC 4821 MTU probing with B<SOCK_DGRAM> or "
1799 "B<SOCK_RAW> sockets by setting a value of B<IP_PMTUDISC_PROBE> (available "
1800 "since Linux 2.6.22). This is also particularly useful for diagnostic tools "
1801 "such as B<tracepath>(8) that wish to deliberately send probe packets larger "
1802 "than the observed Path MTU."
1803 msgstr ""
1804 "Возможно реализовать обнаружение MTU согласно RFC 4821 с помощью сокетов "
1805 "типа B<SOCK_DGRAM> или B<SOCK_RAW>, установив значение B<IP_PMTUDISC_PROBE> "
1806 "(доступно, начиная с Linux 2.6.22). В частности, это также полезно для "
1807 "инструментов диагностики, таких как B<tracepath>(8), которым нужно умышленно "
1808 "посылать проверочные пакеты большего размера, чем исследуемый Path MTU."
1809
1810 #. type: TP
1811 #: debian-trixie fedora-44 fedora-rawhide
1812 #, no-wrap
1813 msgid "B<IP_MULTICAST_ALL> (since Linux 2.6.31)"
1814 msgstr "B<IP_MULTICAST_ALL> (since Linux 2.6.31)"
1815
1816 #. type: Plain text
1817 #: debian-trixie fedora-44 fedora-rawhide
1818 #, fuzzy
1819 #| msgid ""
1820 #| "This option can be used to modify the delivery policy of multicast "
1821 #| "messages to sockets bound to the wildcard B<INADDR_ANY> address. The "
1822 #| "argument is a boolean integer (defaults to 1). If set to 1, the socket "
1823 #| "will receive messages from all the groups that have been joined globally "
1824 #| "on the whole system. Otherwise, it will deliver messages only from the "
1825 #| "groups that have been explicitly joined (for example via the "
1826 #| "B<IP_ADD_MEMBERSHIP> option) on this particular socket."
1827 msgid ""
1828 "This option can be used to modify the delivery policy of multicast "
1829 "messages. The argument is a boolean integer (defaults to 1). If set to 1, "
1830 "the socket will receive messages from all the groups that have been joined "
1831 "globally on the whole system. Otherwise, it will deliver messages only from "
1832 "the groups that have been explicitly joined (for example via the "
1833 "B<IP_ADD_MEMBERSHIP> option) on this particular socket."
1834 msgstr ""
1835 "Может использоваться для изменения политики доставки многоадресных сообщений "
1836 "в сокеты, подсоединённые к шаблонному (wildcard) адресу B<INADDR_ANY>. "
1837 "Аргументом является логическое целое (по умолчанию 1). Если значение равно "
1838 "1, то сокет будет принимать сообщения от всех групп, к которым было "
1839 "выполнено присоединение глобально всей системы. В противном случае будут "
1840 "доставляться сообщения от групп, к которым было выполнено присоединение "
1841 "явным образом(например, с помощью B<IP_ADD_MEMBERSHIP>) на этом сокете."
1842
1843 #. type: TP
1844 #: debian-trixie fedora-44 fedora-rawhide
1845 #, no-wrap
1846 msgid "B<IP_MULTICAST_IF> (since Linux 1.2)"
1847 msgstr "B<IP_MULTICAST_IF> (начиная с Linux 1.2)"
1848
1849 #. net: IP_MULTICAST_IF setsockopt now recognizes struct mreq
1850 #. Commit: 3a084ddb4bf299a6e898a9a07c89f3917f0713f7
1851 #. type: Plain text
1852 #: debian-trixie fedora-44 fedora-rawhide
1853 msgid ""
1854 "Set the local device for a multicast socket. The argument for "
1855 "B<setsockopt>(2) is an I<ip_mreqn> or (since Linux 3.5) I<ip_mreq> "
1856 "structure similar to B<IP_ADD_MEMBERSHIP>, or an I<in_addr> structure. (The "
1857 "kernel determines which structure is being passed based on the size passed "
1858 "in I<optlen>.) For B<getsockopt>(2), the argument is an I<in_addr> "
1859 "structure."
1860 msgstr ""
1861 "Назначает локальное устройство для многоадресного группового сокета "
1862 "(multicast socket). Аргументом для B<setsockopt>(2) является структура "
1863 "I<ip_mreqn> или I<ip_mreq> (начиная с Linux 3.5), подобная "
1864 "B<IP_ADD_MEMBERSHIP> или структуре I<in_addr> (при передаче ядро определяет "
1865 "нужную структуру исходя из размера, переданного в I<optlen>). Для "
1866 "B<getsockopt>(2) аргументом является структура I<in_addr>."
1867
1868 #. type: TP
1869 #: debian-trixie fedora-44 fedora-rawhide
1870 #, no-wrap
1871 msgid "B<IP_MULTICAST_LOOP> (since Linux 1.2)"
1872 msgstr "B<IP_MULTICAST_LOOP> (начиная с Linux 1.2)"
1873
1874 #. type: Plain text
1875 #: debian-trixie fedora-44 fedora-rawhide
1876 msgid ""
1877 "Set or read a boolean integer argument that determines whether sent "
1878 "multicast packets should be looped back to the local sockets."
1879 msgstr ""
1880 "Устанавливает или возвращает логический флаг в виде целого числа, в "
1881 "зависимости от того, будут ли пакеты, использующие многоадресную адресацию, "
1882 "закольцовываться на локальные сокеты."
1883
1884 #. type: TP
1885 #: debian-trixie fedora-44 fedora-rawhide
1886 #, no-wrap
1887 msgid "B<IP_MULTICAST_TTL> (since Linux 1.2)"
1888 msgstr "B<IP_MULTICAST_TTL> (начиная с Linux 1.2)"
1889
1890 #. type: Plain text
1891 #: debian-trixie fedora-44 fedora-rawhide
1892 msgid ""
1893 "Set or read the time-to-live value of outgoing multicast packets for this "
1894 "socket. It is very important for multicast packets to set the smallest TTL "
1895 "possible. The default is 1 which means that multicast packets don't leave "
1896 "the local network unless the user program explicitly requests it. Argument "
1897 "is an integer."
1898 msgstr ""
1899 "Устанавливает или возвращает значение времени существования (time-to-live) "
1900 "для многоадресных исходящих из этого сокета пакетов, использующих "
1901 "многоадресную адресацию. Для подобных пакетов очень важно установить "
1902 "наименьшее возможное значение TTL. По умолчанию оно равно 1, это значит, что "
1903 "многоадресные пакеты не выйдут за пределы локальной сети, если только "
1904 "пользовательская программа явно не попросит этого. Значением аргумента "
1905 "является целое число."
1906
1907 #. type: TP
1908 #: debian-trixie fedora-44 fedora-rawhide
1909 #, no-wrap
1910 msgid "B<IP_NODEFRAG> (since Linux 2.6.36)"
1911 msgstr "B<IP_NODEFRAG> (начиная с Linux 2.6.36)"
1912
1913 #. type: Plain text
1914 #: debian-trixie fedora-44 fedora-rawhide
1915 msgid ""
1916 "If enabled (argument is nonzero), the reassembly of outgoing packets is "
1917 "disabled in the netfilter layer. The argument is an integer."
1918 msgstr ""
1919 "Если установлен (аргумент не равен нулю), то на уровне netfilter запрещается "
1920 "выполнять переборку (reassembly) исходящих пакетов. Значением аргумента "
1921 "является целое число."
1922
1923 #. type: Plain text
1924 #: debian-trixie fedora-44 fedora-rawhide
1925 msgid "This option is valid only for B<SOCK_RAW> sockets."
1926 msgstr "Этот параметр допускается только для сокетов с типом B<SOCK_RAW>."
1927
1928 #. type: TP
1929 #: debian-trixie fedora-44 fedora-rawhide
1930 #, no-wrap
1931 msgid "B<IP_OPTIONS> (since Linux 2.0)"
1932 msgstr "B<IP_OPTIONS> (начиная с Linux 2.0)"
1933
1934 #. Precisely: since Linux 1.3.30
1935 #. type: Plain text
1936 #: debian-trixie fedora-44 fedora-rawhide
1937 #, fuzzy
1938 #| msgid ""
1939 #| "Set or get the IP options to be sent with every packet from this socket. "
1940 #| "The arguments are a pointer to a memory buffer containing the options and "
1941 #| "the option length. The B<setsockopt>(2) call sets the IP options "
1942 #| "associated with a socket. The maximum option size for IPv4 is 40 bytes. "
1943 #| "See RFC\\ 791 for the allowed options. When the initial connection "
1944 #| "request packet for a B<SOCK_STREAM> socket contains IP options, the IP "
1945 #| "options will be set automatically to the options from the initial packet "
1946 #| "with routing headers reversed. Incoming packets are not allowed to "
1947 #| "change options after the connection is established. The processing of "
1948 #| "all incoming source routing options is disabled by default and can be "
1949 #| "enabled by using the I<accept_source_route> I</proc> interface. Other "
1950 #| "options like timestamps are still handled. For datagram sockets, IP "
1951 #| "options can be only set by the local user. Calling B<getsockopt>(2) "
1952 #| "with B<IP_OPTIONS> puts the current IP options used for sending into the "
1953 #| "supplied buffer."
1954 msgid ""
1955 "Set or get the IP options to be sent with every packet from this socket. "
1956 "The arguments are a pointer to a memory buffer containing the options and "
1957 "the option length. The B<setsockopt>(2) call sets the IP options "
1958 "associated with a socket. The maximum option size for IPv4 is 40 bytes. "
1959 "See RFC\\ 791 for the allowed options. When the initial connection request "
1960 "packet for a B<SOCK_STREAM> socket contains IP options, the IP options will "
1961 "be set automatically to the options from the initial packet with routing "
1962 "headers reversed. Incoming packets are not allowed to change options after "
1963 "the connection is established. The processing of all incoming source "
1964 "routing options is disabled by default and can be enabled by using the "
1965 "I<accept_source_route> I</proc> interface. Other options like timestamps "
1966 "are still handled. For datagram sockets, IP options can be set only by the "
1967 "local user. Calling B<getsockopt>(2) with B<IP_OPTIONS> puts the current "
1968 "IP options used for sending into the supplied buffer."
1969 msgstr ""
1970 "Устанавливает или возвращает параметры IP, которые посылаются с каждым "
1971 "пакетом из данного сокета. Аргументами являются указатель на буфер памяти с "
1972 "этими параметрами и размер параметра. Системный вызов B<setsockopt>(2) "
1973 "устанавливает параметры IP, связанные с сокетом. Для IPv4 максимальный "
1974 "размер параметра IPv4 равен 40 байтам. Все возможные параметры перечислены в "
1975 "RFC\\ 791. Если пакет, устанавливающий соединение с сокетом типа "
1976 "B<SOCK_STREAM>, содержит параметры IP, то эти параметры IP (с "
1977 "инвертированными заголовками маршрутизации) будут использоваться в этом "
1978 "сокете. После установления соединения изменять параметры входящими пакетами "
1979 "запрещено. По умолчанию, обработка всех параметров, связанных с "
1980 "маршрутизацией от источника, отключена, но её можно включить через интерфейс "
1981 "I<accept_source_route> в I</proc>. Другие параметры, например связанные с "
1982 "временными отметками (timestamp), продолжают обрабатываться. Для "
1983 "дейтаграмных сокетов параметры IP могут быть установлены только локальным "
1984 "пользователем. Вызов B<getsockopt>(2) с параметром B<IP_OPTIONS> помещает в "
1985 "указанный буфер текущие параметры IP, используемые при отправке."
1986
1987 #. type: TP
1988 #: debian-trixie fedora-44 fedora-rawhide
1989 #, fuzzy, no-wrap
1990 #| msgid "B<IP_TRANSPARENT> (since Linux 2.6.24)"
1991 msgid "B<IP_PASSSEC> (since Linux 2.6.17)"
1992 msgstr "B<IP_TRANSPARENT> (начиная с Linux 2.6.24)"
1993
1994 #. commit 2c7946a7bf45ae86736ab3b43d0085e43947945c
1995 #. type: Plain text
1996 #: debian-trixie fedora-44 fedora-rawhide
1997 msgid ""
1998 "If labeled IPSEC or NetLabel is configured on the sending and receiving "
1999 "hosts, this option enables receiving of the security context of the peer "
2000 "socket in an ancillary message of type B<SCM_SECURITY> retrieved using "
2001 "B<recvmsg>(2). This option is supported only for UDP sockets; for TCP or "
2002 "SCTP sockets, see the description of the B<SO_PEERSEC> option below."
2003 msgstr ""
2004
2005 #. type: Plain text
2006 #: debian-trixie fedora-44 fedora-rawhide
2007 msgid ""
2008 "The value given as an argument to B<setsockopt>(2) and returned as the "
2009 "result of B<getsockopt>(2) is an integer boolean flag."
2010 msgstr ""
2011 "Значение передаётся в аргументе B<setsockopt>(2) и возвращается в результате "
2012 "B<getsockopt>(2) в виде целочисленного логического флага."
2013
2014 #. type: Plain text
2015 #: debian-trixie fedora-44 fedora-rawhide
2016 msgid ""
2017 "The security context returned in the B<SCM_SECURITY> ancillary message is of "
2018 "the same format as the one described under the B<SO_PEERSEC> option below."
2019 msgstr ""
2020
2021 #. type: Plain text
2022 #: debian-trixie fedora-44 fedora-rawhide
2023 msgid ""
2024 "Note: the reuse of the B<SCM_SECURITY> message type for the B<IP_PASSSEC> "
2025 "socket option was likely a mistake, since other IP control messages use "
2026 "their own numbering scheme in the IP namespace and often use the socket "
2027 "option value as the message type. There is no conflict currently since the "
2028 "IP option with the same value as B<SCM_SECURITY> is B<IP_HDRINCL> and this "
2029 "is never used for a control message type."
2030 msgstr ""
2031
2032 #. type: TP
2033 #: debian-trixie fedora-44 fedora-rawhide
2034 #, no-wrap
2035 msgid "B<IP_PKTINFO> (since Linux 2.2)"
2036 msgstr "B<IP_PKTINFO> (начиная с Linux 2.2)"
2037
2038 #. Precisely: since Linux 2.1.68
2039 #. type: Plain text
2040 #: debian-trixie fedora-44 fedora-rawhide
2041 #, fuzzy
2042 #| msgid ""
2043 #| "Pass an B<IP_PKTINFO> ancillary message that contains a I<pktinfo> "
2044 #| "structure that supplies some information about the incoming packet. This "
2045 #| "only works for datagram oriented sockets. The argument is a flag that "
2046 #| "tells the socket whether the B<IP_PKTINFO> message should be passed or "
2047 #| "not. The message itself can only be sent/retrieved as control message "
2048 #| "with a packet using B<recvmsg>(2) or B<sendmsg>(2)."
2049 msgid ""
2050 "Pass an B<IP_PKTINFO> ancillary message that contains a I<pktinfo> structure "
2051 "that supplies some information about the incoming packet. This works only "
2052 "for datagram oriented sockets. The argument is a flag that tells the socket "
2053 "whether the B<IP_PKTINFO> message should be passed or not. The message "
2054 "itself can be sent/retrieved only as a control message with a packet using "
2055 "B<recvmsg>(2) or B<sendmsg>(2)."
2056 msgstr ""
2057 "Передает вспомогательное (ancillary) сообщение B<IP_PKTINFO> с структурой "
2058 "I<pktinfo>, которая содержит некоторую информацию о входящем пакете. "
2059 "Допускается только для сокетов, ориентированных на посылку дейтаграмм. "
2060 "Аргументом является флаг, который сообщает сокету, нужно ли посылать "
2061 "сообщение B<IP_PKTINFO> или нет. Само сообщение может быть послано/получено "
2062 "только в виде управляющего сообщения с пакетом, используя B<recvmsg>(2) или "
2063 "B<sendmsg>(2)."
2064
2065 #. type: Plain text
2066 #: debian-trixie fedora-44 fedora-rawhide
2067 #, no-wrap
2068 msgid ""
2069 "struct in_pktinfo {\n"
2070 " unsigned int ipi_ifindex; /* Interface index */\n"
2071 " struct in_addr ipi_spec_dst; /* Local address */\n"
2072 " struct in_addr ipi_addr; /* Header Destination\n"
2073 " address */\n"
2074 "};\n"
2075 msgstr ""
2076 "struct in_pktinfo {\n"
2077 " unsigned int ipi_ifindex; /* индекс интерфейса */\n"
2078 " struct in_addr ipi_spec_dst; /* локальный адрес */\n"
2079 " struct in_addr ipi_addr; /* заголовок адреса\n"
2080 " назначения */\n"
2081 "};\n"
2082
2083 #. This field is grossly misnamed
2084 #. type: Plain text
2085 #: debian-trixie fedora-44 fedora-rawhide
2086 msgid ""
2087 "I<ipi_ifindex> is the unique index of the interface the packet was received "
2088 "on. I<ipi_spec_dst> is the local address of the packet and I<ipi_addr> is "
2089 "the destination address in the packet header. If B<IP_PKTINFO> is passed to "
2090 "B<sendmsg>(2) and I<ipi_spec_dst> is not zero, then it is used as the local "
2091 "source address for the routing table lookup and for setting up IP source "
2092 "route options. When I<ipi_ifindex> is not zero, the primary local address "
2093 "of the interface specified by the index overwrites I<ipi_spec_dst> for the "
2094 "routing table lookup."
2095 msgstr ""
2096 "I<ipi_ifindex> это уникальный индекс интерфейса, из которого был получен "
2097 "этот пакет. I<ipi_spec_dst> это локальный адрес пакета, а I<ipi_addr> это "
2098 "адрес назначения, указанный в заголовке пакета. Если параметр B<IP_PKTINFO> "
2099 "передаётся в B<sendmsg>(2) и I<ipi_spec_dst> не равно нулю, то "
2100 "I<ipi_spec_dst> будет использован как локальный адрес источника при "
2101 "просмотре таблицы маршрутизации и для установки IP-параметров маршрутизации "
2102 "от источника. Если значение I<ipi_ifindex> не равно нулю, то при поиске в "
2103 "таблице маршрутизации вместо значения I<ipi_spec_dst> используется первичный "
2104 "локальный адрес интерфейса с указанным индексом."
2105
2106 #. type: Plain text
2107 #: debian-trixie fedora-44 fedora-rawhide
2108 #, fuzzy
2109 #| msgid "This option is valid only for B<SOCK_RAW> sockets."
2110 msgid "Not supported for B<SOCK_STREAM> sockets."
2111 msgstr "Этот параметр допускается только для сокетов с типом B<SOCK_RAW>."
2112
2113 #. type: TP
2114 #: debian-trixie fedora-44 fedora-rawhide
2115 #, no-wrap
2116 msgid "B<IP_RECVERR> (since Linux 2.2)"
2117 msgstr "B<IP_RECVERR> (начиная с Linux 2.2)"
2118
2119 #. Precisely: since Linux 2.1.15
2120 #. or SOL_IP on Linux
2121 #. type: Plain text
2122 #: debian-trixie fedora-44 fedora-rawhide
2123 msgid ""
2124 "Enable extended reliable error message passing. When enabled on a datagram "
2125 "socket, all generated errors will be queued in a per-socket error queue. "
2126 "When the user receives an error from a socket operation, the errors can be "
2127 "received by calling B<recvmsg>(2) with the B<MSG_ERRQUEUE> flag set. The "
2128 "I<sock_extended_err> structure describing the error will be passed in an "
2129 "ancillary message with the type B<IP_RECVERR> and the level B<IPPROTO_IP>. "
2130 "This is useful for reliable error handling on unconnected sockets. The "
2131 "received data portion of the error queue contains the error packet."
2132 msgstr ""
2133 "Делает передачу сообщений об ошибках более надёжной. Если этот параметр "
2134 "установлен для дейтаграмного сокета, то все возникающие ошибки будут "
2135 "поставлены в очередь ошибок, свою для каждого сокета. Для получения ошибки "
2136 "при операции с сокетом пользователь может воспользоваться вызовом "
2137 "B<recvmsg>(2) с установленным флагом B<MSG_ERRQUEUE>. Структура "
2138 "I<sock_extended_err>, описывающая ошибку, будет передана в вспомогательном "
2139 "сообщении с типом B<IP_RECVERR> и уровнем B<IPPROTO_IP>. Этот параметр "
2140 "полезен для надежной обработки ошибок для сокетов без установления "
2141 "соединения. В пакете с ошибкой из очереди ошибок, также содержится порция "
2142 "полученных данных."
2143
2144 #. type: Plain text
2145 #: debian-trixie fedora-44 fedora-rawhide
2146 msgid ""
2147 "The B<IP_RECVERR> control message contains a I<sock_extended_err> structure:"
2148 msgstr ""
2149 "Вспомогательное сообщение B<IP_RECVERR> содержит структуру "
2150 "I<sock_extended_err>:"
2151
2152 #. type: Plain text
2153 #: debian-trixie fedora-44 fedora-rawhide
2154 #, fuzzy, no-wrap
2155 #| msgid ""
2156 #| "struct sock_extended_err {\n"
2157 #| " uint32_t ee_errno; /* error number */\n"
2158 #| " uint8_t ee_origin; /* where the error originated */\n"
2159 #| " uint8_t ee_type; /* type */\n"
2160 #| " uint8_t ee_code; /* code */\n"
2161 #| " uint8_t ee_pad;\n"
2162 #| " uint32_t ee_info; /* additional information */\n"
2163 #| " uint32_t ee_data; /* other data */\n"
2164 #| " /* More data may follow */\n"
2165 #| "};\n"
2166 msgid ""
2167 "#define SO_EE_ORIGIN_NONE 0\n"
2168 "#define SO_EE_ORIGIN_LOCAL 1\n"
2169 "#define SO_EE_ORIGIN_ICMP 2\n"
2170 "#define SO_EE_ORIGIN_ICMP6 3\n"
2171 "\\&\n"
2172 "struct sock_extended_err {\n"
2173 " uint32_t ee_errno; /* error number */\n"
2174 " uint8_t ee_origin; /* where the error originated */\n"
2175 " uint8_t ee_type; /* type */\n"
2176 " uint8_t ee_code; /* code */\n"
2177 " uint8_t ee_pad;\n"
2178 " uint32_t ee_info; /* additional information */\n"
2179 " uint32_t ee_data; /* other data */\n"
2180 " /* More data may follow */\n"
2181 "};\n"
2182 "\\&\n"
2183 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
2184 msgstr ""
2185 "struct sock_extended_err {\n"
2186 " uint32_t ee_errno; /* номер ошибки */\n"
2187 " uint8_t ee_origin; /* где возникла ошибка */\n"
2188 " uint8_t ee_type; /* тип */\n"
2189 " uint8_t ee_code; /* код */\n"
2190 " uint8_t ee_pad;\n"
2191 " uint32_t ee_info; /* дополнительная информация */\n"
2192 " uint32_t ee_data; /* другие данные */\n"
2193 " /* Дальше могут следовать данные */\n"
2194 "};\n"
2195
2196 #. type: Plain text
2197 #: debian-trixie fedora-44 fedora-rawhide
2198 msgid ""
2199 "I<ee_errno> contains the I<errno> number of the queued error. I<ee_origin> "
2200 "is the origin code of where the error originated. The other fields are "
2201 "protocol-specific. The macro B<SO_EE_OFFENDER> returns a pointer to the "
2202 "address of the network object where the error originated from given a "
2203 "pointer to the ancillary message. If this address is not known, the "
2204 "I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> and the other "
2205 "fields of the I<sockaddr> are undefined."
2206 msgstr ""
2207 "В I<ee_errno> содержится номер ошибки в очереди. В I<ee_origin> содержится "
2208 "код источника ошибки. Значение остальных полей зависит от протокола. Макрос "
2209 "B<SO_EE_OFFENDER> возвращает указатель на адрес сетевого объекта, в котором "
2210 "возникла ошибка, согласно указанному указателю на вспомогательное сообщение. "
2211 "Если адрес неизвестен, то поле I<sa_family> структуры I<sockaddr> содержит "
2212 "B<AF_UNSPEC>, и остальные поля I<sockaddr> не определены."
2213
2214 #. FIXME . Is it a good idea to document that? It is a dubious feature.
2215 #. On
2216 #. .B SOCK_STREAM
2217 #. sockets,
2218 #. .B IP_RECVERR
2219 #. has slightly different semantics. Instead of
2220 #. saving the errors for the next timeout, it passes all incoming
2221 #. errors immediately to the user.
2222 #. This might be useful for very short-lived TCP connections which
2223 #. need fast error handling. Use this option with care:
2224 #. it makes TCP unreliable
2225 #. by not allowing it to recover properly from routing
2226 #. shifts and other normal
2227 #. conditions and breaks the protocol specification.
2228 #. type: Plain text
2229 #: debian-trixie fedora-44 fedora-rawhide
2230 msgid ""
2231 "IP uses the I<sock_extended_err> structure as follows: I<ee_origin> is set "
2232 "to B<SO_EE_ORIGIN_ICMP> for errors received as an ICMP packet, or "
2233 "B<SO_EE_ORIGIN_LOCAL> for locally generated errors. Unknown values should "
2234 "be ignored. I<ee_type> and I<ee_code> are set from the type and code fields "
2235 "of the ICMP header. I<ee_info> contains the discovered MTU for B<EMSGSIZE> "
2236 "errors. The message also contains the I<sockaddr_in of the node> caused the "
2237 "error, which can be accessed with the B<SO_EE_OFFENDER> macro. The "
2238 "I<sin_family> field of the B<SO_EE_OFFENDER> address is B<AF_UNSPEC> when "
2239 "the source was unknown. When the error originated from the network, all IP "
2240 "options (B<IP_OPTIONS>, B<IP_TTL>, etc.) enabled on the socket and contained "
2241 "in the error packet are passed as control messages. The payload of the "
2242 "packet causing the error is returned as normal payload. Note that TCP has "
2243 "no error queue; B<MSG_ERRQUEUE> is not permitted on B<SOCK_STREAM> sockets. "
2244 "B<IP_RECVERR> is valid for TCP, but all errors are returned by socket "
2245 "function return or B<SO_ERROR> only."
2246 msgstr ""
2247 "Для IP структура I<sock_extended_err> используется следующим образом: "
2248 "значение поля I<ee_origin> устанавливается в B<SO_EE_ORIGIN_ICMP>, если "
2249 "ошибка получена из пакета ICMP, или в B<SO_EE_ORIGIN_LOCAL>, если возникла "
2250 "локальная ошибка. Неизвестные значения следует игнорировать. Значения полей "
2251 "I<ee_type> и I<ee_code> устанавливаются исходя из значений полей типа и кода "
2252 "заголовка ICMP. При ошибках B<EMSGSIZE> поле I<ee_info> содержит "
2253 "обнаруженную величину MTU. Сообщение также содержит структуру I<sockaddr_in "
2254 "узла>, вызвавшего ошибку, которая доступна через макрос B<SO_EE_OFFENDER>. "
2255 "Если источник неизвестен, то поле I<sin_family> адреса, возвращённого "
2256 "макросом B<SO_EE_OFFENDER>, содержит значение B<AF_UNSPEC>. Если ошибка "
2257 "возникла в сети, то все параметры IP (B<IP_OPTIONS>, B<IP_TTL> и т.д.), "
2258 "которые используются сокетом и содержатся в пакете с описанием ошибки, "
2259 "передаются в управляющих сообщениях. Данные пакета, вызвавшего ошибку, "
2260 "возвращаются как нормальные данные. Заметьте, что у TCP нет очереди ошибок; "
2261 "флаг B<MSG_ERRQUEUE> нельзя использовать для сокетов типа B<SOCK_STREAM>. "
2262 "Параметр B<IP_RECVERR> допустим для TCP, но все ошибки возвращаются только "
2263 "через функцию сокета или через параметр B<SO_ERROR>."
2264
2265 #. type: Plain text
2266 #: debian-trixie fedora-44 fedora-rawhide
2267 #, fuzzy
2268 #| msgid ""
2269 #| "For raw sockets, B<IP_RECVERR> enables passing of all received ICMP "
2270 #| "errors to the application, otherwise errors are only reported on "
2271 #| "connected sockets"
2272 msgid ""
2273 "For raw sockets, B<IP_RECVERR> enables passing of all received ICMP errors "
2274 "to the application, otherwise errors are reported only on connected sockets"
2275 msgstr ""
2276 "Для неструктурированных сокетов, параметром B<IP_RECVERR> включается "
2277 "передача в приложение всех получаемых ошибок ICMP, иначе сообщается только "
2278 "об ошибках в сокетах, ориентированных на соединение."
2279
2280 #. type: Plain text
2281 #: debian-trixie fedora-44 fedora-rawhide
2282 msgid ""
2283 "It sets or retrieves an integer boolean flag. B<IP_RECVERR> defaults to off."
2284 msgstr ""
2285 "Этот параметр устанавливается или возвращается как логический флаг в виде "
2286 "целого числа. По умолчанию, параметр B<IP_RECVERR> выключен."
2287
2288 #. type: TP
2289 #: debian-trixie fedora-44 fedora-rawhide
2290 #, no-wrap
2291 msgid "B<IP_RECVOPTS> (since Linux 2.2)"
2292 msgstr "B<IP_RECVOPTS> (начиная с Linux 2.2)"
2293
2294 #. Precisely: since Linux 2.1.15
2295 #. type: Plain text
2296 #: debian-trixie fedora-44 fedora-rawhide
2297 msgid ""
2298 "Pass all incoming IP options to the user in a B<IP_OPTIONS> control "
2299 "message. The routing header and other options are already filled in for the "
2300 "local host. Not supported for B<SOCK_STREAM> sockets."
2301 msgstr ""
2302 "Передает пользователю все входящие параметры IP с помощью управляющего "
2303 "сообщения B<IP_OPTIONS>. Для локального узла заполняется заголовок "
2304 "маршрутизации и другие параметры. Не поддерживается сокетами типа "
2305 "B<SOCK_STREAM>."
2306
2307 #. type: TP
2308 #: debian-trixie fedora-44 fedora-rawhide
2309 #, no-wrap
2310 msgid "B<IP_RECVORIGDSTADDR> (since Linux 2.6.29)"
2311 msgstr "B<IP_RECVORIGDSTADDR> (начиная с Linux 2.6.29)"
2312
2313 #. commit e8b2dfe9b4501ed0047459b2756ba26e5a940a69
2314 #. type: Plain text
2315 #: debian-trixie fedora-44 fedora-rawhide
2316 #, fuzzy
2317 #| msgid ""
2318 #| "This boolean option enables the B<IP_ORIGDSTADDR> ancillary message in "
2319 #| "B<recvmsg>(2), in which the kernel returns the original destination "
2320 #| "address of the datagram being received. The ancillary message contains a "
2321 #| "I<struct sockaddr_in>."
2322 msgid ""
2323 "This boolean option enables the B<IP_ORIGDSTADDR> ancillary message in "
2324 "B<recvmsg>(2), in which the kernel returns the original destination address "
2325 "of the datagram being received. The ancillary message contains a I<struct "
2326 "sockaddr_in>. Not supported for B<SOCK_STREAM> sockets."
2327 msgstr ""
2328 "Данный логический параметр включает вспомогательное сообщение "
2329 "B<IP_ORIGDSTADDR> в B<recvmsg>(2), в котором ядро возвращает первоначальный "
2330 "адрес назначения полученной дейтаграммы. Вспомогательное сообщение содержит "
2331 "структуру I<struct sockaddr_in>."
2332
2333 #. type: TP
2334 #: debian-trixie fedora-44 fedora-rawhide
2335 #, no-wrap
2336 msgid "B<IP_RECVTOS> (since Linux 2.2)"
2337 msgstr "B<IP_RECVTOS> (начиная с Linux 2.2)"
2338
2339 #. Precisely: since Linux 2.1.68
2340 #. type: Plain text
2341 #: debian-trixie fedora-44 fedora-rawhide
2342 #, fuzzy
2343 #| msgid ""
2344 #| "If enabled, the B<IP_TOS> ancillary message is passed with incoming "
2345 #| "packets. It contains a byte which specifies the Type of Service/"
2346 #| "Precedence field of the packet header. Expects a boolean integer flag."
2347 msgid ""
2348 "If enabled, the B<IP_TOS> ancillary message is passed with incoming "
2349 "packets. It contains a byte which specifies the Type of Service/Precedence "
2350 "field of the packet header. Expects a boolean integer flag. Not supported "
2351 "for B<SOCK_STREAM> sockets."
2352 msgstr ""
2353 "Если включён, то вместе с входящими пакетами передаётся вспомогательное "
2354 "сообщение B<IP_TOS>. В нём содержится байт, в котором указано поле типа "
2355 "сервиса/приоритета из заголовка пакета. Ожидается логическое значение в виде "
2356 "целого числа."
2357
2358 #. type: TP
2359 #: debian-trixie fedora-44 fedora-rawhide
2360 #, no-wrap
2361 msgid "B<IP_RECVTTL> (since Linux 2.2)"
2362 msgstr "B<IP_RECVTTL> (начиная с Linux 2.2)"
2363
2364 #. Precisely: since Linux 2.1.68
2365 #. type: Plain text
2366 #: debian-trixie fedora-44 fedora-rawhide
2367 msgid ""
2368 "When this flag is set, pass a B<IP_TTL> control message with the time-to-"
2369 "live field of the received packet as a 32 bit integer. Not supported for "
2370 "B<SOCK_STREAM> sockets."
2371 msgstr ""
2372 "Если указан этот флаг, то передаётся управляющее сообщение B<IP_TTL> с "
2373 "байтом значения поля времени существования из полученного пакета в виде 32-"
2374 "битного целого. Не поддерживается сокетами типа B<SOCK_STREAM>."
2375
2376 #. type: TP
2377 #: debian-trixie fedora-44 fedora-rawhide
2378 #, no-wrap
2379 msgid "B<IP_RETOPTS> (since Linux 2.2)"
2380 msgstr "B<IP_RETOPTS> (начиная с Linux 2.2)"
2381
2382 #. Precisely: since Linux 2.1.15
2383 #. type: Plain text
2384 #: debian-trixie fedora-44 fedora-rawhide
2385 #, fuzzy
2386 #| msgid ""
2387 #| "Identical to B<IP_RECVOPTS>, but returns raw unprocessed options with "
2388 #| "timestamp and route record options not filled in for this hop."
2389 msgid ""
2390 "Identical to B<IP_RECVOPTS>, but returns raw unprocessed options with "
2391 "timestamp and route record options not filled in for this hop. Not "
2392 "supported for B<SOCK_STREAM> sockets."
2393 msgstr ""
2394 "Идентичен параметру B<IP_RECVOPTS>, но возвращает необработанные параметры, "
2395 "причём без заполненных временных меток и записи о маршрутизации до этой "
2396 "точки (hop)."
2397
2398 #. type: TP
2399 #: debian-trixie fedora-44 fedora-rawhide
2400 #, no-wrap
2401 msgid "B<IP_ROUTER_ALERT> (since Linux 2.2)"
2402 msgstr "B<IP_ROUTER_ALERT> (начиная с Linux 2.2)"
2403
2404 #. Precisely: since Linux 2.1.68
2405 #. type: Plain text
2406 #: debian-trixie fedora-44 fedora-rawhide
2407 #, fuzzy
2408 #| msgid ""
2409 #| "Pass all to-be forwarded packets with the IP Router Alert option set to "
2410 #| "this socket. Valid only for raw sockets. This is useful, for instance, "
2411 #| "for user-space RSVP daemons. The tapped packets are not forwarded by the "
2412 #| "kernel; it is the user's responsibility to send them out again. Socket "
2413 #| "binding is ignored, such packets are only filtered by protocol. Expects "
2414 #| "an integer flag."
2415 msgid ""
2416 "Pass all to-be forwarded packets with the IP Router Alert option set to this "
2417 "socket. Valid only for raw sockets. This is useful, for instance, for user-"
2418 "space RSVP daemons. The tapped packets are not forwarded by the kernel; it "
2419 "is the user's responsibility to send them out again. Socket binding is "
2420 "ignored, such packets are filtered only by protocol. Expects an integer "
2421 "flag."
2422 msgstr ""
2423 "Передаёт этому сокету все пересылаемые (forwarded) пакеты с установленным "
2424 "параметром IP Router Alert. Этот параметр используется для «сырых» сокетов. "
2425 "Он может быть полезен, например, для служб RSVP, запущенных в пространстве "
2426 "пользователя. Перехваченные пакеты дальше ядром не пересылаются: "
2427 "ответственность за их отсылку лежит на пользователе. Связывание сокета "
2428 "игнорируется, так как пакеты фильтруются по протоколу. Ожидается логическое "
2429 "значение в виде целого числа."
2430
2431 #. type: TP
2432 #: debian-trixie fedora-44 fedora-rawhide
2433 #, no-wrap
2434 msgid "B<IP_TOS> (since Linux 1.0)"
2435 msgstr "B<IP_TOS> (начиная с Linux 1.0)"
2436
2437 #. FIXME elaborate on this
2438 #. The priority can also be set in a protocol-independent way by the
2439 #. .RB ( SOL_SOCKET ", " SO_PRIORITY )
2440 #. socket option (see
2441 #. .BR socket (7)).
2442 #. type: Plain text
2443 #: debian-trixie fedora-44 fedora-rawhide
2444 msgid ""
2445 "Set or receive the Type-Of-Service (TOS) field that is sent with every IP "
2446 "packet originating from this socket. It is used to prioritize packets on "
2447 "the network. TOS is a byte. There are some standard TOS flags defined: "
2448 "B<IPTOS_LOWDELAY> to minimize delays for interactive traffic, "
2449 "B<IPTOS_THROUGHPUT> to optimize throughput, B<IPTOS_RELIABILITY> to optimize "
2450 "for reliability, B<IPTOS_MINCOST> should be used for \"filler data\" where "
2451 "slow transmission doesn't matter. At most one of these TOS values can be "
2452 "specified. Other bits are invalid and shall be cleared. Linux sends "
2453 "B<IPTOS_LOWDELAY> datagrams first by default, but the exact behavior depends "
2454 "on the configured queueing discipline. Some high-priority levels may "
2455 "require superuser privileges (the B<CAP_NET_ADMIN> capability)."
2456 msgstr ""
2457 "Устанавливает или получает значение поля Type-Of-Service (TOS, тип сервиса) "
2458 "каждого IP-пакета, который отсылается с этого сокета. Это поле используется "
2459 "для указания приоритета пакета в сети. Значение TOS хранится в одном байте. "
2460 "Существует несколько стандартных флагов TOS: B<IPTOS_LOWDELAY> — для "
2461 "минимизации задержки передаваемого трафика, B<IPTOS_THROUGHPUT> — для "
2462 "оптимизации пропускной способности, B<IPTOS_RELIABILITY> — для увеличения "
2463 "надёжности, B<IPTOS_MINCOST> — при пересылки данных, для которых неважна "
2464 "скорость передачи. Может быть указано не более одного из этих значений TOS. "
2465 "Все другие биты являются недействительными и должны быть обнулены. По "
2466 "умолчанию, Linux посылает дейтаграммы с B<IPTOS_LOWDELAY> первыми, но точное "
2467 "поведение зависит от настроенного порядка очередности (queueing discipline). "
2468 "Для установки некоторых высокоприоритетных типов сервиса могут потребоваться "
2469 "права суперпользователя (мандат B<CAP_NET_ADMIN>)."
2470
2471 #. type: TP
2472 #: debian-trixie fedora-44 fedora-rawhide
2473 #, no-wrap
2474 msgid "B<IP_TRANSPARENT> (since Linux 2.6.24)"
2475 msgstr "B<IP_TRANSPARENT> (начиная с Linux 2.6.24)"
2476
2477 #. commit f5715aea4564f233767ea1d944b2637a5fd7cd2e
2478 #. This patch introduces the IP_TRANSPARENT socket option: enabling that
2479 #. will make the IPv4 routing omit the non-local source address check on
2480 #. output. Setting IP_TRANSPARENT requires NET_ADMIN capability.
2481 #. http://lwn.net/Articles/252545/
2482 #. type: Plain text
2483 #: debian-trixie fedora-44 fedora-rawhide
2484 msgid ""
2485 "Setting this boolean option enables transparent proxying on this socket. "
2486 "This socket option allows the calling application to bind to a nonlocal IP "
2487 "address and operate both as a client and a server with the foreign address "
2488 "as the local endpoint. NOTE: this requires that routing be set up in a way "
2489 "that packets going to the foreign address are routed through the TProxy box "
2490 "(i.e., the system hosting the application that employs the B<IP_TRANSPARENT> "
2491 "socket option). Enabling this socket option requires superuser privileges "
2492 "(the B<CAP_NET_ADMIN> capability)."
2493 msgstr ""
2494 "Установка этого логического параметра включает прозрачное проксирование на "
2495 "заданный сокет. Данный параметр сокета позволяет вызвавшему приложению "
2496 "привязаться к нелокальному IP-адресу и работать клиентом и сервером с "
2497 "внешним адресом как с локальной конечной точкой. ЗАМЕЧАНИЕ: требуется "
2498 "настройка маршрутизации пакетов для внешнего адреса через TProxy (то есть, "
2499 "системы, на которой находится приложение, применяющее параметр сокета "
2500 "B<IP_TRANSPARENT>). Для установки данного параметра сокета требуются права "
2501 "суперпользователя (мандат B<CAP_NET_ADMIN>)."
2502
2503 #. type: Plain text
2504 #: debian-trixie fedora-44 fedora-rawhide
2505 msgid ""
2506 "TProxy redirection with the iptables TPROXY target also requires that this "
2507 "option be set on the redirected socket."
2508 msgstr ""
2509 "Также, для установки данного параметра на перенаправляемый сокет требуется "
2510 "перенаправление TProxy с помощью цели TPROXY в iptables."
2511
2512 #. type: TP
2513 #: debian-trixie fedora-44 fedora-rawhide
2514 #, no-wrap
2515 msgid "B<IP_TTL> (since Linux 1.0)"
2516 msgstr "B<IP_TTL> (начиная с Linux 1.0)"
2517
2518 #. type: Plain text
2519 #: debian-trixie fedora-44 fedora-rawhide
2520 msgid ""
2521 "Set or retrieve the current time-to-live field that is used in every packet "
2522 "sent from this socket."
2523 msgstr ""
2524 "Устанавливает или получает текущее значение поля времени существования (time "
2525 "to live), которое указывается в каждом пакете, отсылаемом с этого сокета."
2526
2527 #. type: TP
2528 #: debian-trixie fedora-44 fedora-rawhide
2529 #, no-wrap
2530 msgid "B<IP_UNBLOCK_SOURCE> (since Linux 2.4.22 / 2.5.68)"
2531 msgstr "B<IP_UNBLOCK_SOURCE> (начиная с Linux 2.4.22 / 2.5.68)"
2532
2533 #. type: Plain text
2534 #: debian-trixie fedora-44 fedora-rawhide
2535 msgid ""
2536 "Unblock previously blocked multicast source. Returns B<EADDRNOTAVAIL> when "
2537 "given source is not being blocked."
2538 msgstr ""
2539 "Разблокировать ранее заблокированный многоадресный источник. Возвращает "
2540 "B<EADDRNOTAVAIL>, если указанный источник не заблокирован."
2541
2542 #. type: TP
2543 #: debian-trixie fedora-44 fedora-rawhide
2544 #, fuzzy, no-wrap
2545 #| msgid "B<CLONE_NEWIPC> (since Linux 2.6.19)"
2546 msgid "B<SO_PEERSEC> (since Linux 2.6.17)"
2547 msgstr "B<CLONE_NEWIPC> (начиная с Linux 2.6.19)"
2548
2549 #. type: Plain text
2550 #: debian-trixie fedora-44 fedora-rawhide
2551 msgid ""
2552 "If labeled IPSEC or NetLabel is configured on both the sending and receiving "
2553 "hosts, this read-only socket option returns the security context of the peer "
2554 "socket connected to this socket. By default, this will be the same as the "
2555 "security context of the process that created the peer socket unless "
2556 "overridden by the policy or by a process with the required permissions."
2557 msgstr ""
2558
2559 #. type: Plain text
2560 #: debian-trixie fedora-44 fedora-rawhide
2561 msgid ""
2562 "The argument to B<getsockopt>(2) is a pointer to a buffer of the specified "
2563 "length in bytes into which the security context string will be copied. If "
2564 "the buffer length is less than the length of the security context string, "
2565 "then B<getsockopt>(2) returns -1, sets I<errno> to B<ERANGE>, and returns "
2566 "the required length via I<optlen>. The caller should allocate at least "
2567 "B<NAME_MAX> bytes for the buffer initially, although this is not guaranteed "
2568 "to be sufficient. Resizing the buffer to the returned length and retrying "
2569 "may be necessary."
2570 msgstr ""
2571
2572 #. type: Plain text
2573 #: debian-trixie fedora-44 fedora-rawhide
2574 msgid ""
2575 "The security context string may include a terminating null character in the "
2576 "returned length, but is not guaranteed to do so: a security context \"foo\" "
2577 "might be represented as either {'f','o','o'} of length 3 or "
2578 "{'f','o','o','\\e0'} of length 4, which are considered to be "
2579 "interchangeable. The string is printable, does not contain non-terminating "
2580 "null characters, and is in an unspecified encoding (in particular, it is not "
2581 "guaranteed to be ASCII or UTF-8)."
2582 msgstr ""
2583
2584 #. commit 2c7946a7bf45ae86736ab3b43d0085e43947945c
2585 #. commit d452930fd3b9031e59abfeddb2fa383f1403d61a
2586 #. type: Plain text
2587 #: debian-trixie fedora-44 fedora-rawhide
2588 msgid ""
2589 "The use of this option for sockets in the B<AF_INET> address family is "
2590 "supported since Linux 2.6.17 for TCP sockets, and since Linux 4.17 for SCTP "
2591 "sockets."
2592 msgstr ""
2593
2594 #. type: Plain text
2595 #: debian-trixie fedora-44 fedora-rawhide
2596 msgid ""
2597 "For SELinux, NetLabel conveys only the MLS portion of the security context "
2598 "of the peer across the wire, defaulting the rest of the security context to "
2599 "the values defined in the policy for the netmsg initial security identifier "
2600 "(SID). However, NetLabel can be configured to pass full security contexts "
2601 "over loopback. Labeled IPSEC always passes full security contexts as part "
2602 "of establishing the security association (SA) and looks them up based on the "
2603 "association for each packet."
2604 msgstr ""
2605
2606 #. FIXME As at 2.6.12, 14 Jun 2005, the following are undocumented:
2607 #. ip_queue_maxlen
2608 #. ip_conntrack_max
2609 #. type: Plain text
2610 #: debian-trixie fedora-44 fedora-rawhide
2611 msgid ""
2612 "The IP protocol supports a set of I</proc> interfaces to configure some "
2613 "global parameters. The parameters can be accessed by reading or writing "
2614 "files in the directory I</proc/sys/net/ipv4/>. Interfaces described as "
2615 "I<Boolean> take an integer value, with a nonzero value (\"true\") meaning "
2616 "that the corresponding option is enabled, and a zero value (\"false\") "
2617 "meaning that the option is disabled."
2618 msgstr ""
2619 "Настройку глобальных параметров протокола IP можно осуществлять через "
2620 "интерфейс I</proc>. Все параметры доступны посредством чтения или записи "
2621 "файлов из каталога I</proc/sys/net/ipv4/>. Для логических (I<Boolean>) "
2622 "параметров значения указываются в виде целых чисел: ненулевое значение "
2623 "(«истина») означает включает параметра, а нулевое значение («ложь») — "
2624 "выключение."
2625
2626 #. type: TP
2627 #: debian-trixie fedora-44 fedora-rawhide
2628 #, no-wrap
2629 msgid "I<ip_always_defrag> (Boolean; since Linux 2.2.13)"
2630 msgstr "I<ip_always_defrag> (Boolean; начиная с Linux 2.2.13)"
2631
2632 #. type: Plain text
2633 #: debian-trixie fedora-44 fedora-rawhide
2634 #, fuzzy
2635 #| msgid ""
2636 #| "[New with kernel 2.2.13; in earlier kernel versions this feature was "
2637 #| "controlled at compile time by the B<CONFIG_IP_ALWAYS_DEFRAG> option; this "
2638 #| "option is not present in 2.4.x and later]"
2639 msgid ""
2640 "[New with Linux 2.2.13; in earlier kernel versions this feature was "
2641 "controlled at compile time by the B<CONFIG_IP_ALWAYS_DEFRAG> option; this "
2642 "option is not present in Linux 2.4.x and later]"
2643 msgstr ""
2644 "[Появился в ядре версии 2.2.13; в ранних версиях это свойство "
2645 "контролировалось с помощью флага B<CONFIG_IP_ALWAYS_DEFRAG> времени "
2646 "компиляции; данный параметр убран в 2.4.x]"
2647
2648 #. type: Plain text
2649 #: debian-trixie fedora-44 fedora-rawhide
2650 msgid ""
2651 "When this boolean flag is enabled (not equal 0), incoming fragments (parts "
2652 "of IP packets that arose when some host between origin and destination "
2653 "decided that the packets were too large and cut them into pieces) will be "
2654 "reassembled (defragmented) before being processed, even if they are about to "
2655 "be forwarded."
2656 msgstr ""
2657 "Если этот флаг включён (не равен 0), то входящие фрагменты (части IP-"
2658 "пакетов, которые образуются, если некоторый узел, находящийся между "
2659 "отправителем и получателем, решает, что пакеты слишком велики и разделяет их "
2660 "на кусочки) будут снова собраны (дефрагментированны) перед дальнейшей "
2661 "обработкой, даже если они должны быть пересланы дальше."
2662
2663 #. type: Plain text
2664 #: debian-trixie fedora-44 fedora-rawhide
2665 msgid ""
2666 "Enable only if running either a firewall that is the sole link to your "
2667 "network or a transparent proxy; never ever use it for a normal router or "
2668 "host. Otherwise, fragmented communication can be disturbed if the fragments "
2669 "travel over different links. Defragmentation also has a large memory and "
2670 "CPU time cost."
2671 msgstr ""
2672 "Включайте этот параметр только на межсетевом экране, который является "
2673 "единственной связью с вашей сетью, или на прозрачном прокси; никогда не "
2674 "включайте его на обычном маршрутизаторе или узле. В противном случае, "
2675 "соединение может быть нарушено, если фрагменты передаются по различным "
2676 "линиям. Дефрагментация также требует много памяти и процессорного времени."
2677
2678 #. type: Plain text
2679 #: debian-trixie fedora-44 fedora-rawhide
2680 msgid ""
2681 "This is automagically turned on when masquerading or transparent proxying "
2682 "are configured."
2683 msgstr ""
2684 "Этот параметр включается автоматически при настройке маскарадинга или "
2685 "прозрачного проксирования."
2686
2687 #. type: TP
2688 #: debian-trixie fedora-44 fedora-rawhide
2689 #, fuzzy, no-wrap
2690 #| msgid "I<ip_autoconfig> (since Linux 2.2 to 2.6.17)"
2691 msgid "I<ip_autoconfig> (since Linux 2.2 to Linux 2.6.17)"
2692 msgstr "I<ip_autoconfig> (в Linux 2.2 по 2.6.17)"
2693
2694 #. Precisely: since Linux 2.1.68
2695 #. FIXME document ip_autoconfig
2696 #. type: Plain text
2697 #: debian-trixie fedora-44 fedora-rawhide
2698 msgid "Not documented."
2699 msgstr "Не описан."
2700
2701 #. type: TP
2702 #: debian-trixie fedora-44 fedora-rawhide
2703 #, no-wrap
2704 msgid "I<ip_default_ttl> (integer; default: 64; since Linux 2.2)"
2705 msgstr "I<ip_default_ttl> (integer; по умолчанию: 64; начиная с Linux 2.2)"
2706
2707 #. Precisely: since Linux 2.1.15
2708 #. type: Plain text
2709 #: debian-trixie fedora-44 fedora-rawhide
2710 msgid ""
2711 "Set the default time-to-live value of outgoing packets. This can be changed "
2712 "per socket with the B<IP_TTL> option."
2713 msgstr ""
2714 "Устанавливает значение time-to-live по умолчанию для исходящих пакетов. Это "
2715 "значение может быть изменено для каждого отдельного сокета с помощью "
2716 "параметра B<IP_TTL>."
2717
2718 #. type: TP
2719 #: debian-trixie fedora-44 fedora-rawhide
2720 #, no-wrap
2721 msgid "I<ip_dynaddr> (Boolean; default: disabled; since Linux 2.0.31)"
2722 msgstr "I<ip_dynaddr> (Boolean; по умолчанию: выключен; начиная с Linux 2.0.31)"
2723
2724 #. type: Plain text
2725 #: debian-trixie fedora-44 fedora-rawhide
2726 msgid ""
2727 "Enable dynamic socket address and masquerading entry rewriting on interface "
2728 "address change. This is useful for dialup interface with changing IP "
2729 "addresses. 0 means no rewriting, 1 turns it on and 2 enables verbose mode."
2730 msgstr ""
2731 "Включает динамическую адресацию сокета и подмену (masquerading) при "
2732 "изменении адреса интерфейса. Это полезно для интерфейсов коммутируемых "
2733 "соединений (dialup) с изменяющимися IP-адресами. Значение 0 означает не "
2734 "подменять, 1 включает подмену и 2 включает режим подробностей работы."
2735
2736 #. type: TP
2737 #: debian-trixie fedora-44 fedora-rawhide
2738 #, no-wrap
2739 msgid "I<ip_forward> (Boolean; default: disabled; since Linux 1.2)"
2740 msgstr "I<ip_forward> (Boolean; по умолчанию: выключен; начиная с Linux 1.2)"
2741
2742 #. type: Plain text
2743 #: debian-trixie fedora-44 fedora-rawhide
2744 msgid ""
2745 "Enable IP forwarding with a boolean flag. IP forwarding can be also set on "
2746 "a per-interface basis."
2747 msgstr ""
2748 "Включает/выключает пересылку (forwarding) IP-пакетов. Пересылка IP также "
2749 "может быть включена для каждого интерфейса в отдельности."
2750
2751 #. type: TP
2752 #: debian-trixie fedora-44 fedora-rawhide
2753 #, no-wrap
2754 msgid "I<ip_local_port_range> (since Linux 2.2)"
2755 msgstr "I<ip_local_port_range> (начиная с Linux 2.2)"
2756
2757 #. Precisely: since Linux 2.1.68
2758 #. type: Plain text
2759 #: debian-trixie fedora-44 fedora-rawhide
2760 #, fuzzy
2761 #| msgid ""
2762 #| "This file contains two integers that define the default local port range "
2763 #| "allocated to sockets that are not explicitly bound to a port number\\"
2764 #| "(emthat is, the range used for I<ephemeral ports>. An ephemeral port is "
2765 #| "allocated to a socket in the following circumstances:"
2766 msgid ""
2767 "This file contains two integers that define the default local port range "
2768 "allocated to sockets that are not explicitly bound to a port number\\"
2769 "[em]that is, the range used for I<ephemeral ports>. An ephemeral port is "
2770 "allocated to a socket in the following circumstances:"
2771 msgstr ""
2772 "В этом файле содержатся два целых числа, определяющие диапазон локальных "
2773 "портов по умолчанию, выделенных для сокетов, у которые нет явно привязанного "
2774 "номера порта — то есть диапазон I<эфемерных портов>. Эфемерный порт "
2775 "выделяется сокету в следующих случаях:"
2776
2777 #. type: Plain text
2778 #: debian-trixie fedora-44 fedora-rawhide
2779 msgid ""
2780 "the port number in a socket address is specified as 0 when calling "
2781 "B<bind>(2);"
2782 msgstr "при вызове B<bind>(2) в номере порта адреса сокета указан 0;"
2783
2784 #. type: Plain text
2785 #: debian-trixie fedora-44 fedora-rawhide
2786 msgid ""
2787 "B<listen>(2) is called on a stream socket that was not previously bound;"
2788 msgstr ""
2789 "Вызов B<listen>(2) вызван для потокового сокета, который ещё не привязан;"
2790
2791 #. type: Plain text
2792 #: debian-trixie fedora-44 fedora-rawhide
2793 msgid "B<connect>(2) was called on a socket that was not previously bound;"
2794 msgstr "Вызов B<connect>(2) вызван для сокета, который ещё не привязан;"
2795
2796 #. type: Plain text
2797 #: debian-trixie fedora-44 fedora-rawhide
2798 msgid ""
2799 "B<sendto>(2) is called on a datagram socket that was not previously bound."
2800 msgstr ""
2801 "Вызов B<sendto>(2) вызван для дейтаграмного сокета, который ещё не привязан."
2802
2803 #. type: Plain text
2804 #: debian-trixie fedora-44 fedora-rawhide
2805 msgid ""
2806 "Allocation of ephemeral ports starts with the first number in "
2807 "I<ip_local_port_range> and ends with the second number. If the range of "
2808 "ephemeral ports is exhausted, then the relevant system call returns an error "
2809 "(but see BUGS)."
2810 msgstr ""
2811 "Выделение эфемерных портов начинается с первого числа в "
2812 "I<ip_local_port_range> и заканчивается вторым числом. Если диапазон "
2813 "эфемерных портов закончился, то соответствующий системный вызов вернёт "
2814 "ошибку (но смотрите ДЕФЕКТЫ)."
2815
2816 #. type: Plain text
2817 #: debian-trixie fedora-44 fedora-rawhide
2818 msgid ""
2819 "Note that the port range in I<ip_local_port_range> should not conflict with "
2820 "the ports used by masquerading (although the case is handled). Also, "
2821 "arbitrary choices may cause problems with some firewall packet filters that "
2822 "make assumptions about the local ports in use. The first number should be "
2823 "at least greater than 1024, or better, greater than 4096, to avoid clashes "
2824 "with well known ports and to minimize firewall problems."
2825 msgstr ""
2826 "Заметим, что диапазон портов в I<ip_local_port_range> не должен "
2827 "конфликтовать с портами, используемыми для маскарадинг (хотя это "
2828 "проверяется). Также, произвольные значения могут вызвать проблемы с "
2829 "некоторыми пакетными фильтрами межсетевых экранов, которые делают "
2830 "предположения об используемых локальных портах. Первое число должно быть не "
2831 "менее 1024, или лучше более 4096, чтобы не пересекаться с всем известными "
2832 "портами и минимизировать проблемы с межсетевыми экранами."
2833
2834 #. type: TP
2835 #: debian-trixie fedora-44 fedora-rawhide
2836 #, no-wrap
2837 msgid "I<ip_no_pmtu_disc> (Boolean; default: disabled; since Linux 2.2)"
2838 msgstr "I<ip_no_pmtu_disc> (Boolean; по умолчанию: выключен; начиная с Linux 2.2)"
2839
2840 #. Precisely: 2.1.15
2841 #. The following is from Linux 2.6.12: Documentation/networking/ip-sysctl.txt
2842 #. type: Plain text
2843 #: debian-trixie fedora-44 fedora-rawhide
2844 msgid ""
2845 "If enabled, don't do Path MTU Discovery for TCP sockets by default. Path "
2846 "MTU discovery may fail if misconfigured firewalls (that drop all ICMP "
2847 "packets) or misconfigured interfaces (e.g., a point-to-point link where the "
2848 "both ends don't agree on the MTU) are on the path. It is better to fix the "
2849 "broken routers on the path than to turn off Path MTU Discovery globally, "
2850 "because not doing it incurs a high cost to the network."
2851 msgstr ""
2852 "Если включён, то, по умолчанию, не производится обнаружение значения MTU у "
2853 "маршрута для TCP сокетов. Обнаружение MTU маршрута может завершиться с "
2854 "ошибкой из-за встретившихся на пути неверно настроенных межсетевых экранов "
2855 "(которые отбрасывают все пакеты ICMP) или из-за неверно настроенных "
2856 "интерфейсов (например, соединение точка-точка, у которого оба конца не "
2857 "договорились о MTU). Лучше исправить встреченные на пути неисправные "
2858 "маршрутизаторы, чем глобально отключать обнаружение MTU маршрута, потому что "
2859 "это отключение приведёт к высокой нагрузке на сеть."
2860
2861 #. type: TP
2862 #: debian-trixie fedora-44 fedora-rawhide
2863 #, no-wrap
2864 msgid "I<ip_nonlocal_bind> (Boolean; default: disabled; since Linux 2.4)"
2865 msgstr "I<ip_nonlocal_bind> (Boolean; по умолчанию: выключен; начиная с Linux 2.4)"
2866
2867 #. Precisely: patch-2.4.0-test10
2868 #. The following is from Linux 2.6.12: Documentation/networking/ip-sysctl.txt
2869 #. type: Plain text
2870 #: debian-trixie fedora-44 fedora-rawhide
2871 msgid ""
2872 "If set, allows processes to B<bind>(2) to nonlocal IP addresses, which can "
2873 "be quite useful, but may break some applications."
2874 msgstr ""
2875 "Если установлен, то это позволяет процессам привязываться (B<bind>(2)) к "
2876 "нелокальным IP-адресам, что полезно, но может привести к неработоспособности "
2877 "некоторых приложений."
2878
2879 #. type: TP
2880 #: debian-trixie fedora-44 fedora-rawhide
2881 #, no-wrap
2882 msgid "I<ip6frag_time> (integer; default: 30)"
2883 msgstr "I<ip6frag_time> (integer; по умолчанию: 30)"
2884
2885 #. The following is from Linux 2.6.12: Documentation/networking/ip-sysctl.txt
2886 #. type: Plain text
2887 #: debian-trixie fedora-44 fedora-rawhide
2888 msgid "Time in seconds to keep an IPv6 fragment in memory."
2889 msgstr "Время в секундах, на которое фрагмент IPv6 остаётся в памяти."
2890
2891 #. type: TP
2892 #: debian-trixie fedora-44 fedora-rawhide
2893 #, no-wrap
2894 msgid "I<ip6frag_secret_interval> (integer; default: 600)"
2895 msgstr "I<ip6frag_secret_interval> (integer; по умолчанию: 600)"
2896
2897 #. type: Plain text
2898 #: debian-trixie fedora-44 fedora-rawhide
2899 msgid ""
2900 "Regeneration interval (in seconds) of the hash secret (or lifetime for the "
2901 "hash secret) for IPv6 fragments."
2902 msgstr ""
2903 "Интервал регенерации (в секундах) контрольной суммы секрета (hash secret) "
2904 "(или время существования контрольной суммы секрета) фрагментов IPv6."
2905
2906 #. type: TP
2907 #: debian-trixie fedora-44 fedora-rawhide
2908 #, fuzzy, no-wrap
2909 #| msgid "I<ipfrag_high_thresh> (integer), I<ipfrag_low_thresh> (integer)"
2910 msgid "I<ipfrag_high_thresh> (integer)"
2911 msgstr "I<ipfrag_high_thresh> (integer), I<ipfrag_low_thresh> (integer)"
2912
2913 #. type: TQ
2914 #: debian-trixie fedora-44 fedora-rawhide
2915 #, fuzzy, no-wrap
2916 #| msgid "I<ip6frag_time> (integer; default: 30)"
2917 msgid "I<ipfrag_low_thresh> (integer)"
2918 msgstr "I<ip6frag_time> (integer; по умолчанию: 30)"
2919
2920 #. type: Plain text
2921 #: debian-trixie fedora-44 fedora-rawhide
2922 msgid ""
2923 "If the amount of queued IP fragments reaches I<ipfrag_high_thresh>, the "
2924 "queue is pruned down to I<ipfrag_low_thresh>. Contains an integer with the "
2925 "number of bytes."
2926 msgstr ""
2927 "Если количество фрагментов IP, стоящих в очереди, достигает значения "
2928 "I<ipfrag_high_thresh>, то очередь укорачивается до значения "
2929 "I<ipfrag_low_thresh>. Содержит целое число, означающее количество байт."
2930
2931 #. type: TP
2932 #: debian-trixie fedora-44 fedora-rawhide
2933 #, no-wrap
2934 msgid "I<neigh/*>"
2935 msgstr "I<neigh/*>"
2936
2937 #. FIXME Document the conf/*/* interfaces
2938 #. FIXME Document the route/* interfaces
2939 #. type: Plain text
2940 #: debian-trixie fedora-44 fedora-rawhide
2941 msgid "See B<arp>(7)."
2942 msgstr "Смотрите в B<arp>(7)."
2943
2944 #. type: TP
2945 #: debian-trixie
2946 #, no-wrap
2947 msgid "B<ENOPROTOOPT> and B<EOPNOTSUPP>"
2948 msgstr "B<ENOPROTOOPT> и B<EOPNOTSUPP>"
2949
2950 #. IP_XFRM_POLICY is Linux-specific
2951 #. IP_IPSEC_POLICY is a nonstandard extension, also present on some BSDs
2952 #. type: Plain text
2953 #: debian-trixie fedora-44 fedora-rawhide
2954 #, fuzzy
2955 #| msgid ""
2956 #| "B<IP_FREEBIND>, B<IP_MSFILTER>, B<IP_MTU>, B<IP_MTU_DISCOVER>, "
2957 #| "B<IP_RECVORIGDSTADDR>, B<IP_PKTINFO>, B<IP_RECVERR>, B<IP_ROUTER_ALERT>, "
2958 #| "and B<IP_TRANSPARENT> are Linux-specific."
2959 msgid ""
2960 "B<IP_FREEBIND>, B<IP_MSFILTER>, B<IP_MTU>, B<IP_MTU_DISCOVER>, "
2961 "B<IP_RECVORIGDSTADDR>, B<IP_PASSSEC>, B<IP_PKTINFO>, B<IP_RECVERR>, "
2962 "B<IP_ROUTER_ALERT>, and B<IP_TRANSPARENT> are Linux-specific."
2963 msgstr ""
2964 "Значения B<IP_FREEBIND>, B<IP_MSFILTER>, B<IP_MTU>, B<IP_MTU_DISCOVER>, "
2965 "B<IP_RECVORIGDSTADDR>, B<IP_PKTINFO>, B<IP_RECVERR>, B<IP_ROUTER_ALERT> и "
2966 "B<IP_TRANSPARENT> есть только в Linux."
2967
2968 #. type: Plain text
2969 #: debian-trixie fedora-44 fedora-rawhide
2970 msgid ""
2971 "Some other BSD sockets implementations provide B<IP_RCVDSTADDR> and "
2972 "B<IP_RECVIF> socket options to get the destination address and the interface "
2973 "of received datagrams. Linux has the more general B<IP_PKTINFO> for the "
2974 "same task."
2975 msgstr ""
2976 "Для определения адреса назначения и интерфейса полученных дейтаграмм в "
2977 "некоторые реализациях сокетов BSD введены параметры сокетов B<IP_RCVDSTADDR> "
2978 "и B<IP_RECVIF>. В Linux для этой цели есть общий параметр B<IP_PKTINFO>."
2979
2980 #. type: Plain text
2981 #: debian-trixie fedora-44 fedora-rawhide
2982 msgid ""
2983 "Some BSD sockets implementations also provide an B<IP_RECVTTL> option, but "
2984 "an ancillary message with type B<IP_RECVTTL> is passed with the incoming "
2985 "packet. This is different from the B<IP_TTL> option used in Linux."
2986 msgstr ""
2987 "В некоторых реализациях сокетов BSD также есть параметр B<IP_RECVTTL>, но "
2988 "вспомогательное сообщение с типом B<IP_RECVTTL> передаётся с входным "
2989 "пакетом. В этом отличие от параметра B<IP_TTL>, используемого в Linux."
2990
2991 #. type: Plain text
2992 #: debian-trixie fedora-44 fedora-rawhide
2993 #, fuzzy
2994 #| msgid ""
2995 #| "B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), B<ipfw>(4), "
2996 #| "B<capabilities>(7), B<icmp>(7), B<ipv6>(7), B<netlink>(7), B<raw>(7), "
2997 #| "B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
2998 msgid ""
2999 "B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), B<capabilities>(7), "
3000 "B<icmp>(7), B<ipv6>(7), B<netdevice>(7), B<netlink>(7), B<raw>(7), "
3001 "B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
3002 msgstr ""
3003 "B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), B<ipfw>(4), "
3004 "B<capabilities>(7), B<icmp>(7), B<ipv6>(7), B<netlink>(7), B<raw>(7), "
3005 "B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
3006
3007 #. type: Plain text
3008 #: debian-trixie fedora-44 fedora-rawhide
3009 msgid "The kernel source file I<Documentation/networking/ip-sysctl.txt>."
3010 msgstr "Исходный файл ядра I<Documentation/networking/ip-sysctl.txt>."
3011
3012 #. type: TH
3013 #: fedora-44 fedora-rawhide
3014 #, no-wrap
3015 msgid "2024-06-28"
3016 msgstr "28 июня 2024 г."
3017
3018 #. type: TH
3019 #: fedora-44 fedora-rawhide
3020 #, no-wrap
3021 msgid "Linux man-pages 6.13"
3022 msgstr "Страницы руководства Linux 6.13"
3023
3024 #. type: TH
3025 #: mageia-cauldron
3026 #, no-wrap
3027 msgid "Linux man-pages 6.17"
3028 msgstr "Страницы руководства Linux 6.17"
3029
3030 #. type: TH
3031 #: opensuse-leap-16-1 opensuse-tumbleweed
3032 #, no-wrap
3033 msgid "Linux man-pages (unreleased)"
3034 msgstr "Страницы руководства Linux (не выпущены)"