Debian Codegraph @

po/ar/man3/SSL_shutdown.3ssl.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
9 "PO-Revision-Date: 2026-06-03 20:12+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\n"
19
20 # #-#-#-#-# archlinux: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
21 #
22 #. #-#-#-#-# archlinux: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
23 #. Required to disable full justification in groff 1.23.0.
24 #. ========================================================================
25 #. type: IX
26 #. #-#-#-#-# debian-trixie: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
27 #. ========================================================================
28 #. type: IX
29 #. #-#-#-#-# debian-unstable: SSL_shutdown.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
30 #. ========================================================================
31 #. type: IX
32 #: archlinux debian-trixie debian-unstable
33 #, no-wrap
34 msgid "Title"
35 msgstr "Title"
36
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "SSL_SHUTDOWN 3ssl"
43 msgstr "SSL_SHUTDOWN 3ssl"
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "SSL_SHUTDOWN"
49 msgstr "SSL_SHUTDOWN"
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr "7 أبريل 2026"
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr "3.6.2"
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr "OpenSSL"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr "الاسم"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid "SSL_shutdown, SSL_shutdown_ex - shut down a TLS/SSL or QUIC connection"
78 msgstr "SSL_shutdown, SSL_shutdown_ex - إغلاق اتصال TLS/SSL أو QUIC"
79
80 #. type: IX
81 #: archlinux debian-trixie debian-unstable
82 #, no-wrap
83 msgid "SYNOPSIS"
84 msgstr "موجز"
85
86 #. type: IX
87 #: archlinux debian-trixie debian-unstable
88 #, no-wrap
89 msgid "Header"
90 msgstr "Header"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable
94 #, no-wrap
95 msgid ""
96 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
97 "\\&\n"
98 "\\& int SSL_shutdown(SSL *ssl);\n"
99 "\\&\n"
100 "\\& typedef struct ssl_shutdown_ex_args_st {\n"
101 "\\& uint64_t quic_error_code;\n"
102 "\\& const char *quic_reason;\n"
103 "\\& } SSL_SHUTDOWN_EX_ARGS;\n"
104 "\\&\n"
105 "\\& _\\|_owur int SSL_shutdown_ex(SSL *ssl, uint64_t flags,\n"
106 "\\& const SSL_SHUTDOWN_EX_ARGS *args,\n"
107 "\\& size_t args_len);\n"
108 msgstr ""
109 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
110 "\\&\n"
111 "\\& int SSL_shutdown(SSL *ssl);\n"
112 "\\&\n"
113 "\\& typedef struct ssl_shutdown_ex_args_st {\n"
114 "\\& uint64_t quic_error_code;\n"
115 "\\& const char *quic_reason;\n"
116 "\\& } SSL_SHUTDOWN_EX_ARGS;\n"
117 "\\&\n"
118 "\\& _\\|_owur int SSL_shutdown_ex(SSL *ssl, uint64_t flags,\n"
119 "\\& const SSL_SHUTDOWN_EX_ARGS *args,\n"
120 "\\& size_t args_len);\n"
121
122 #. type: IX
123 #: archlinux debian-trixie debian-unstable
124 #, no-wrap
125 msgid "DESCRIPTION"
126 msgstr "الوصف"
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable
130 msgid ""
131 "\\&B<SSL_shutdown()> shuts down an active connection represented by an SSL "
132 "object. I<ssl> B<MUST NOT> be NULL."
133 msgstr ""
134 "\\&B<SSL_shutdown()> يُغلق اتصالاً نشطًا يمثله كائن SSL. I<ssl> B<يجب ألا> يكون "
135 "NULL."
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable
139 msgid ""
140 "\\&B<SSL_shutdown_ex()> is an extended version of B<SSL_shutdown()>. If non-"
141 "NULL, I<args> must point to a B<SSL_SHUTDOWN_EX_ARGS> structure and "
142 "I<args_len> must be set to \\&CW<sizeof(SSL_SHUTDOWN_EX_ARGS)>. The "
143 "B<SSL_SHUTDOWN_EX_ARGS> structure must be zero-initialized. If I<args> is "
144 "NULL, the behaviour is the same as passing a zero-initialised "
145 "B<SSL_SHUTDOWN_EX_ARGS> structure. Currently, all extended arguments relate "
146 "to usage with QUIC, therefore this call functions identically to "
147 "B<SSL_shutdown()> when not being used with QUIC."
148 msgstr ""
149 "\\&B<SSL_shutdown_ex()> هي نسخة موسعة من B<SSL_shutdown()>. إذا كان غير "
150 "NULL، يجب أن يشير I<args> إلى بنية B<SSL_SHUTDOWN_EX_ARGS> ويجب تعيين "
151 "I<args_len> إلى \\&CW<sizeof(SSL_SHUTDOWN_EX_ARGS)>. يجب أن تكون بنية "
152 "B<SSL_SHUTDOWN_EX_ARGS> مُهيأة بالأصفار. إذا كان I<args> هو NULL، يكون السلوك "
153 "مماثلاً لتمرير بنية B<SSL_SHUTDOWN_EX_ARGS> مُهيأة بالأصفار. حاليًا، جميع "
154 "المعاملات الموسعة تتعلق بالاستخدام مع QUIC، لذلك تعمل هذه الدالة بشكل مماثل "
155 "لـ B<SSL_shutdown()> عند عدم استخدامها مع QUIC."
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable
159 msgid ""
160 "While the general operation of B<SSL_shutdown()> is common between "
161 "protocols, the exact nature of how a shutdown is performed depends on the "
162 "underlying protocol being used. See the section below pertaining to each "
163 "protocol for more information."
164 msgstr ""
165 "بينما تكون العملية العامة لـ B<SSL_shutdown()> مشتركة بين البروتوكولات، "
166 "تعتمد الطبيعة الدقيقة لكيفية تنفيذ الإغلاق على البروتوكول الأساسي المستخدم. "
167 "راجع القسم أدناه المتعلق بكل بروتوكول لمزيد من المعلومات."
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable
171 msgid ""
172 "In general, calling B<SSL_shutdown()> in nonblocking mode will initiate the "
173 "shutdown process and return 0 to indicate that the shutdown process has not "
174 "yet completed. Once the shutdown process has completed, subsequent calls to "
175 "\\&B<SSL_shutdown()> will return 1. See the RETURN VALUES section for more "
176 "information."
177 msgstr ""
178 "بشكل عام، استدعاء B<SSL_shutdown()> في وضع عدم الحظر سيبدأ عملية الإغلاق "
179 "ويعيد 0 للإشارة إلى أن عملية الإغلاق لم تكتمل بعد. بمجرد اكتمال عملية "
180 "الإغلاق، ستعيد الاستدعاءات اللاحقة لـ \\&B<SSL_shutdown()> القيمة 1. راجع "
181 "قسم قيم الإرجاع لمزيد من المعلومات."
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable
185 msgid ""
186 "\\&B<SSL_shutdown()> should not be called if a previous fatal error has "
187 "occurred on a connection; i.e., if B<SSL_get_error>\\|(3) has returned "
188 "B<SSL_ERROR_SYSCALL> or \\&B<SSL_ERROR_SSL>."
189 msgstr ""
190 "\\&لا ينبغي استدعاء B<SSL_shutdown()> إذا حدث خطأ قاتل سابق على اتصال؛ أي "
191 "إذا أعادت B<SSL_get_error>\\|(3) B<SSL_ERROR_SYSCALL> أو \\&B<SSL_ERROR_SSL>."
192
193 #. type: IX
194 #: archlinux debian-trixie debian-unstable
195 #, no-wrap
196 msgid "TLS AND DTLS-SPECIFIC CONSIDERATIONS"
197 msgstr "اعتبارات خاصة بـ TLS و DTLS"
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable
201 msgid ""
202 "Shutdown for SSL/TLS and DTLS is implemented in terms of the SSL/TLS/DTLS "
203 "close_notify alert message. The shutdown process for SSL/TLS and DTLS "
204 "consists of two steps:"
205 msgstr ""
206 "يتم تنفيذ الإغلاق لـ SSL/TLS و DTLS من خلال رسالة تنبيه close_notify الخاصة "
207 "بـ SSL/TLS/DTLS. تتكون عملية الإغلاق لـ SSL/TLS و DTLS من خطوتين:"
208
209 #. type: IP
210 #: archlinux debian-trixie debian-unstable
211 #, no-wrap
212 msgid "\\(bu"
213 msgstr "\\(bu"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable
217 msgid "A close_notify shutdown alert message is sent to the peer."
218 msgstr "يُرسل تنبيه إغلاق close_notify إلى النظير."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable
222 msgid "A close_notify shutdown alert message is received from the peer."
223 msgstr "يُستقبل تنبيه إغلاق close_notify من النظير."
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable
227 msgid ""
228 "These steps can occur in either order depending on whether the connection "
229 "shutdown process was first initiated by the local application or by the peer."
230 msgstr ""
231 "يمكن أن تحدث هذه الخطوات بأي ترتيب اعتمادًا على ما إذا كانت عملية إغلاق "
232 "الاتصال قد بدأت أولاً بواسطة التطبيق المحلي أو بواسطة النظير."
233
234 #. type: IX
235 #: archlinux debian-trixie debian-unstable
236 #, no-wrap
237 msgid "Locally-Initiated Shutdown"
238 msgstr "إغلاق بدأ محليًا"
239
240 #. type: IX
241 #: archlinux debian-trixie debian-unstable
242 #, no-wrap
243 msgid "Subsection"
244 msgstr "Subsection"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable
248 msgid ""
249 "Calling B<SSL_shutdown()> on an SSL/TLS or DTLS SSL object initiates the "
250 "shutdown process and causes OpenSSL to try to send a close_notify shutdown "
251 "alert to the peer. The shutdown process will then be considered completed "
252 "once the peer responds in turn with a close_notify shutdown alert message."
253 msgstr ""
254 "استدعاء B<SSL_shutdown()> على كائن SSL/TLS أو DTLS SSL يبدأ عملية الإغلاق "
255 "ويجعل OpenSSL يحاول إرسال تنبيه إغلاق close_notify إلى النظير. ثم تُعتبر "
256 "عملية الإغلاق مكتملة بمجرد أن يستجيب النظير بدوره برسالة تنبيه إغلاق "
257 "close_notify."
258
259 #. type: Plain text
260 #: archlinux
261 msgid ""
262 "Calling B<SSL_shutdown()> only closes the write direction of the connection; "
263 "the read direction is closed by the peer. Once B<SSL_shutdown()> is called, "
264 "\\&B<SSL_write>\\|(3) can no longer be used, but B<SSL_read>\\|(3) may still "
265 "be used until the peer decides to close the connection in turn. The peer "
266 "might continue sending data for some period of time before handling the "
267 "local application\\*(Aqs shutdown indication."
268 msgstr ""
269 "استدعاء B<SSL_shutdown()> يُغلق فقط اتجاه الكتابة للاتصال؛ اتجاه القراءة يُغلق "
270 "بواسطة النظير. بمجرد استدعاء B<SSL_shutdown()>، لا يمكن استخدام "
271 "\\&B<SSL_write>\\|(3) بعد الآن، ولكن يمكن استخدام B<SSL_read>\\|(3) حتى يقرر "
272 "النظير إغلاق الاتصال بدوره. قد يستمر النظير في إرسال البيانات لفترة من الوقت "
273 "قبل معالجة إشارة الإغلاق للتطبيق المحلي."
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable
277 msgid ""
278 "\\&B<SSL_shutdown()> does not affect an underlying network connection such "
279 "as a TCP connection, which remains open."
280 msgstr ""
281 "\\&لا يؤثر B<SSL_shutdown()> على اتصال شبكة أساسي مثل اتصال TCP، الذي يبقى "
282 "مفتوحًا."
283
284 #. type: IX
285 #: archlinux debian-trixie debian-unstable
286 #, no-wrap
287 msgid "Remotely-Initiated Shutdown"
288 msgstr "إغلاق بدأ عن بُعد"
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable
292 msgid ""
293 "If the peer was the first to initiate the shutdown process by sending a "
294 "close_notify alert message, an application will be notified of this as an "
295 "EOF condition when calling \\&B<SSL_read>\\|(3) (i.e., B<SSL_read>\\|(3) "
296 "will fail and B<SSL_get_error>\\|(3) will return B<SSL_ERROR_ZERO_RETURN>), "
297 "after all application data sent by the peer prior to initiating the shutdown "
298 "has been read. An application should handle this condition by calling "
299 "B<SSL_shutdown()> to respond with a close_notify alert in turn, completing "
300 "the shutdown process, though it may choose to write additional application "
301 "data using B<SSL_write>\\|(3) before doing so. If an application does not "
302 "call B<SSL_shutdown()> in this case, a close_notify alert will not be sent "
303 "and the behaviour will not be fully standards compliant."
304 msgstr ""
305 "إذا كان النظير هو أول من بدأ عملية الإغلاق بإرسال رسالة تنبيه close_notify، "
306 "سيتم إخطار التطبيق بهذا كحالة نهاية ملف (EOF) عند استدعاء \\&B<SSL_read>\\|"
307 "(3) (أي ستفشل B<SSL_read>\\|(3) وستعيد B<SSL_get_error>\\|(3) "
308 "B<SSL_ERROR_ZERO_RETURN>)، بعد قراءة جميع بيانات التطبيق التي أرسلها النظير "
309 "قبل بدء الإغلاق. يجب على التطبيق معالجة هذه الحالة باستدعاء "
310 "B<SSL_shutdown()> للرد بتنبيـه close_notify بدوره، مكملاً عملية الإغلاق، على "
311 "الرغم من أنه قد يختار كتابة بيانات تطبيق إضافية باستخدام B<SSL_write>\\|(3) "
312 "قبل القيام بذلك. إذا لم يستدع التطبيق B<SSL_shutdown()> في هذه الحالة، لن "
313 "يُرسل تنبيه close_notify ولن يكون السلوك متوافقًا تمامًا مع المعايير."
314
315 #. type: IX
316 #: archlinux debian-trixie debian-unstable
317 #, no-wrap
318 msgid "Shutdown Lifecycle"
319 msgstr "دورة حياة الإغلاق"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable
323 msgid ""
324 "Regardless of whether a shutdown was initiated locally or by the peer, if "
325 "the underlying BIO is blocking, a call to B<SSL_shutdown()> will return "
326 "firstly once a close_notify alert message is written to the peer (returning "
327 "0), and upon a second and subsequent call, once a corresponding message is "
328 "received from the peer (returning 1 and completing the shutdown process). "
329 "Calls to B<SSL_shutdown()> with a blocking underlying BIO will also return "
330 "if an error occurs."
331 msgstr ""
332 "بغض النظر عما إذا كان الإغلاق قد بدأ محليًا أو بواسطة النظير، إذا كان BIO "
333 "الأساسي محظورًا، فإن استدعاء B<SSL_shutdown()> سيعود أولاً بمجرد كتابة رسالة "
334 "تنبيه close_notify إلى النظير (مع إرجاع 0)، وعند الاستدعاء الثاني واللاحق، "
335 "بمجرد استلام رسالة مقابلة من النظير (مع إرجاع 1 وإكمال عملية الإغلاق). ستعود "
336 "استدعاءات B<SSL_shutdown()> مع BIO أساسي محظور أيضًا في حالة حدوث خطأ."
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable
340 msgid ""
341 "If the underlying BIO is nonblocking and the shutdown process is not yet "
342 "complete (for example, because a close_notify alert message has not yet been "
343 "received from the peer, or because a close_notify alert message needs to be "
344 "sent but would currently block), B<SSL_shutdown()> returns 0 to indicate "
345 "that the shutdown process is still ongoing; in this case, a call to "
346 "B<SSL_get_error>\\|(3) will yield B<SSL_ERROR_WANT_READ> or "
347 "B<SSL_ERROR_WANT_WRITE>."
348 msgstr ""
349 "إذا كان BIO الأساسي غير محظور ولم تكتمل عملية الإغلاق بعد (على سبيل المثال، "
350 "لأن رسالة تنبيه close_notify لم تُستلم بعد من النظير، أو لأن رسالة تنبيه "
351 "close_notify تحتاج إلى الإرسال ولكنها ستحظر حاليًا)، فإن B<SSL_shutdown()> "
352 "تُرجع 0 للإشارة إلى أن عملية الإغلاق لا تزال جارية؛ في هذه الحالة، سينتج عن "
353 "استدعاء B<SSL_get_error>\\|(3) B<SSL_ERROR_WANT_READ> أو "
354 "B<SSL_ERROR_WANT_WRITE>."
355
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable
358 msgid ""
359 "An application can then detect completion of the shutdown process by calling "
360 "\\&B<SSL_shutdown()> again repeatedly until it returns 1, indicating that "
361 "the shutdown process is complete (with a close_notify alert having both been "
362 "sent and received)."
363 msgstr ""
364 "يمكن للتطبيق بعد ذلك اكتشاف اكتمال عملية الإغلاق عن طريق استدعاء "
365 "\\&B<SSL_shutdown()> مرة أخرى بشكل متكرر حتى تُرجع 1، مما يشير إلى اكتمال "
366 "عملية الإغلاق (مع إرسال واستلام تنبيه close_notify)."
367
368 #. type: Plain text
369 #: archlinux
370 msgid ""
371 "However, the preferred method of waiting for the shutdown to complete is to "
372 "use \\&B<SSL_read>\\|(3) until B<SSL_get_error>\\|(3) indicates EOF by "
373 "returning \\&B<SSL_ERROR_ZERO_RETURN>. This ensures any data received "
374 "immediately before the peer\\*(Aqs close_notify alert is still provided to "
375 "the application. It also ensures any final handshake-layer messages received "
376 "are processed (for example, messages issuing new session tickets)."
377 msgstr ""
378 "ومع ذلك، الطريقة المفضلة لانتظار اكتمال الإغلاق هي استخدام \\&B<SSL_read>\\|"
379 "(3) حتى يشير B<SSL_get_error>\\|(3) إلى EOF عن طريق إرجاع "
380 "\\&B<SSL_ERROR_ZERO_RETURN>. يضمن ذلك أن أي بيانات تُستلم قبل تنبيه "
381 "close_notify الخاص بالنظير لا تزال متوفرة للتطبيق. كما يضمن معالجة أي رسائل "
382 "طبقة مصافحة نهائية تُستلم (على سبيل المثال، رسائل إصدار تذاكر جلسة جديدة)."
383
384 #. type: Plain text
385 #: archlinux
386 msgid ""
387 "If this approach is not used, the second call to B<SSL_shutdown()> (to "
388 "complete the shutdown by confirming receipt of the peer\\*(Aqs close_notify "
389 "message) will fail if it is called when the application has not read all "
390 "pending application data sent by the peer using B<SSL_read>\\|(3)."
391 msgstr ""
392 "إذا لم تُستخدم هذه الطريقة، فإن الاستدعاء الثاني لـ B<SSL_shutdown()> (لإكمال "
393 "الإغلاق عن طريق تأكيد استلام رسالة close_notify الخاصة بالنظير) سيفشل إذا تم "
394 "استدعاؤه عندما لم يقرأ التطبيق جميع بيانات التطبيق المعلقة التي أرسلها "
395 "النظير باستخدام B<SSL_read>\\|(3)."
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable
399 msgid ""
400 "When calling B<SSL_shutdown()>, the B<SSL_SENT_SHUTDOWN> flag is set once an "
401 "attempt is made to send a close_notify alert, regardless of whether the "
402 "attempt was successful. The B<SSL_RECEIVED_SHUTDOWN> flag is set once a "
403 "close_notify alert is received, which may occur during any call which "
404 "processes incoming data from the network, such as B<SSL_read>\\|(3) or "
405 "B<SSL_shutdown()>. These flags may be checked using B<SSL_get_shutdown>\\|"
406 "(3)."
407 msgstr ""
408 "عند استدعاء B<SSL_shutdown()>، تُضبط العلامة B<SSL_SENT_SHUTDOWN> بمجرد "
409 "محاولة إرسال تنبيه close_notify، بغض النظر عما إذا كانت المحاولة ناجحة. تُضبط "
410 "العلامة B<SSL_RECEIVED_SHUTDOWN> بمجرد استلام تنبيه close_notify، والذي قد "
411 "يحدث أثناء أي استدعاء يعالج البيانات الواردة من الشبكة، مثل B<SSL_read>\\|"
412 "(3) أو B<SSL_shutdown()>. يمكن التحقق من هذه العلامات باستخدام "
413 "B<SSL_get_shutdown>\\|(3)."
414
415 #. type: IX
416 #: archlinux debian-trixie debian-unstable
417 #, no-wrap
418 msgid "Fast Shutdown"
419 msgstr "الإغلاق السريع"
420
421 #. type: Plain text
422 #: archlinux
423 msgid ""
424 "Alternatively, it is acceptable for an application to call B<SSL_shutdown()> "
425 "once (such that it returns 0) and then close the underlying connection "
426 "without waiting for the peer\\*(Aqs response. This allows for a more rapid "
427 "shutdown process if the application does not wish to wait for the peer."
428 msgstr ""
429 "بدلاً من ذلك، من المقبول للتطبيق استدعاء B<SSL_shutdown()> مرة واحدة (بحيث "
430 "تُرجع 0) ثم إغلاق الاتصال الأساسي دون انتظار استجابة النظير. يسمح هذا بعملية "
431 "إغلاق أسرع إذا كان التطبيق لا يرغب في انتظار النظير."
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable
435 msgid ""
436 "This alternative \"fast shutdown\" approach should only be done if it is "
437 "known that the peer will not send more data, otherwise there is a risk of an "
438 "application exposing itself to a truncation attack. The full "
439 "B<SSL_shutdown()> process, in which both parties send close_notify alerts "
440 "and B<SSL_shutdown()> returns 1, provides a cryptographically authenticated "
441 "indication of the end of a connection."
442 msgstr ""
443 "يجب تنفيذ هذا النهج البديل \"الإغلاق السريع\" فقط إذا كان معروفًا أن النظير "
444 "لن يرسل المزيد من البيانات، وإلا فهناك خطر تعريض التطبيق لهجوم اقتطاع. توفر "
445 "عملية B<SSL_shutdown()> الكاملة، التي يرسل فيها كلا الطرفين تنبيهات "
446 "close_notify وتُعيد B<SSL_shutdown()> القيمة 1، إشارة موثقة تشفيريًا لنهاية "
447 "الاتصال."
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable
451 msgid ""
452 "This approach of a single B<SSL_shutdown()> call without waiting is "
453 "preferable to simply calling B<SSL_free>\\|(3) or B<SSL_clear>\\|(3) as "
454 "calling B<SSL_shutdown()> beforehand makes an SSL session eligible for "
455 "subsequent reuse and notifies the peer of connection shutdown."
456 msgstr ""
457 "هذا النهج باستدعاء واحد لـ B<SSL_shutdown()> دون انتظار هو أفضل من مجرد "
458 "استدعاء B<SSL_free>\\|(3) أو B<SSL_clear>\\|(3) لأن استدعاء "
459 "B<SSL_shutdown()> مسبقًا يجعل جلسة SSL مؤهلة لإعادة الاستخدام لاحقًا ويُعلم "
460 "النظير بإغلاق الاتصال."
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable
464 msgid ""
465 "The fast shutdown approach can only be used if there is no intention to "
466 "reuse the underlying connection (e.g. a TCP connection) for further "
467 "communication; in this case, the full shutdown process must be performed to "
468 "ensure synchronisation."
469 msgstr ""
470 "لا يمكن استخدام نهج الإغلاق السريع إلا إذا لم تكن هناك نية لإعادة استخدام "
471 "الاتصال الأساسي (مثل اتصال TCP) للاتصال اللاحق؛ في هذه الحالة، يجب تنفيذ "
472 "عملية الإغلاق الكاملة لضمان التزامن."
473
474 #. type: IX
475 #: archlinux debian-trixie debian-unstable
476 #, no-wrap
477 msgid "Effects on Session Reuse"
478 msgstr "التأثيرات على إعادة استخدام الجلسة"
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable
482 msgid ""
483 "Calling B<SSL_shutdown()> sets the SSL_SENT_SHUTDOWN flag (see "
484 "\\&B<SSL_set_shutdown>\\|(3)), regardless of whether the transmission of the "
485 "close_notify alert was successful or not. This makes the SSL session "
486 "eligible for reuse; the SSL session is considered properly closed and can be "
487 "reused for future connections."
488 msgstr ""
489 "يضبط استدعاء B<SSL_shutdown()> العلامة SSL_SENT_SHUTDOWN (انظر "
490 "\\&B<SSL_set_shutdown>\\|(3))، بغض النظر عما إذا كان إرسال تنبيه "
491 "close_notify ناجحًا أم لا. يجعل هذا جلسة SSL مؤهلة لإعادة الاستخدام؛ تُعتبر "
492 "جلسة SSL مغلقة بشكل صحيح ويمكن إعادة استخدامها للاتصالات المستقبلية."
493
494 #. type: IX
495 #: archlinux debian-trixie debian-unstable
496 #, no-wrap
497 msgid "Quiet Shutdown"
498 msgstr "الإغلاق الصامت"
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable
502 msgid ""
503 "\\&B<SSL_shutdown()> can be modified to set the connection to the "
504 "\"shutdown\" state without actually sending a close_notify alert message; "
505 "see \\&B<SSL_CTX_set_quiet_shutdown>\\|(3). When \"quiet shutdown\" is "
506 "enabled, \\&B<SSL_shutdown()> will always succeed and return 1 immediately."
507 msgstr ""
508 "يمكن تعديل \\&B<SSL_shutdown()> لضبط الاتصال على حالة \"الإغلاق\" دون إرسال "
509 "رسالة تنبيه close_notify فعليًا؛ انظر \\&B<SSL_CTX_set_quiet_shutdown>\\|(3). "
510 "عند تمكين \"الإغلاق الصامت\"، سينجح \\&B<SSL_shutdown()> دائمًا ويُعيد القيمة "
511 "1 فورًا."
512
513 #. type: Plain text
514 #: archlinux
515 msgid ""
516 "This is not standards-compliant behaviour. It should only be done when the "
517 "application protocol in use enables the peer to ensure that all data has "
518 "been received, such that it doesn\\*(Aqt need to wait for a close_notify "
519 "alert, otherwise application data may be truncated unexpectedly."
520 msgstr ""
521 "هذا ليس سلوكًا متوافقًا مع المعايير. يجب تنفيذه فقط عندما يتيح بروتوكول "
522 "التطبيق المستخدم للنظير ضمان استلام جميع البيانات، بحيث لا يحتاج إلى انتظار "
523 "تنبيه close_notify، وإلا فقد تُقتطع بيانات التطبيق بشكل غير متوقع."
524
525 #. type: IX
526 #: archlinux debian-trixie debian-unstable
527 #, no-wrap
528 msgid "Non-Compliant Peers"
529 msgstr "النظراء غير المتوافقين"
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable
533 msgid ""
534 "There are SSL/TLS implementations that never send the required close_notify "
535 "alert message but simply close the underlying transport (e.g. a TCP "
536 "connection) instead. This will ordinarily result in an error being "
537 "generated."
538 msgstr ""
539 "هناك تطبيقات SSL/TLS لا ترسل أبدًا رسالة تنبيه close_notify المطلوبة ولكنها "
540 "تغلق ببساطة النقل الأساسي (مثل اتصال TCP) بدلاً من ذلك. سيؤدي هذا عادةً إلى "
541 "توليد خطأ."
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable
545 msgid ""
546 "If compatibility with such peers is desired, the option "
547 "\\&B<SSL_OP_IGNORE_UNEXPECTED_EOF> can be set. For more information, see "
548 "\\&B<SSL_CTX_set_options>\\|(3)."
549 msgstr ""
550 "إذا كانت التوافقية مع هؤلاء النظراء مرغوبة، يمكن ضبط الخيار "
551 "\\&B<SSL_OP_IGNORE_UNEXPECTED_EOF>. لمزيد من المعلومات، انظر "
552 "\\&B<SSL_CTX_set_options>\\|(3)."
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable
556 msgid ""
557 "Note that use of this option means that the EOF condition for application "
558 "data does not receive cryptographic protection, and therefore renders an "
559 "application potentially vulnerable to truncation attacks. Thus, this option "
560 "must only be used in conjunction with an application protocol which "
561 "indicates unambiguously when all data has been received."
562 msgstr ""
563 "لاحظ أن استخدام هذا الخيار يعني أن حالة نهاية الملف (EOF) لبيانات التطبيق لا "
564 "تحصل على حماية تعمية، وبالتالي تجعل التطبيق عرضة لهجمات الاقتطاع. لذا، يجب "
565 "استخدام هذا الخيار فقط بالتزامن مع بروتوكول تطبيق يُشير بشكل لا لبس فيه إلى "
566 "وقت استلام جميع البيانات."
567
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable
570 msgid ""
571 "An alternative approach is to simply avoid calling B<SSL_read>\\|(3) if it "
572 "is known that no more data is going to be sent. This requires an application "
573 "protocol which indicates unambiguously when all data has been sent."
574 msgstr ""
575 "النهج البديل هو ببساطة تجنب استدعاء B<SSL_read>\\|(3) إذا كان معروفًا أنه لن "
576 "يتم إرسال المزيد من البيانات. يتطلب هذا بروتوكول تطبيق يُشير بشكل لا لبس فيه "
577 "إلى وقت إرسال جميع البيانات."
578
579 #. type: IX
580 #: archlinux debian-trixie debian-unstable
581 #, no-wrap
582 msgid "Session Ticket Handling"
583 msgstr "معالجة تذاكر الجلسة"
584
585 #. type: Plain text
586 #: archlinux debian-trixie debian-unstable
587 msgid ""
588 "If a client application only writes to an SSL/TLS or DTLS connection and "
589 "never reads, OpenSSL may never process new SSL/TLS session tickets sent by "
590 "the server. This is because OpenSSL ordinarily processes handshake messages "
591 "received from a peer during calls to B<SSL_read>\\|(3) by the application."
592 msgstr ""
593 "إذا كان تطبيق العميل يكتب فقط إلى اتصال SSL/TLS أو DTLS ولا يقرأ أبدًا، فقد "
594 "لا يعالج OpenSSL أبدًا تذاكر جلسة SSL/TLS الجديدة المرسلة من الخادم. وذلك لأن "
595 "OpenSSL يعالج عادةً رسائل المصافحة المستلمة من نظير أثناء استدعاءات التطبيق "
596 "لـ B<SSL_read>\\|(3)."
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable
600 msgid ""
601 "Therefore, client applications which only write and do not read but which "
602 "wish to benefit from session resumption are advised to perform a complete "
603 "shutdown procedure by calling B<SSL_shutdown()> until it returns 1, as "
604 "described above. This will ensure there is an opportunity for SSL/TLS "
605 "session ticket messages to be received and processed by OpenSSL."
606 msgstr ""
607 "لذلك، يُنصح تطبيقات العميل التي تكتب فقط ولا تقرأ ولكنها ترغب في الاستفادة من "
608 "استئناف الجلسة بتنفيذ إجراء إغلاق كامل عن طريق استدعاء B<SSL_shutdown()> حتى "
609 "تُرجع 1، كما هو موصوف أعلاه. سيضمن هذا وجود فرصة لاستلام رسائل تذاكر جلسة SSL/"
610 "TLS ومعالجتها بواسطة OpenSSL."
611
612 #. type: IX
613 #: archlinux debian-trixie debian-unstable
614 #, no-wrap
615 msgid "QUIC-SPECIFIC SHUTDOWN CONSIDERATIONS"
616 msgstr "اعتبارات الإغلاق الخاصة بـ QUIC"
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable
620 msgid ""
621 "When used with a QUIC connection SSL object, B<SSL_shutdown()> initiates a "
622 "QUIC immediate close using QUIC B<CONNECTION_CLOSE> frames."
623 msgstr ""
624 "عند استخدامه مع كائن SSL لاتصال QUIC، يُبدأ B<SSL_shutdown()> إغلاقًا فوريًا لـ "
625 "QUIC باستخدام إطارات B<CONNECTION_CLOSE> الخاصة بـ QUIC."
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable
629 msgid ""
630 "\\&B<SSL_shutdown()> cannot be used on QUIC stream SSL objects. To conclude "
631 "a stream normally, see B<SSL_stream_conclude>\\|(3); to perform a non-normal "
632 "stream termination, see B<SSL_stream_reset>\\|(3)."
633 msgstr ""
634 "لا يمكن استخدام B<SSL_shutdown()> على كائنات SSL لدفق QUIC. لإنهاء دفق بشكل "
635 "طبيعي، انظر B<SSL_stream_conclude>\\|(3)؛ لإجراء إنهاء غير طبيعي للدفق، انظر "
636 "B<SSL_stream_reset>\\|(3)."
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable
640 msgid ""
641 "\\&B<SSL_shutdown_ex()> may be used instead of B<SSL_shutdown()> by an "
642 "application to provide additional information to the peer on the reason why "
643 "a connection is being shut down. The information which can be provided is as "
644 "follows:"
645 msgstr ""
646 "يمكن للتطبيق استخدام B<SSL_shutdown_ex()> بدلاً من B<SSL_shutdown()> لتوفير "
647 "معلومات إضافية للنظير حول سبب إغلاق الاتصال. المعلومات التي يمكن توفيرها هي "
648 "كما يلي:"
649
650 #. type: IP
651 #: archlinux debian-trixie debian-unstable
652 #, no-wrap
653 msgid "I<quic_error_code>"
654 msgstr "I<quic_error_code>"
655
656 #. type: IX
657 #: archlinux debian-trixie debian-unstable
658 #, no-wrap
659 msgid "Item"
660 msgstr "Item"
661
662 #. type: IX
663 #: archlinux debian-trixie debian-unstable
664 #, no-wrap
665 msgid "quic_error_code"
666 msgstr "quic_error_code"
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable
670 msgid ""
671 "An optional 62-bit application error code to be signalled to the peer. The "
672 "value must be in the range [0, 2**62-1], else the call to "
673 "B<SSL_shutdown_ex()> fails. If not provided, an error code of 0 is used by "
674 "default."
675 msgstr ""
676 "رمز خطأ تطبيق اختياري بطول 62 بت يُرسل إشارة إلى النظير. يجب أن تكون القيمة "
677 "في النطاق [0, 2**62-1]، وإلا فشل استدعاء B<SSL_shutdown_ex()>. إذا لم يُقدم، "
678 "يُستخدم رمز خطأ 0 مبدئيًا."
679
680 #. type: IP
681 #: archlinux debian-trixie debian-unstable
682 #, no-wrap
683 msgid "I<quic_reason>"
684 msgstr "I<quic_reason>"
685
686 #. type: IX
687 #: archlinux debian-trixie debian-unstable
688 #, no-wrap
689 msgid "quic_reason"
690 msgstr "quic_reason"
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable
694 msgid ""
695 "An optional zero-terminated (UTF-8) reason string to be signalled to the "
696 "peer. The application is responsible for providing a valid UTF-8 string and "
697 "OpenSSL will not validate the string. If a reason is not provided, or "
698 "B<SSL_shutdown()> is used, a zero-length string is used as the reason. If "
699 "provided, the reason string is copied and stored inside the QUIC connection "
700 "SSL object and need not remain allocated after the call to "
701 "B<SSL_shutdown_ex()> returns. Reason strings are bounded by the path MTU and "
702 "may be silently truncated if they are too long to fit in a QUIC packet."
703 msgstr ""
704 "سلسلة محارف سبب اختيارية منتهية بصفر (UTF-8) تُرسل إشارة إلى النظير. التطبيق "
705 "مسؤول عن توفير سلسلة محارف UTF-8 صالحة ولن يتحقق OpenSSL من صحتها. إذا لم "
706 "يُقدم سبب، أو استُخدم B<SSL_shutdown()>، تُستخدم سلسلة محارف بطول صفر كسبب. إذا "
707 "قُدم، تُنسخ سلسلة محارف السبب وتُخزن داخل كائن SSL لاتصال QUIC ولا تحتاج إلى "
708 "البقاء مخصصة بعد عودة استدعاء B<SSL_shutdown_ex()>. سلاسل محارف السبب مقيدة "
709 "بـ MTU للمسار وقد تُقتطع بصمت إذا كانت طويلة جدًا بحيث لا تتناسب مع حزمة QUIC."
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable
713 msgid ""
714 "Reason strings are intended for human diagnostic purposes only, and should "
715 "not be used for application signalling."
716 msgstr ""
717 "سلاسل محارف السبب مخصصة لأغراض التشخيص البشري فقط، ولا ينبغي استخدامها "
718 "للإشارات التطبيقية."
719
720 #. type: Plain text
721 #: archlinux debian-trixie debian-unstable
722 msgid ""
723 "The arguments to B<SSL_shutdown_ex()> are used only on the first call to "
724 "\\&B<SSL_shutdown_ex()> (or B<SSL_shutdown()>) for a given QUIC connection "
725 "SSL object. These arguments are ignored on subsequent calls."
726 msgstr ""
727 "تُستخدم وسائط B<SSL_shutdown_ex()> فقط في الاستدعاء الأول لـ "
728 "B<SSL_shutdown_ex()> (أو B<SSL_shutdown()>) لكائن SSL معين لاتصال QUIC. "
729 "تُتجاهل هذه الوسائط في الاستدعاءات اللاحقة."
730
731 #. type: Plain text
732 #: archlinux debian-trixie debian-unstable
733 msgid ""
734 "These functions do not affect an underlying network BIO or the resource it "
735 "represents; for example, a UDP datagram provided to a QUIC connection as the "
736 "network BIO will remain open."
737 msgstr ""
738 "لا تؤثر هذه الدوال على BIO شبكة أساسي أو المورد الذي يمثله؛ على سبيل المثال، "
739 "ستبقى رسالة UDP المقدمة لاتصال QUIC كـ BIO شبكة مفتوحة."
740
741 #. type: Plain text
742 #: archlinux debian-trixie debian-unstable
743 msgid ""
744 "Note that when using QUIC, an application must call B<SSL_shutdown()> if it "
745 "wants to ensure that all transmitted data was received by the peer. This is "
746 "unlike a TLS/TCP connection, where reliable transmission of buffered data is "
747 "the responsibility of the operating system. If an application calls "
748 "B<SSL_free()> on a QUIC connection SSL object or exits before completing the "
749 "shutdown process using \\&B<SSL_shutdown()>, data which was written by the "
750 "application using B<SSL_write()>, but could not yet be transmitted, or which "
751 "was sent but lost in the network, may not be received by the peer."
752 msgstr ""
753 "لاحظ أنه عند استخدام QUIC، يجب على التطبيق استدعاء B<SSL_shutdown()> إذا "
754 "أراد ضمان استلام النظير لجميع البيانات المنقولة. هذا يختلف عن اتصال TLS/TCP، "
755 "حيث يكون النقل الموثوق للبيانات المخزنة مؤقتًا مسؤولية نظام التشغيل. إذا "
756 "استدعى التطبيق B<SSL_free()> على كائن SSL لاتصال QUIC أو خرج قبل إكمال عملية "
757 "الإغلاق باستخدام B<SSL_shutdown()>، فقد لا يستلم النظير البيانات التي كتبها "
758 "التطبيق باستخدام B<SSL_write()>، ولكن لم يمكن نقلها بعد، أو التي أُرسلت ولكن "
759 "فُقدت في الشبكة."
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable
763 msgid ""
764 "When using QUIC, calling B<SSL_shutdown()> allows internal network event "
765 "processing to be performed. It is important that this processing is "
766 "performed regularly, whether during connection usage or during shutdown. If "
767 "an application is not using thread assisted mode, an application conducting "
768 "shutdown should either ensure that B<SSL_shutdown()> is called regularly, or "
769 "alternatively ensure that \\&B<SSL_handle_events()> is called regularly. See "
770 "B<openssl-quic>\\|(7) and \\&B<SSL_handle_events>\\|(3) for more information."
771 msgstr ""
772 "عند استخدام QUIC، يسمح استدعاء B<SSL_shutdown()> بإجراء معالجة أحداث الشبكة "
773 "الداخلية. من المهم أن تُجرى هذه المعالجة بانتظام، سواء أثناء استخدام الاتصال "
774 "أو أثناء الإغلاق. إذا كان التطبيق لا يستخدم وضع الخيط المساعد، فيجب على "
775 "التطبيق الذي يُجري الإغلاق إما ضمان استدعاء B<SSL_shutdown()> بانتظام، أو "
776 "بدلاً من ذلك ضمان استدعاء B<SSL_handle_events()> بانتظام. انظر B<openssl-"
777 "quic>\\|(7) و B<SSL_handle_events>\\|(3) لمزيد من المعلومات."
778
779 #. type: IX
780 #: archlinux debian-trixie debian-unstable
781 #, no-wrap
782 msgid "Application Data Drainage Behaviour"
783 msgstr "سلوك تصريف بيانات التطبيق"
784
785 #. type: Plain text
786 #: archlinux debian-trixie debian-unstable
787 msgid ""
788 "When using QUIC, B<SSL_shutdown()> or B<SSL_shutdown_ex()> ordinarily waits "
789 "until all data written to a stream by an application has been acknowledged "
790 "by the peer. In other words, the shutdown process waits until all data "
791 "written by the application has been sent to the peer, and until the receipt "
792 "of all such data is acknowledged by the peer. Only once this process is "
793 "completed is the shutdown considered complete."
794 msgstr ""
795 "عند استخدام QUIC، تنتظر B<SSL_shutdown()> أو B<SSL_shutdown_ex()> عادةً حتى "
796 "يتم تأكيد جميع البيانات المكتوبة في دفق بواسطة تطبيق من قبل النظير. بعبارة "
797 "أخرى، تنتظر عملية الإغلاق حتى يتم إرسال جميع البيانات المكتوبة بواسطة "
798 "التطبيق إلى النظير، وحتى يتم تأكيد استلام جميع هذه البيانات من قبل النظير. "
799 "فقط عند اكتمال هذه العملية يُعتبر الإغلاق مكتملاً."
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable
803 msgid ""
804 "An exception to this is streams which terminated in a non-normal fashion, "
805 "for example due to a stream reset; only streams which are non-terminated at "
806 "the time \\&B<SSL_shutdown()> is called, or which terminated in a normal "
807 "fashion, have their pending send buffers flushed in this manner."
808 msgstr ""
809 "الاستثناء من ذلك هو التدفقات التي انتهت بطريقة غير طبيعية، على سبيل المثال "
810 "بسبب إعادة تعيين دفق؛ فقط التدفقات غير المنتهية في وقت استدعاء "
811 "\\&B<SSL_shutdown()>، أو التي انتهت بطريقة طبيعية، يتم مسح مخازن الإرسال "
812 "المعلقة بهذه الطريقة."
813
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable
816 msgid ""
817 "This behaviour of flushing streams during the shutdown process can be "
818 "skipped by setting the B<SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH> flag in a call "
819 "to \\&B<SSL_shutdown_ex()>; in this case, data remaining in stream send "
820 "buffers may not be transmitted to the peer. This flag may be used when a non-"
821 "normal application condition has occurred and the delivery of data written "
822 "to streams via \\&B<SSL_write>\\|(3) is no longer relevant."
823 msgstr ""
824 "يمكن تخطي هذا السلوك لمسح التدفقات أثناء عملية الإغلاق بتعيين العلم "
825 "B<SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH> في استدعاء لـ \\&B<SSL_shutdown_ex()>؛ "
826 "في هذه الحالة، قد لا تُنقل البيانات المتبقية في مخازن إرسال الدفق إلى النظير. "
827 "يمكن استخدام هذا العلم عند حدوث حالة تطبيق غير طبيعية ولم يعد تسليم البيانات "
828 "المكتوبة إلى التدفقات عبر \\&B<SSL_write>\\|(3) ذا صلة."
829
830 #. type: IX
831 #: archlinux debian-trixie debian-unstable
832 #, no-wrap
833 msgid "Shutdown Mode"
834 msgstr "وضع الإغلاق"
835
836 #. type: Plain text
837 #: archlinux debian-trixie debian-unstable
838 msgid ""
839 "Aspects of how QUIC handles connection closure must be taken into account by "
840 "applications. Ordinarily, QUIC expects a connection to continue to be "
841 "serviced for a substantial period of time after it is nominally closed. This "
842 "is necessary to ensure that any connection closure notification sent to the "
843 "peer was successfully received. However, a consequence of this is that a "
844 "fully RFC-compliant QUIC connection closure process could take of the order "
845 "of seconds. This may be unsuitable for some applications, such as short-"
846 "lived processes which need to exit immediately after completing an "
847 "application-layer transaction."
848 msgstr ""
849 "يجب على التطبيقات مراعاة جوانب كيفية تعامل QUIC مع إغلاق الاتصال. عادةً، "
850 "يتوقع QUIC استمرار خدمة الاتصال لفترة زمنية كبيرة بعد إغلاقه اسمياً. هذا "
851 "ضروري لضمان استلام أي إشعار إغلاق اتصال أُرسل إلى النظير بنجاح. ومع ذلك، فإن "
852 "نتيجة ذلك هي أن عملية إغلاق اتصال QUIC المتوافقة تماماً مع RFC قد تستغرق في "
853 "حدود الثواني. قد لا يكون هذا مناسباً لبعض التطبيقات، مثل العمليات قصيرة العمر "
854 "التي تحتاج إلى الخروج فوراً بعد إتمام معاملة طبقة تطبيق."
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable
858 msgid ""
859 "As such, there are two shutdown modes available to users of QUIC connection "
860 "SSL objects:"
861 msgstr "وبالتالي، هناك وضعان للإغلاق متاحان لمستخدمي كائنات SSL لاتصال QUIC:"
862
863 #. type: IX
864 #: archlinux debian-trixie debian-unstable
865 #, no-wrap
866 msgid "RFC compliant shutdown mode"
867 msgstr "وضع الإغلاق المتوافق مع RFC"
868
869 #. type: Plain text
870 #: archlinux debian-trixie debian-unstable
871 msgid ""
872 "This is the default behaviour. The shutdown process may take a period of "
873 "time up to three times the current estimated RTT to the peer. It is possible "
874 "for the closure process to complete much faster in some circumstances but "
875 "this cannot be relied upon."
876 msgstr ""
877 "هذا هو السلوك المبدئي. قد تستغرق عملية الإغلاق فترة زمنية تصل إلى ثلاثة "
878 "أضعاف وقت الرحلة ذهاباً وإياباً (RTT) المقدر حالياً للنظير. من الممكن أن تكتمل "
879 "عملية الإغلاق بشكل أسرع بكثير في بعض الظروف ولكن لا يمكن الاعتماد على ذلك."
880
881 #. type: Plain text
882 #: archlinux debian-trixie debian-unstable
883 msgid ""
884 "In blocking mode, the function will return once the closure process is "
885 "complete. In nonblocking mode, B<SSL_shutdown_ex()> should be called until "
886 "it returns 1, indicating the closure process is complete and the connection "
887 "is now fully shut down."
888 msgstr ""
889 "في وضع الحظر، ستعود الدالة بمجرد اكتمال عملية الإغلاق. في وضع عدم الحظر، يجب "
890 "استدعاء B<SSL_shutdown_ex()> حتى تعود بقيمة 1، مما يشير إلى اكتمال عملية "
891 "الإغلاق وأن الاتصال مغلق بالكامل الآن."
892
893 #. type: IX
894 #: archlinux debian-trixie debian-unstable
895 #, no-wrap
896 msgid "Rapid shutdown mode"
897 msgstr "وضع الإغلاق السريع"
898
899 #. type: Plain text
900 #: archlinux debian-trixie debian-unstable
901 msgid ""
902 "In this mode, the peer is notified of connection closure on a best effort "
903 "basis by sending a single QUIC packet. If that QUIC packet is lost, the peer "
904 "will not know that the connection has terminated until the negotiated idle "
905 "timeout (if any) expires."
906 msgstr ""
907 "في هذا الوضع، يتم إخطار النظير بإغلاق الاتصال على أساس أفضل جهد بإرسال حزمة "
908 "QUIC واحدة. إذا فُقدت حزمة QUIC تلك، لن يعلم النظير أن الاتصال قد انتهى حتى "
909 "انتهاء مهلة الخمول المتفاوض عليها (إن وجدت)."
910
911 #. type: Plain text
912 #: archlinux debian-trixie debian-unstable
913 msgid ""
914 "This will generally return 0 on success, indicating that the connection has "
915 "not yet been fully shut down (unless it has already done so, in which case "
916 "it will return 1)."
917 msgstr ""
918 "سيعود هذا عموماً بقيمة 0 عند النجاح، مما يشير إلى أن الاتصال لم يُغلق بالكامل "
919 "بعد (إلا إذا كان قد أغلق بالفعل، وفي هذه الحالة سيعود بقيمة 1)."
920
921 #. type: Plain text
922 #: archlinux debian-trixie debian-unstable
923 msgid ""
924 "If B<SSL_SHUTDOWN_FLAG_RAPID> is specified in I<flags>, a rapid shutdown is "
925 "performed, otherwise an RFC-compliant shutdown is performed."
926 msgstr ""
927 "إذا تم تحديد B<SSL_SHUTDOWN_FLAG_RAPID> في I<flags>، يتم تنفيذ إغلاق سريع، "
928 "وإلا يتم تنفيذ إغلاق متوافق مع RFC."
929
930 #. type: Plain text
931 #: archlinux debian-trixie debian-unstable
932 msgid ""
933 "If an application calls B<SSL_shutdown_ex()> with "
934 "B<SSL_SHUTDOWN_FLAG_RAPID>, an application can subsequently change its mind "
935 "about performing a rapid shutdown by making a subsequent call to "
936 "B<SSL_shutdown_ex()> without the flag set."
937 msgstr ""
938 "إذا استدعى تطبيق B<SSL_shutdown_ex()> مع B<SSL_SHUTDOWN_FLAG_RAPID>، يمكن "
939 "للتطبيق لاحقاً تغيير رأيه بشأن تنفيذ إغلاق سريع بإجراء استدعاء لاحق لـ "
940 "B<SSL_shutdown_ex()> دون تعيين العلم."
941
942 #. type: IX
943 #: archlinux debian-trixie debian-unstable
944 #, no-wrap
945 msgid "Peer-Initiated Shutdown"
946 msgstr "الإغلاق المبدوء من النظير"
947
948 #. type: Plain text
949 #: archlinux debian-trixie debian-unstable
950 msgid ""
951 "In some cases, an application may wish to wait for a shutdown initiated by "
952 "the peer rather than triggered locally. To do this, call "
953 "B<SSL_shutdown_ex()> with \\&I<SSL_SHUTDOWN_FLAG_WAIT_PEER> specified in "
954 "I<flags>. In blocking mode, this waits until the peer initiates a shutdown "
955 "or the connection otherwise becomes terminated for another reason. In "
956 "nonblocking mode it exits immediately with either success or failure "
957 "depending on whether a shutdown has occurred."
958 msgstr ""
959 "في بعض الحالات، قد يرغب تطبيق في انتظار إغلاق بدأه النظير بدلاً من تشغيله "
960 "محلياً. للقيام بذلك، استدع B<SSL_shutdown_ex()> مع تحديد "
961 "\\&I<SSL_SHUTDOWN_FLAG_WAIT_PEER> في I<flags>. في وضع الحظر، ينتظر هذا حتى "
962 "يبدأ النظير إغلاقاً أو يصبح الاتصال منتهياً لسبب آخر. في وضع عدم الحظر، يخرج "
963 "فوراً إما بالنجاح أو الفشل اعتماداً على ما إذا حدث إغلاق."
964
965 #. type: Plain text
966 #: archlinux debian-trixie debian-unstable
967 msgid ""
968 "If a locally initiated shutdown has already been triggered or the connection "
969 "has started terminating for another reason, this flag has no effect."
970 msgstr ""
971 "إذا تم بالفعل تشغيل إغلاق بدأ محلياً أو بدأ الاتصال في الانتهاء لسبب آخر، فإن "
972 "هذا العلم ليس له تأثير."
973
974 #. type: Plain text
975 #: archlinux debian-trixie debian-unstable
976 msgid ""
977 "\\&B<SSL_SHUTDOWN_FLAG_WAIT_PEER> implies "
978 "B<SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH>, as stream data cannot be flushed after "
979 "a peer closes the connection. Stream data may still be sent to the peer in "
980 "any time spent waiting before the peer closes the connection, though there "
981 "is no guarantee of this."
982 msgstr ""
983 "يتضمن \\&B<SSL_SHUTDOWN_FLAG_WAIT_PEER> "
984 "B<SSL_SHUTDOWN_FLAG_NO_STREAM_FLUSH>، حيث لا يمكن مسح بيانات الدفق بعد إغلاق "
985 "النظير للاتصال. قد تظل بيانات الدفق تُرسل إلى النظير في أي وقت يُقضى في "
986 "الانتظار قبل إغلاق النظير للاتصال، على الرغم من عدم وجود ضمان لذلك."
987
988 #. type: IX
989 #: archlinux debian-trixie debian-unstable
990 #, no-wrap
991 msgid "Nonblocking Mode"
992 msgstr "وضع عدم الحظر"
993
994 #. type: Plain text
995 #: archlinux debian-trixie debian-unstable
996 msgid ""
997 "\\&B<SSL_shutdown()> and B<SSL_shutdown_ex()> block if the connection is "
998 "configured in blocking mode. This may be overridden by specifying "
999 "\\&B<SSL_SHUTDOWN_FLAG_NO_BLOCK> in I<flags> when calling "
1000 "B<SSL_shutdown_ex()>, which causes the call to operate as though in "
1001 "nonblocking mode."
1002 msgstr ""
1003 "تستقر الدالتان \\&B<SSL_shutdown()> و B<SSL_shutdown_ex()> إذا كان الاتصال "
1004 "مُهيأً في الوضع المُعطِّل. يمكن تجاوز هذا بتحديد \\&B<SSL_SHUTDOWN_FLAG_NO_BLOCK> "
1005 "في I<flags> عند استدعاء B<SSL_shutdown_ex()>، مما يجعل الاستدعاء يعمل كما لو "
1006 "كان في الوضع غير المُعطِّل."
1007
1008 #. type: IX
1009 #: archlinux debian-trixie debian-unstable
1010 #, no-wrap
1011 msgid "RETURN VALUES"
1012 msgstr "القيم المُرجعة"
1013
1014 #. type: Plain text
1015 #: archlinux debian-trixie debian-unstable
1016 msgid ""
1017 "For both B<SSL_shutdown()> and B<SSL_shutdown_ex()> the following return "
1018 "values can occur:"
1019 msgstr ""
1020 "بالنسبة لكل من B<SSL_shutdown()> و B<SSL_shutdown_ex()>، يمكن أن تحدث قيم "
1021 "الإرجاع التالية:"
1022
1023 #. type: IP
1024 #: archlinux debian-trixie debian-unstable
1025 #, no-wrap
1026 msgid "0"
1027 msgstr "0"
1028
1029 #. type: Plain text
1030 #: archlinux debian-trixie debian-unstable
1031 msgid "The shutdown process is ongoing and has not yet completed."
1032 msgstr "عملية الإغلاق جارية ولم تكتمل بعد."
1033
1034 #. type: Plain text
1035 #: archlinux debian-trixie debian-unstable
1036 msgid ""
1037 "For TLS and DTLS, this means that a close_notify alert has been sent but the "
1038 "peer has not yet replied in turn with its own close_notify."
1039 msgstr ""
1040 "بالنسبة لـ TLS و DTLS، يعني هذا أنه أُرسل تنبيه close_notify لكن النظير لم "
1041 "يرد بعد بدوره بـ close_notify الخاص به."
1042
1043 #. type: Plain text
1044 #: archlinux debian-trixie debian-unstable
1045 msgid ""
1046 "For QUIC connection SSL objects, a CONNECTION_CLOSE frame may have been sent "
1047 "but the connection closure process has not yet completed."
1048 msgstr ""
1049 "بالنسبة لكائنات SSL لاتصال QUIC، قد أُرسل إطار CONNECTION_CLOSE لكن عملية "
1050 "إغلاق الاتصال لم تكتمل بعد."
1051
1052 #. type: Plain text
1053 #: archlinux debian-trixie debian-unstable
1054 msgid ""
1055 "Unlike most other functions, returning 0 does not indicate an error. "
1056 "\\&B<SSL_get_error>\\|(3) should not be called; it may misleadingly indicate "
1057 "an error even though no error occurred."
1058 msgstr ""
1059 "على عكس معظم الدوال الأخرى، لا يشير إرجاع 0 إلى خطأ. لا ينبغي استدعاء "
1060 "\\&B<SSL_get_error>\\|(3)؛ فقد يشير بشكل مضلل إلى خطأ حتى لو لم يحدث أي خطأ."
1061
1062 #. type: IX
1063 #: archlinux debian-trixie debian-unstable
1064 #, no-wrap
1065 msgid "1"
1066 msgstr "1"
1067
1068 #. type: Plain text
1069 #: archlinux debian-trixie debian-unstable
1070 msgid "The shutdown was successfully completed."
1071 msgstr "اكتملت عملية الإغلاق بنجاح."
1072
1073 #. type: Plain text
1074 #: archlinux
1075 msgid ""
1076 "For TLS and DTLS, this means that a close_notify alert was sent and the "
1077 "peer\\*(Aqs close_notify alert was received."
1078 msgstr ""
1079 "بالنسبة لـ TLS و DTLS، يعني هذا أنه أُرسل تنبيه close_notify ووُرد تنبيه "
1080 "close_notify الخاص بالنظير."
1081
1082 #. type: Plain text
1083 #: archlinux debian-trixie debian-unstable
1084 msgid ""
1085 "For QUIC connection SSL objects, this means that the connection closure "
1086 "process has completed."
1087 msgstr ""
1088 "بالنسبة لكائنات SSL لاتصال QUIC، يعني هذا أن عملية إغلاق الاتصال قد اكتملت."
1089
1090 #. type: IX
1091 #: archlinux debian-trixie debian-unstable
1092 #, no-wrap
1093 msgid "E<lt>0"
1094 msgstr "E<lt>0"
1095
1096 #. type: Plain text
1097 #: archlinux debian-trixie debian-unstable
1098 msgid ""
1099 "The shutdown was not successful. Call B<SSL_get_error>\\|(3) with the "
1100 "return value B<ret> to find out the reason. It can occur if an action is "
1101 "needed to continue the operation for nonblocking BIOs."
1102 msgstr ""
1103 "لم تنجح عملية الإغلاق. استدعِ B<SSL_get_error>\\|(3) بقيمة الإرجاع B<ret> "
1104 "لمعرفة السبب. يمكن أن يحدث هذا إذا كان هناك إجراء مطلوب لمواصلة العملية لـ "
1105 "BIOs غير مُعطِّلة."
1106
1107 #. type: Plain text
1108 #: archlinux debian-trixie debian-unstable
1109 msgid ""
1110 "It can also occur when not all data was read using B<SSL_read()>, or if "
1111 "called on a QUIC stream SSL object."
1112 msgstr ""
1113 "يمكن أن يحدث هذا أيضًا عندما لا تُقرأ كل البيانات باستخدام B<SSL_read()>، أو "
1114 "إذا استُدعي على كائن SSL لدفق QUIC."
1115
1116 #. type: Plain text
1117 #: archlinux debian-trixie debian-unstable
1118 msgid "This value is also returned when called on QUIC stream SSL objects."
1119 msgstr "تُرجع هذه القيمة أيضًا عند الاستدعاء على كائنات SSL لدفق QUIC."
1120
1121 #. type: IX
1122 #: archlinux debian-trixie debian-unstable
1123 #, no-wrap
1124 msgid "SEE ALSO"
1125 msgstr "انظر أيضًا"
1126
1127 #. type: Plain text
1128 #: archlinux debian-trixie debian-unstable
1129 msgid ""
1130 "\\&B<SSL_get_error>\\|(3), B<SSL_connect>\\|(3), \\&B<SSL_accept>\\|(3), "
1131 "B<SSL_set_shutdown>\\|(3), \\&B<SSL_CTX_set_quiet_shutdown>\\|(3), "
1132 "B<SSL_CTX_set_options>\\|(3) \\&B<SSL_clear>\\|(3), B<SSL_free>\\|(3), "
1133 "\\&B<ssl>\\|(7), B<bio>\\|(7)"
1134 msgstr ""
1135 "\\&B<SSL_get_error>\\|(3), B<SSL_connect>\\|(3), \\&B<SSL_accept>\\|(3), "
1136 "B<SSL_set_shutdown>\\|(3), \\&B<SSL_CTX_set_quiet_shutdown>\\|(3), "
1137 "B<SSL_CTX_set_options>\\|(3) \\&B<SSL_clear>\\|(3), B<SSL_free>\\|(3), "
1138 "\\&B<ssl>\\|(7), B<bio>\\|(7)"
1139
1140 #. type: IX
1141 #: archlinux debian-trixie debian-unstable
1142 #, no-wrap
1143 msgid "HISTORY"
1144 msgstr "التاريخ"
1145
1146 #. type: Plain text
1147 #: archlinux debian-trixie debian-unstable
1148 msgid "The B<SSL_shutdown_ex()> function was added in OpenSSL 3.2."
1149 msgstr "أُضيفت الدالة B<SSL_shutdown_ex()> في OpenSSL 3.2."
1150
1151 #. type: IX
1152 #: archlinux debian-trixie debian-unstable
1153 #, no-wrap
1154 msgid "COPYRIGHT"
1155 msgstr "حقوق النسخ"
1156
1157 #. type: Plain text
1158 #: archlinux debian-trixie debian-unstable
1159 msgid "Copyright 2000-2023 The OpenSSL Project Authors. All Rights Reserved."
1160 msgstr "حقوق النشر 2000-2023 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة."
1161
1162 #. type: Plain text
1163 #: archlinux debian-trixie debian-unstable
1164 msgid ""
1165 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
1166 "this file except in compliance with the License. You can obtain a copy in "
1167 "the file LICENSE in the source distribution or at E<lt>https://www.openssl."
1168 "org/source/license.htmlE<gt>."
1169 msgstr ""
1170 "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك "
1171 "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في "
1172 "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط E<lt>https://"
1173 "www.openssl.org/source/license.htmlE<gt>."
1174
1175 #. ========================================================================
1176 #. type: IX
1177 #: debian-trixie debian-unstable
1178 #, no-wrap
1179 msgid "SSL_SHUTDOWN 3SSL"
1180 msgstr "SSL_SHUTDOWN 3SSL"
1181
1182 #. type: TH
1183 #: debian-trixie
1184 #, no-wrap
1185 msgid "3.5.6"
1186 msgstr "3.5.6"
1187
1188 #. type: Plain text
1189 #: debian-trixie debian-unstable
1190 msgid ""
1191 "Calling B<SSL_shutdown()> only closes the write direction of the connection; "
1192 "the read direction is closed by the peer. Once B<SSL_shutdown()> is called, "
1193 "\\&B<SSL_write>\\|(3) can no longer be used, but B<SSL_read>\\|(3) may still "
1194 "be used until the peer decides to close the connection in turn. The peer "
1195 "might continue sending data for some period of time before handling the "
1196 "local application's shutdown indication."
1197 msgstr ""
1198 "استدعاء B<SSL_shutdown()> يُغلق فقط اتجاه الكتابة للاتصال؛ اتجاه القراءة يُغلق "
1199 "بواسطة النظير. بمجرد استدعاء B<SSL_shutdown()>، لم يعد من الممكن استخدام "
1200 "\\&B<SSL_write>\\|(3)، لكن يمكن استخدام B<SSL_read>\\|(3) حتى يقرر النظير "
1201 "إغلاق الاتصال بدوره. قد يستمر النظير في إرسال البيانات لفترة من الوقت قبل "
1202 "معالجة إشارة الإغلاق للتطبيق المحلي."
1203
1204 #. type: Plain text
1205 #: debian-trixie debian-unstable
1206 msgid ""
1207 "However, the preferred method of waiting for the shutdown to complete is to "
1208 "use \\&B<SSL_read>\\|(3) until B<SSL_get_error>\\|(3) indicates EOF by "
1209 "returning \\&B<SSL_ERROR_ZERO_RETURN>. This ensures any data received "
1210 "immediately before the peer's close_notify alert is still provided to the "
1211 "application. It also ensures any final handshake-layer messages received are "
1212 "processed (for example, messages issuing new session tickets)."
1213 msgstr ""
1214 "ومع ذلك، الطريقة المفضلة لانتظار اكتمال الإغلاق هي استخدام \\&B<SSL_read>\\|"
1215 "(3) حتى يشير B<SSL_get_error>\\|(3) إلى EOF بإرجاع "
1216 "\\&B<SSL_ERROR_ZERO_RETURN>. يضمن هذا أن أي بيانات وُردت فورًا قبل تنبيه "
1217 "close_notify للنظير لا تزال مُقدمة للتطبيق. كما يضمن معالجة أي رسائل نهائية "
1218 "لطبقة المصافحة وُردت (على سبيل المثال، رسائل إصدار تذاكر جلسة جديدة)."
1219
1220 #. type: Plain text
1221 #: debian-trixie debian-unstable
1222 msgid ""
1223 "If this approach is not used, the second call to B<SSL_shutdown()> (to "
1224 "complete the shutdown by confirming receipt of the peer's close_notify "
1225 "message) will fail if it is called when the application has not read all "
1226 "pending application data sent by the peer using B<SSL_read>\\|(3)."
1227 msgstr ""
1228 "إذا لم يُستخدم هذا النهج، فسيفشل الاستدعاء الثاني لـ B<SSL_shutdown()> "
1229 "(لاكتمال الإغلاق بتأكيد استلام رسالة close_notify للنظير) إذا استُدعي عندما "
1230 "لم يقرأ التطبيق جميع بيانات التطبيق المعلقة التي أرسلها النظير باستخدام "
1231 "B<SSL_read>\\|(3)."
1232
1233 #. type: Plain text
1234 #: debian-trixie debian-unstable
1235 msgid ""
1236 "Alternatively, it is acceptable for an application to call B<SSL_shutdown()> "
1237 "once (such that it returns 0) and then close the underlying connection "
1238 "without waiting for the peer's response. This allows for a more rapid "
1239 "shutdown process if the application does not wish to wait for the peer."
1240 msgstr ""
1241 "بدلاً من ذلك، من المقبول للتطبيق استدعاء B<SSL_shutdown()> مرة واحدة (بحيث "
1242 "تُرجع 0) ثم إغلاق الاتصال الأساسي دون انتظار رد النظير. يسمح هذا بعملية إغلاق "
1243 "أسرع إذا كان التطبيق لا يرغب في انتظار النظير."
1244
1245 #. type: Plain text
1246 #: debian-trixie debian-unstable
1247 msgid ""
1248 "This is not standards-compliant behaviour. It should only be done when the "
1249 "application protocol in use enables the peer to ensure that all data has "
1250 "been received, such that it doesn't need to wait for a close_notify alert, "
1251 "otherwise application data may be truncated unexpectedly."
1252 msgstr ""
1253 "هذا ليس سلوكًا متوافقًا مع المعايير. يجب أن يُفعل فقط عندما يمكّن بروتوكول "
1254 "التطبيق المستخدم النظير من ضمان استلام جميع البيانات، بحيث لا يحتاج إلى "
1255 "انتظار تنبيه close_notify، وإلا فقد تُقتطع بيانات التطبيق بشكل غير متوقع."
1256
1257 #. type: Plain text
1258 #: debian-trixie debian-unstable
1259 msgid ""
1260 "For TLS and DTLS, this means that a close_notify alert was sent and the "
1261 "peer's close_notify alert was received."
1262 msgstr ""
1263 "بالنسبة لـ TLS و DTLS، يعني هذا أنه تم إرسال تنبيه close_notify وتم استلام "
1264 "تنبيه close_notify من النظير."