Develop and Download Open Source Software

Browse Subversion Repository

Log of /trunk/ttssh2/ttxssh/hosts.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 10618 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 3 15:15:16 2023 UTC (13 months, 1 week ago) by zmatsuo
File length: 67300 byte(s)
Diff to previous 10615 , to selected 8093
ttxsshで tttset.UIMsg[] ではなく TInstVar.UIMsg[] を使用するよう修正

- lng(i18n)用文字列領域
- ttxssh 以外は tttset.UIMsg[] を使用しなくなった
  - Unicode(wchar_t)版動的な文字列取得に切り替えた
  - tttset.UIMsg[] は ANSI(char) 文字列
- プラグイン用ワーク内に TInstVar.UIMsg[] を新設した

Revision 10615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 1 14:18:31 2023 UTC (13 months, 1 week ago) by zmatsuo
File length: 67482 byte(s)
Diff to previous 10073 , to selected 8093
ttxssh内 lngファイル名変数を ANSI版から Unicode 版へ切り替え

- UTIL_get_lang_fixedfont()
  - 引数をUnicode版lngファイル名に変更
  - LOGFONTをUnicode版に切り替え
- SetI18nMenuStrs() -> SetI18nMenuStrsW()
- TTMessageBoxA() -> TTMessageBoxW()

Revision 10073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 17 15:40:49 2022 UTC (20 months, 3 weeks ago) by doda
File length: 67478 byte(s)
Diff to previous 9817 , to selected 8093
ホスト鍵確認ダイアログ表示中にSSH_MSG_EXT_INFOが扱え無い問題を修正した。

問題:
  ホスト鍵がssh_known_hostsに登録されていないサーバへの接続時、サーバ側が
  ユーザ認証でrsa-sha2-256/512に対応していると、ホスト鍵の確認ダイアログ
  表示中に「現在のステージでは想定外のSSH2 メッセージです」というエラーを
  表示して接続を切断してしまう。

原因:
  ホスト鍵確認ダイアログ表示中に送られて来た SSH_MSG_EXT_INFO が扱え無い為。

  ホスト鍵確認ダイアログを表示した時は、KEXの処理を中断するようになっていた。
  その状態で SSH_MSG_NEWKEYS を受信した場合は、SSH_MSG_NEWKEYS の処理も
  保留していた。
  それにより、KEXの処理が中断する事で通信暗号用の鍵/IVが設定されず、また
  SSH_MSG_NEWKEYS の処理も保留している為、受信方向の暗号化(復号)が開始
  されない状態となっていた。
  そこに暗号化された SSH_MSG_EXT_INFO を受信した為、復号せずにそのまま読み
  不明なパケットとして扱っていた。

対処:
  ホスト鍵確認ダイアログを表示しても、KEXの処理を中断せず暗号鍵/IVの設定を
  行い、またSSH_MSG_NEWKEYS受信時に即復号処理を開始するようにした。
  SSH_MSG_NEWKEYSの送信はホスト鍵の確認後に行うようにする事で、ホスト鍵確認
  ダイアログ表示中にユーザ認証を開始しないようにした。

Revision 9817 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 17 13:39:33 2022 UTC (2 years ago) by nmaya
File length: 69306 byte(s)
Diff to previous 9553 , to selected 8093
UpdateHostkeys を受け入れると、ssh_known_hosts からそのホスト以外の鍵が削除される問題を修正

4-stable の r9178, r9179 の修正を trunk にマージした r9553 でのマージ漏れ
ticket #44138

Revision 9553 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 3 11:43:08 2021 UTC (2 years, 4 months ago) by youlab
File length: 69279 byte(s)
Diff to previous 9506 , to selected 8093
Windows Vista以降でVirtual Storeが有効の場合、ホスト鍵の種類が同じで、
鍵の内容が異なるときに、known_hostsからの鍵削除ができない問題を修正した。

