php / php/php-src

OpenSSL Stream Context SSL Session Reuse

オープン
#20,367 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Category: Streams Extension: openssl Feature
主要言語
C
スター
40.4k
フォーク
8.1k
平均マージ
2日 13時間
マージ済み PR(30日)
96

説明

Description

We have developed our own FTP client implementation using stream wrappers but we are unable to fully support FTPS on some servers that enforce SSL Session Reuse on the DATA connection.

I have tried to capture the session somehow from the stream context but this is not available.

I can see this has been fixed for the native FTP ext https://github.com/php/php-src/pull/12851

It would be useful if we could capture this and re-use it for new stream sessions when passing around context.

I am unsure if this already exists.

PHP 8.1/8.3

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、pull request 12851 のネイティブ FTP の変更と、この issue で説明されている stream-context の動作を確認します。SSL セッションデータをすでに取得して新しいストリームセッションに渡せるかどうかを判断します。カスタム FTP クライアントが FTPS-DATA 接続にセッションを再利用するためのサポートされた方法を定義し、文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
c, php
領域
backend, networking, security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。