Ticket #45376

Kermit 受信時に使用しているチェックサム方式が正しくない

Date d'ouverture: 2022-08-16 19:47 Dernière mise à jour: 2022-08-23 20:47

Rapporteur:
Propriétaire:
(Aucun)
Type:
État:
Ouvert
Composant:
Jalon:
(Aucun)
Priorité:
3
Sévérité:
3
Résolution:
Aucun
Fichier:
1
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

送信でも受信でも kv->KmtMy.CHKT を使っている。受信時には kv->KmtYour.CHKT を使うのが正しいと思われる。

プロトコルのデフォルトが 1 なので、おそらく大抵の場合両者が 1 になり、問題が表に出ていないのだと思われる。

Tera Term は 1 で送っている。また、Tera Term には 3 の計算処理が実装されていない。

このせいで問題が起きているという報告は今のところない。

Ticket History (3/3 Histories)

2022-08-16 19:47 Updated by: nmaya
  • New Ticket "Kermit 受信時に使用しているチェックサム方式が正しくない" created
2022-08-23 20:47 Updated by: nmaya
Commentaire

cf. kproto.txt, 5. Initial Connection

if one side requests 2 character  checksums  and  the  other  side
responds  with  a  "1"  or with nothing at all, then single-character checksums
will be done, since not all implementations can be expected to  do  2-character
checksums or CRCs.

Tera Term 側は 1 を送るので、相手がこの説明の通りに実装していれば1しか使われない。

であれば kv->KmtMy.CHKT でも問題なく、むしろ kv->KmtYour.CHKT を使わないほうがよい?

Attachment File List

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion