LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-15-2005, 07:40 AM   #1
55riaz
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Rep: Reputation: 0
Telnet login: Notification format


When a client try to connect with telnet server they negogiate some options in a standard formats define in various RFCs (854,856 etc). example of formats are

COMMAND FROM Server >> IAC DO TType
COMMAND FROM Client >> IAC WILL TType
COMMAND FROM Server >> IAC DO NAWS
COMMAND FROM Client >> IAC WONT TSpeed
COMMAND FROM Client >> IAC WONT XDLoc
COMMAND FROM Client >> IAC WILL NEnvOp
COMMAND FROM Client >> IAC SB NAWS 0 80 0 25 IAC SE
...


Can any one tell me when client successfully login to the server what sort of standard notification will be send by the server to the client. I am asking this question because i found different responses from windows telnet server and linux telnet server. I donot find that information in any RFC.
 
Old 07-15-2005, 06:59 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Re: Telnet login: Notification format

Quote:
Originally posted by 55riaz
Can any one tell me when client successfully login to the server what sort of standard notification will be send by the server to the client. I am asking this question because i found different responses from windows telnet server and linux telnet server. I donot find that information in any RFC.
Each option can be found described in its own RFC. The TELNET protocol itself is described in STD008 (http://www.rfc-editor.org/cgi-bin/rf...ile_format=txt), a collection of RFCs including RFC854 (TELNET protocol) and RFC855 (TELNET option format). I suspect that these have probably been superceeded by other documents as well.

According to the standard, the server is not required to send any requests. But if it wants to use any feature that isn't part of the basic raw data transfer of TELNET, then it must first negotiate the option by exchanging a WILL and DO token for the option. (This is an exchange, because the tokens can come in either order and neither is necessarily a reply).

In general, servers will send requests based on the options supported by the server and on the facilities supported by the network terminal that the server emulates. This will usually mean at least one authentication option (since TELNET authentication is fundamentally insecure).

Normally, TELNET options are requested from the client side. NAWS is a protocol to ask one side to change its terminal size to match the size of the terminal on the other side, instead of using a default 80x23 (I think) terminal. This is often requested by client connections.

There are several options that haven't made it into RFCs yet. I like MCCP (MUD Client Compression Protocol), which compresses data-streams.

So basically, there is no single standard set of options that the either terminal sends. But either terminal can send any option at any time.

Does that help you any?
 
Old 07-28-2005, 02:06 AM   #3
55riaz
LQ Newbie
 
Registered: Jul 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry for delayed response, actullay i was out of town. First of all thanks for such comprehensive reply. Actually i am thinking to develop a generic tool which is responsible for providing security to any type of telnet servers. Thats why for interoperability i am looking for standards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remote login via telnet metric_electric Linux - Security 5 06-03-2005 04:24 PM
Linux Login after format mastertr Suse/Novell 3 12-26-2004 09:15 AM
SSH Login Notification holdika Linux - Newbie 4 08-11-2004 04:39 PM
telnet auto-login anthjaz Linux - Networking 15 11-04-2003 02:28 PM
login name format barDo Linux - General 1 04-09-2003 02:00 PM


All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration