Re: Two questions

From: Chris Wedgwood (cw@f00f.org)
Date: Fri Jun 02 2000 - 00:10:25 EST


On Thu, Jun 01, 2000 at 04:05:22PM -0400, Richard B. Johnson wrote:

    (1) How do I turn off console blanking, i.e., what IOCTL. I need to
    make sure that the last crash is showing on the screen.

Does "setterm -blank 0" work?
    
    (2) Alexy, you probably know this by heart. I thought that the port number
    used in response to a TCP/IP connection request, was supposed to be a
    "random short int with a value above 1000".
    This is what I get:
    
            204.178.40.224:32790 -> 204.178.40.137:23
            204.178.40.224:32789 -> 204.178.40.137:23
            204.178.40.224:32788 -> 204.178.40.137:23
            204.178.40.224:32787 -> 204.178.40.137:23

No, port numbers for outbound connections are normally allocated
linearly. TCP sequence numbers are pseudo-random.

  --cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:14 EST