Windows Vista以降でVirtual Storeが有効の場合、Host key rotationで
元々あったホスト鍵を削除してしまう問題を修正した。

Feedback from
r9179
r9178


Revision 9506 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 29 15:19:22 2021 UTC (2 years, 5 months ago) by zmatsuo
File length: 68843 byte(s)
Diff to previous 9504 , to selected 8093
ユーザーの設定ファイルフォルダの ssh_known_host を使用するよう変更

- 従来は ttermpro.exe(ttssh.dll) のあるフォルダの ssh_known_host だった
- get_teraterm_dir_relative_nameW() を get_home_dir_relative_nameW() へ切り替え

# Conflicts:
#	ttssh2/ttxssh/ttxssh.c

Revision 9504 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 29 15:19:06 2021 UTC (2 years, 5 months ago) by zmatsuo
File length: 68863 byte(s)
Diff to previous 9350 , to selected 8093
ssh_known_hosts(ファイル名)をUnicode化

- HOSTSState.file_names を char から wchar_t へ変更

Revision 9350 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 10 14:42:28 2021 UTC (2 years, 8 months ago) by zmatsuo
File length: 68547 byte(s)
Diff to previous 9324 , to selected 8093
UILanguageFile を unicode版(UILanguageFileW)へ切り替え

- SetI18nDlgStrs() -> SetI18nDlgStrsW()
- SetDlgTexts() -> SetDlgTextsW()
- SetDlgMenuTexts() -> SetDlgMenuTextsW()

Revision 9324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 29 15:20:20 2021 UTC (2 years, 9 months ago) by zmatsuo
File length: 68541 byte(s)
Diff to previous 9255 , to selected 8093
layer for unicode 向けのコードを削除

Revision 9255 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 19 14:11:26 2021 UTC (2 years, 10 months ago) by nmaya
File length: 68585 byte(s)
Diff to previous 9165 , to selected 8093
SSH2 暗号化方式 chacha20-poly1305@openssh.com をサポート

merge from branches/ssh_chacha20poly1305
r9209, r9210, r9211, r9212, r9217, r9229, r9248, r9249, r9250, r9251, r9252, r9253

Revision 9165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 18 14:37:05 2021 UTC (3 years, 1 month ago) by nmaya
File length: 68515 byte(s)
Diff to previous 9048 , to selected 8093
Visual C 2015 から tmpnam() がフルパスを返すようになったため、バージョン判定の分岐を追加

https://docs.microsoft.com/en-us/cpp/porting/visual-cpp-change-history-2003-2015?view=msvc-160
tmpnam Generates Usable File Names

Revision 9048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 16 12:24:13 2020 UTC (3 years, 3 months ago) by nmaya
File length: 68130 byte(s)
Diff to previous 8593 , to selected 8093
ソースファイルの著作権表記の "最後の発行の年" を削除

ticket #40996

Revision 8593 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 12 13:52:38 2020 UTC (4 years ago) by zmatsuo
File length: 68134 byte(s)
Diff to previous 8542 , to selected 8093
ホスト名の置換に aswprintf() を使用するようにした

- lngファイルの DLG_UNKNOWNHOST_WARNING の "####" を "%s" に変更
- init_hosts_dlg()#host.c はバッファのサイズ指定が誤っていた

Revision 8542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 16 14:55:30 2020 UTC (4 years, 1 month ago) by zmatsuo
File length: 68385 byte(s)
Diff to previous 8485 , to selected 8093
ttxsshの鍵確認ダイアログの文字化けしないようにした

- ttxsshのNew connectionダイアログのデザインを修正
  - ホスト名のドロップダウンを大きくした
  - sshバージョンのドロップダウンを大きくした
- tcharを使用しない (ttxssh/auth.c)
- const static を static const に置き換え
  - warning: 'static' is not at beginning of declaration [-Wold-style-declaration]

Revision 8485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 17 18:59:14 2020 UTC (4 years, 2 months ago) by doda
File length: 68254 byte(s)
Diff to previous 8316 , to selected 8093
関数名を変更 [Ttssh2-devel 4475]

