guacamole-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McRoy, Jeffrey (GE Healthcare)" <Jeffrey.Mc...@ge.com>
Subject Re: Telnet/SSH buffer size
Date Fri, 20 Oct 2017 14:09:47 GMT
Hi Mike,

Thanks for the additional info and code reference.


Regards,
Jeff


On 10/19/17, 9:38 PM, "Mike Jumper" <mike.jumper@guac-dev.org> wrote:

    On Thu, Oct 19, 2017 at 8:14 AM, Nick Couchman <vnick@apache.org> wrote:
    > On Thu, Oct 19, 2017 at 9:24 AM, McRoy, Jeffrey (GE Healthcare)
    > <Jeffrey.McRoy@ge.com> 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
    

Mime
View raw message