# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:44+0200\n" "PO-Revision-Date: 2026-06-03 19:29+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" # #-#-#-#-# archlinux: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE # VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: SSL_CTX_set_generate_session_id.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "Title" #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "SSL_CTX_SET_GENERATE_SESSION_ID 3ssl" msgstr "SSL_CTX_SET_GENERATE_SESSION_ID 3ssl" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SSL_CTX_SET_GENERATE_SESSION_ID" msgstr "SSL_CTX_SET_GENERATE_SESSION_ID" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "7 أبريل 2026" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "3.6.2" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "OpenSSL" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, " "SSL_has_matching_session_id, GEN_SESSION_CB \\&- manipulate generation of " "SSL session IDs (server only)" msgstr "" "SSL_CTX_set_generate_session_id, SSL_set_generate_session_id, " "SSL_has_matching_session_id, GEN_SESSION_CB \\&- معالجة توليد مُعرّفات جلسة " "SSL (للخادم فقط)" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "Header" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/ssl.hE\n" "\\&\n" "\\& typedef int (*GEN_SESSION_CB)(SSL *ssl, unsigned char *id,\n" "\\& unsigned int *id_len);\n" "\\&\n" "\\& int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);\n" "\\& int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB, cb);\n" "\\& int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,\n" "\\& unsigned int id_len);\n" msgstr "" "\\& #include Eopenssl/ssl.hE\n" "\\&\n" "\\& typedef int (*GEN_SESSION_CB)(SSL *ssl, unsigned char *id,\n" "\\& unsigned int *id_len);\n" "\\&\n" "\\& int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);\n" "\\& int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB, cb);\n" "\\& int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,\n" "\\& unsigned int id_len);\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the callback function for " "generating new session ids for SSL/TLS sessions for B to be B." msgstr "" "\\&B تُعيِّن دالة الاستدعاء لتوليد مُعرّفات " "جلسة جديدة لجلسات SSL/TLS لـ B لتكون B." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the callback function for " "generating new session ids for SSL/TLS sessions for B to be B." msgstr "" "\\&B تُعيِّن دالة الاستدعاء لتوليد مُعرّفات جلسة " "جديدة لجلسات SSL/TLS لـ B لتكون B." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B checks, whether a session with id B " "(of length B) is already contained in the internal session cache of " "the parent context of B." msgstr "" "\\&B تتحقق مما إذا كانت جلسة ذات مُعرّف B " "(بطول B) موجودة بالفعل في خبيئة الجلسة الداخلية للسياق الأصلي لـ " "B." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When a new session is established between client and server, the server " "generates a session id. The session id is an arbitrary sequence of bytes. " "The length of the session id is between 1 and 32 bytes. The session id is " "not security critical but must be unique for the server. Additionally, the " "session id is transmitted in the clear when reusing the session so it must " "not contain sensitive information." msgstr "" "عند إنشاء جلسة جديدة بين العميل والخادم، يُولِّد الخادم مُعرّف جلسة. مُعرّف الجلسة " "هو تسلسل عشوائي من البايتات. طول مُعرّف الجلسة يتراوح بين 1 و32 بايت. مُعرّف " "الجلسة ليس حاسمًا أمنيًا لكن يجب أن يكون فريدًا للخادم. بالإضافة إلى ذلك، يُنقل " "مُعرّف الجلسة بنص واضح عند إعادة استخدام الجلسة، لذا يجب ألّا يحتوي على معلومات " "حساسة." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Without a callback being set, an OpenSSL server will generate a unique " "session id from pseudo random numbers of the maximum possible length. Using " "the callback function, the session id can be changed to contain additional " "information like e.g. a host id in order to improve load balancing or " "external caching techniques." msgstr "" "بدون تعيين دالة استدعاء، سيُولِّد خادم OpenSSL مُعرّف جلسة فريدًا من أرقام شبه " "عشوائية بأقصى طول ممكن. باستخدام دالة الاستدعاء، يمكن تغيير مُعرّف الجلسة " "ليحتوي على معلومات إضافية مثل مُعرّف مضيف لتحسين موازنة التحميل أو تقنيات " "التخزين المؤقت الخارجي." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The callback function receives a pointer to the memory location to put " "\\&B into and a pointer to the maximum allowed length B. The " "buffer at location B is only guaranteed to have the size B. The " "callback is only allowed to generate a shorter id and reduce B; the " "callback B increase B or write to the location \\&B " "exceeding the given limit." msgstr "" "تستقبل دالة الاستدعاء مؤشرًا إلى موقع الذاكرة لوضع \\&B فيه ومؤشرًا إلى " "الحد الأقصى المسموح به للطول B. المخزن المؤقت في الموقع B مضمون " "فقط أن يكون بحجم B. يُسمح لدالة الاستدعاء فقط بتوليد مُعرّف أقصر وتقليل " "B؛ يجب ألّا تزيد دالة الاستدعاء B أو تكتب في الموقع \\&B " "متجاوزة الحد المعطى." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The location B is filled with 0x00 before the callback is called, so the " "callback may only fill part of the possible length and leave B " "untouched while maintaining reproducibility." msgstr "" "يُملأ الموقع B بـ 0x00 قبل استدعاء دالة الاستدعاء، لذا قد تملأ دالة " "الاستدعاء جزءًا فقط من الطول الممكن وتترك B دون تغيير مع الحفاظ على " "قابلية التكرار." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Since the sessions must be distinguished, session ids must be unique. " "Without the callback a random number is used, so that the probability of " "generating the same session id is extremely small (2^256 for SSLv3/TLSv1). " "In order to assure the uniqueness of the generated session id, the callback " "must call \\&B and generate another id if a " "conflict occurs. If an id conflict is not resolved, the handshake will " "fail. If the application codes e.g. a unique host id, a unique process " "number, and a unique sequence number into the session id, uniqueness could " "easily be achieved without randomness added (it should however be taken care " "that no confidential information is leaked this way). If the application can " "not guarantee uniqueness, it is recommended to use the maximum B and " "fill in the bytes not used to code special information with random data to " "avoid collisions." msgstr "" "نظرًا لأن الجلسات يجب أن تُفرَّق، يجب أن تكون مُعرّفات الجلسة فريدة. بدون دالة " "الاستدعاء، يُستخدم رقم عشوائي، بحيث يكون احتمال توليد نفس مُعرّف الجلسة صغيرًا " "جدًا (2^256 لـ SSLv3/TLSv1). لضمان تفرد مُعرّف الجلسة المُولَّد، يجب على دالة " "الاستدعاء استدعاء \\&B وتوليد مُعرّف آخر إذا " "حدث تعارض. إذا لم يُحل تعارض المُعرّف، سيفشل المصافحة. إذا رمّز التطبيق مثلًا " "مُعرّف مضيف فريد، ورقم عملية فريد، ورقم تسلسلي فريد في مُعرّف الجلسة، يمكن تحقيق " "التفرد بسهولة دون إضافة عشوائية (ومع ذلك يجب الحرص على عدم تسريب معلومات " "سرية بهذه الطريقة). إذا لم يستطع التطبيق ضمان التفرد، يُوصى باستخدام الحد " "الأقصى B وملء البايتات غير المستخدمة لترميز معلومات خاصة ببيانات " "عشوائية لتجنب التصادمات." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B will only query the internal session " "cache, not the external one. Since the session id is generated before the " "handshake is completed, it is not immediately added to the cache. If another " "thread is using the same internal session cache, a race condition can occur " "in that another thread generates the same session id. Collisions can also " "occur when using an external session cache, since the external cache is not " "tested with B and the same race condition " "applies." msgstr "" "\\&B ستستعلم فقط عن خبيئة الجلسة الداخلية، " "وليس الخارجية. نظرًا لأن مُعرّف الجلسة يُولَّد قبل اكتمال المصافحة، لا يُضاف فورًا " "إلى الخبيئة. إذا كان خيط آخر يستخدم نفس خبيئة الجلسة الداخلية، يمكن أن تحدث " "حالة سباق حيث يُولِّد خيط آخر نفس مُعرّف الجلسة. يمكن أن تحدث التصادمات أيضًا عند " "استخدام خبيئة جلسة خارجية، لأن الخبيئة الخارجية لا تُختبر مع " "B وتنطبق نفس حالة السباق." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The callback must return 0 if it cannot generate a session id for whatever " "reason and return 1 on success." msgstr "" "يجب أن تُرجع دالة الاستدعاء 0 إذا لم تستطع توليد مُعرّف جلسة لأي سبب، وتُرجع 1 " "عند النجاح." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "القيم المُرجعة" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B " "return 1 on success and 0 for failure." msgstr "" "\\&B و B " "تُرجعان 1 عند النجاح و0 عند الفشل." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns 1 if another session with the " "same id is already in the cache, or 0 otherwise." msgstr "" "\\&B تُرجع 1 إذا كانت جلسة أخرى بنفس المُعرّف " "موجودة بالفعل في الخبيئة، أو 0 بخلاف ذلك." #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "The callback function listed will generate a session id with the server id " "given, and will fill the rest with pseudo random bytes:" msgstr "" "دالة الاستدعاء المدرجة ستُولِّد مُعرّف جلسة مع مُعرّف الخادم المُعطى، وستملأ الباقي " "ببايتات شبه عشوائية:" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& const char session_id_prefix = \"www-18\";\n" "\\&\n" "\\& #define MAX_SESSION_ID_ATTEMPTS 10\n" "\\& static int generate_session_id(SSL *ssl, unsigned char *id,\n" "\\& unsigned int *id_len)\n" "\\& {\n" "\\& unsigned int count = 0;\n" "\\&\n" "\\& do {\n" "\\& RAND_pseudo_bytes(id, *id_len);\n" "\\& /*\n" "\\& * Prefix the session_id with the required prefix. NB: If our\n" "\\& * prefix is too long, clip it - but there will be worse effects\n" "\\& * anyway, e.g. the server could only possibly create 1 session\n" "\\& * ID (i.e. the prefix!) so all future session negotiations will\n" "\\& * fail due to conflicts.\n" "\\& */\n" "\\& memcpy(id, session_id_prefix, strlen(session_id_prefix) E *id_len ?\n" "\\& strlen(session_id_prefix) : *id_len);\n" "\\& } while (SSL_has_matching_session_id(ssl, id, *id_len)\n" "\\& && ++count E MAX_SESSION_ID_ATTEMPTS);\n" "\\& if (count E= MAX_SESSION_ID_ATTEMPTS)\n" "\\& return 0;\n" "\\& return 1;\n" "\\& }\n" msgstr "" "\\& const char session_id_prefix = \"www-18\";\n" "\\&\n" "\\& #define MAX_SESSION_ID_ATTEMPTS 10\n" "\\& static int generate_session_id(SSL *ssl, unsigned char *id,\n" "\\& unsigned int *id_len)\n" "\\& {\n" "\\& unsigned int count = 0;\n" "\\&\n" "\\& do {\n" "\\& RAND_pseudo_bytes(id, *id_len);\n" "\\& /*\n" "\\& * بادئة مُعرّف الجلسة بالبادئة المطلوبة. ملاحظة: إذا كانت\n" "\\& * البادئة طويلة جدًا، قصّها - لكن ستكون هناك تأثيرات أسوأ\n" "\\& * على أي حال، مثلًا قد يتمكن الخادم من إنشاء مُعرّف جلسة\n" "\\& * واحد فقط (أي البادئة!) لذا ستفشل جميع مفاوضات الجلسة\n" "\\& * المستقبلية بسبب التعارضات.\n" "\\& */\n" "\\& memcpy(id, session_id_prefix, strlen(session_id_prefix) E *id_len ?\n" "\\& strlen(session_id_prefix) : *id_len);\n" "\\& } while (SSL_has_matching_session_id(ssl, id, *id_len)\n" "\\& && ++count E MAX_SESSION_ID_ATTEMPTS);\n" "\\& if (count E= MAX_SESSION_ID_ATTEMPTS)\n" "\\& return 0;\n" "\\& return 1;\n" "\\& }\n" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B\\|(7), B\\|(3)" msgstr "\\&B\\|(7), B\\|(3)" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "حقوق النسخ" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2001-2020 The OpenSSL Project Authors. All Rights Reserved." msgstr "حقوق النشر 2001-2020 لمؤلفي مشروع OpenSSL. جميع الحقوق محفوظة." #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://www.openssl." "org/source/license.htmlE." msgstr "" "مرخص بموجب رخصة Apache 2.0 (المشار إليها فيما يلي بـ ”الرخصة“). لا يجوز لك " "استخدام هذا الملف إلا وفقًا لشروط الرخصة. يمكنك الحصول على نسخة منها في " "الملف LICENSE الموجود في حزمة التوزيع المصدرية أو على الرابط Ehttps://" "www.openssl.org/source/license.htmlE." #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "SSL_CTX_SET_GENERATE_SESSION_ID 3SSL" msgstr "SSL_CTX_SET_GENERATE_SESSION_ID 3SSL" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "3.5.6"