Browse Subversion RepositoryLog of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Revision 9210 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Apr 17 08:36:59 2021 UTC (2 years, 11 months ago) by nmaya File length: 280309 byte(s) Diff to previous 9208 , to selected 3105 ファイルを分割・コードを移動・関数名を整理・新しい OpenSSH からインポート - OpenSSH からインポート cipher-3des1.c from OpenSSH-7.5p1 ssherr.c from OpenSSH-8.5p1 ssherr.h from OpenSSH-8.5p1 Revision 9208 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Apr 17 06:15:51 2021 UTC (2 years, 11 months ago) by nmaya File length: 290510 byte(s) Diff to previous 9049 , to selected 3105 create a branch for chacha20-poly1305 from 4-stable planned to merge to 4-stable and trunk Revision 9049 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 16 12:24:26 2020 UTC (3 years, 3 months ago) by nmaya Original Path: branches/4-stable/ttssh2/ttxssh/ssh.c File length: 290510 byte(s) Diff to previous 8934 , to selected 3105 ソースファイルの著作権表記の "最後の発行の年" を削除 ticket #40996 Revision 8934 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Sep 5 11:20:46 2020 UTC (3 years, 7 months ago) by youlab Original Path: branches/4-stable/ttssh2/ttxssh/ssh.c File length: 290514 byte(s) Diff to previous 8924 , to selected 3105 Copyrightの2019を2020に変更した。 変更対象は下記の通り。 Tera Term TTSSH TTXKanjiMenu Help License Revision 8924 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Aug 24 10:53:55 2020 UTC (3 years, 7 months ago) by youlab Original Path: branches/4-stable/ttssh2/ttxssh/ssh.c File length: 290514 byte(s) Diff to previous 8600 , to selected 3105 D&DによるSCP送信で、多数のファイルを一括送信するとエラーになる問題を修正した。 sshd_configのMaxSessions=10の場合、10個目の送信でエラーとなっていた。 Revision 8600 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 16 15:20:53 2020 UTC (4 years ago) by doda Original Path: branches/4-stable/ttssh2/ttxssh/ssh.c File length: 290345 byte(s) Diff to previous 8437 , to selected 3105 チャネル関連のメッセージ送信前にリモートのチャネル番号のチェックを追加した。 Ticket: #40225, #40226 MFT: r8599 問題: SSH接続で認証直後にウィンドウサイズを変更、またはSend Breakを実行すると 切断される。 原因: SSH_MSG_CHANNEL_REQUEST で remote id に不正な値をセットして送っていた。 対処: チャネル関連のメッセージを送信する時に remote id の値をチェックする ようにした。 Revision 8437 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 13 03:11:16 2019 UTC (4 years, 3 months ago) by doda Original Path: branches/4-stable/ttssh2/ttxssh/ssh.c File length: 288956 byte(s) Diff to previous 8427 , to selected 3105 Tera Term 4.xx メンテナンス用ブランチを作成 Revision 8427 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 30 15:31:58 2019 UTC (4 years, 4 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 288956 byte(s) Diff to previous 8425 , to selected 3105 未使用変数の削除 - ビルド時に警告 - warning C4101: 'msgW': ローカル変数は 1 度も使われていません。 - [Ttssh2-devel 4404] Revision 8425 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Nov 29 10:08:55 2019 UTC (4 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 288974 byte(s) Diff to previous 8397 , to selected 3105 codeconv周り修正 [Ttssh2-devel 4404] - codeconv を static link するようにした - 変換後文字列を free するようにした Revision 8397 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Nov 22 15:14:57 2019 UTC (4 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 288978 byte(s) Diff to previous 8389 , to selected 3105 必要に応じて SSH 認証バナーのエンコードを変換するようにした。 Ticket: #39724 問題: SSH認証バナーにUS-ASCII範囲外の文字が入っていると文字化けする。 対処: バナーのエンコードを変換するようにした。 備考: 変換後の文字列を free() すると落ちるので free() していない。 メモリリークするが、接続時の一回だけなので大きな影響は出ないはず。 後で調査して対処する。 Revision 8389 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 21 11:30:17 2019 UTC (4 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 288262 byte(s) Diff to previous 8316 , to selected 3105 SCPでファイルが開けなかった時のメッセージを変更 Ticket: #39682 問題: SCP でローカルのファイルが開けなかった時のエラーメッセージが判りづらい。 対処: エラーメッセージに FormatMessage() のメッセージを含めるようにした。 備考: FormatMessage() で得られるメッセージはシステムのロケールに合わせて言語が 変わるので、例えば日本語環境では Can't open file for reading: 指定されたファイルが見つかりません。 のような不格好な物になる。将来的に対処するかは要検討。 Revision 8316 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 16 13:19:25 2019 UTC (4 years, 5 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 287891 byte(s) Diff to previous 8233 , to selected 3105 - TTSSHとTTProxyを OpenSSL 1.1.1 に対応した。 ※OpenSSL 1.0.2ではビルドできません - Win32 APIのWindows依存チェックツール(installer/checksymbol)を追加した。 branches/openssl_1_1_1_v3からリビジョン8258をマージ: /branches/openssl_1_1_1_v2 ブランチの r7785 - r8256 をマージした。 ........ Revision 8233 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Sep 27 10:16:12 2019 UTC (4 years, 6 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 286815 byte(s) Diff to previous 8093 , to selected 3105 コメント修正 Revision 8093 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Sep 8 10:16:41 2019 UTC (4 years, 7 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 286815 byte(s) Diff to previous 8086 , to selected 3105 ・known_hostsダイアログおよびユーザ認証ダイアログの表示中に、SSHサーバ側からネットワーク切断された場合、ダイアログを自動で閉じるようにした。 ・known_hostsダイアログの表示中にSSHサーバ側からネットワーク切断されると、アプリがクラッシュすることがある問題を修正した。 ・SSH1: /nosecuritywarningオプションが機能していなかった問題を修正した。 ・/nosecuritywarningオプションに関する注意事項を追記した。 branches/ttssh_improvedからリビジョン8036をマージ: SSHサーバと認証中にネットワーク切断された場合、認証ダイアログが残ったままとならないようにした。 ........ branches/ttssh_improvedからリビジョン8044をマージ: r8036でダイアログの処理追加漏れ。 SSHサーバと認証中にネットワーク切断された場合、認証ダイアログが残ったままとならないようにした。 ........ branches/ttssh_improvedからリビジョン8063をマージ: known_hostsダイアログが表示されている状態で、サーバから切断を行うと、 TTXCloseTCPが呼び出され、TTSSHのリソースが解放されてしまう。 SSHハンドラの延長でknown_hostsダイアログを出して止まっているため、 ダイアログを閉じて、処理再開すると、SSHの内部情報が壊れる。 その状態で再度SSH接続しようとすると100%アプリが落ちる。 上記問題に対して、まずは SSH1 に処置した。 ........ branches/ttssh_improvedからリビジョン8081をマージ: known_hostsダイアログが表示されている状態で、サーバから切断を行うと、 TTXCloseTCPが呼び出され、TTSSHのリソースが解放されてしまう。 SSHハンドラの延長でknown_hostsダイアログを出して止まっているため、 ダイアログを閉じて、処理再開すると、SSHの内部情報が壊れる。 その状態で再度SSH接続しようとすると100%アプリが落ちる。 上記問題に対して、SSH2 に対応した。 パケット受信時のSSHハンドラのコンテキストで known_hosts ダイアログを表示 させていたが、TTXCloseTCPの非同期呼び出しに対処できないため、 TTSSH1で使われていたknown_hosts ダイアログの非同期呼び出しに 実装を変更した。 これにより、比較的大きくロジックの修正を行っている。 ........ branches/ttssh_improvedからリビジョン8085をマージ: 前回のオプション指定(/nosecuritywarning)が残らないように初期化する。 ........ Revision 8086 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Sep 7 12:18:28 2019 UTC (4 years, 7 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274931 byte(s) Diff to previous 8031 , to selected 3105 チケット38959 ユーザ認証ダイアログの表示タイミングをknown_hostsダイアログの後に変更した。 branches/ttssh_improvedからリビジョン8027をマージ: ProxyやNAT経由でサーバに接続できない場合、すでに切断状態にも関わらず、 認証ダイアログが表示されたままとなる問題を修正した。 ........ Revision 8031 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 29 11:32:26 2019 UTC (4 years, 7 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274674 byte(s) Diff to previous 7951 , to selected 3105 SSH2のチャネルをクローズする際、SCP受信用リソースをSCP送信時にも解放していた問題を修正した。 Windows9xでは100%の確率で、SCP送信および受信時にTera Termがクラッシュする。 NT系では再現しない。 Revision 7951 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 13 15:29:48 2019 UTC (4 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274548 byte(s) Diff to previous 7931 , to selected 3105 FileDir を使用するとき、環境変数を展開するようにした #39456 Revision 7931 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 9 13:37:01 2019 UTC (4 years, 8 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274504 byte(s) Diff to previous 7930 , to selected 3105 _beginthreadex()の戻り値チェックを修正 - エラー時の戻り値は0 Revision 7930 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 9 13:36:46 2019 UTC (4 years, 8 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274426 byte(s) Diff to previous 7897 , to selected 3105 不要なHANDLEキャストを削除 - コンパイラの型チェックを積極的に利用するのが目的 - 出力されるコードは特に変化ない Revision 7897 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 30 15:13:33 2019 UTC (4 years, 8 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274370 byte(s) Diff to previous 7896 , to selected 3105 64bit時に警告が出ないように修正 - 警告 C4477 Revision 7896 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jul 29 15:04:08 2019 UTC (4 years, 8 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274356 byte(s) Diff to previous 7893 , to selected 3105 Merge branch 'x64' into trunk Revision 7893 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jul 29 07:09:16 2019 UTC (4 years, 8 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274353 byte(s) Diff to previous 7774 , to selected 3105 SSH1接続で、rhosts認証ができなくなっていた問題を修正した。 Revision 7774 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 16 03:40:20 2019 UTC (4 years, 9 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274209 byte(s) Diff to previous 7771 , to selected 3105 int を unsigned int に変更 warning C4018 が出るため Revision 7771 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jun 15 06:42:23 2019 UTC (4 years, 9 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274200 byte(s) Diff to previous 7703 , to selected 3105 ポート転送でSSH通信が遅い場合において、Tera Term(TTSSH)の消費メモリが 肥大化して、アプリが落ちる問題を修正した。 チケット #39297 local channelからのパケット読み込み時、SSHサーバへの送信でremote_windowに 空きがない場合は、バッファにパケットを記録するが、フロー制御を追加して際限なく バッファに溜め込まないようにした。 branches/portfwd_memleak ブランチからのマージ。 Revision 7703 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue May 21 14:27:30 2019 UTC (4 years, 10 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 273357 byte(s) Diff to previous 7679 , to selected 3105 ttssh 無効化していたフォント関連のソースを削除 Revision 7679 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue May 14 13:09:09 2019 UTC (4 years, 10 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274045 byte(s) Diff to previous 7649 , to selected 3105 typo fix. Revision 7649 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 6 13:42:01 2019 UTC (4 years, 11 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 274045 byte(s) Diff to previous 7641 , to selected 3105 __FUNCTION__ が文字列マクロではない場合でも正しくビルドできるよう修正 Revision 7641 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed May 1 14:51:20 2019 UTC (4 years, 11 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271526 byte(s) Diff to previous 7592 , to selected 3105 logprintf()のフォーマット指定を修正 Revision 7592 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 17 15:08:42 2019 UTC (4 years, 11 months ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271528 byte(s) Diff to previous 7560 , to selected 3105 ダイアログを親(vtwin)の中央に表示するよう修正 Revision 7560 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 8 17:12:02 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271447 byte(s) Diff to previous 7536 , to selected 3105 ttssh 高DPI対応 Revision 7536 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 1 12:45:02 2019 UTC (5 years ago) by zmatsuo Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271313 byte(s) Diff to previous 7477 , to selected 3105 MinGWでビルドできるよう調整 Revision 7477 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 13 03:14:00 2019 UTC (5 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271143 byte(s) Diff to previous 7476 , to selected 3105 keyboard-interactive 認証時、prompt の echo フラグが無視されるのを修正。 Ticket: #37294 パスワード入力では制御文字の入力を可能にしているが、表示可能にする事によって 記号等として表示されて文字化けしているように見えるのが課題。 Revision 7476 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 13 03:13:55 2019 UTC (5 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271134 byte(s) Diff to previous 7432 , to selected 3105 デバッグログ中の関数名が間違っていたのを修正。 関数名を直接書くのではなく __FUNCTION__ を使うように変更。 他の同様な部分も変更すべき。 Revision 7432 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 19 09:52:45 2019 UTC (5 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271138 byte(s) Diff to previous 7365 , to selected 3105 SSH パスワード認証でのパスワード変更ダイアログで、旧パスワードに空パスワードを許すようにした c.f. Ticket: #38970 Revision 7365 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 25 05:46:21 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271122 byte(s) Diff to previous 7363 , to selected 3105 /ssh-N でシェルセッションを開始しない時にもポート転送が行われるようにした X11転送、およびエージェント転送は無効のまま。 Revision 7363 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 25 05:46:12 2018 UTC (5 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271020 byte(s) Diff to previous 7138 , to selected 3105 SSH 接続で、セッションを開かずに接続のみ出来るようにした。 /ssh-nosession コマンドラインオプションを指定するとセッションを開かない。 MaxSessions 1 なサーバへ SCP を行えるようになる。 Revision 7138 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 14 11:07:19 2018 UTC (5 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 270914 byte(s) Diff to previous 7134 , to selected 3105 r7134 も一旦 revert r7137 の revert 対象は r7135 です。 Revision 7134 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 14 10:57:17 2018 UTC (5 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 271212 byte(s) Diff to previous 7109 , to selected 3105 Local to Remote の scp で、scp 先 path を host:/some/where とした時に 相手先で host への ssh 接続を行い、そこで scp を起動するようにした。 現在の制限: ・pageant 等でパスフレーズ入力が発生しないようにする必要がある ・path のエスケープ等は行っていない ・小さいファイルの転送が失敗する事がある? Revision 7109 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 28 07:49:43 2018 UTC (5 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 270914 byte(s) Diff to previous 7108 , to selected 3105 typo fix Revision 7108 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 28 07:49:38 2018 UTC (5 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 270914 byte(s) Diff to previous 7107 , to selected 3105 SSH サブシステム使用後にシェルセッションが開けなかったのを修正。 pvar->use_subsystem をクリアするのを忘れてた。 Revision 7107 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 28 07:49:23 2018 UTC (5 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 270852 byte(s) Diff to previous 7050 , to selected 3105 shell session が未設定の時の値として -1 を使うようにした 0 はチャネル番号として取りうる値の為、shell session のチャネル番号が 未設定なのかを誤判定する可能性がある為。 Revision 7050 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 22 10:33:17 2018 UTC (6 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 270794 byte(s) Diff to previous 7049 , to selected 3105 Tab (HT) を削除対象から外した。 Revision 7049 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 21 03:02:05 2018 UTC (6 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 270776 byte(s) Diff to previous 7048 , to selected 3105 USERAUTH_BANNER で制御文字の削除、および LF -> CR+LF 変換を追加 Revision 7048 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 21 03:02:02 2018 UTC (6 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 269036 byte(s) Diff to previous 7047 , to selected 3105 設定で SSH_MSG_USERAUTH_BANNER の表示方法を設定できるようにした [TTSSH] ; Authentication Banner ; 0 ... ignore ; 1 ... display in VT window ; 2 ... display by popup message box ; 3 ... display by balloon tip AuthBanner=1 また、メッセージボックスでの表示にも対応した。 メッセージの表示されるタイミングが気に入らないけれど、対応が難しい…… Revision 7047 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 21 03:01:58 2018 UTC (6 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268809 byte(s) Diff to previous 7046 , to selected 3105 handle_SSH2_userauth_banner() を get_string_from_payload() を使って書き直し。 Balloon 表示も追加。 Revision 7046 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 21 03:01:55 2018 UTC (6 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268903 byte(s) Diff to previous 7028 , to selected 3105 USERAUTH_BANNER 表示テスト #37544 とりあえずバナーを VT ウィンドウに表示するようにした。 ポップアップウィンドウで表示するという手もあるけれどウザい? 端末上に表示するのならば制御文字を潰す必要があるけれどまだやってない。 あと相手が改行を LF のみで送ってくる(事が多い)ので LF -> CRLF 変換も必要かも。 他のハンドラ関数を見てて思ったけれど、サーバのデータを信頼しすぎで、 内容のチェックを全然してないから脆弱すぎ。*Damn*. Revision 7028 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 25 12:22:05 2018 UTC (6 years, 2 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267750 byte(s) Diff to previous 7027 , to selected 3105 SSH_MSG_KEY_DH_GEX_REQUEST での min のデフォルトを 2048 に引き上げた RFC 8270対応。 SSH_MSG_KEY_DH_GEX_REQUEST での min の値は GexMinimalGroupSize で 設定可能であり、デフォルトでは 0 となっている。 GexMinimalGroupSize が 0 の時は、Minimum Limit の 1024 として扱って いたが、RFC 8270 での推奨値に従い 2048 として扱うように変更した。 互換性で 2048 未満に設定したい場合にそなえて、Minimum Limit は 1024 のままとする。 RFC 8270 では、 | This minimum DH group size may need to be increased to 3072 for forward-looking users. とあるので、3072 に上げてもいいのかも Revision 7027 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 25 12:22:02 2018 UTC (6 years, 2 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 266857 byte(s) Diff to previous 7026 , to selected 3105 GEX 関連の定数名を変更 GETX_GRP_MINSIZE -> GEX_GRP_LIMIT_MIN GETX_GRP_MAXSIZE -> GEX_GRP_LIMIT_MAX 全体としての下限/上限である事をわかりやすくする為。 GEX には SSH_MSG_KEY_DH_GEX_REQUEST での min, max があり、 これとの混同を避けたい。 これらの値そのものではなく、これらの値がとれる LIMIT という事を 表したかった。 Revision 7026 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 25 12:21:59 2018 UTC (6 years, 2 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 266837 byte(s) Diff to previous 7024 , to selected 3105 payloadの残りの長さのチェックを行うようにした @ handle_SSH2_dh_gex_group() Revision 7024 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 25 12:21:51 2018 UTC (6 years, 2 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 266848 byte(s) Diff to previous 7023 , to selected 3105 SSH ペイロードの残りから、SSH の各データ型を取り出す関数を作成 SSH のパケットハンドラ関数では、殆どの場合はペイロードの先頭から順番に データを取り出して行くだけなので、現在のポインタ位置やペイロードの残りの 長さを関数の中で管理するようにすれば、処理が楽になる(はず) 試験的に handle_SSH2_kexinit() にこの関数を適用してみた。 検討事項: ・byte や uint32 はあまり手間が変わらない気がするのでもう少し評価が必要 ・boolean を格納する領域として unsigned char の領域を渡しているが、 Windows の BOOL 型は int 型なので紛らわしくはないか Revision 7023 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jan 12 03:49:46 2018 UTC (6 years, 2 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265213 byte(s) Diff to previous 7022 , to selected 3105 r7022 での再適用をミスっていたので修正 orz Revision 7022 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 11 13:26:48 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265235 byte(s) Diff to previous 7021 , to selected 3105 r7020 の作業ミスで r7017 での修正が消えてしまったので、再度適用。 | 暗号方式のネゴシエーションが失敗した時に落ちるのを修正。r7005 でのエンバグ。 Revision 7021 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 11 13:20:07 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265243 byte(s) Diff to previous 7020 , to selected 3105 SSH_MSG_KEXINIT で、未確認だったパラメータをログに残すようにした。 何か問題が有った時等に確認できるようにする為。 Revision 7020 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 11 13:20:04 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 262084 byte(s) Diff to previous 7019 , to selected 3105 SSH ペイロードの長さをきちんとチェックするようにした。 これも方針決定の試験実装の為、とりあえず handle_SSH2_kexinit() のみ。 SSH1 専用や SSH1/2 共用のパケットハンドラ関数では大体問題は無いのだが、 SSH2 専用のパケットハンドラ関数ではペイロードの残りの長さを確認せずに アクセスする事を多用している。この為、ちょっとした問題によってすぐに 確保したメモリ領域を超えてアクセスして Application Fault によって落ちる という事が起きてしまう。 ちょっとした問題の例: ・何らかの問題でパケットの復号に失敗した ・同じ番号に割り当てられた他のメッセージを処理しようとした ・サーバからのパケットが壊れていた (バグや悪意のあるサーバの攻撃等) してはいけないメモリアクセスによって Application Fault で落ちるのは セキュリティ的にも望ましくないので、必要な量のデータが残っていなかった 場合は警告メッセージを表示して切断する。 基本的には、SSH ペイロードからデータを取り出す場合は、grab_payload() によって必要な長さのペイロードが残っている事を確認してからアクセスする。 Revision 7019 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 11 13:20:00 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261115 byte(s) Diff to previous 7018 , to selected 3105 パケットハンドラ関数からは pvar->ssh_state 構造体を直接いじらないようにする 方針決定の試験実装の為、とりあえず handle_SSH2_kexinit() のみ。 r7014 のコミットログにも書いたが ssh_state.payloadlen と ssh_state.payload の長さは対応していない。 これは分かりづらいので、ハンドラ関数からは ssh_state 構造体を直接いじらずに マクロを利用して、残りペイロードへのポインタ / 残りペイロード長を取り出す ようにする。 Revision 7018 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 11 13:19:57 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 260837 byte(s) Diff to previous 7017 , to selected 3105 サーバからの SSH_MSG_KEXINIT で、name-list が長すぎる時に落ちるのを修正 name-list を格納する為のバッファのサイズが 1024 バイトで、name-list が それより長かった場合に BoF を起こしていた。 OpenSSH が対応している暗号方式をすべて有効にしても 1024 バイトには 行かないので通常は問題とならないが、悪意のあるサーバに接続した時に 問題となる可能性がある。 OpenSSH でも以下のように設定すれば再現が可能。 Ciphers chacha20-poly1305@openssh.com,chacha20-poly1305@openssh.com,chacha20…略…ssh.com,aes256-ctr Revision 7017 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 11 13:19:52 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259881 byte(s) Diff to previous 7014 , to selected 3105 暗号方式のネゴシエーションが失敗した時に落ちるのを修正。r7005 でのエンバグ。 Revision 7014 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jan 9 09:06:11 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259911 byte(s) Diff to previous 7013 , to selected 3105 SSH Dump Log への出力で、末尾にゴミ(NUL バイト)が付加するのを修正 pvar->ssh_state.payload はメッセージタイプを除いたペイロードの先頭を指すが、 pvar->ssh_state.payloadlen はメッセージタイプ分の 1 バイトを含めた長さ。 ペイロード部分の長さは payloadlen から 1 を引かなければいけない。 payload の長さと payloadlen が対応していないのは分かりづらくミスの元なので 対処を考える必要あり。 Revision 7013 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jan 9 09:06:08 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 260233 byte(s) Diff to previous 7012 , to selected 3105 kex 情報保存用の領域がすでに確保されていた場合は再利用するようにした。 Revision 7012 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jan 9 09:06:04 2018 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 260355 byte(s) Diff to previous 7011 , to selected 3105 3つの KEX 終了処理関数を比較しやすくする為、変数名やメッセージ等を調整 Revision 7011 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 26 09:13:38 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261165 byte(s) Diff to previous 7010 , to selected 3105 必須のメッセージは常に処理されるように SSH2_dispatch_init() 内で有効にする。 対象メッセージ: ・SSH2_MSG_DISCONNECT ・SSH2_MSG_IGNORE ・SSH2_MSG_DEBUG ・SSH2_MSG_UNIMPLEMENTED RFC 4253 では、これらの Additional Messages について以下の記述がある。 | 11. Additional Messages | | Either party may send any of the following messages at any time. RFC 4253 では SSH2_MSG_IGNORE, SSH2_MSG_DISCONNECT, SSH2_MSG_DEBUG は 処理が出来る必要がある。(MUST understand / MUST be able to process) これらのメッセージを確実に処理する為に、SSH2_dispatch_init() 内で ハンドラを有効にするようにした。 SSH2_MSG_UNIMPLEMENTED に関しては処理できる必要が有るとはなっていないが 同様に考えるべきだと思われるので、これのハンドラも一緒に有効にする。 Revision 7010 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 26 09:13:33 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 262595 byte(s) Diff to previous 7009 , to selected 3105 Kex Reply の handler の共通部分を関数に括りだした KEX 後に必要な共通の処理が各 KEX のハンドラに分散していてメンテナンス しづらいので、関数にまとめた。 もうちょっとうまくまとまらないだろうか。 Revision 7009 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 19 11:50:14 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268198 byte(s) Diff to previous 7008 , to selected 3105 share_key の解放もれを修正。その他コード整理。 ・free() するポインタが NULL かどうかチェックするのを廃止 free(NULL) は何も行わない事が保証されている。 ・正常系と異常系でのリソース解放を共通化。 解放漏れが起きにくくするため。 Revision 7008 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 18 11:06:16 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268531 byte(s) Diff to previous 7006 , to selected 3105 AEAD 暗号使用時は MAC Negotiation の結果を無視するようにした #37750 併せて、AEAD 暗号使用時に About TTSSH ダイアログで MAC 方式を <implicit> と表示するようにした。 #37741 Revision 7006 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 18 11:06:09 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268105 byte(s) Diff to previous 7005 , to selected 3105 MAC 方式の管理を、暗号方式を表す値(hmac_type)から ssh2_macs 内のエントリへのポインタを使うように変更。 これにより、MAC 式のパラメータ(truncatebits等)が容易に参照できるようになる。 また、TInstVar 内でも ctos_hmac/stoc_hmac のように方向を名前で分けるのではなく、 macs[MODE] のように配列にする事で扱い易くする。 Revision 7005 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 18 11:06:06 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268380 byte(s) Diff to previous 7004 , to selected 3105 パスワード無しで bcrypt_KDF 形式で秘密鍵を保存した時に落ちるのを修正。 r7002 でのエンバグ。 get_cipher_by_name() で暗号が見つからなかった場合に SSH_CIPHER_NONE へのポインタではなく、NULL を返すようにした。 Revision 7004 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 18 10:41:13 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268338 byte(s) Diff to previous 7002 , to selected 3105 型名変更。主に見栄えの為。 ・SSHCipher -> SSHCipherId ・ssh2_cipher_t -> SSH2Cipher Revision 7002 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 18 10:41:06 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 268374 byte(s) Diff to previous 7001 , to selected 3105 暗号方式の管理を、暗号方式を表す値(SSHCipher)から ssh2_ciphers 内のエントリへのポインタを使うように変更。 これにより、暗号方式のパラメータ(ブロックサイズ等)が容易に参照できるようになる。 SSHCipher の値が欲しい時は cipher->id を使う。 Revision 7001 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 18 10:41:02 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 269230 byte(s) Diff to previous 6985 , to selected 3105 Newkeys を SSHKeys に名称変更 SSHKeys の方が実態を表しているので。 Revision 6985 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:45 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 269230 byte(s) Diff to previous 6984 , to selected 3105 SSH2 暗号化アルゴリズムとして aes{128,256}-gcm@openssh.com に対応した。
Revision 6984 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:39 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267164 byte(s) Diff to previous 6983 , to selected 3105 ssh の暗号方式関連のコード整理 ・暗号関連のパラメータ取得で、暗号方式が見つからなかった時(通常は無い)に 未初期化の変数の値を返していたのを修正。 ・条件分岐の簡略化 ・不用な条件分岐/代入を削除 Revision 6983 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:35 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267712 byte(s) Diff to previous 6982 , to selected 3105 padding 長の取得関連を修正 SSH2 では PKT_recv()@pkt.c の時点では padding 長のデータが復号されて いない場合があるため、ここでは padding 長を取得せずに、実際に必要に なる prep_packet_ssh2()@ssh.c で取得するように変更。 Revision 6982 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:31 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267883 byte(s) Diff to previous 6981 , to selected 3105 負にならない(なるべきでない)変数、関数を unsigned int に変更 Revision 6981 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:26 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267775 byte(s) Diff to previous 6972 , to selected 3105 SSH1/2 専用のバージョンと判り易いように関数名を変更 Revision 6972 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 7 22:26:20 2017 UTC (6 years, 5 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267775 byte(s) Diff to previous 6969 , to selected 3105 EtM 絡みのコード整理。 ・コメント追加 ・読みやすいようにコードを修正 Revision 6969 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 2 11:37:41 2017 UTC (6 years, 5 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 266854 byte(s) Diff to previous 6968 , to selected 3105 OpenSSH の EtM 方式の MAC に対応。#31495 以下の MAC 方式に対応。 ・hmac-sha2-256-etm@openssh.com ・hmac-sha2-512-etm@openssh.com ・hmac-sha1-etm@openssh.com ・hmac-md5-etm@openssh.com (*1) ・hmac-ripemd160-etm@openssh.com (*1, *2) ・hmac-sha1-96-etm@openssh.com (*1, *3) ・hmac-md5-96-etm@openssh.com (*1, *3) 検討事項: ・*1 の方式は現在のOpenSSHではデフォルトでは使わないようになっているが、 サポートする価値はある? (サーバ: 6.7以降, クライアント:7.2以降) ・*2 の ripemd160 は OpenSSH 7.6 ではサポートがはずされて使えなくなった。 OpenSSH 7.5 以前なら(設定すれば)使えるが、サポートする価値はある? ・*3 の 96bit truncate な MAC は優先度を NONE より下にしてデフォルトでは 使わないようにした。今時 96bit truncate な MAC をサポートする価値ある? ・OpenSSH では EtM な MAC を優先するようになっており、ttssh もそれに 習って順番を決めた。しかしアップグレードインストールでは末尾に追加 される為、優先度が低くなる。ア ップグレー時にも優先度を高くする方法はないか? Revision 6968 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 2 11:37:37 2017 UTC (6 years, 5 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265522 byte(s) Diff to previous 6967 , to selected 3105 共通部分が殆どないので、関数を SSH1 用と SSH2 用に分割。 Revision 6967 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 2 11:37:33 2017 UTC (6 years, 5 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265208 byte(s) Diff to previous 6958 , to selected 3105 コード整理。 ・不用なコードを削除 ・インデント修正 ・改行位置変更 ・空行削除 Revision 6958 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Oct 24 12:05:11 2017 UTC (6 years, 5 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267181 byte(s) Diff to previous 6927 , to selected 3105 SSH 接続で通知する端末速度の値を設定可能にした。 #37598 TELNET TERMINAL SPEED OPTION と共通の設定にする為、設定は [Tera Term] セクションに置く。 設定例: [Tera Term] TerminalSpeed=38400 ; In/Out 共に 38400bps ; TerminalSped=38400,9600 ; In が38400bps, Out が 9600bps 注: In/Out はサーバ側の TTY から見た物。 なので Tera Term からの送信が Input Speed、受信が Output Speed の 影響を受ける。(通常は気にする必要は無いはず) Revision 6927 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 30 01:43:44 2017 UTC (6 years, 7 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267071 byte(s) Diff to previous 6926 , to selected 3105 keepalive@openssh.com の扱いを元に戻した [teraterm:1278] r6811 で keepalive@openssh.com に対して SSH2_MSG_CHANNEL_SUCCESS を 返すように変更したが、古い OpenSSH では SSH2_MSG_CHANNEL_SUCCESS を ハンドルしていない為 keepalive に応答していないとみなされるので、 SSH2_MSG_CHANNEL_FAILURE を返すように戻す。(OpenSSH 3.9 のソースで確認) Revision 6926 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 30 01:43:34 2017 UTC (6 years, 7 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267098 byte(s) Diff to previous 6844 , to selected 3105 SSH_MSG_UNIMPLEMENTED をハンドルしていなかったのを修正 [teraterm:1275] とりあえず stage 6 でのみ。他の stage はどうするか別途検討。 Revision 6844 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 4 15:02:54 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267045 byte(s) Diff to previous 6841 , to selected 3105 SSH channel open 要求の結果を Forwarding Filter に渡すようにした。 SSH2_MSG_CHANNEL_OPEN_FAILURE を受けた時に FWD_failed_open() を呼ぶようにした。 FWD_free_channel() の呼び出しを削除。(FWD_failed_open() の中で呼ばれる) Revision 6841 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 4 15:02:28 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267101 byte(s) Diff to previous 6835 , to selected 3105 TeraTerm Project としてのライセンス表記を追加 ・Tera Term 本体分を横 80 桁に収まるように改行位置を調整 ・ttssh 関連の分を追加 Revision 6835 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 4 15:01:42 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267064 byte(s) Diff to previous 6824 , to selected 3105 バージョン番号を ttxssh-version.h で定義しているマクロから取得するように変更 get_file_version() は少なくとも ttxssh では使わないと思うので廃止。 Revision 6824 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 26 10:38:37 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 267087 byte(s) Diff to previous 6821 , to selected 3105 ログ出力を強化 Revision 6821 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 26 10:38:04 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 262701 byte(s) Diff to previous 6815 , to selected 3105 コメント修正 (H-MAC -> HMAC) Revision 6815 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 21 10:09:29 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 262702 byte(s) Diff to previous 6813 , to selected 3105 ログ出力を追加 (ポート転送要求関連) Revision 6813 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 21 10:08:55 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261890 byte(s) Diff to previous 6812 , to selected 3105 session_settings.LogLevel を外に見せないようにする為、LogLevel() マクロ経由でアクセスするようにした。 本当は pvar を渡す必要も無くしたい…… Revision 6812 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 19 12:51:45 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261947 byte(s) Diff to previous 6811 , to selected 3105 ・buffer_get_string が返した領域の free 漏れを修正 ・buffer_get_string の戻り値のチェックの強化 ・ログ出力強化 Revision 6811 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 19 12:51:25 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259825 byte(s) Diff to previous 6810 , to selected 3105 SSH2_MSG_CHANNEL_REQUEST の取り扱いまわりを修正 ・want_reply が 1 の時にログが文字化けするのを修正 ・exit-status をログに記録 ・keepalive@openssh.com を受けた時に SSH2_MSG_CHANNEL_SUCCESS を返すようにした (意味無いけれど) Revision 6810 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 19 12:51:04 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259565 byte(s) Diff to previous 6809 , to selected 3105 同じ事柄に対するログが2行出ていたのを修正。 古いログ出力を消し忘れてた orz Revision 6809 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 19 12:50:42 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259655 byte(s) Diff to previous 6808 , to selected 3105 ログ関連を見直し。 ・_snprintf_s() + notify_verbose_message() を logprintf() に置き換え。 ・固定メッセージの notify_verbose_message() を logputs() に置き換え。 pvar を渡す必要が無くなったので、pvar が使えない状況でもログ出力が行える。 全体的に LOGLEVEL を見直したい…… Revision 6808 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 19 12:50:21 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265847 byte(s) Diff to previous 6801 , to selected 3105 logprintf, logprintf_hexdump で引数で pvar を渡すのを廃止した。 Revision 6801 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 13 10:30:12 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265913 byte(s) Diff to previous 6800 , to selected 3105 eliminate FAR keyword. Revision 6800 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 12 10:43:31 2017 UTC (6 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 266282 byte(s) Diff to previous 6799 , to selected 3105 ログ出力強化 (SSH2_MSG_CHANNEL_REQUEST 送信関連) Revision 6799 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 12 10:43:28 2017 UTC (6 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265170 byte(s) Diff to previous 6798 , to selected 3105 SSHv1 で端末サイズ変更時にピクセル単位での値も送るようにした。 Revision 6798 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 12 10:43:25 2017 UTC (6 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265043 byte(s) Diff to previous 6779 , to selected 3105 条件分岐が多すぎて見通しが悪いので、共通部分を関数に括りだして分岐を一箇所にまとめた。 コネクションタイプ独自の処理が増えるようならば、関数に括りだすようにする。 Revision 6779 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 6 08:39:15 2017 UTC (6 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265727 byte(s) Diff to previous 6775 , to selected 3105 ログ出力強化 (エージェント転送関連) ・エラーをデバッグログに記録するようにした ・不正な(大きすぎる)エージェント要求を通知するようにした Revision 6775 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 5 12:13:46 2017 UTC (6 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265021 byte(s) Diff to previous 6771 , to selected 3105 パスワード認証時のパスワード変更ダイアログでキャンセルした時に、デバッグログにゴミが出力される問題を修正した。 Revision 6771 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 5 08:48:48 2017 UTC (6 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265025 byte(s) Diff to previous 6723 , to selected 3105 不用な条件判断およびコードを削除 Revision 6723 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 12 12:44:01 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 265275 byte(s) Diff to previous 6722 , to selected 3105 パスワード変更ダイアログの挙動調整 ・フォーカスの初期位置を旧パスワード入力欄にした ・キャンセルした時に認証を試さず切断するようにした ・何も入力せずに Return を押した時の対策の為、空のパスワードを蹴るようにした Revision 6722 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 12 12:43:32 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 264437 byte(s) Diff to previous 6721 , to selected 3105 パスワード不一致メッセージの i18n 対応 Revision 6721 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 12 12:43:04 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 264367 byte(s) Diff to previous 6717 , to selected 3105 エラーメッセージの i18n 対応 (ssh-subsystem) Revision 6717 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 12 12:42:07 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 264168 byte(s) Diff to previous 6715 , to selected 3105 シェルではなくサブシステムを起動する機能の追加 ticket:37165 Revision 6715 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 12 12:41:55 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 263514 byte(s) Diff to previous 6709 , to selected 3105 不使用のコードを削除 Revision 6709 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue May 9 14:25:17 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 263975 byte(s) Diff to previous 6708 , to selected 3105 free漏れを修正 Revision 6708 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue May 9 14:24:23 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 263919 byte(s) Diff to previous 6707 , to selected 3105 エージェントチャネルを切るとサーバからセッション自体を切られるので、エラー時は SSH_AGENT_FAILURE を返すように変更 Revision 6707 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue May 9 14:23:36 2017 UTC (6 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 263783 byte(s) Diff to previous 6679 , to selected 3105 8K 以上のエージェントアクセスで落ちる問題を修正 Revision 6679 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 10 17:52:55 2017 UTC (7 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 263596 byte(s) Diff to previous 6658 , to selected 3105 ダイアログ内のコントロールの位置調整 & i18n Revision 6658 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 23 12:55:03 2017 UTC (7 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261923 byte(s) Diff to previous 6657 , to selected 3105 SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ を処理するようにした。 ticket:37052 テスト用のサーバに新パスワードが渡っている所まで確認。 テスト用のサーバが手抜きなで、新パスワード付きの SSH_MSG_USERAUTH_REQUEST の 後の処理がちゃんと動かないので、ログインまで問題なく動くかは未確認。 Revision 6657 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 23 12:55:00 2017 UTC (7 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 262084 byte(s) Diff to previous 6656 , to selected 3105 SSH2 メッセージ 60 番の処理を変更 SSH2_MSG_USERAUTH_INFO_REQUEST と SSH2_MSG_USERAUTH_PK_OK の処理をする 関数を分離し、60 番のメッセージを処理する関数で振り分けるようにした。 Revision 6656 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 23 12:54:58 2017 UTC (7 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261888 byte(s) Diff to previous 6655 , to selected 3105 メッセージ処理が有効にされていなくても、handler が取得出来た時に handler を実行していた問題を修正 ticket:37052 で Unexpected SSH2 message ダイアログの後で ACCESS_VIOLATION で落ちている原因。 1. SSH2_MSG_USERAUTH_INFO_REQUEST 用に handler が登録される 2. SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ 用に handler が登録しようとするが、 1.とメッセージ番号が重複する為に登録されない。 3. SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ が飛んでくる 4. SSH2_MSG_USERAUTH_INFO_REQUEST は enable にされていないので、 Unexpected SSH2 message ダイアログを表示する。 5. 有効にされていなくても hadler が取得できてしまった為、handler を実行する。 6. handler では SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ を考慮していない為、 SSH2_MSG_USERAUTH_PK_OK として扱おうとして data の範囲を踏み越えて処理 しようとして落ちる。 とりあえず notify_fatal_error した後に return して、handler が実行されないようにした。 handle_SSH2_userauth_inforeq() でも SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ を考慮するようにすべき。 Revision 6655 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 23 12:54:55 2017 UTC (7 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261889 byte(s) Diff to previous 6654 , to selected 3105 LOGLEVEL を整理 ・一つだけ動詞で不自然だったので syslog 風に NOTIFY を NOTICE に変更 ・WARNING 異常 ERROR 未満が URGENT というのがピンとこなかったので URGENT を廃止 Revision 6654 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 23 12:54:48 2017 UTC (7 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261889 byte(s) Diff to previous 6642 , to selected 3105 不使用になった変数の削除漏れ対応 Revision 6642 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 20 12:39:14 2017 UTC (7 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261897 byte(s) Diff to previous 6586 , to selected 3105 PuTTY 0.68対応 agent_query() の返り値が変わり Windows では常に NULL を返すようになったので とりあえず返り値のチェックをやめた。 Revision 6586 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Feb 12 11:30:46 2017 UTC (7 years, 1 month ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261901 byte(s) Diff to previous 6528 , to selected 3105 チケット #36950 SSH SCPでファイルエラー時でもファイルが生成される ファイル受信に失敗した場合、ローカルファイルの残骸を削除するようにした。 Revision 6528 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 2 16:12:28 2016 UTC (7 years, 5 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 261621 byte(s) Diff to previous 6457 , to selected 3105 チケット #34056 SCPダウンロードすると応答なしになる SCPファイルの受信処理において、スレッドのメッセージキューの使用を廃止して、 代わりに独自のリンクドリスト方式に変更した。 Revision 6457 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Aug 1 09:01:33 2016 UTC (7 years, 8 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 260026 byte(s) Diff to previous 6355 , to selected 3105 ・ScpSendDir のデフォルト値を "" (空文字列) に変更 ・ScpsendDir の値が "" の時はサーバ側に渡すパスとして . を使うように変更 Revision 6355 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 31 03:15:43 2016 UTC (8 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 260027 byte(s) Diff to previous 6310 , to selected 3105 Kexアルゴリズムが増えてバッファに収まりきらなくなっていたのを修正 Revision 6310 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Feb 19 09:57:00 2016 UTC (8 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 260027 byte(s) Diff to previous 6263 , to selected 3105 draft-baushke-ssh-dh-group-sha2-04 準拠に更新 Revision 6263 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jan 18 09:24:32 2016 UTC (8 years, 2 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 260155 byte(s) Diff to previous 6157 , to selected 3105 diffie-hellman-group{14,15,16}-sha256 鍵交換方式に対応
https://osdn.jp/ticket/browse.php?group_id=1412&tid=35921
Revision 6157 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 19 08:35:26 2015 UTC (8 years, 4 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259759 byte(s) Diff to previous 6144 , to selected 3105 以下の関数が返すポインタが、初期化されていない文字列になり得るのを修正 get_digest_algorithm_name() get_ssh2_comp_name() get_ssh2_mac_name() get_kex_algorithm_name() get_cipher_string() Revision 6144 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Nov 16 14:59:37 2015 UTC (8 years, 4 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259949 byte(s) Diff to previous 6120 , to selected 3105 About TTSSH を調整 項目の表示順を変更 MAC の表示形式を変更 Revision 6120 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Nov 13 05:06:34 2015 UTC (8 years, 4 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259621 byte(s) Diff to previous 6019 , to selected 3105 SSH key fingerprint の 出力時に、使用しているハッシュアルゴリズム名を表示するようにした Revision 6019 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Sep 13 16:23:19 2015 UTC (8 years, 6 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259348 byte(s) Diff to previous 5962 , to selected 3105 言語ファイルのスペルミスを修正した。 合わせて、ソースコードに埋め込まれている文章も修正した。 Revision 5962 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 28 13:04:35 2015 UTC (8 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259347 byte(s) Diff to previous 5958 , to selected 3105 GEX group size メッセージの修正 Revision 5958 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 25 01:26:34 2015 UTC (8 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 259237 byte(s) Diff to previous 5957 , to selected 3105 GEX group size メッセージの I18N 対応 Revision 5957 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 25 00:31:22 2015 UTC (8 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 258793 byte(s) Diff to previous 5928 , to selected 3105 GEX group size が「最小要求値 < SSH サーバからの受信値 < 要求値」の場合、確認ダイアログを出さないようにした。 Revision 5928 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 4 10:00:19 2015 UTC (8 years, 8 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 258734 byte(s) Diff to previous 5926 , to selected 3105 相手サーバが Cisco だった場合は DH-GEX で要求するグループサイズを 4096 以下に制限する。 [Ttssh2-devel 2644] http://logmett.com/forum/viewtopic.php?f=8&t=2758 https://bugzilla.mindrot.org/show_bug.cgi?id=2209 サーバ判別部分は手抜き。他にもサーバ別の workaround が必要になった時に考える。 Revision 5926 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 4 03:17:44 2015 UTC (8 years, 8 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 258016 byte(s) Diff to previous 5925 , to selected 3105 DH-GEXでサーバから送られてきたグループのサイズを確認するようにした。 こまかい動作は後で調整する。 http://osdn.jp/ticket/browse.php?group_id=1412&tid=35203 Revision 5925 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jul 27 04:32:54 2015 UTC (8 years, 8 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 255324 byte(s) Diff to previous 5900 , to selected 3105 デバッグメッセージを修正 r5831の修正 Revision 5900 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 2 09:07:33 2015 UTC (8 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 255264 byte(s) Diff to previous 5853 , to selected 3105 DH-GEXで要求するgroupサイズの最小値を指定できるようにした。 Revision 5853 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu May 7 16:38:03 2015 UTC (8 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 254937 byte(s) Diff to previous 5850 , to selected 3105 チケット #35047 SSH サーバホスト公開鍵の自動更新 known_hosts ファイルを更新する際の問い合わせダイアログにおいて、 ・デフォルトボタンを"NO"にした。 ・英文メッセージを変更した。 ※I18N対応は未。 Revision 5850 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed May 6 15:57:02 2015 UTC (8 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 254933 byte(s) Diff to previous 5844 , to selected 3105 チケット #35047 SSH サーバホスト公開鍵の自動更新 新規の公開鍵を登録する処理に、SSH2_MSG_GLOBAL_REQUESTに対するハンドラルーチンを追加した。 現状、Host key rotationでしか使わないため、ハンドラ登録機構にリンクドリストは使用せず、単一 登録のみとしている。 Revision 5844 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 1 13:06:54 2015 UTC (8 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 254035 byte(s) Diff to previous 5842 , to selected 3105 teraterm.iniの CipherOrder, KexOrder, MacOrder, CompOrderの 先頭が"0"だった場合に、BOFでプログラムが落ちないようにした。 Revision 5842 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 1 07:39:45 2015 UTC (8 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 253971 byte(s) Diff to previous 5841 , to selected 3105 HostKeyOrder(teraterm.ini)の先頭が"0"だった場合に、BOFで プログラムが落ちないようにした。 Revision 5841 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Apr 30 16:27:29 2015 UTC (8 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 253955 byte(s) Diff to previous 5838 , to selected 3105 チケット #35047 SSH サーバホスト公開鍵の自動更新 許可された(ユーザが設定した)ホスト鍵アルゴリズムのみを受け付けるようにした。 Revision 5838 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 26 14:46:48 2015 UTC (8 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 253918 byte(s) Diff to previous 5832 , to selected 3105 チケット #35047 SSH サーバホスト公開鍵の自動更新 ・SSH2_MSG_GLOBAL_REQUESTの"hostkeys-00@openssh.com"に対して、 OpenSSH 6.8の実装に合わせて、常に success を返すように変更した。 ・ホスト鍵の自動更新処理を実装中。 現時点では、サーバから送られてきた鍵のfingerprintをログ採取するところまで。 ・key_from_blob()の引数チェックを追加した。 ・SSHハンドラの pvar->ssh_state.payloadlen のコメント誤りを修正した。 pvar->ssh_state.payload には type が含まれていないので、payloadlenに type 分の サイズが含まれているのは、オリジナルバグではないかと思う。 Revision 5832 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 27 09:05:42 2015 UTC (9 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 253443 byte(s) Diff to previous 5831 , to selected 3105 want-reply を見て返事を返す Revision 5831 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 27 09:04:12 2015 UTC (9 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 253348 byte(s) Diff to previous 5829 , to selected 3105 デバッグメッセージを追加 Revision 5829 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 26 15:04:45 2015 UTC (9 years ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 253075 byte(s) Diff to previous 5824 , to selected 3105 チケット #35010 Unexpected SSH2 message(80)エラー OpenSSH 6.8で接続エラーが出ないようにした。 "SSH2_MSG_GLOBAL_REQUEST"の正式対応はTBD。 Revision 5824 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 13 08:51:31 2015 UTC (9 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251859 byte(s) Diff to previous 5823 , to selected 3105 typo fix Revision 5823 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 13 08:43:03 2015 UTC (9 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251857 byte(s) Diff to previous 5768 , to selected 3105 typo fix Revision 5768 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 29 08:38:56 2015 UTC (9 years, 2 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251857 byte(s) Diff to previous 5678 , to selected 3105 KDF フォーマットの SSH 秘密鍵をパスフレーズなしで復号できない問題を修正 生成した SSH 秘密鍵をパスフレーズなしの KDF フォーマットで保存するときに暗号化してしまう問題を修正 Revision 5678 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 4 03:39:24 2014 UTC (9 years, 6 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251857 byte(s) Diff to previous 5672 , to selected 3105 SSH2 切断シーケンスの調整
・shell のチャネルが MSG_CHANNEL_CLOSE を受け取ったとき
MSG_DISCONNECT を送り、MSG_CHANNEL_CLOSE を送り、socket を切断する
↓
MSG_CHANNEL_CLOSE を送り、MSG_DISCONNECT を送り、socket を切断する
・認証中にユーザがキャンセルしたとき
MSG_CHANNEL_CLOSE を送り、socket を切断する
↓
MSG_DISCONNECT を送り、socket を切断する
・MSG_DISCONNECT を受け取ったとき
MSG_CHANNEL_CLOSE を送り、socket を切断する
↓
socket を切断する
Revision 5672 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 1 05:52:38 2014 UTC (9 years, 6 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 252269 byte(s) Diff to previous 5643 , to selected 3105 shell の CHANNEL が閉じたとき SSH2_MSG_DISCONNECT を送信するのをやめた #34403 SSH2でログアウト時に SSH2_MSG_DISCONNECT(SSH2_DISCONNECT_PROTOCOL_ERROR) Revision 5643 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 29 14:07:28 2014 UTC (9 years, 8 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251968 byte(s) Diff to previous 5641 , to selected 3105 チケット #34056 SCPダウンロードすると応答なしになる チケット #32992 SSH SCPでファイル転送中、画面を最小化すると転送処理が強制終了される チケット #33954 タスクスケジューラからscprecvが動作しない。 上記問題に対処するため、SCP処理のキャンセル方法を変更した。 Revision 5641 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jul 13 09:07:01 2014 UTC (9 years, 9 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 252051 byte(s) Diff to previous 5640 , to selected 3105 #34039: スペースを含むファイルをSCP受信できない ファイル名に空白を含まれていても受信できるようにした。 Revision 5640 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jul 13 08:47:03 2014 UTC (9 years, 9 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251941 byte(s) Diff to previous 5630 , to selected 3105 #34039: スペースを含むファイルをSCP受信できない SCP受信時、サーバから不定なデータ列が送られてきた場合、エラーメッセージを出すようにした。 Revision 5630 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jul 6 06:00:21 2014 UTC (9 years, 9 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251654 byte(s) Diff to previous 5607 , to selected 3105 SCPファイル受信中に、受信処理をキャンセルすると、Tera Termがストールする問題を修正した。 cf. Termination of SCP file transfer causes application error http://logmett.com/forum/viewtopic.php?f=8&t=2529 Revision 5607 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jun 7 04:56:18 2014 UTC (9 years, 10 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251322 byte(s) Diff to previous 5587 , to selected 3105 SCP 受信時に、ファイルのタイムスタンプを反映するようにした。 Revision 5587 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 19 03:11:52 2014 UTC (9 years, 10 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250814 byte(s) Diff to previous 5545 , to selected 3105 ONLCRのon/offを送るようにした。 Revision 5545 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 17 16:06:58 2014 UTC (10 years ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250595 byte(s) Diff to previous 5473 , to selected 3105 チケット #33263 Curve25519楕円曲線DH(Diffe Hellman)アルゴリズムを使った鍵交換をサポートした。 svn+ssh://svn.sourceforge.jp/svnroot/ttssh2/branches/ssh_ed25519 ブランチからマージ。 現時点でサポートしている機能は下記の通り。 ・Key Generatorで ED25519 鍵の作成 ・Key Generatorで RSA/DSA/ECDSA 秘密鍵ファイルに bcrypt KDF を選択可能。 ・ED25519 による公開鍵認証ログイン ・RSA(bcrypt KDF) による公開鍵認証ログイン ・DSA(bcrypt KDF) による公開鍵認証ログイン ・ECDSA(bcrypt KDF) による公開鍵認証ログイン ・Host Keyに ssh-ed25519 のサポート Revision 5473 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jan 25 13:48:16 2014 UTC (10 years, 2 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250251 byte(s) Diff to previous 5422 , to selected 3105 下記問題を修正した。 チケット #32992 SSH SCPでファイル転送中、画面を最小化すると転送処理が強制終了される Revision 5422 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 21 14:24:32 2013 UTC (10 years, 4 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250105 byte(s) Diff to previous 5264 , to selected 3105 SSH2 でポートフォワードを繰り返すと新たにポートフォワード接続できなくなる問題を修正 SSH_MSG_CHANNEL_CLOSE を受信したときに SSH_MSG_CHANNEL_CLOSE を送り返していなかった http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=32468 Revision 5264 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 13 09:55:14 2013 UTC (10 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 249739 byte(s) Diff to previous 5262 , to selected 3105 r5262の消し漏れ Revision 5262 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 13 07:43:42 2013 UTC (10 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 249744 byte(s) Diff to previous 5193 , to selected 3105 HMAC -> MAC Revision 5193 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Apr 6 12:03:01 2013 UTC (11 years ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 249749 byte(s) Diff to previous 5191 , to selected 3105 SCP:
- 正常なエラー時のみ、チャネルをクローズするようにした。
- よく分からないエラーの場合は、エラーメッセージを読み捨てるだけとする。
また、エラーメッセージの末尾1バイトが途切れていたバグを修正した。
Revision 5191 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 5 13:35:09 2013 UTC (11 years ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 249702 byte(s) Diff to previous 5039 , to selected 3105 ~/.bashrc に、 stty stop undef という定義があると、SCP送信でTera Term(TTSSH)が不正終了する現象への 暫定処置を行った。 cf. http://d.hatena.ne.jp/iww/20130208/scp Revision 5039 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 13 16:18:29 2012 UTC (11 years, 5 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 249183 byte(s) Diff to previous 5037 , to selected 3105 SSH2遅延送信の不具合で、SSHデータが壊れる問題を修正した。 Revision 5037 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 13 15:19:32 2012 UTC (11 years, 5 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 248799 byte(s) Diff to previous 4987 , to selected 3105 Dropbear 相手に SCP 送信がうまくいかないことがある問題を修正 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=29792 ファイルからの読み取りバイト数を決めるのに、リモート側の空きウインドウサイズを考慮するようにした Revision 4987 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 22 11:01:58 2012 UTC (11 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 248532 byte(s) Diff to previous 4926 , to selected 3105 SSH RtoL forwarding をキャンセルする関数を追加 この関数を呼び出す部分は未実装 Revision 4926 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu May 3 13:09:23 2012 UTC (11 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 247665 byte(s) Diff to previous 4888 , to selected 3105 SFTPの実装を"sftp.c"に切り出せるようにするため、"ssh.c"のコードを移動させた。 Revision 4888 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 9 16:54:49 2012 UTC (12 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 249215 byte(s) Diff to previous 4867 , to selected 3105 ~/hoge/ のようなパスを HOME と認識しないようにした Revision 4867 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Mar 23 14:27:48 2012 UTC (12 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 249214 byte(s) Diff to previous 4682 , to selected 3105 SSH2_MSG_DEBUG を処理するステージを追加した http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=27925 Revision 4682 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Oct 21 15:58:49 2011 UTC (12 years, 5 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 248805 byte(s) Diff to previous 4656 , to selected 3105 クライアントとサーバのバージョンが一致しない場合に接続しないようにした クライアントが SSH1 でサーバが 1.99 の場合に SSH2 で接続される問題を修正 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=26566 Revision 4656 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Sep 26 12:03:03 2011 UTC (12 years, 6 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 247993 byte(s) Diff to previous 4601 , to selected 3105 SSH2 の identification string は CR LF で終わることになっているので修正 RFC 4253 4.2. Revision 4601 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Aug 28 14:23:32 2011 UTC (12 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 247924 byte(s) Diff to previous 4546 , to selected 3105 Camellia を正式サポート "@openssh.org" 付きのほうはコメントアウトしたまま Revision 4546 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 28 08:58:28 2011 UTC (12 years, 8 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 248074 byte(s) Diff to previous 4530 , to selected 3105 ログ保存箇所を追加 ログのタイムスタンプにミリ秒を追加 Revision 4530 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 26 08:18:19 2011 UTC (12 years, 8 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 244562 byte(s) Diff to previous 4504 , to selected 3105 正しいウィンドウサイズ(ピクセル数)を通知するようにした。 GetWindowRect() ではなく GetClientRect() を使った方がいいような気がするが、取りあえず <CSI>14t の動作に合わせた。 Revision 4504 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 16 08:32:16 2011 UTC (12 years, 9 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 244157 byte(s) Diff to previous 4500 , to selected 3105 圧縮/非圧縮の違いがない分岐を削除 Revision 4500 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 15 12:23:52 2011 UTC (12 years, 9 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 244376 byte(s) Diff to previous 4495 , to selected 3105 SCPファイル受信処理において、スレッドへのポストを無限リトライするようにし、メッセージが空振り しないようにした。受信処理が途中で停止してしまう問題への対処。 Revision 4495 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 12 16:19:27 2011 UTC (12 years, 10 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 244150 byte(s) Diff to previous 4494 , to selected 3105 パケット圧縮を有効にした状態で、SCPファイル送信を行うと、不正なポインタアクセスにより、 Tera Term(TTSSH)がApplication faultで落ちる問題を修正した。 buffer_t バッファが内部で realloc() により、バッファ拡張された場合、バッファポインタが 変わることがあるため、再度バッファポインタの取り直しが必要であった。 他にも類似の問題が潜んでいるかもしれないが、水平展開は未。 Revision 4494 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 12 11:34:56 2011 UTC (12 years, 10 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 244045 byte(s) Diff to previous 4493 , to selected 3105 SCPファイル送信の性能改善のため、ファイルバッファを 8KB -> 32KB へ拡張した。 ただし、パケット圧縮なしの場合のみ。 Revision 4493 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 10 15:10:49 2011 UTC (12 years, 10 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 244043 byte(s) Diff to previous 4492 , to selected 3105 圧縮付きでSCP送信を行うと、BOFで落ちるため、workaroundとして、 圧縮の場合はバッファサイズを小さくする。 FIXME: 根本処置ではないので、環境によっては、やはり落ちるかもしれない。 Revision 4492 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jun 9 15:25:43 2011 UTC (12 years, 10 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 243744 byte(s) Diff to previous 4490 , to selected 3105 パケット圧縮を有効にした状態で、BOFが発生していた問題を修正した。 FIXME: ただし、SCPによるファイル送信途中に、例外で落ちるので、まだ不完全。 Revision 4490 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 8 12:04:57 2011 UTC (12 years, 10 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 243602 byte(s) Diff to previous 4479 , to selected 3105 SCPファイル送信のキャンセル処理において、スレッドセーフではない ssh2_channel_send_close() を 呼ばないようにした。 Revision 4479 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 1 14:53:36 2011 UTC (12 years, 10 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 243069 byte(s) Diff to previous 4477 , to selected 3105 scprecvを連続多重実行すると、正しくchannel closeが送れない問題に対する暫定処置。 scpsendにも同様の問題が潜在している。 cf. Subject: [Ttssh2-devel 1925] SCP 受信 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=25169 Revision 4477 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 30 13:42:59 2011 UTC (12 years, 10 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 242540 byte(s) Diff to previous 4476 , to selected 3105 コメント追加 Revision 4476 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 30 13:04:11 2011 UTC (12 years, 10 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 242500 byte(s) Diff to previous 4475 , to selected 3105 SSH2の場合にはポート転送以外のチャネルでFWD_free_channelを呼んではいけないのに呼んでいたのを修正 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=25169 ただし、別の問題が残っている模様 Revision 4475 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 27 14:44:18 2011 UTC (12 years, 10 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 242250 byte(s) Diff to previous 4453 , to selected 3105 SSH2_MSG_CHANNEL_EXTENDED_DATA を受信したときに SCP, AGENT を処理していなかったので、SSH2_MSG_CHANNEL_DATA と同じように処理するようにした Revision 4453 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 19 07:13:07 2011 UTC (12 years, 11 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 241947 byte(s) Diff to previous 4433 , to selected 3105 速度計算を間違えていたので修正。 Revision 4433 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 11 00:29:12 2011 UTC (13 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 241948 byte(s) Diff to previous 4423 , to selected 3105 Camellia サポート Revision 4423 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 8 07:34:37 2011 UTC (13 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 240211 byte(s) Diff to previous 4407 , to selected 3105 hmac-ripemd160@openssh.com をサポート。hmac-ripemd160 は IANA に登録されていないのでサポートしない。 Revision 4407 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 30 12:24:00 2011 UTC (13 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 240211 byte(s) Diff to previous 4381 , to selected 3105 SSH1 で認証情報を送る際 \0 を詰めて文字数を 32 の倍数に切り上げていたが、 サーバが OpenSSH 5.8 以降だと接続できないので切り上げないようにした。 http://www.openssh.com/cgi-bin/cvsweb/src/usr.bin/ssh/bufaux.c#rev1.50 Revision 4381 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 10 10:04:51 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 240810 byte(s) Diff to previous 4379 , to selected 3105 SCP 転送で、経過時間と転送速度を表示するようにした。 Revision 4379 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 9 08:56:17 2011 UTC (13 years, 1 month ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 238901 byte(s) Diff to previous 4378 , to selected 3105 SCP の進捗ダイアログで、プログレスバーを表示するようにした。 Revision 4378 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 8 14:19:03 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 238095 byte(s) Diff to previous 4373 , to selected 3105 SSH2 の 圧縮で none を利用できるように修正した。
ソース整理
鍵形式・KEXプロトコル・MAC・圧縮の名前や関数を取得する関数を作成。
これにより定義で順序を入れ替えてもよくなった。
enum に型名を付けた。
共通の関数を使えるところで使うようにした。
Revision 4373 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 8 00:22:12 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 236470 byte(s) Diff to previous 4367 , to selected 3105 圧縮レベル 0 のときには KEX proposal で none だけを渡すようにした クライアントの proposal が優先されるので問題ないはずだが、define が変わってしまったときの念のため Revision 4367 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Mar 5 14:52:45 2011 UTC (13 years, 1 month ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 236461 byte(s) Diff to previous 4327 , to selected 3105 TTSSHの各種暗号設定に関して、teraterm.iniのエントリでカスタマイズできるようにした。 正式なUIに関しては、これから検討する。 KexOrder=56743210 HostKeyOrder=456230 MacOrder=120 CompOrder=012 Revision 4327 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Feb 20 03:29:43 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 233809 byte(s) Diff to previous 4322 , to selected 3105 鍵形式・KEXアルゴリズム・ハッシュアルゴリズムのnid・暗号化方式のnidを変換する部分を関数にした Revision 4322 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Feb 19 07:49:51 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 234084 byte(s) Diff to previous 4321 , to selected 3105 NULL チェックを追加 Revision 4321 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Feb 19 07:41:41 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 233960 byte(s) Diff to previous 4319 , to selected 3105 SSH2 の ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521 ホスト鍵方式をサポートした Revision 4319 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 17 14:38:29 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 233952 byte(s) Diff to previous 4318 , to selected 3105 typo fix. Revision 4318 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 17 14:37:01 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 233942 byte(s) Diff to previous 4317 , to selected 3105 break を忘れたので修正 Revision 4317 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 17 14:23:16 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 233931 byte(s) Diff to previous 4315 , to selected 3105 OpenSSH の key_curve_nid_to_bits() によると楕円曲線暗号のビット数は計算せずに決めうちでよいらしい Revision 4315 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 16 15:57:24 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 234238 byte(s) Diff to previous 4314 , to selected 3105 typo fix. Revision 4314 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 16 15:55:41 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 234238 byte(s) Diff to previous 4307 , to selected 3105 SSH2 diffie-hellman-group-exchange-sha256, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521 鍵交換プロトコルを追加した Revision 4307 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 15 09:00:01 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 223761 byte(s) Diff to previous 4306 , to selected 3105 鍵の種類を増やせるように整理した enum hostkey_type を ssh_keytype にリネームした 機能が重複している構造体・コードを削除した CRYPTKeyPair を削除、Key を使うようにした key_from_blob を使うようにした Revision 4306 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 15 00:21:10 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 227475 byte(s) Diff to previous 4305 , to selected 3105 エラー時のメッセージの関数名を修正 デバッグ用のメモリダンプ箇所を追加 Revision 4305 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 14 14:30:19 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 226861 byte(s) Diff to previous 4304 , to selected 3105 KEX用ハッシュ関数のパラメータを変更 Revision 4304 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 14 09:09:07 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 226929 byte(s) Diff to previous 4303 , to selected 3105 ssh.c から key.c, kex.c を分割 Revision 4303 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 14 03:25:46 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 256159 byte(s) Diff to previous 4302 , to selected 3105 KEX_DH_GEX のときに pvar->kexdh の初期化が漏れているようなので修正 Revision 4302 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 14 03:19:21 2011 UTC (13 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 256101 byte(s) Diff to previous 4301 , to selected 3105 変数に変更し忘れていた箇所を修正 Revision 4301 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Feb 12 06:52:18 2011 UTC (13 years, 2 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 256096 byte(s) Diff to previous 4299 , to selected 3105 構造体などを整理。外から見た動きは変更していない(はず) Revision 4299 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 9 16:00:36 2011 UTC (13 years, 2 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 257421 byte(s) Diff to previous 4233 , to selected 3105 diffie-hellman-group-exchange-sha256 をサポート Revision 4233 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Dec 19 12:21:29 2010 UTC (13 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 256771 byte(s) Diff to previous 4229 , to selected 3105 typo fix. Revision 4229 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Dec 18 13:04:43 2010 UTC (13 years, 3 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 256771 byte(s) Diff to previous 4216 , to selected 3105 SSH エージェント転送の要求がクライアントから来たとき、Pageant に取り次ぐかどうかユーザに確認するようにした。 クライアントから CHANNEL_OPEN が来た時点で MessageBox をはさんでいる Revision 4216 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 13 16:10:51 2010 UTC (13 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 256701 byte(s) Diff to previous 4152 , to selected 3105 SCP 送信で 2GB を超えるファイルを正しく扱えないのを修正。 Revision 4152 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 10 16:15:13 2010 UTC (13 years, 5 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 256715 byte(s) Diff to previous 4106 , to selected 3105 ・keyboard-interactive 認証において、パスワード変更が行えるようにした。 ・SSH2_MSG_USERAUTH_PASSWD_CHANGEREQ の実装。ただし、未評価のため、フタをしてある。 Revision 4106 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Sep 27 10:26:38 2010 UTC (13 years, 6 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 252945 byte(s) Diff to previous 4081 , to selected 3105 SSH2: Control menuのSend breakで、SSHとしての「ブレーク信号」を送信するようにした。 Revision 4081 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Sep 1 16:22:33 2010 UTC (13 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251903 byte(s) Diff to previous 4080 , to selected 3105 SSH2 認証で、サーバが認証方式を返さなかったときにアプリケーションが落ちる問題を修正した。 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=22981 Revision 4080 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Sep 1 16:20:47 2010 UTC (13 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251920 byte(s) Diff to previous 3927 , to selected 3105 SSH2 認証で、サーバが認証方式を返さなかったときにアプリケーションが落ちる問題を修正した。 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=22981 Revision 3927 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 11 09:13:05 2010 UTC (13 years, 10 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251635 byte(s) Diff to previous 3850 , to selected 3105 aes128-cbc が使えない問題を修正 Revision 3850 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 12 08:29:53 2010 UTC (14 years ago) by doda Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251634 byte(s) Diff to previous 3808 , to selected 3105 3DES-CTR, BLOWFISH-CTR, CAST128-CTR 共通鍵暗号方式をサポート。 Revision 3808 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 10 15:27:58 2010 UTC (14 years, 1 month ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251320 byte(s) Diff to previous 3376 , to selected 3105 SSH port forward で listen_address を指定できるようにした。 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=19946 LocalForwardingIdentityCheck を廃止した。 from_port が同じで listen_address が 0.0.0.0 と 127.0.0.1 のようにかぶった場合は、どちらかが INVALID_SOCKET となり LOG_LEVEL_WARNING のエラーになる。 SSH1 の remote to local で bind-address が指定できないのはプロトコルの仕様らしい。 Revision 3376 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 4 14:25:28 2009 UTC (14 years, 11 months ago) by r850 Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251291 byte(s) Diff to previous 3375 , to selected 3105 「#16384: SCP での上書き確認」のうち、受信部分は対応。 Revision 3375 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 4 10:35:13 2009 UTC (14 years, 11 months ago) by r850 Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250939 byte(s) Diff to previous 3351 , to selected 3105 リファクタリング ・リモートへのSCPを表す定数名がTOLOCALだったのでTOREMOTEに変更。 ・同様にSSH2_scp_tolocalをSSH2_scp_toremoteに変更。 Revision 3351 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Apr 27 14:10:05 2009 UTC (14 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250933 byte(s) Diff to previous 3350 , to selected 3105 キャンセルボタンが押下された場合、ウィンドウを破棄し、SCP処理が中断されるようにした。 親ウィンドウを最小化した場合でも、SCP処理が続行されるようにした。 Revision 3350 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 26 16:13:29 2009 UTC (14 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250913 byte(s) Diff to previous 3342 , to selected 3105 SCP転送ウィンドウのキャンセル処理をひとまとめにした。 ただし、親ウィンドウを最小化すると、転送処理が中断されてしまう。 Revision 3342 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 22 15:11:57 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250661 byte(s) Diff to previous 3336 , to selected 3105 認証処理を見直し コメントを追加 Revision 3336 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 22 08:17:50 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 250955 byte(s) Diff to previous 3334 , to selected 3105 SSH自動ログイン時に、強制的にコマンドラインのユーザ名を使用するのを止め、認証ダイアログのユーザ名を使用するようにした。 これにより、コマンドラインにユーザ名がなくても、デフォルトのユーザ名があれば利用される。 http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=16248 Revision 3334 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 21 15:12:04 2009 UTC (14 years, 11 months ago) by yutakapon Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251171 byte(s) Diff to previous 3325 , to selected 3105 SCPウィンドウが最小化されても、SCP転送を中断しないようにした。 Revision 3325 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Apr 18 05:27:30 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251185 byte(s) Diff to previous 3319 , to selected 3105 リファクタリング enum の名前を変更 Revision 3319 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Apr 15 14:28:55 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251195 byte(s) Diff to previous 3295 , to selected 3105 暗号化アルゴリズムを正しく決定できないことがある問題を修正した。 暗号化アルゴリズムに限らず、KEX の proposal をつきあわせる処理に問題があった。 Revision 3295 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Apr 7 22:23:20 2009 UTC (15 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251208 byte(s) Diff to previous 3227 , to selected 3105 デバッグ出力が残っていたので削除 Revision 3227 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 24 15:10:33 2009 UTC (15 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 251286 byte(s) Diff to previous 3221 , to selected 3105 CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換 Revision 3221 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 24 09:37:20 2009 UTC (15 years ago) by maya Original Path: trunk/ttssh2/ttxssh/ssh.c File length: 242248 byte(s) Diff to previous 3215 , to selected 3105 CVS から SVN へ移行: trunk に集約 Revision 3215 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 4 11:40:44 2009 UTC (15 years, 1 month ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 242248 byte(s) Diff to previous 3209 , to selected 3105 最大パケットサイズをマクロ定義した。 Revision 3209 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 4 14:03:52 2009 UTC (15 years, 2 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 242248 byte(s) Diff to previous 3208 , to selected 3105 サーバへの初回接続時の"Security Warning"ダイアログにおいて、サーバから切断されるまで放置したあと、 当該ダイアログのボタン押下による終了後、TTSSH で Application fault となる現象への対処(一部)を 追加した。 Revision 3208 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 4 11:45:51 2009 UTC (15 years, 2 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 242214 byte(s) Diff to previous 3193 , to selected 3105 サーバへの初回接続時の"Security Warning"ダイアログにおいて、サーバから切断されるまで放置したあと、 当該ダイアログのボタン押下による終了後、TTSSH で Application fault となる現象への対処(一部)を 追加した。 まだ、落ちます。 Revision 3193 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 19 08:39:04 2008 UTC (15 years, 3 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 241982 byte(s) Diff to previous 3192 , to selected 3105 SSH2_MSG_CHANNEL_FAILURE を受信したときの処理を調整した。 Revision 3192 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 19 08:02:52 2008 UTC (15 years, 3 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 241711 byte(s) Diff to previous 3191 , to selected 3105 最初のチャネル以外で pty-req を投げてしまう問題を修正。 Revision 3191 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Dec 18 05:21:55 2008 UTC (15 years, 3 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 241604 byte(s) Diff to previous 3185 , to selected 3105 SSH2_MSG_CHANNEL_FAILURE を受信したときにハンドラを dequeue しないようにし、SSH 接続自体が切れないようにした。 http://sourceforge.jp/tracker/index.php?func=detail&aid=14312&group_id=1412&atid=5333 Revision 3185 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 5 14:40:10 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 241605 byte(s) Diff to previous 3184 , to selected 3105 SSH1 のエージェント転送で固定値の local_id を使うのをやめ、FWDChannel を拡張して使うようにした。 Revision 3184 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Dec 4 13:49:23 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 241701 byte(s) Diff to previous 3182 , to selected 3105 エージェント転送のデータを素通しするようにした。 Revision 3182 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 3 06:34:01 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 244347 byte(s) Diff to previous 3181 , to selected 3105 no message Revision 3181 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 3 06:18:14 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 244317 byte(s) Diff to previous 3180 , to selected 3105 分割して受け取った CHANNEL_DATA を保存するバッファを解放していなかったのを修正。 Revision 3180 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 3 05:37:21 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 244091 byte(s) Diff to previous 3176 , to selected 3105 no message Revision 3176 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Nov 30 16:14:41 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 243696 byte(s) Diff to previous 3175 , to selected 3105 SSH agent forwarding をサポートした。 SSH1 の channel 内部処理が port forward しか想定していなかったため、 local_channel_num に固定値を強引に割り当てている。 Revision 3175 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Nov 24 18:47:25 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 232267 byte(s) Diff to previous 3174 , to selected 3105 no message Revision 3174 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Nov 23 14:57:32 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 232377 byte(s) Diff to previous 3173 , to selected 3105 全部有効にするとあふれるので拡張 Revision 3173 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Nov 23 12:34:33 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 232377 byte(s) Diff to previous 3170 , to selected 3105 KEX_DEFAULT_ENCRYPT を空にした。 normalize_cipher_order() で、設定値とデフォルト値(default_ciphers)をマージしているため、なくてもいいと判断。 Revision 3170 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 22 10:05:33 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 232407 byte(s) Diff to previous 3169 , to selected 3105 SSH2 の共通鍵暗号方式として CAST128-CBC をサポート Revision 3169 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 22 06:46:43 2008 UTC (15 years, 4 months ago) by doda Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 232163 byte(s) Diff to previous 3168 , to selected 3105 SSH2 の共通鍵暗号方式として Arcfour128, Arcfour256 をサポート Revision 3168 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Nov 21 18:54:22 2008 UTC (15 years, 4 months ago) by doda Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 231456 byte(s) Diff to previous 3167 , to selected 3105 SSH2 の共通鍵暗号として Arcfour をサポート (yasuhide) [Ttssh2-devel 1250] Revision 3167 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 20 07:49:52 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 231232 byte(s) Diff to previous 3165 , to selected 3105 ログの採取箇所を増やした Revision 3165 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 19 15:44:06 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 227800 byte(s) Diff to previous 3164 , to selected 3105 1.150の修正は意味がなかったので戻す Revision 3164 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 19 15:40:13 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 227904 byte(s) Diff to previous 3162 , to selected 3105 ログで時刻とプロセスIDを、メモリダンプで時刻を記録するようにした ログの採取箇所を増やした Revision 3162 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 19 13:39:09 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 226533 byte(s) Diff to previous 3159 , to selected 3105 同じ名前のラベルが定義されていたので修正 Revision 3159 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 18 06:24:09 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 226429 byte(s) Diff to previous 3157 , to selected 3105 SSH2 の AES CTR をサポート(yasuhide) http://jvn.jp/niscc/CPNI-957037/ Revision 3157 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Nov 17 08:45:12 2008 UTC (15 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 225671 byte(s) Diff to previous 3156 , to selected 3105 SSH2 で現在サポートされている AES/Blowfish が CBC であることを明示 Revision 3156 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 6 11:10:33 2008 UTC (15 years, 5 months ago) by doda Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 225619 byte(s) Diff to previous 3152 , to selected 3105 SCPファイル送信で、ファイル名にスペースや一部の記号が含まれていると送信できない/誤ったファイル名で送信される問題を修正した。 http://sourceforge.jp/tracker/index.php?func=detail&aid=13928&group_id=1412&atid=5333 Revision 3152 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 4 12:37:29 2008 UTC (15 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 225632 byte(s) Diff to previous 3151 , to selected 3105 CheckAuthListFirst が有効な場合には、"none"認証の返事が返ってくるまで OKボタンを押しても何も起こらないようにした。 Revision 3151 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 4 09:24:21 2008 UTC (15 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 225364 byte(s) Diff to previous 3150 , to selected 3105 リファクタリング Revision 3150 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Sep 24 13:59:21 2008 UTC (15 years, 6 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 225066 byte(s) Diff to previous 3147 , to selected 3105 SSH1接続時に NULL pointer アクセスで落ちるバグを修正した。 4.60でのデグレード。 Revision 3147 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Sep 12 03:01:07 2008 UTC (15 years, 7 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 224978 byte(s) Diff to previous 3146 , to selected 3105 接続しに行かない問題を修正 Revision 3146 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Sep 11 06:57:52 2008 UTC (15 years, 7 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 224906 byte(s) Diff to previous 3145 , to selected 3105 SSH2 RSA 接続で、サーバの鍵長が 768 bit 以下のときにも接続する設定項目を追加した。 teraterm.ini への直接指定のみ有効となる。 推奨されない設定なので、ドキュメントには書かない。 Revision 3145 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Sep 11 06:19:49 2008 UTC (15 years, 7 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 224790 byte(s) Diff to previous 3142 , to selected 3105 SSH2 RSA 接続で、サーバの鍵が短すぎるときのエラーメッセージを変更した。 Revision 3142 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Aug 15 12:28:47 2008 UTC (15 years, 7 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 224297 byte(s) Diff to previous 3137 , to selected 3105 teraterm.iniの[TTSSH]セクションにおいて、LogLevel=200 を追加した。 SSH送受信RAWパケットをメモリ上へ採取し、コネクションクローズ時にファイルへ出力する。 Revision 3137 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jul 25 15:48:44 2008 UTC (15 years, 8 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 223537 byte(s) Diff to previous 3134 , to selected 3105 *** empty log message *** Revision 3134 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 20 11:58:47 2008 UTC (15 years, 9 months ago) by doda Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 221033 byte(s) Diff to previous 3126 , to selected 3105 ・TeraTerm -> Tera Term ・その他細かい修正 Revision 3126 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 19 08:37:18 2008 UTC (15 years, 10 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 221027 byte(s) Diff to previous 3124 , to selected 3105 known_hosts のポート番号サポートの下準備 Revision 3124 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 20 14:31:38 2008 UTC (16 years ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 220880 byte(s) Diff to previous 3119 , to selected 3105 SCP送信後にファイルがロックされることがある問題への対処。 Revision 3119 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Mar 2 10:59:24 2008 UTC (16 years, 1 month ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 220879 byte(s) Diff to previous 3109 , to selected 3105 メモリリークを修正。 Revision 3109 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Feb 13 16:36:41 2008 UTC (16 years, 2 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 220385 byte(s) Diff to previous 3108 , to selected 3105 Pageant SSH1 にも対応した。 Revision 3108 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Feb 12 23:11:49 2008 UTC (16 years, 2 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 218474 byte(s) Diff to previous 3105 Pageant 対応処理を追加した。 SSH2 はひととおり対応済み。 SSH1 は実装途中。 Revision 3105 - (view) (download) (as text) (annotate) - [selected] Modified Wed Feb 6 05:21:36 2008 UTC (16 years, 2 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 212114 byte(s) Diff to previous 3104 SCP ファイル受信先を teraterm インストールディレクトリから ts.FileDir に変更した。 Revision 3104 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 4 04:26:54 2008 UTC (16 years, 2 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 212082 byte(s) Diff to previous 3103 , to selected 3105 isSSH を ts から cv に移動した。 Revision 3103 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Feb 4 01:21:44 2008 UTC (16 years, 2 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 212082 byte(s) Diff to previous 3102 , to selected 3105 SCP できるのは SSH2 のみなので、isSSH にはバージョンを格納する。 Revision 3102 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Feb 1 11:09:08 2008 UTC (16 years, 2 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 211956 byte(s) Diff to previous 3096 , to selected 3105 SSH SCPダイアログからファイル受信できるようにした。 ただし、ファイル名は手打ち。将来的にSFTPをサポートできたら、 このダイアログは廃止する予定です。 Revision 3096 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jan 19 15:02:03 2008 UTC (16 years, 2 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 211629 byte(s) Diff to previous 3093 , to selected 3105 SFTPサポートのためのフレームワークを追加。動作上は影響ありません。 Revision 3093 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 10 16:34:08 2008 UTC (16 years, 3 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 210080 byte(s) Diff to previous 3092 , to selected 3105 EVP_CIPHER * を取得するのに、関数ポインタを使用するのをやめた。 Revision 3092 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jan 5 11:39:33 2008 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 210095 byte(s) Diff to previous 3091 , to selected 3105 _getcwd()使用後にメモリリークをしていたバグを修正。 includeヘッダも追加。 Revision 3091 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jan 4 08:01:29 2008 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 210049 byte(s) Diff to previous 3090 , to selected 3105 "scprecv"コマンド実装のため修正。 Revision 3090 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jan 4 06:27:51 2008 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 209215 byte(s) Diff to previous 3089 , to selected 3105 SCP構造体のメンバ名を分かりやすくリネーム。 Revision 3089 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 3 16:15:40 2008 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 208895 byte(s) Diff to previous 3084 , to selected 3105 SCPファイル送信の転送先パス指定対応。 Revision 3084 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Dec 29 10:21:19 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 208541 byte(s) Diff to previous 3083 , to selected 3105 SCPファイル受信処理の一部をスレッド化した。受信処理中でも、シェル操作が行える レスポンスとなる。 なお、SCPダイアログのUIは今後大幅変更する予定なので、I18N化はまだやりません。 Revision 3083 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 28 12:24:29 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 207600 byte(s) Diff to previous 3082 , to selected 3105 SSH_scp_transaction()にファイル受信処理を追加。 ただし、受信中はユーザの操作を受け付けなくなるという問題があり、今後の課題。 実質的にはUIを用意していないので、ユーザがSCPによるファイル受信を行うことは いまのところできなくしてあります。 Revision 3082 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Dec 27 15:11:09 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 205102 byte(s) Diff to previous 3081 , to selected 3105 SCPファイル送信ウィンドウのキャンセルボタンのスペルミス修正。 2GB以上のファイルを送信しようとしたあとに、SSH2_MSG_CHANNEL_EOFの受信処理で port-forwarding用関数をコールしないようにした。 ファイル受信処理は実装途中(影響なし)。 Revision 3081 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Dec 27 13:18:47 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 204306 byte(s) Diff to previous 3080 , to selected 3105 SCPのファイル送信中に、TeraTermウィンドウを閉じようとすると、デッドロックとなる問題を修正。 ファイル受信処理(作成途中)のコードも入っていますが、現在動作しません。 Revision 3080 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 26 14:26:43 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 203429 byte(s) Diff to previous 3079 , to selected 3105 SCPエラー処理を修正。 Revision 3079 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 26 12:49:27 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 203360 byte(s) Diff to previous 3078 , to selected 3105 SCPエラー処理を修正。 Revision 3078 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 26 12:17:29 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 203350 byte(s) Diff to previous 3077 , to selected 3105 SSHハートビートスレッドのパケット送信をモードレスダイアログ内で行うことで、 コンテキストの乱れを発生させないようにする。 Revision 3077 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 26 11:33:50 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 202637 byte(s) Diff to previous 3075 , to selected 3105 SCPスレッドの復活。実際のパケット送信は、モードレスダイアログ内で行うことで、 コンテキストの乱れを発生させないようにする。 Revision 3075 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 25 14:49:01 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 202225 byte(s) Diff to previous 3074 , to selected 3105 SCPスレッドからモードレスダイアログへ変更。 ハートビートスレッドはとりあえず起動を停止。あとで修正します。 telnetスレッドは後日対応。 Revision 3074 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 24 14:42:50 2007 UTC (16 years, 3 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 200258 byte(s) Diff to previous 3073 , to selected 3105 SCPによるファイル送信機能を追加した(未完)。 以下、制限事項。 ・SSH2のみ ・GetOpenFileName()に渡すOPENFILENAME_SIZE_VERSION_400とOFN_FORCESHOWHIDDENが未定義であると怒られる。 ・send_packet_blocking()のioctlsocket()が"10022"のエラーとなることがある。 以下、AIリスト。 ・zmodemsendのような"scpsend"マクロコマンドを作りたいが、DDE通信でTTSSHのコードを呼び出すことは可能かどうか。 ・ファイル受信 ・SFTPへの対応 ・SSH1への対応 Revision 3073 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 11 19:33:02 2007 UTC (16 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 193869 byte(s) Diff to previous 3060 , to selected 3105 デフォルトユーザ名を指定しておらず、認証方式を challenge にしており、/ask4passwd を指定している場合、SSH2_MSG_SERVICE_REQUESTを2回送信してしまう問題を修正した。 認証方式を challenge にしており、CheckAuthListFirst が off で、/ask4passwd を指定している場合、TIS 認証ダイアログが自動的に出現しない問題を修正した。 CheckAuthListFirst が on で、ユーザ名を送信できる状態になる前にユーザ名を入力してフォーカスを外した場合、OKボタンを押したあとに認証が行われない問題を修正した。 Revision 3060 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 31 15:27:56 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 193514 byte(s) Diff to previous 3059 , to selected 3105 SSH2 のデータ送信部を関数として独立させた。 読み込みバッファイサイズを 8KB に拡張した。 Revision 3059 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 31 02:49:57 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 194176 byte(s) Diff to previous 3058 , to selected 3105 マージに失敗していたので修正した Revision 3058 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Oct 30 15:01:43 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 194131 byte(s) Diff to previous 3057 , to selected 3105 ウインドウサイズ計算のバグを修正した 送れなかったバッファの処理を改善した Revision 3057 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 28 15:55:48 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 192696 byte(s) Diff to previous 3056 , to selected 3105 local_window の計算を調整した。 Revision 3056 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 28 15:36:45 2007 UTC (16 years, 5 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 192847 byte(s) Diff to previous 3055 , to selected 3105 ポート転送において、remote_window未転送分の再送処理を追加。ただし、未完。 Revision 3055 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 28 15:10:09 2007 UTC (16 years, 5 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 192876 byte(s) Diff to previous 3054 , to selected 3105 でかいパケットを送ろうとすると、サーバ側で"Bad packet length"になってしまう問題への対処。 remote_window未転送分の再送処理はTBD。 Revision 3054 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 28 05:11:47 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190682 byte(s) Diff to previous 3053 , to selected 3105 ウインドウバッファの計算処理を修正した。 Revision 3053 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Oct 26 06:13:07 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190849 byte(s) Diff to previous 3052 , to selected 3105 サーバ側のチャネルウインドウサイズの計算が間違っていたのを修正 Revision 3052 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Oct 26 01:41:30 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190834 byte(s) Diff to previous 3051 , to selected 3105 SSH2_MSG_SERVICE_REQUEST が2回送信される問題を修正した。 Revision 3051 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 25 00:53:08 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190652 byte(s) Diff to previous 3050 , to selected 3105 パケット送信時に、サーバ側のチャネルウインドウサイズ(TTSSH 側の計算値)が 0 を下回らないように修正した。 Revision 3050 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 24 15:18:33 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190482 byte(s) Diff to previous 3045 , to selected 3105 通信中の SSH2_MSG_DISCONNECT の受信を想定外としないようにした。 Revision 3045 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 18 03:49:39 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190331 byte(s) Diff to previous 3042 , to selected 3105 SSH2 の暗号化方式として Blowfish をサポートしたい。 Revision 3042 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 17 08:59:29 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190400 byte(s) Diff to previous 3041 , to selected 3105 kex が二重 free になるので、NULL にしておく。 Revision 3041 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 17 05:20:49 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190376 byte(s) Diff to previous 3039 , to selected 3105 TTSSH がサポートしていない暗号化方式しかサーバが提案してこなかったときに落ちる問題を修正した。 Revision 3039 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 17 04:03:41 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190230 byte(s) Diff to previous 3036 , to selected 3105 SSH2 の暗号方式として AES192 をサポートした。 Revision 3036 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Oct 16 15:28:14 2007 UTC (16 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190028 byte(s) Diff to previous 3030 , to selected 3105 SSH2 の暗号方式として AES256 をサポートした。 Revision 3030 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Oct 5 08:14:09 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190697 byte(s) Diff to previous 3029 , to selected 3105 Fix a bug. Revision 3029 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Oct 5 02:08:13 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190690 byte(s) Diff to previous 3027 , to selected 3105 SSH1 でうまく動かないのを修正した。 TIS で OK ボタンを自動的に押すタイミングを修正した。 Revision 3027 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Oct 4 15:39:32 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190466 byte(s) Diff to previous 3024 , to selected 3105 自動ログインに失敗したとき、認証方式がサポートされていなかったらメッセージを出すようにした。 Revision 3024 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Oct 3 16:30:43 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 189959 byte(s) Diff to previous 3018 , to selected 3105 ログの採取箇所を追加した。 Revision 3018 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Oct 1 14:46:22 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 189802 byte(s) Diff to previous 3015 , to selected 3105 自動ログイン時に認証情報を送れなくなっていたのを修正した。 Revision 3015 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Sep 30 14:03:02 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 189767 byte(s) Diff to previous 3012 , to selected 3105 サポートされていない認証メソッドをはじめから無効にする機能を追加した。 Revision 3012 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Sep 29 11:01:26 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 189529 byte(s) Diff to previous 3011 , to selected 3105 ソケットをノンブロッキングのままでパケット送信を行う。 Revision 3011 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Sep 22 16:10:45 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 189390 byte(s) Diff to previous 3003 , to selected 3105 password 認証で keyboard-interactive を使用するのをやめた。 明示的に challange/response を選択する必要がある。 Revision 3003 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Aug 20 14:21:57 2007 UTC (16 years, 7 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 190996 byte(s) Diff to previous 2995 , to selected 3105 インデントを変更した。 Revision 2995 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 15 04:03:26 2007 UTC (16 years, 8 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 187698 byte(s) Diff to previous 2994 , to selected 3105 $Log$ を削除した。 Revision 2994 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Aug 13 22:30:03 2007 UTC (16 years, 8 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 198299 byte(s) Diff to previous 2993 , to selected 3105 国際化関数を修正した。 NO_I18N マクロを削除した。 Revision 2993 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 8 16:25:10 2007 UTC (16 years, 8 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 206399 byte(s) Diff to previous 2992 , to selected 3105 no message Revision 2992 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 8 16:04:09 2007 UTC (16 years, 8 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 206300 byte(s) Diff to previous 2987 , to selected 3105 安全な関数を使用するように変更した。 Revision 2987 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 26 08:33:53 2007 UTC (16 years, 8 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 203202 byte(s) Diff to previous 2986 , to selected 3105 SSH のチャネルが開けないときにソケットが開いたままになっていたのを修正した。 Revision 2986 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 24 17:09:29 2007 UTC (16 years, 8 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 202446 byte(s) Diff to previous 2983 , to selected 3105 リモートからの転送接続が失敗したときに SSH 接続が切れる問題を修正した。 SSH_MSG_CHANNEL_OPEN_FAILURE のパケットが正しく作成されていなかったため。 Revision 2983 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 12 14:12:33 2007 UTC (16 years, 9 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 202202 byte(s) Diff to previous 2980 , to selected 3105 keyboard-interactive methodでの認証失敗後のパスワード認証の 無条件トライを止めるようにした。 Revision 2980 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 6 14:10:12 2007 UTC (16 years, 10 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 201818 byte(s) Diff to previous 2977 , to selected 3105 プリプロセッサにより構造体が変わってしまうので、INET6 と I18N の #define を逆転させた。 Revision 2977 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue May 1 13:45:53 2007 UTC (16 years, 11 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 201573 byte(s) Diff to previous 2976 , to selected 3105 チャネルの解放漏れを修正した。 Revision 2976 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 27 12:56:47 2007 UTC (16 years, 11 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 201366 byte(s) Diff to previous 2975 , to selected 3105 ユーザ認証リストをもらったら、認証ダイアログのラジオボタンを更新するようにした。 Revision 2975 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 27 12:41:33 2007 UTC (16 years, 11 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 200819 byte(s) Diff to previous 2974 , to selected 3105 "none"メソッドによりユーザ認証メソッドリストを取得し、パスワード認証選択時に keyboard-interactiveログインを試みるようにした。 Revision 2974 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Apr 26 12:21:24 2007 UTC (16 years, 11 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 199393 byte(s) Diff to previous 2973 , to selected 3105 ssh2_channel_new() の返り値をチェックするように修正した。 Revision 2973 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Apr 26 11:11:10 2007 UTC (16 years, 11 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 197892 byte(s) Diff to previous 2972 , to selected 3105 Fix a bug. Revision 2972 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Apr 26 10:18:27 2007 UTC (16 years, 11 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 197785 byte(s) Diff to previous 2958 , to selected 3105 port fowardingにおいて、channel close時にSSH2チャネル構造体を解放していなかったバグを修正した。 Revision 2958 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 8 03:51:02 2007 UTC (17 years, 2 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 197387 byte(s) Diff to previous 2957 , to selected 3105 Boris 氏の指摘により、メッセージを修正した。 Revision 2957 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Feb 4 13:45:47 2007 UTC (17 years, 2 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 197227 byte(s) Diff to previous 2949 , to selected 3105 パケット送信関数が失敗した場合、WSAGetLastError()がWSABASEERR(10000)未満であれば、成功したものと見なすようにした。 Revision 2949 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jan 22 13:45:19 2007 UTC (17 years, 2 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 196887 byte(s) Diff to previous 2945 , to selected 3105 表示メッセージの読み込み対応 Revision 2945 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 8 16:11:54 2006 UTC (17 years, 4 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 195288 byte(s) Diff to previous 2943 , to selected 3105 パケット送信処理にTCPコネクション切断の誤検出をしないようにした。 Revision 2943 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 6 14:25:40 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 194739 byte(s) Diff to previous 2942 , to selected 3105 表示メッセージの読み込み対応 Revision 2942 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 5 09:20:36 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 194659 byte(s) Diff to previous 2941 , to selected 3105 表示メッセージの読み込み対応 Revision 2941 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Dec 2 05:07:08 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 188313 byte(s) Diff to previous 2940 , to selected 3105 SSH2_MSG_KEXINITによる決定をttssh.logに出力するようにした。 Revision 2940 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 30 09:56:43 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 186709 byte(s) Diff to previous 2938 , to selected 3105 表示メッセージの読み込み対応 Revision 2938 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 28 13:20:52 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 185841 byte(s) Diff to previous 2935 , to selected 3105 Cisco ルータの送信する SSH2_MSG_IGNORE のデータが不正なようなので、何も処理しないようにした。 Revision 2935 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Nov 19 14:23:30 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 185603 byte(s) Diff to previous 2933 , to selected 3105 RSAの場合はworkaroundが不要なようなので削除した。 Revision 2933 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 18 01:29:29 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 185610 byte(s) Diff to previous 2931 , to selected 3105 SSH-2.0-2.0*, SSH-2.0-2.1* サーバのバグに対する workaround を改良した。 Revision 2931 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Nov 17 09:12:02 2006 UTC (17 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 185468 byte(s) Diff to previous 2930 , to selected 3105 SSH-2.0-2.0*, SSH-2.0-2.1* サーバのバグに対する workaround を追加した。 バージョンチェックをせずにデータだけで判断しているので、改良の余地あり。 Revision 2930 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 14 09:00:40 2006 UTC (17 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 185076 byte(s) Diff to previous 2929 , to selected 3105 エラーメッセージを修正した。 Revision 2929 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Nov 8 16:20:14 2006 UTC (17 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 184919 byte(s) Diff to previous 2927 , to selected 3105 デバッグ用コードを追加した。 Revision 2927 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Oct 30 13:33:31 2006 UTC (17 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 184758 byte(s) Diff to previous 2926 , to selected 3105 ttssh.logへの出力を追加した。 Revision 2926 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Oct 30 08:48:02 2006 UTC (17 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 184203 byte(s) Diff to previous 2925 , to selected 3105 SSH2_MSG_CHANNEL_EXTENDED_DATA を処理するようにした。 Revision 2925 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 29 22:42:12 2006 UTC (17 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 182627 byte(s) Diff to previous 2924 , to selected 3105 圧縮の初期化を SSH2_MSG_NEWKEYS の送信時に変更した。 Revision 2924 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 29 17:26:47 2006 UTC (17 years, 5 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 181894 byte(s) Diff to previous 2919 , to selected 3105 ・MACとパケット圧縮を有効にするタイミングを SSH2_MSG_NEWKEYS の送受信時に変更することにより、Tectiva serverへつながらない問題を修正した。 Revision 2919 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Oct 27 16:56:45 2006 UTC (17 years, 5 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 181317 byte(s) Diff to previous 2918 , to selected 3105 ttssh.logへのログ追加。 teraterm.iniの[TTSSH]で、LogLevel=1000 とするとログ採取される。 Revision 2918 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 21 14:26:48 2006 UTC (17 years, 5 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 181095 byte(s) Diff to previous 2917 , to selected 3105 KEX_DH_GRP1_SHA1 or KEX_DH_GRP14_SHA1において、不正なメモリ解放を修正した。 Revision 2917 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 21 14:02:50 2006 UTC (17 years, 5 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 180920 byte(s) Diff to previous 2908 , to selected 3105 取っておくべき値が解放されているようなので修正した。 Revision 2908 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Sep 18 05:08:04 2006 UTC (17 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 180939 byte(s) Diff to previous 2903 , to selected 3105 コマンドラインパラメータ '/ask4passwd' を追加した。 Revision 2903 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Aug 22 14:46:58 2006 UTC (17 years, 7 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 180775 byte(s) Diff to previous 2891 , to selected 3105 パスワードの破棄はユーザ認証後に行うようにした。 Revision 2891 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Aug 5 03:47:49 2006 UTC (17 years, 8 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 180786 byte(s) Diff to previous 2890 , to selected 3105 パスワードをメモリ上に覚えておくかどうかの設定は teraterm.ini に反映させるようにした。 Revision 2890 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Aug 3 15:05:02 2006 UTC (17 years, 8 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 180661 byte(s) Diff to previous 2875 , to selected 3105 パスワードをメモリ上に保持するかどうかを決めるチェックボックスを認証ダイアログに追加した。 Revision 2875 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 26 13:26:49 2006 UTC (17 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 180210 byte(s) Diff to previous 2873 , to selected 3105 TTSSHのsetupダイアログの変更内容が次回接続時から反映されるようにした。 Revision 2873 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 23 13:57:24 2006 UTC (17 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 179800 byte(s) Diff to previous 2870 , to selected 3105 TTSSH 2.28にて遅延パケット圧縮をサポートした。 Revision 2870 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 13 15:21:00 2006 UTC (17 years, 10 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 178440 byte(s) Diff to previous 2863 , to selected 3105 OpenSSH 4.3以降で遅延パケット圧縮が設定されている場合、従来のパケット圧縮を有効にした状態でのサーバへの接続ができないバグを修正した。 Revision 2863 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 7 13:24:16 2006 UTC (18 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 177854 byte(s) Diff to previous 2859 , to selected 3105 HP-UXにおいてX11 fowardingが失敗した場合に、SSH2セッションが切断されないようにした。 Revision 2859 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 29 14:56:52 2006 UTC (18 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 177553 byte(s) Diff to previous 2857 , to selected 3105 known_hostsファイルにキー種別の異なる同一ホストのエントリがあると、アプリケーションエラーとなるバグを修正した。 Revision 2857 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Mar 26 17:07:18 2006 UTC (18 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 177477 byte(s) Diff to previous 2856 , to selected 3105 fingerprint表示を追加 Revision 2856 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Mar 26 15:43:58 2006 UTC (18 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 175589 byte(s) Diff to previous 2854 , to selected 3105 SSH2のknown_hosts対応を追加した。 Revision 2854 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 6 14:43:50 2006 UTC (18 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 169756 byte(s) Diff to previous 2852 , to selected 3105 SSH2ウィンドウ制御の見直しにより、スループットを向上させた。 Revision 2852 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Feb 23 14:13:57 2006 UTC (18 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 169248 byte(s) Diff to previous 2850 , to selected 3105 authorized_keysファイルの"command="をサポートした Revision 2850 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Feb 18 07:37:02 2006 UTC (18 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 168947 byte(s) Diff to previous 2837 , to selected 3105 ・コンパイラを Visual Studio 2005 Standard Edition に切り替えた。 ・stricmp()を_stricmp()へ置換した ・strdup()を_strdup()へ置換した Revision 2837 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 16 17:01:48 2005 UTC (18 years, 8 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 168851 byte(s) Diff to previous 2835 , to selected 3105 SSH2接続時に TTY 情報を渡すようにした。 Revision 2835 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jul 15 14:58:04 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 168032 byte(s) Diff to previous 2834 , to selected 3105 SSH1接続で一度ユーザ認証に失敗すると、その後認証ができなくなるバグを修正。 Revision 2834 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jul 10 06:44:48 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 167510 byte(s) Diff to previous 2833 , to selected 3105 キー再作成時にパケット圧縮が正常に動作せず、サーバ側で正しく解凍できないバグを修正。 Revision 2833 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 9 17:08:47 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 166404 byte(s) Diff to previous 2830 , to selected 3105 SSH2 packet compressionをサポートした。 Revision 2830 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jul 3 13:32:00 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 160986 byte(s) Diff to previous 2829 , to selected 3105 SSH2 port-forwardingの初期化タイミングを変更。 Revision 2829 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jul 3 12:07:53 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 161877 byte(s) Diff to previous 2827 , to selected 3105 SSH2 X Window Systemのport forwardingをサポートした。 Revision 2827 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 2 08:43:32 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 159616 byte(s) Diff to previous 2826 , to selected 3105 SSH2_MSG_CHANNEL_OPEN_FAILURE ハンドラを追加した。 Revision 2826 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Jul 2 07:56:13 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 158137 byte(s) Diff to previous 2825 , to selected 3105 update SSH2 port-forwading(remote to local) Revision 2825 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 26 14:26:24 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 156685 byte(s) Diff to previous 2824 , to selected 3105 update: SSH2 port-forwarding (remote to local) Revision 2824 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jun 21 13:28:26 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 152463 byte(s) Diff to previous 2823 , to selected 3105 SSH2鍵交換中の(鍵交換以外の)SSH2メッセージ送信を破棄するようにした。 Revision 2823 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Jun 19 09:17:47 2005 UTC (18 years, 9 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 151882 byte(s) Diff to previous 2811 , to selected 3105 SSH2 port-fowarding(local to remote)をサポートした。 Revision 2811 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Apr 8 14:55:03 2005 UTC (19 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 147919 byte(s) Diff to previous 2809 , to selected 3105 "Duplicate session"においてSSH自動ログインを行うようにした。 Revision 2809 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 3 14:39:48 2005 UTC (19 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 147296 byte(s) Diff to previous 2806 , to selected 3105 SSH2 channel lookup機構の追加(ポートフォワーディングのため)。 TTSSH 2.10で追加したlog dump機構において、DH鍵再作成時にbuffer freeで アプリケーションが落ちてしまうバグを修正。 Revision 2806 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Mar 28 13:52:05 2005 UTC (19 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 144181 byte(s) Diff to previous 2805 , to selected 3105 SSH2_MSG_CHANNEL_REQUEST送信時において、wantconfirmをfalseにした(サーバからのリプライを期待しない)。 NetScreen(HITACHI) workaround対応。 Revision 2805 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Mar 27 04:39:55 2005 UTC (19 years ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 143581 byte(s) Diff to previous 2800 , to selected 3105 SSH2のログ採取(verbose)のデータを追加した。 Revision 2800 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Mar 12 15:07:34 2005 UTC (19 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 141833 byte(s) Diff to previous 2798 , to selected 3105 SSH2 keyboard-interactive認証をTISダイアログに実装した。 Revision 2798 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 10 13:40:39 2005 UTC (19 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 140602 byte(s) Diff to previous 2797 , to selected 3105 すでにログイン処理を行っている場合は、SSH2_MSG_SERVICE_REQUESTの送信は しないことにする。OpenSSHでは支障ないが、Tru64 UNIXではサーバエラーとなってしまうため。 Revision 2797 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 9 14:14:25 2005 UTC (19 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 140073 byte(s) Diff to previous 2796 , to selected 3105 サーバIDに CR+LF が含まれていた場合、CRの除去ができていなかったバグを修正。 Revision 2796 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 8 14:24:11 2005 UTC (19 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 139728 byte(s) Diff to previous 2795 , to selected 3105 SSH2 log dump機構の追加。 とりあえず、DH_GEXにおけるkey verifyまでにトレース採取を組み込んだ。 Revision 2795 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Mar 5 10:19:05 2005 UTC (19 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 134551 byte(s) Diff to previous 2794 , to selected 3105 Tru64 UNIX(HP-UX)向けworkaroundを追加。 Revision 2794 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 3 13:37:31 2005 UTC (19 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 133758 byte(s) Diff to previous 2793 , to selected 3105 Tru64 UNIX(HP-UX)向けworkaroundを追加。 KEXINIT時にSSH2_MSG_IGNOREを受信可能とした。 Revision 2793 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Mar 3 13:28:23 2005 UTC (19 years, 1 month ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 133488 byte(s) Diff to previous 2782 , to selected 3105 クライアントのSSHバージョンを ttxssh.dll から取得して、サーバへ送るようにした。 Revision 2782 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jan 24 14:07:07 2005 UTC (19 years, 2 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 133128 byte(s) Diff to previous 2777 , to selected 3105 ・keyboard-interactive認証をサポートした。 それに伴い、teraterm.iniに "KeyboardInteractive" エントリを追加した。 ・バージョンダイアログに OpenSSLバージョン を追加 Revision 2777 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jan 6 12:29:07 2005 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 129771 byte(s) Diff to previous 2773 , to selected 3105 telnet接続時にターミナルサイズ変更を行うと、アプリケーションエラーとなるバグを修正。 Revision 2773 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jan 4 16:09:45 2005 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 129508 byte(s) Diff to previous 2771 , to selected 3105 キー再作成時にMAC corruptとなるバグを修正(メモリの二重フリーが原因)。 Revision 2771 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jan 4 13:57:01 2005 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 129314 byte(s) Diff to previous 2768 , to selected 3105 SSH2ターミナルサイズ変更通知の追加 Revision 2768 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 27 14:22:16 2004 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 128469 byte(s) Diff to previous 2766 , to selected 3105 メモリリークを修正。 Revision 2766 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Dec 27 14:05:08 2004 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 127977 byte(s) Diff to previous 2762 , to selected 3105 'Auto window close'が有効の場合、切断後の接続ができない問題を修正した。 ・スレッドの終了待ち合わせ処理の追加 ・確保済みSSHリソースの解放 Revision 2762 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 22 17:28:14 2004 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 126555 byte(s) Diff to previous 2759 , to selected 3105 SSH2公開鍵認証(RSA/DSA)をサポートした。 Revision 2759 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 17 16:52:36 2004 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 120758 byte(s) Diff to previous 2758 , to selected 3105 KEXにおけるRSAおよびDSSのkey verify処理を追加。 Revision 2758 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 17 14:28:36 2004 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 118954 byte(s) Diff to previous 2757 , to selected 3105 メッセージ認証アルゴリズムに HMAC-MD5 を追加。 TTSSHバージョンダイアログにHMACアルゴリズム表示を追加。 Revision 2757 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 17 14:05:55 2004 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 118791 byte(s) Diff to previous 2748 , to selected 3105 パケット受信時のHMACチェックを追加。 KEXにおけるHMACアルゴリズムチェックを追加。 Revision 2748 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Dec 11 07:31:00 2004 UTC (19 years, 4 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 117218 byte(s) Diff to previous 2742 , to selected 3105 SSH heartbeatスレッドの追加した。これにより、IPマスカレード環境において、ルータの NATテーブルクリアにより、SSHコネクションが切断される現象が回避される。 それに合わせて、teraterm.iniのTTSSHセクションに、HeartBeat エントリを追加。 Revision 2742 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Dec 4 08:18:31 2004 UTC (19 years, 4 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 114816 byte(s) Diff to previous 2739 , to selected 3105 SSH2自動ログインにおいて、ユーザ認証に失敗した場合、リトライを行わないようにした。 Revision 2739 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Dec 1 15:37:49 2004 UTC (19 years, 4 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 114398 byte(s) Diff to previous 2738 , to selected 3105 SSH2自動ログイン機能を追加。 現状、パスワード認証のみに対応。 ・コマンドライン /ssh /auth=認証メソッド /user=ユーザ名 /passwd=パスワード Revision 2738 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Nov 29 15:52:37 2004 UTC (19 years, 4 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 114104 byte(s) Diff to previous 2729 , to selected 3105 SSHのdefault protocolをSSH2にした。 Revision 2729 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Nov 14 15:53:21 2004 UTC (19 years, 5 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/ssh.c File length: 114026 byte(s) Copied from: ttssh2/branches/avendor/ttxssh/ssh.c revision 2728 Diff to previous 2728 , to selected 3105 This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches. Revision 2728 - (view) (download) (as text) (annotate) - [select for diffs] Added Sun Nov 14 15:53:21 2004 UTC (19 years, 5 months ago) by yutakakn Original Path: ttssh2/branches/avendor/ttxssh/ssh.c File length: 114026 byte(s) Diff to selected 3105 no message This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|