Re: [AOLSERVER] problem with Linux telnet and nscp

2002-04-16 Thread Kriston Rehberg

Darn it.  I thought those IAC codes were turned off in the default build.
Can someone check nscp.c and maybe ensure a bug is opened on SF about this?

Kris

On Wed, 3 Apr 2002 13:23:26 -0800, atfrost [EMAIL PROTECTED] wrote:

--- Jeff Rogers [EMAIL PROTECTED] wrote:
 On Wed, 3 Apr 2002 10:12:22 -0800, atfrost [EMAIL PROTECTED] wrote:

 [-nscp:1-] Warning: nscp: unsupported telnet IAC code 252 received
 from
 client
 
 This is the WONT command, I believe?

 That's correct.

 On AOLServer 3.x,
 however, it looks like the session begins with some junk in the
 input
 buffer; the first command line always fails.  The following message
 is
 logged:
 
 Error: invalid command name ÿü
 invalid command name ÿü
 while executing
 ÿü

 The ÿü is the same IAC WONT (dec 255 252) command, just the 3.x
 nscp
 doesn't try to grok telnet control commands.

 Maybe you have something in your .telnetrc that is trying to change
 settings (linemode perhaps)?  Not sure what else would be going on
there.

 -J


Interesting.  AFAIK, it's running in default mode - I haven't had a
.telnetrc on this or any of the hosts that I've experienced this on.

Trying to disable telnet's LINEMODE explicitly (setting mode
character in a .telnetrc) doesn't seem to change things, either.

I don't know enough about telnet's protocol to understand what's going
on here.  Do you know how I might be able to use the rest of the data
in the buffer to see what telnet is trying to send to nscp?

thanks,
thomas


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/



Re: [AOLSERVER] problem with Linux telnet and nscp

2002-04-03 Thread Jeff Rogers

On Wed, 3 Apr 2002 10:12:22 -0800, atfrost [EMAIL PROTECTED] wrote:

[-nscp:1-] Warning: nscp: unsupported telnet IAC code 252 received from
client

This is the WONT command, I believe?

That's correct.

I haven't dug through the code very deeply, but it bears mentioning
that I *can* connect to nscp on AOLServer 3.x, even though that version
GetLine() contains similar IAC handling code.  On AOLServer 3.x,
however, it looks like the session begins with some junk in the input
buffer; the first command line always fails.  The following message is
logged:

Error: invalid command name ÿü
invalid command name ÿü
while executing
ÿü

The ÿü is the same IAC WONT (dec 255 252) command, just the 3.x nscp
doesn't try to grok telnet control commands.

Maybe you have something in your .telnetrc that is trying to change settings
(linemode perhaps)?  Not sure what else would be going on there.

-J



Re: [AOLSERVER] problem with Linux telnet and nscp

2002-04-03 Thread atfrost

--- Jeff Rogers [EMAIL PROTECTED] wrote:
 On Wed, 3 Apr 2002 10:12:22 -0800, atfrost [EMAIL PROTECTED] wrote:

 [-nscp:1-] Warning: nscp: unsupported telnet IAC code 252 received
 from
 client
 
 This is the WONT command, I believe?

 That's correct.

 On AOLServer 3.x,
 however, it looks like the session begins with some junk in the
 input
 buffer; the first command line always fails.  The following message
 is
 logged:
 
 Error: invalid command name ÿü
 invalid command name ÿü
 while executing
 ÿü

 The ÿü is the same IAC WONT (dec 255 252) command, just the 3.x
 nscp
 doesn't try to grok telnet control commands.

 Maybe you have something in your .telnetrc that is trying to change
 settings (linemode perhaps)?  Not sure what else would be going on
there.

 -J


Interesting.  AFAIK, it's running in default mode - I haven't had a
.telnetrc on this or any of the hosts that I've experienced this on.

Trying to disable telnet's LINEMODE explicitly (setting mode
character in a .telnetrc) doesn't seem to change things, either.

I don't know enough about telnet's protocol to understand what's going
on here.  Do you know how I might be able to use the rest of the data
in the buffer to see what telnet is trying to send to nscp?

thanks,
thomas


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/