[962] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: telnet/ftp/rlogin/rsh not working between Linux machines. (fwd)

daemon@ATHENA.MIT.EDU (Mike Shaver)
Wed Aug 23 00:44:37 1995

From: Mike Shaver <shaver@neon.ingenia.com>
To: agulbra@troll.no (Arnt Gulbrandsen)
Date: Tue, 22 Aug 1995 06:30:37 -0400 (EDT)
Cc: almesber@lrc.epfl.ch, linux-net@vger.rutgers.edu
In-Reply-To: <29559.1970.1061535195@pentagram.troll.no> from "Arnt Gulbrandsen" at Aug 22, 3 08:53:15 am

Arnt Gulbrandsen mumbled something vague about:
> > Or you could add a hear() system call that would return a struct
> > something *, which could be checked for stuff like source and
> > destination address and port before calling accept()...
> 
> Not sufficient.  When you've checked it, what can you do?  accept()
> now or later.  getpeername() on a select()able socket can do what you
> suggest hear() should, but a reject() call is absolutely necessary.

I'd actually want two: reject() sends the ICMP/RST packets and such,
and ignore() just clears the entry from the queue without a word to
the other machine.

But yeah, hear() alone isn't enough.

I wonder what the TLI mechanisms look like... anyone know if *BSD has
TLI, or if I can get the source anywhere else?

Mike

-- 
#> Mike Shaver (shaver@ingenia.com)                                   <#
#> Technical specialist, pedant, packetsmith                          <#
#>                                 Ingenia Communications Corporation <#
#>               Research, Development, Support and Sleep Deprivation <#
#>                    Packets crafted, bugs found, rebellions quelled <#

home help back first fref pref prev next nref lref last post