・SetI18MenuStrs() -> SetI18nMenuStrs()
・SetI18DlgStrs() -> SetI18nDlgStrs()

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
File length: 68214 byte(s)
Diff to previous 8240 , to selected 8093
- 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 8240 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 2 14:00:04 2019 UTC (4 years, 6 months ago) by zmatsuo
File length: 67857 byte(s)
Diff to previous 8093
ttssh2でSetI18DlgStrs()を使用するようにした

Revision 8093 - (view) (download) (as text) (annotate) - [selected]
Modified Sun Sep 8 10:16:41 2019 UTC (4 years, 7 months ago) by yutakapon
File length: 70618 byte(s)
Diff to previous 7896
・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 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
File length: 65594 byte(s)
Diff to previous 7889 , to selected 8093
Merge branch 'x64' into trunk

Revision 7889 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 25 10:36:55 2019 UTC (4 years, 8 months ago) by yutakapon
File length: 65648 byte(s)
Diff to previous 7714 , to selected 8093
SSH1: 接続先のポート番号が22以外で、新規にknown_hostsファイルへホスト鍵を
書き込む時、アプリが落ちることがある問題を修正した。


Revision 7714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 27 13:23:19 2019 UTC (4 years, 10 months ago) by zmatsuo
File length: 65285 byte(s)
Diff to previous 7703 , to selected 8093
ttssh2、ビジュアル化fingerprintの表示に等幅フォントを設定する

