[ale] OT: Question about Telnet

Chris Fowler cfowler at outpostsentinel.com
Sun Feb 24 10:01:32 EST 2002


What deos the telnet proxy do.  If you just need a simple proxy with no
interaction with the client then just forward data form your listening
socket to you connecting socket.  To understand talnet *easier* then look at
some older telnetd or telnet source code.

Chris

-----Original Message-----
From: Kevin Krumwiede [mailto:krum at smyrnacable.net]
To: ale at ale.org
Sent: Sunday, February 24, 2002 7:45 AM
To: ALE List
Subject: [ale] OT: Question about Telnet


I'm writing an app that functions as a telnet proxy.  Eventually I want to
make it semi-transparent, but that got to be a mess so I decided for now to
just put a dumb NVT on both sides and use raw bytes for the filtering that
goes on in the middle.

RFC 854 says:

b. If a party receives what appears to be a request to enter some
      mode it is already in, the request should not be acknowledged.
      This non-response is essential to prevent endless loops in the
      negotiation.  It is required that a response be sent to requests
      for a change of mode -- even if the mode is not changed.

If I understand this correctly, my dumb NVT's responses should be as
follows:

DO: Reply with WONT
WILL: Reply with DONT <--???
WONT, DONT: Ignore

If anyone can clarify this I'd be much obliged.

Krum


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.




---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list