search for: mac_length

Displaying 2 results from an estimated 2 matches for "mac_length".

2003 Aug 06
1
Reg. openssh-3.51p1/packet.c (function packet_send2())
...to draft-ietf-secsh-transport-16.txt (section 4), each packet must be of the following format: uint32 packet_length byte padding_length byte[n1] payload; n1 = packet_length - padding_length - 1 byte[n2] random padding; n2 = padding_length byte[m] mac (message authentication code); m = mac_length However, since i wanted to verify this, I put some debugging code in openssh-3.51p1/packet.c (function packet_send2()), which can be accessed at http://mia.ece.uic.edu/cgi-bin/lxr/http/source/packet.c?v=openssh-3.5p1#L619. I conducted some tests by sending PPP packets and found out that the tr...
2007 Jul 16
2
Computing window sizes and adjustments
In SSHv2, the data that consumes window space is that sent in the channel data and channel data extended messages. My question is, how is the data that consumes window space reckoned? One would have thought that it is the total length of the message itself, but the standard seems to imply that only the data contained in the data string field in the messages above is to be taken into account. That