Debian Codegraph @

po/ar/man3/SSL_CTX_set_generate_session_id.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 19:29+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_CTX_set_generate_session_id.3ssl.pot (PACKAGE
21 # VERSION) #-#-#-#-#
22 #
23 #. #-#-#-#-# archlinux: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
24 #. Required to disable full justification in groff 1.23.0.
25 #. ========================================================================
26 #. type: IX
27 #. #-#-#-#-# debian-trixie: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
28 #. ========================================================================
29 #. type: IX
30 #. #-#-#-#-# debian-unstable: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
31 #. ========================================================================
32 #. type: IX
33 #: archlinux debian-trixie debian-unstable
34 #, no-wrap
35 msgid "Title"
36 msgstr "Title"
37
38 #. Required to disable full justification in groff 1.23.0.
39 #. ========================================================================
40 #. type: IX
41 #: archlinux
42 #, no-wrap
43 msgid "SSL_CTX_SET_GENERATE_SESSION_ID 3ssl"
44 msgstr "SSL_CTX_SET_GENERATE_SESSION_ID 3ssl"
45
46 #. type: TH
47 #: archlinux debian-trixie debian-unstable
48 #, no-wrap
49 msgid "SSL_CTX_SET_GENERATE_SESSION_ID"
50 msgstr "SSL_CTX_SET_GENERATE_SESSION_ID"
51
52 #. type: TH
53 #: archlinux debian-trixie debian-unstable
54 #, no-wrap
55 msgid "2026-04-07"
56 msgstr "7 أبريل 2026"
57
58 #. type: TH
59 #: archlinux debian-unstable
60 #, no-wrap
61 msgid "3.6.2"
62 msgstr "3.6.2"
63
64 #. type: TH
65 #: archlinux debian-trixie debian-unstable
66 #, no-wrap
67 msgid "OpenSSL"
68 msgstr "OpenSSL"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable
72 #, no-wrap
73 msgid "NAME"
74 msgstr "الاسم"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable
78 msgid ""
79 "SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, "
80 "SSL_has_matching_session_id, GEN_SESSION_CB \\&- manipulate generation of "
81 "SSL session IDs (server only)"
82 msgstr ""
83 "SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, "
84 "SSL_has_matching_session_id, GEN_SESSION_CB \\&- معالجة توليد مُعرّفات جلسة "
85 "SSL (للخادم فقط)"
86
87 #. type: IX
88 #: archlinux debian-trixie debian-unstable
89 #, no-wrap
90 msgid "SYNOPSIS"
91 msgstr "موجز"
92
93 #. type: IX
94 #: archlinux debian-trixie debian-unstable
95 #, no-wrap
96 msgid "Header"
97 msgstr "Header"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable
101 #, no-wrap
102 msgid ""
103 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
104 "\\&\n"
105 "\\& typedef int (*GEN_SESSION_CB)(SSL *ssl, unsigned char *id,\n"
106 "\\& unsigned int *id_len);\n"
107 "\\&\n"
108 "\\& int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);\n"
109 "\\& int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB, cb);\n"
110 "\\& int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,\n"
111 "\\& unsigned int id_len);\n"
112 msgstr ""
113 "\\& #include E<lt>openssl/ssl.hE<gt>\n"
114 "\\&\n"
115 "\\& typedef int (*GEN_SESSION_CB)(SSL *ssl, unsigned char *id,\n"
116 "\\& unsigned int *id_len);\n"
117 "\\&\n"
118 "\\& int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);\n"
119 "\\& int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB, cb);\n"
120 "\\& int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,\n"
121 "\\& unsigned int id_len);\n"
122
123 #. type: IX
124 #: archlinux debian-trixie debian-unstable
125 #, no-wrap
126 msgid "DESCRIPTION"
127 msgstr "الوصف"
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable
131 msgid ""
132 "\\&B<SSL_CTX_set_generate_session_id()> sets the callback function for "
133 "generating new session ids for SSL/TLS sessions for B<ctx> to be B<cb>."
134 msgstr ""
135 "\\&B<SSL_CTX_set_generate_session_id()> تُعيِّن دالة الاستدعاء لتوليد مُعرّفات "
136 "جلسة جديدة لجلسات SSL/TLS لـ B<ctx> لتكون B<cb>."
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable
140 msgid ""
141 "\\&B<SSL_set_generate_session_id()> sets the callback function for "
142 "generating new session ids for SSL/TLS sessions for B<ssl> to be B<cb>."
143 msgstr ""
144 "\\&B<SSL_set_generate_session_id()> تُعيِّن دالة الاستدعاء لتوليد مُعرّفات جلسة "
145 "جديدة لجلسات SSL/TLS لـ B<ssl> لتكون B<cb>."
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable
149 msgid ""
150 "\\&B<SSL_has_matching_session_id()> checks, whether a session with id B<id> "
151 "(of length B<id_len>) is already contained in the internal session cache of "
152 "the parent context of B<ssl>."
153 msgstr ""
154 "\\&B<SSL_has_matching_session_id()> تتحقق مما إذا كانت جلسة ذات مُعرّف B<id> "
155 "(بطول B<id_len>) موجودة بالفعل في خبيئة الجلسة الداخلية للسياق الأصلي لـ "
156 "B<ssl>."
157
158 #. type: IX
159 #: archlinux debian-trixie debian-unstable
160 #, no-wrap
161 msgid "NOTES"
162 msgstr "ملاحظات"
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable
166 msgid ""
167 "When a new session is established between client and server, the server "
168 "generates a session id. The session id is an arbitrary sequence of bytes. "
169 "The length of the session id is between 1 and 32 bytes. The session id is "
170 "not security critical but must be unique for the server. Additionally, the "
171 "session id is transmitted in the clear when reusing the session so it must "
172 "not contain sensitive information."
173 msgstr ""
174 "عند إنشاء جلسة جديدة بين العميل والخادم، يُولِّد الخادم مُعرّف جلسة. مُعرّف الجلسة "
175 "هو تسلسل عشوائي من البايتات. طول مُعرّف الجلسة يتراوح بين 1 و32 بايت. مُعرّف "
176 "الجلسة ليس حاسمًا أمنيًا لكن يجب أن يكون فريدًا للخادم. بالإضافة إلى ذلك، يُنقل "
177 "مُعرّف الجلسة بنص واضح عند إعادة استخدام الجلسة، لذا يجب ألّا يحتوي على معلومات "
178 "حساسة."
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable
182 msgid ""
183 "Without a callback being set, an OpenSSL server will generate a unique "
184 "session id from pseudo random numbers of the maximum possible length. Using "
185 "the callback function, the session id can be changed to contain additional "
186 "information like e.g. a host id in order to improve load balancing or "
187 "external caching techniques."
188 msgstr ""
189 "بدون تعيين دالة استدعاء، سيُولِّد خادم OpenSSL مُعرّف جلسة فريدًا من أرقام شبه "
190 "عشوائية بأقصى طول ممكن. باستخدام دالة الاستدعاء، يمكن تغيير مُعرّف الجلسة "
191 "ليحتوي على معلومات إضافية مثل مُعرّف مضيف لتحسين موازنة التحميل أو تقنيات "
192 "التخزين المؤقت الخارجي."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable
196 msgid ""
197 "The callback function receives a pointer to the memory location to put "
198 "\\&B<id> into and a pointer to the maximum allowed length B<id_len>. The "
199 "buffer at location B<id> is only guaranteed to have the size B<id_len>. The "
200 "callback is only allowed to generate a shorter id and reduce B<id_len>; the "
201 "callback B<must never> increase B<id_len> or write to the location \\&B<id> "
202 "exceeding the given limit."
203 msgstr ""
204 "تستقبل دالة الاستدعاء مؤشرًا إلى موقع الذاكرة لوضع \\&B<id> فيه ومؤشرًا إلى "
205 "الحد الأقصى المسموح به للطول B<id_len>. المخزن المؤقت في الموقع B<id> مضمون "
206 "فقط أن يكون بحجم B<id_len>. يُسمح لدالة الاستدعاء فقط بتوليد مُعرّف أقصر وتقليل "
207 "B<id_len>؛ يجب ألّا تزيد دالة الاستدعاء B<id_len> أو تكتب في الموقع \\&B<id> "
208 "متجاوزة الحد المعطى."
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable
212 msgid ""
213 "The location B<id> is filled with 0x00 before the callback is called, so the "
214 "callback may only fill part of the possible length and leave B<id_len> "
215 "untouched while maintaining reproducibility."
216 msgstr ""
217 "يُملأ الموقع B<id> بـ 0x00 قبل استدعاء دالة الاستدعاء، لذا قد تملأ دالة "
218 "الاستدعاء جزءًا فقط من الطول الممكن وتترك B<id_len> دون تغيير مع الحفاظ على "
219 "قابلية التكرار."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable
223 msgid ""
224 "Since the sessions must be distinguished, session ids must be unique. "
225 "Without the callback a random number is used, so that the probability of "
226 "generating the same session id is extremely small (2^256 for SSLv3/TLSv1). "
227 "In order to assure the uniqueness of the generated session id, the callback "
228 "must call \\&B<SSL_has_matching_session_id()> and generate another id if a "
229 "conflict occurs. If an id conflict is not resolved, the handshake will "
230 "fail. If the application codes e.g. a unique host id, a unique process "
231 "number, and a unique sequence number into the session id, uniqueness could "
232 "easily be achieved without randomness added (it should however be taken care "
233 "that no confidential information is leaked this way). If the application can "
234 "not guarantee uniqueness, it is recommended to use the maximum B<id_len> and "
235 "fill in the bytes not used to code special information with random data to "
236 "avoid collisions."
237 msgstr ""
238 "نظرًا لأن الجلسات يجب أن تُفرَّق، يجب أن تكون مُعرّفات الجلسة فريدة. بدون دالة "
239 "الاستدعاء، يُستخدم رقم عشوائي، بحيث يكون احتمال توليد نفس مُعرّف الجلسة صغيرًا "
240 "جدًا (2^256 لـ SSLv3/TLSv1). لضمان تفرد مُعرّف الجلسة المُولَّد، يجب على دالة "
241 "الاستدعاء استدعاء \\&B<SSL_has_matching_session_id()> وتوليد مُعرّف آخر إذا "
242 "حدث تعارض. إذا لم يُحل تعارض المُعرّف، سيفشل المصافحة. إذا رمّز التطبيق مثلًا "
243 "مُعرّف مضيف فريد، ورقم عملية فريد، ورقم تسلسلي فريد في مُعرّف الجلسة، يمكن تحقيق "
244 "التفرد بسهولة دون إضافة عشوائية (ومع ذلك يجب الحرص على عدم تسريب معلومات "
245 "سرية بهذه الطريقة). إذا لم يستطع التطبيق ضمان التفرد، يُوصى باستخدام الحد "
246 "الأقصى B<id_len> وملء البايتات غير المستخدمة لترميز معلومات خاصة ببيانات "
247 "عشوائية لتجنب التصادمات."
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable
251 msgid ""
252 "\\&B<SSL_has_matching_session_id()> will only query the internal session "
253 "cache, not the external one. Since the session id is generated before the "
254 "handshake is completed, it is not immediately added to the cache. If another "
255 "thread is using the same internal session cache, a race condition can occur "
256 "in that another thread generates the same session id. Collisions can also "
257 "occur when using an external session cache, since the external cache is not "
258 "tested with B<SSL_has_matching_session_id()> and the same race condition "
259 "applies."
260 msgstr ""
261 "\\&B<SSL_has_matching_session_id()> ستستعلم فقط عن خبيئة الجلسة الداخلية، "
262 "وليس الخارجية. نظرًا لأن مُعرّف الجلسة يُولَّد قبل اكتمال المصافحة، لا يُضاف فورًا "
263 "إلى الخبيئة. إذا كان خيط آخر يستخدم نفس خبيئة الجلسة الداخلية، يمكن أن تحدث "
264 "حالة سباق حيث يُولِّد خيط آخر نفس مُعرّف الجلسة. يمكن أن تحدث التصادمات أيضًا عند "
265 "استخدام خبيئة جلسة خارجية، لأن الخبيئة الخارجية لا تُختبر مع "
266 "B<SSL_has_matching_session_id()> وتنطبق نفس حالة السباق."
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable
270 msgid ""
271 "The callback must return 0 if it cannot generate a session id for whatever "
272 "reason and return 1 on success."
273 msgstr ""
274 "يجب أن تُرجع دالة الاستدعاء 0 إذا لم تستطع توليد مُعرّف جلسة لأي سبب، وتُرجع 1 "
275 "عند النجاح."
276
277 #. type: IX
278 #: archlinux debian-trixie debian-unstable
279 #, no-wrap
280 msgid "RETURN VALUES"
281 msgstr "القيم المُرجعة"
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable
285 msgid ""
286 "\\&B<SSL_CTX_set_generate_session_id()> and B<SSL_set_generate_session_id()> "
287 "return 1 on success and 0 for failure."
288 msgstr ""
289 "\\&B<SSL_CTX_set_generate_session_id()> و B<SSL_set_generate_session_id()> "
290 "تُرجعان 1 عند النجاح و0 عند الفشل."
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable
294 msgid ""
295 "\\&B<SSL_has_matching_session_id()> returns 1 if another session with the "
296 "same id is already in the cache, or 0 otherwise."
297 msgstr ""
298 "\\&B<SSL_has_matching_session_id()> تُرجع 1 إذا كانت جلسة أخرى بنفس المُعرّف "
299 "موجودة بالفعل في الخبيئة، أو 0 بخلاف ذلك."
300
301 #. type: IX
302 #: archlinux debian-trixie debian-unstable
303 #, no-wrap
304 msgid "EXAMPLES"
305 msgstr "أمثلة"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable
309 msgid ""
310 "The callback function listed will generate a session id with the server id "
311 "given, and will fill the rest with pseudo random bytes:"
312 msgstr ""
313 "دالة الاستدعاء المدرجة ستُولِّد مُعرّف جلسة مع مُعرّف الخادم المُعطى، وستملأ الباقي "
314 "ببايتات شبه عشوائية:"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable
318 #, no-wrap
319 msgid ""
320 "\\& const char session_id_prefix = \"www-18\";\n"
321 "\\&\n"
322 "\\& #define MAX_SESSION_ID_ATTEMPTS 10\n"
323 "\\& static int generate_session_id(SSL *ssl, unsigned char *id,\n"
324 "\\& unsigned int *id_len)\n"
325 "\\& {\n"
326 "\\& unsigned int count = 0;\n"
327 "\\&\n"
328 "\\& do {\n"
329 "\\& RAND_pseudo_bytes(id, *id_len);\n"
330 "\\& /*\n"
331 "\\& * Prefix the session_id with the required prefix. NB: If our\n"
332 "\\& * prefix is too long, clip it - but there will be worse effects\n"
333 "\\& * anyway, e.g. the server could only possibly create 1 session\n"
334 "\\& * ID (i.e. the prefix!) so all future session negotiations will\n"
335 "\\& * fail due to conflicts.\n"
336 "\\& */\n"
337 "\\& memcpy(id, session_id_prefix, strlen(session_id_prefix) E<lt> *id_len ?\n"
338 "\\& strlen(session_id_prefix) : *id_len);\n"
339 "\\& } while (SSL_has_matching_session_id(ssl, id, *id_len)\n"
340 "\\& && ++count E<lt> MAX_SESSION_ID_ATTEMPTS);\n"
341 "\\& if (count E<gt>= MAX_SESSION_ID_ATTEMPTS)\n"
342 "\\& return 0;\n"
343 "\\& return 1;\n"
344 "\\& }\n"
345 msgstr ""
346 "\\& const char session_id_prefix = \"www-18\";\n"
347 "\\&\n"
348 "\\& #define MAX_SESSION_ID_ATTEMPTS 10\n"
349 "\\& static int generate_session_id(SSL *ssl, unsigned char *id,\n"
350 "\\& unsigned int *id_len)\n"
351 "\\& {\n"
352 "\\& unsigned int count = 0;\n"
353 "\\&\n"
354 "\\& do {\n"
355 "\\& RAND_pseudo_bytes(id, *id_len);\n"
356 "\\& /*\n"
357 "\\& * بادئة مُعرّف الجلسة بالبادئة المطلوبة. ملاحظة: إذا كانت\n"
358 "\\& * البادئة طويلة جدًا، قصّها - لكن ستكون هناك تأثيرات أسوأ\n"
359 "\\& * على أي حال، مثلًا قد يتمكن الخادم من إنشاء مُعرّف جلسة\n"
360 "\\& * واحد فقط (أي البادئة!) لذا ستفشل جميع مفاوضات الجلسة\n"
361 "\\& * المستقبلية بسبب التعارضات.\n"
362 "\\& */\n"
363 "\\& memcpy(id, session_id_prefix, strlen(session_id_prefix) E<lt> *id_len ?\n"
364 "\\& strlen(session_id_prefix) : *id_len);\n"
365 "\\& } while (SSL_has_matching_session_id(ssl, id, *id_len)\n"
366 "\\& && ++count E<lt> MAX_SESSION_ID_ATTEMPTS);\n"
367 "\\& if (count E<gt>= MAX_SESSION_ID_ATTEMPTS)\n"
368 "\\& return 0;\n"
369 "\\& return 1;\n"
370 "\\& }\n"
371
372 #. type: IX
373 #: archlinux debian-trixie debian-unstable
374 #, no-wrap
375 msgid "SEE ALSO"
376 msgstr "انظر أيضًا"
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable
380 msgid "\\&B<ssl>\\|(7), B<SSL_get_version>\\|(3)"
381 msgstr "\\&B<ssl>\\|(7), B<SSL_get_version>\\|(3)"
382
383 #. type: IX
384 #: archlinux debian-trixie debian-unstable
385 #, no-wrap
386 msgid "COPYRIGHT"
387 msgstr "حقوق النسخ"
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable
391 msgid "Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved."
392 msgstr "حقوق النشر 2001-2020 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة."
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable
396 msgid ""
397 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
398 "this file except in compliance with the License. You can obtain a copy in "
399 "the file LICENSE in the source distribution or at E<lt>https://www.openssl."
400 "org/source/license.htmlE<gt>."
401 msgstr ""
402 "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك "
403 "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في "
404 "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط E<lt>https://"
405 "www.openssl.org/source/license.htmlE<gt>."
406
407 #. ========================================================================
408 #. type: IX
409 #: debian-trixie debian-unstable
410 #, no-wrap
411 msgid "SSL_CTX_SET_GENERATE_SESSION_ID 3SSL"
412 msgstr "SSL_CTX_SET_GENERATE_SESSION_ID 3SSL"
413
414 #. type: TH
415 #: debian-trixie
416 #, no-wrap
417 msgid "3.5.6"
418 msgstr "3.5.6"