Browse Subversion RepositoryLog of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/pkt.c
Revision 9217 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Apr 25 02:18:41 2021 UTC (2 years, 10 months ago) by nmaya File length: 11763 byte(s) Diff to previous 9208 SSH2 暗号化方式 chacha20-poly1305@openssh.com をサポート Revision 9208 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Apr 17 06:15:51 2021 UTC (2 years, 10 months ago) by nmaya File length: 9762 byte(s) Diff to previous 9049 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, 2 months ago) by nmaya Original Path: branches/4-stable/ttssh2/ttxssh/pkt.c File length: 9762 byte(s) Diff to previous 8934 ソースファイルの著作権表記の "最後の発行の年" を削除 ticket #40996 Revision 8934 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Sep 5 11:20:46 2020 UTC (3 years, 6 months ago) by youlab Original Path: branches/4-stable/ttssh2/ttxssh/pkt.c File length: 9766 byte(s) Diff to previous 8437 Copyrightの2019を2020に変更した。 変更対象は下記の通り。 Tera Term TTSSH TTXKanjiMenu Help License Revision 8437 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Dec 13 03:11:16 2019 UTC (4 years, 2 months ago) by doda Original Path: branches/4-stable/ttssh2/ttxssh/pkt.c File length: 9766 byte(s) Diff to previous 7109 Tera Term 4.xx メンテナンス用ブランチを作成 Revision 7109 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon May 28 07:49:43 2018 UTC (5 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9766 byte(s) Diff to previous 6985 typo fix Revision 6985 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:45 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9766 byte(s) Diff to previous 6983 SSH2 暗号化アルゴリズムとして aes{128,256}-gcm@openssh.com に対応した。
Revision 6983 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:35 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9226 byte(s) Diff to previous 6982 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, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9203 byte(s) Diff to previous 6981 負にならない(なるべきでない)変数、関数を unsigned int に変更 Revision 6981 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Nov 25 15:26:26 2017 UTC (6 years, 3 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9218 byte(s) Diff to previous 6972 SSH1/2 専用のバージョンと判り易いように関数名を変更 Revision 6972 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Nov 7 22:26:20 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9218 byte(s) Diff to previous 6969 EtM 絡みのコード整理。 ・コメント追加 ・読みやすいようにコードを修正 Revision 6969 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 2 11:37:41 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 8751 byte(s) Diff to previous 6968 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, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 8565 byte(s) Diff to previous 6966 共通部分が殆どないので、関数を SSH1 用と SSH2 用に分割。 Revision 6966 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 2 11:37:28 2017 UTC (6 years, 4 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 8478 byte(s) Diff to previous 6841 コード整理。動作には影響しないはず。 ・改行位置変更 ・空行削除 ・不用なコメントを削除 別の場所で #define している実際の値をコメントに書いても、 コメントと実際の動作の剥離を招くだけなので。 ・不用な条件分岐を削除 分岐してもやっている事は同じだったので。 ・else 節しかない if の条件を反転 Revision 6841 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Jul 4 15:02:28 2017 UTC (6 years, 8 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9166 byte(s) Diff to previous 6801 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, 8 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9089 byte(s) Diff to previous 6771 eliminate FAR keyword. Revision 6771 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Jun 5 08:48:48 2017 UTC (6 years, 9 months ago) by doda Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9098 byte(s) Diff to previous 5678 不用な条件判断およびコードを削除 Revision 5678 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sat Oct 4 03:39:24 2014 UTC (9 years, 5 months ago) by maya Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9306 byte(s) Diff to previous 4549 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 4549 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Jul 28 14:14:39 2011 UTC (12 years, 7 months ago) by maya Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9300 byte(s) Diff to previous 3227 インデント修正 Revision 3227 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 24 15:10:33 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 9291 byte(s) Diff to previous 3221 CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換 Revision 3221 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Mar 24 09:37:20 2009 UTC (14 years, 11 months ago) by maya Original Path: trunk/ttssh2/ttxssh/pkt.c File length: 8983 byte(s) Diff to previous 3215 CVS から SVN へ移行: trunk に集約 Revision 3215 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Mar 4 11:40:44 2009 UTC (15 years ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8983 byte(s) Diff to previous 3134 最大パケットサイズをマクロ定義した。 Revision 3134 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri Jun 20 11:58:47 2008 UTC (15 years, 8 months ago) by doda Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8966 byte(s) Diff to previous 3130 ・TeraTerm -> Tera Term ・その他細かい修正 Revision 3130 - (view) (download) (as text) (annotate) - [select for diffs] Modified Fri May 23 05:04:09 2008 UTC (15 years, 9 months ago) by doda Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8965 byte(s) Diff to previous 3101 Teraterm -> TeraTerm Tera Term/TeraTermの表記の統一を行うかは別途検討。 Revision 3101 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jan 30 12:19:27 2008 UTC (16 years, 1 month ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8965 byte(s) Diff to previous 3057 不正なProtocol Version Exchangeをスキップする処理を追加した(RFC4253対応) Revision 3057 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 28 15:55:48 2007 UTC (16 years, 4 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8853 byte(s) Diff to previous 3003 local_window の計算を調整した。 Revision 3003 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Aug 20 14:21:57 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8763 byte(s) Diff to previous 2995 インデントを変更した。 Revision 2995 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 15 04:03:26 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8582 byte(s) Diff to previous 2994 $Log$ を削除した。 Revision 2994 - (view) (download) (as text) (annotate) - [select for diffs] Modified Mon Aug 13 22:30:03 2007 UTC (16 years, 6 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 9200 byte(s) Diff to previous 2992 国際化関数を修正した。 NO_I18N マクロを削除した。 Revision 2992 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Aug 8 16:04:09 2007 UTC (16 years, 7 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 9307 byte(s) Diff to previous 2980 安全な関数を使用するように変更した。 Revision 2980 - (view) (download) (as text) (annotate) - [select for diffs] Modified Wed Jun 6 14:10:12 2007 UTC (16 years, 9 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 9131 byte(s) Diff to previous 2942 プリプロセッサにより構造体が変わってしまうので、INET6 と I18N の #define を逆転させた。 Revision 2942 - (view) (download) (as text) (annotate) - [select for diffs] Modified Tue Dec 5 09:20:36 2006 UTC (17 years, 3 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 9049 byte(s) Diff to previous 2937 表示メッセージの読み込み対応 Revision 2937 - (view) (download) (as text) (annotate) - [select for diffs] Modified Thu Nov 23 02:19:30 2006 UTC (17 years, 3 months ago) by maya Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8936 byte(s) Diff to previous 2922 表示メッセージを言語ファイルから読み込みむコードの作成を開始した。 Revision 2922 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Oct 29 17:15:47 2006 UTC (17 years, 4 months ago) by yutakapon Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8623 byte(s) Diff to previous 2761 DEBUG_PRINT_TO_FILEマクロを追加。 Revision 2761 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Dec 19 15:39:58 2004 UTC (19 years, 2 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8493 byte(s) Diff to previous 2729 CVS LogIDの追加 Revision 2729 - (view) (download) (as text) (annotate) - [select for diffs] Modified Sun Nov 14 15:53:21 2004 UTC (19 years, 3 months ago) by yutakakn Original Path: ttssh2/trunk/ttxssh/pkt.c File length: 8449 byte(s) Copied from: ttssh2/branches/avendor/ttxssh/pkt.c revision 2728 Diff to previous 2728 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, 3 months ago) by yutakakn Original Path: ttssh2/branches/avendor/ttxssh/pkt.c File length: 8449 byte(s) 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.
|