[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending arbitrary messages between key exchange and user authentication


Hi,

The language tags are deprecated in most ssh implementations. You can
just send an empty string in place of the tag.
However it could be interesting that you let the always_display
parameter available from the API. I can see some future use for it.

Aris

Le 14/10/11 11:00, Martin Drasar a écrit :
> One more thing...
> 
> According to RFC 4253, section 11.3. the debug message consist of the
> following:
> 
> byte      SSH_MSG_DEBUG
> boolean   always_display
> string    message in ISO-10646 UTF-8 encoding [RFC3629]
> string    language tag [RFC3066]
> 
> I have looked at your implementation of ssh disconnect which has almost
> the same structure and saw that you are not including the language tag
> after the message. Should I also ignore it in this case and have this as
> a function prototype?
> 
> int ssh_send_debug (int always_display, const char *message)
> 
> Martin
> 

Archive administrator: postmaster@lists.cynapses.org