- 従来のフォント関連の設定が不要になったのでUTIL_get_lang_font()を削除
- モニタのDPIに合わせて等幅フォントを取得する UTIL_get_lang_fixedfont()を追加
- DPIが変化したとき、OSがフォントを再設定するので、DPIに合わせたサイズのフォントを再設定するようにした

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
File length: 63359 byte(s)
Diff to previous 7592 , to selected 8093
ttssh 無効化していたフォント関連のソースを削除

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
File length: 68545 byte(s)
Diff to previous 7560 , to selected 8093
ダイアログを親(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
File length: 68429 byte(s)
Diff to previous 6998 , to selected 8093
ttssh 高DPI対応

Revision 6998 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 29 22:54:33 2017 UTC (6 years, 4 months ago) by maya
File length: 68123 byte(s)
Diff to previous 6841 , to selected 8093
[About TTSSH] ダイアログに正しくないサーバホスト鍵の指紋が表示されることがある問題を修正

https://osdn.net/projects/ttssh2/ticket/37740
プリフェッチではない鍵がマッチした場合に、表示用にコピーしていなかった

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
File length: 68000 byte(s)
Diff to previous 6801 , to selected 8093
TeraTerm Project としてのライセンス表記を追加

・Tera Term 本体分を横 80 桁に収まるように改行位置を調整
・ttssh 関連の分を追加

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
File length: 67923 byte(s)
Diff to previous 6688 , to selected 8093
eliminate FAR keyword.

Revision 6688 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 24 11:49:42 2017 UTC (6 years, 11 months ago) by doda
File length: 68126 byte(s)
Diff to previous 6621 , to selected 8093
typo fix.

Revision 6621 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 9 07:55:28 2017 UTC (7 years, 1 month ago) by doda
File length: 68126 byte(s)
Diff to previous 6158 , to selected 8093
base64 decode を ISC 由来のコードから自前実装に変更 [Ttssh2-devel 3043]

Revision 6158 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 19 10:54:12 2015 UTC (8 years, 4 months ago) by maya
File length: 70873 byte(s)
Diff to previous 6152 , to selected 8093
SSH fingerprint が取得できないときの対策を入れた

Revision 6152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 18 13:11:56 2015 UTC (8 years, 4 months ago) by maya
File length: 70771 byte(s)
Diff to previous 6147 , to selected 8093
鍵の置き換え・Hostkey Rotationの更新後に About TTSSH ダイアログを表示すると落ちる問題を修正
  hosts_state.hostkey を known_hosts の読み込みテンポラリに使っているのをやめた

Revision 6147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 17 09:31:03 2015 UTC (8 years, 4 months ago) by maya
File length: 70834 byte(s)
Diff to previous 6146 , to selected 8093
key_init() 関数を追加
  key_free() はポインタでないと使えないため

Revision 6146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 17 04:38:16 2015 UTC (8 years, 4 months ago) by maya
File length: 71509 byte(s)
Diff to previous 6145 , to selected 8093
移動して使わなくなった関数を削除

Revision 6145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 17 04:37:00 2015 UTC (8 years, 4 months ago) by maya
File length: 71742 byte(s)
Diff to previous 6132 , to selected 8093
鍵のコピーを関数化

Revision 6132 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 15 10:25:50 2015 UTC (8 years, 4 months ago) by maya
File length: 74117 byte(s)
Diff to previous 6120 , to selected 8093
SSH ホスト鍵の fingerprint の表示を、MD5 形式か SHA256 形式か選択できるようにした
  https://osdn.jp/ticket/browse.php?group_id=1412&tid=35602

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
File length: 71421 byte(s)
Diff to previous 6117 , to selected 8093
SSH key fingerprint の 出力時に、使用しているハッシュアルゴリズム名を表示するようにした

Revision 6117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 11 22:38:30 2015 UTC (8 years, 5 months ago) by maya
File length: 71413 byte(s)
Diff to previous 6063 , to selected 8093
SSH key fingerprint の hex 形式の出力を関数に移動(OpenSSH と同じ)
ダイジェストの形式を引数に追加

この変更は内部的なもので、外から見た動作は一切変わらないはず

Revision 6063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 26 23:02:49 2015 UTC (8 years, 5 months ago) by maya
File length: 71389 byte(s)
Diff to previous 5849 , to selected 8093
足りない引数を追加

Revision 5849 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 5 18:08:23 2015 UTC (8 years, 11 months ago) by yutakapon
File length: 71383 byte(s)
Diff to previous 5847 , to selected 8093
チケット #35047 SSH サーバホスト公開鍵の自動更新

・UpdateHostkeys エントリに"2"(ASK)を追加した。
・known_hosts ファイルの更新処理を追加した。


Revision 5847 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 4 17:18:56 2015 UTC (8 years, 11 months ago) by yutakapon
File length: 61235 byte(s)
Diff to previous 5846 , to selected 8093
チケット #35047 SSH サーバホスト公開鍵の自動更新

サーバから送られてきた鍵候補群と、known_hosts ファイルを検索し、
鍵のマッチングを行うようにした。



Revision 5846 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 3 16:46:29 2015 UTC (8 years, 11 months ago) by yutakapon
File length: 60976 byte(s)
Diff to previous 5843 , to selected 8093
チケット #35047 SSH サーバホスト公開鍵の自動更新

known_hosts ファイルを検索する関数(host key rotation用)を追加した。


Revision 5843 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 1 07:44:21 2015 UTC (8 years, 11 months ago) by yutakapon
File length: 55955 byte(s)
Diff to previous 5678 , to selected 8093
チケット #35047 SSH サーバホスト公開鍵の自動更新

公開鍵の重複チェックを行う関数を HOSTS_compare_public_key() として切り出した。


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
File length: 56059 byte(s)
Diff to previous 5663 , to selected 8093
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 5663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 18 14:44:53 2014 UTC (9 years, 6 months ago) by yutakapon
File length: 55963 byte(s)
Diff to previous 5562 , to selected 8093
SSHホスト鍵の交換で、アプリケーションが落ちる問題を修正した。
ED25519 対応時のデグレード。


Revision 5562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 31 06:28:16 2014 UTC (10 years ago) by yutakapon
File length: 55862 byte(s)
Diff to previous 5545 , to selected 8093
チケット #33579
認証ダイアログの表示中に、サーバ側から切断された場合、アプリケーションフォルトで落ちる
問題を修正した。


Revision 5545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 17 16:06:58 2014 UTC (10 years ago) by yutakapon
File length: 55409 byte(s)
Diff to previous 4602 , to selected 8093
チケット #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 4602 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 14:09:13 2011 UTC (12 years, 7 months ago) by maya
File length: 54768 byte(s)
Diff to previous 4569 , to selected 8093
メッセージの修正を反映

Revision 4569 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 4 06:00:17 2011 UTC (12 years, 8 months ago) by doda
File length: 54630 byte(s)
Diff to previous 4565 , to selected 8093
DNS(SSHFP) 関連を別ファイルに分離。
# BIND の libresolv 等の OS 標準以外のリゾルバに対応し易くする為だけれど
# libresolv 対応は挫折中…


Revision 4565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 11:50:35 2011 UTC (12 years, 8 months ago) by maya
File length: 56896 byte(s)
Diff to previous 4559 , to selected 8093
新しいラベルにフォントを適用

Revision 4559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 1 07:21:58 2011 UTC (12 years, 8 months ago) by doda
File length: 56257 byte(s)
Diff to previous 4542 , to selected 8093
SSHFP 検証の結果を Security Warning ダイアログに表示するようにした。メッセージは暫定。


Revision 4542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 27 14:25:26 2011 UTC (12 years, 8 months ago) by doda
File length: 51743 byte(s)
Diff to previous 4540 , to selected 8093
/nosecuritywarning 時は SSHFP 検証をしても無駄なので、検証するタイミングを変更。


Revision 4540 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 27 12:27:15 2011 UTC (12 years, 8 months ago) by doda
File length: 51756 byte(s)
Diff to previous 4539 , to selected 8093
デバッグ用のメッセージボックスの表示を削除


Revision 4539 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 27 08:50:14 2011 UTC (12 years, 8 months ago) by doda
File length: 52177 byte(s)
Diff to previous 4531 , to selected 8093
SSHFP 検証を ECDSA 鍵、および SHA256 ダイジェストに対応させた
http://tools.ietf.org/html/draft-os-ietf-sshfp-ecdsa-sha2-00


Revision 4531 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 26 08:50:11 2011 UTC (12 years, 8 months ago) by doda
File length: 52013 byte(s)
Diff to previous 4378 , to selected 8093
RFC 4255 "Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints" 対応の準備
http://tools.ietf.org/html/rfc4255

VerifyHostKeyDNS = 1 にすると、ホスト鍵の検証を行う。
検証するだけで検証結果は使ってないけれど。

DNSSEC 未対応の問題が有るので、その部分について検討中。
解決する目途が立っていないので、もしかするとお蔵入りするかも。

Windows95/98/Me/NT4 では動かないかも。


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
File length: 49935 byte(s)
Diff to previous 4333 , to selected 8093
SSH2 の 圧縮で none を利用できるように修正した。
ソース整理
  鍵形式・KEXプロトコル・MAC・圧縮の名前や関数を取得する関数を作成。
    これにより定義で順序を入れ替えてもよくなった。
  enum に型名を付けた。
  共通の関数を使えるところで使うようにした。

Revision 4333 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 24 03:06:53 2011 UTC (13 years, 1 month ago) by maya
File length: 49940 byte(s)
Diff to previous 4332 , to selected 8093
typo fix.

Revision 4332 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 15:47:30 2011 UTC (13 years, 1 month ago) by maya
File length: 49944 byte(s)
Diff to previous 4330 , to selected 8093
接続しようとした SSH サーバのホスト鍵と違う形式の鍵が ssh_known_hosts にある場合、鍵を置き換えるダイアログではなく追加するダイアログを表示してユーザに問い合わせるようにした

Revision 4330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 23 14:42:38 2011 UTC (13 years, 1 month ago) by maya
File length: 45685 byte(s)
Diff to previous 4323 , to selected 8093
ダイアログ名を変更

Revision 4323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 19 08:11:10 2011 UTC (13 years, 1 month ago) by maya
File length: 45694 byte(s)
Diff to previous 4321 , to selected 8093
鍵の初期化

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
File length: 45612 byte(s)
Diff to previous 4307 , to selected 8093
SSH2 の ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-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
File length: 44742 byte(s)
Diff to previous 4304 , to selected 8093
鍵の種類を増やせるように整理した
  enum hostkey_type を ssh_keytype にリネームした
機能が重複している構造体・コードを削除した
  CRYPTKeyPair を削除、Key を使うようにした
  key_from_blob を使うようにした

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
File length: 44689 byte(s)
Diff to previous 3631 , to selected 8093
ssh.c から key.c, kex.c を分割

Revision 3631 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 3 15:52:58 2009 UTC (14 years, 6 months ago) by yutakapon
File length: 44671 byte(s)
Diff to previous 3227 , to selected 8093
隠しオプション"/nosecuritywarning"を追加した。
known_hosts のチェックダイアログを出現させない。


Revision 3227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 24 15:10:33 2009 UTC (15 years ago) by maya
File length: 44512 byte(s)
Diff to previous 3221 , to selected 8093
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
File length: 42914 byte(s)
Diff to previous 3208 , to selected 8093
CVS から SVN へ移行: trunk に集約

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/hosts.c
File length: 42914 byte(s)
Diff to previous 3144 , to selected 8093
サーバへの初回接続時の"Security Warning"ダイアログにおいて、サーバから切断されるまで放置したあと、
当該ダイアログのボタン押下による終了後、TTSSH で Application fault となる現象への対処(一部)を
追加した。
まだ、落ちます。


Revision 3144 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 3 17:05:44 2008 UTC (15 years, 7 months ago) by maya
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 42854 byte(s)
Diff to previous 3143 , to selected 8093
ssh_knwon_hosts の鍵の置換で、一時書き込みファイルをフルパスで開くようにした。
http://sourceforge.jp/tracker/index.php?func=detail&aid=13353&group_id=1412&atid=5333


Revision 3143 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 1 05:13:11 2008 UTC (15 years, 7 months ago) by maya
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 42719 byte(s)
Diff to previous 3137 , to selected 8093
http://sourceforge.jp/tracker/index.php?func=detail&aid=13353&group_id=1412&atid=5333
tmpnam で受け取ったファイル名は free してはいけないらしい。
notify_nonfatal_error が出ない問題はこの修正で回避される。


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/hosts.c
File length: 42738 byte(s)
Diff to previous 3134 , to selected 8093
*** 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/hosts.c
File length: 42405 byte(s)
Diff to previous 3130 , to selected 8093
・TeraTerm -> Tera Term
・その他細かい修正


Revision 3130 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 23 05:04:09 2008 UTC (15 years, 10 months ago) by doda
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 42403 byte(s)
Diff to previous 3127 , to selected 8093
Teraterm -> TeraTerm
Tera Term/TeraTermの表記の統一を行うかは別途検討。


Revision 3127 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 19 12:03:55 2008 UTC (15 years, 10 months ago) by maya
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 42403 byte(s)
Diff to previous 3126 , to selected 8093
known_hosts のポート番号をサポートした。


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/hosts.c
File length: 40118 byte(s)
Diff to previous 3120 , to selected 8093
known_hosts のポート番号サポートの下準備


Revision 3120 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 2 13:54:43 2008 UTC (16 years, 1 month ago) by yutakapon
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 39945 byte(s)
Diff to previous 3017 , to selected 8093
メモリリークの修正。


Revision 3017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 1 14:03:43 2007 UTC (16 years, 6 months ago) by yutakapon
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 39882 byte(s)
Diff to previous 3003 , to selected 8093
known_hostsダイアログは同期的に表示させ、この時点においてユーザに確認
させる必要があるため、直接コールに変更する。
これによりknown_hostsの確認を待たずに、サーバへユーザ情報を送ってしまう問題を回避する。


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/hosts.c
File length: 39475 byte(s)
Diff to previous 2995 , to selected 8093
インデントを変更した。


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/hosts.c
File length: 38844 byte(s)
Diff to previous 2994 , to selected 8093
$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/hosts.c
File length: 40651 byte(s)
Diff to previous 2992 , to selected 8093
国際化関数を修正した。
NO_I18N マクロを削除した。


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/hosts.c
File length: 44571 byte(s)
Diff to previous 2980 , to selected 8093
安全な関数を使用するように変更した。


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/hosts.c
File length: 43798 byte(s)
Diff to previous 2946 , to selected 8093
プリプロセッサにより構造体が変わってしまうので、INET6 と I18N の #define を逆転させた。


Revision 2946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 08:36:42 2007 UTC (17 years, 3 months ago) by maya
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 43609 byte(s)
Diff to previous 2944 , to selected 8093
フォントを変更する部分を追加した。


Revision 2944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 6 14:31:13 2006 UTC (17 years, 4 months ago) by maya
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 43516 byte(s)
Diff to previous 2943 , to selected 8093
表示メッセージの読み込み対応


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/hosts.c
File length: 43449 byte(s)
Diff to previous 2942 , to selected 8093
表示メッセージの読み込み対応


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/hosts.c
File length: 40940 byte(s)
Diff to previous 2940 , to selected 8093
表示メッセージの読み込み対応


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/hosts.c
File length: 37219 byte(s)
Diff to previous 2937 , to selected 8093
表示メッセージの読み込み対応


Revision 2937 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 02:19:30 2006 UTC (17 years, 4 months ago) by maya
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 36727 byte(s)
Diff to previous 2879 , to selected 8093
表示メッセージを言語ファイルから読み込みむコードの作成を開始した。


Revision 2879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 00:41:02 2006 UTC (17 years, 9 months ago) by maya
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 33778 byte(s)
Diff to previous 2876 , to selected 8093
書き込み用 ssh_known_hosts が指定されていないときに落ちる不具合を修正した。


Revision 2876 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 15:27:00 2006 UTC (17 years, 9 months ago) by yutakakn
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 33633 byte(s)
Diff to previous 2861 , to selected 8093
ssh_known_filesファイルを常にTeraTermインストールディレクトリへ保存するようにした。


Revision 2861 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 13:52:52 2006 UTC (18 years ago) by yutakakn
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 33380 byte(s)
Diff to previous 2859 , to selected 8093
known_hostsファイルにおいてキー種別の異なる同一ホストのエントリがあった場合、古いキーを削除する機能を追加した。


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/hosts.c
File length: 27485 byte(s)
Diff to previous 2857 , to selected 8093
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/hosts.c
File length: 27182 byte(s)
Diff to previous 2856 , to selected 8093
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/hosts.c
File length: 26885 byte(s)
Diff to previous 2850 , to selected 8093
SSH2のknown_hosts対応を追加した。


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/hosts.c
File length: 17534 byte(s)
Diff to previous 2761 , to selected 8093
  ・コンパイラを Visual Studio 2005 Standard Edition に切り替えた。
  ・stricmp()を_stricmp()へ置換した
  ・strdup()を_strdup()へ置換した


Revision 2761 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 19 15:39:58 2004 UTC (19 years, 3 months ago) by yutakakn
Original Path: ttssh2/trunk/ttxssh/hosts.c
File length: 17464 byte(s)
Diff to previous 2729 , to selected 8093
CVS LogIDの追加


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/hosts.c
File length: 17420 byte(s)
Copied from: ttssh2/branches/avendor/ttxssh/hosts.c revision 2728
Diff to previous 2728 , to selected 8093
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/hosts.c
File length: 17420 byte(s)
Diff to selected 8093
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.

  Diffs between and
  Type of Diff should be a

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26