LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2004, 05:18 PM   #1
ooagentbender
Member
 
Registered: Sep 2003
Distribution: Vector Linux
Posts: 110

Rep: Reputation: 15
telnet login control with sockets...how the heck does this work?


Ok I know how to socket program but I wanted to make a program that works with a telnet port on my linux box at home (mostly for my own education and fun). I tried to download the telnet applet I see all over the internet (im doing it in java becasue im making it for my java enabled phone) but all the links to the code are broken on all the websites(ie if anyone has the telnet applet code I would much appreciate it). I just can't figure out whats happened when I establish a connection with the telnet port on my box because all the dumps are in hex. And even when I convert them to decimal they don't match the option numbers from the rfc. If anyone knows exactly what happens when you first establish a telnet connection and EXACTLY how the options are negotiated and in what order, I would be very grateful.
 
Old 08-18-2004, 08:17 PM   #2
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
it's all in the rfc my friend. with the rfc, and 'tcpdump -X -s 1500 tcp port 23' you should have all you need.
 
Old 08-19-2004, 09:14 PM   #3
ooagentbender
Member
 
Registered: Sep 2003
Distribution: Vector Linux
Posts: 110

Original Poster
Rep: Reputation: 15
I looked at the rfc but I didn't see an example of the order in which things take place, and I will look at tcpdump because I'm assuming that will give me a hex or otherwise vizualization of whats comming in over the packets? Thanks
 
  


Reply



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
How the heck do I get the XMMS equalizer to work??? bad_andy Mandriva 11 10-25-2004 10:32 AM
Access control for telnet and ftp aroop Linux - Security 8 08-27-2004 04:24 PM
heck of a time getting winex3 to work piraterock Linux - Games 8 02-25-2004 05:31 PM
Raw sockets root user work around P_Shep Programming 2 11-18-2003 11:35 AM
Telnet for remote control, how do I set it up? bripage Linux - Networking 5 08-01-2002 08:02 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

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
Open Source Consulting | Domain Registration