Re: Insanely high baud rates
From: H. Peter Anvin
Date: Thu Oct 11 2018 - 15:39:39 EST
On 10/11/18 12:36 PM, Craig Milo Rogers wrote:
> On 18.10.11, Alan Cox wrote:
>> I mean - what is the baud rate of a pty ?
>
> Solaris made the distinction between B0, which means pty hangup mode,
> and any other baud rate:
>
> https://docs.oracle.com/cd/E88353_01/html/E37851/pty-4d.html
>
> But... why not implement a pty bandwidth limitation layer? You say, I
> need to justify it? It's for, uh... protecting the system from unrestricted
> pty usage DOS attacks! Yeah. That's what it's for.
B0 is hangup, that's not in question.
-hpa