Telnet/SSH buffer size

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Telnet/SSH buffer size

McRoy, Jeffrey (GE Healthcare)

Hi Everyone,

 

Does anyone know what the buffer size is for Guac’s Telnet and SSH sessions?

 

 

Thanks,

Jeff

 


smime.p7s (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Telnet/SSH buffer size

vnick
Reply | Threaded
Open this post in threaded view
|

Re: Telnet/SSH buffer size

McRoy, Jeffrey (GE Healthcare)
In reply to this post by McRoy, Jeffrey (GE Healthcare)
Reply | Threaded
Open this post in threaded view
|

Re: Telnet/SSH buffer size

Mike Jumper
In reply to this post by vnick
Reply | Threaded
Open this post in threaded view
|

Re: Telnet/SSH buffer size

McRoy, Jeffrey (GE Healthcare)
In reply to this post by McRoy, Jeffrey (GE Healthcare)
Hi Mike,

Thanks for the additional info and code reference.


Regards,
Jeff


On 10/19/17, 9:38 PM, "Mike Jumper" <[hidden email]> wrote:

    On Thu, Oct 19, 2017 at 8:14 AM, Nick Couchman <[hidden email]> wrote:
    > On Thu, Oct 19, 2017 at 9:24 AM, McRoy, Jeffrey (GE Healthcare)
    > <[hidden email]> wrote:
    >>
    >> Hi Everyone,
    >>
    >> Does anyone know what the buffer size is for Guac’s Telnet and SSH
    >> sessions?
    >>
    >
    > For SSH, looks like 8192:
    >
    > https://github.com/apache/incubator-guacamole-server/blob/95be88be19e04e07ac1dafb823993745bee7d146/src/protocols/ssh/ssh.c#L157
    > https://github.com/apache/incubator-guacamole-server/blob/95be88be19e04e07ac1dafb823993745bee7d146/src/protocols/ssh/ssh.c#L177
    >
    > For telnet, looks probably 8192 for most things, but there are a couple of
    > operations that are slightly different:
    >
    > https://github.com/apache/incubator-guacamole-server/blob/95be88be19e04e07ac1dafb823993745bee7d146/src/protocols/telnet/telnet.c#L92
    > https://github.com/apache/incubator-guacamole-server/blob/95be88be19e04e07ac1dafb823993745bee7d146/src/protocols/telnet/telnet.c#L263
    > https://github.com/apache/incubator-guacamole-server/blob/95be88be19e04e07ac1dafb823993745bee7d146/src/protocols/telnet/telnet.c#L386
    > https://github.com/apache/incubator-guacamole-server/blob/95be88be19e04e07ac1dafb823993745bee7d146/src/protocols/telnet/telnet.c#L465
    >
   
    In case you meant the size of the scrollback buffer, the answer is 1000 lines:
   
    https://github.com/apache/incubator-guacamole-server/blob/95be88be19e04e07ac1dafb823993745bee7d146/src/terminal/terminal.c#L327-L328
   
    - Mike
   

smime.p7s (8K) Download Attachment