Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUDs ➜ General ➜ Telnet Option Negotiation

Telnet Option Negotiation

It is now over 60 days since the last post. This thread is closed.     Refresh page


Pages: 1  2 

Posted by halkeye   Canada  (28 posts)  Bio
Date Reply #15 on Tue 16 Dec 2003 12:22 PM (UTC)
Message
http://cvs.sourceforge.net/viewcvs.py/netcat/netcat/src/telnet.c?rev=1.11&view=auto is the best and most complete telnet handling code i've found to date.


And in my very sleepy state, i've started to notice some of my problems with the code handling is due to the fact that the options seem not to actually be cleared from the buffer at all.

> compress toggle
Initiating compression.

>
Log: [*****] BUG: TELOPT: IAC DONT 86
Log: [*****] BUG: TELOPT: IAC DONT 85 NULL 115

>
Log: [*****] BUG: TELOPT: IAC DONT 86 NULL 115

[repeat x10] until i actually type something else in.

I've probably missed something blatently obvious and it'll all become clear when i sleep.

Gavin
Dark Warriors - Coder
http://darkwars.wolfpaw.net
telnet://darkwars.wolfpaw.net:4848
Top

Posted by halkeye   Canada  (28 posts)  Bio
Date Reply #16 on Tue 16 Dec 2003 12:36 PM (UTC)
Message
Yea, i figured out my mistake... was accessing the buffer wrong.

But now back to the orig problem:

Quote:
Please enter your name:
testing

That name isn't familiar. Are you new?

Did I get that right, Vtesting (Y/N)? n
Ok, what IS it, then? testing
Password:
Already playing... Kicking off old connection.
Reconnecting.



This is only telnet as far as i know (Shouldn't telnet/putty show something in the client identification thingie)

Gavin
Dark Warriors - Coder
http://darkwars.wolfpaw.net
telnet://darkwars.wolfpaw.net:4848
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #17 on Thu 18 Dec 2003 06:26 AM (UTC)
Message
Quote:

Shouldn't telnet/putty show something in the client identification thingie


Sorry, don't quite understand the problem here. What are you expecting to see exactly?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


64,977 views.

This is page 2, subject is 2 pages long:  [Previous page]  1  2 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.