Opened 11 years ago

Closed 7 years ago

#2663 closed bug (fixed)

Telnet seems to be broken.

Reported by: bga Owned by: axeld
Priority: normal Milestone: R1
Component: Network & Internet Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by bga)

I was trying to use telnet to test my POP3 server. I got connected to it, got the banner but at the first command I tried to send, it got stuck. I am not sure if it sent the command or if it got stuck just after I pressed enter and before sending it. Debugging the main (and only) telnet thread shows this backtrace:

(gdb) bt
#0  0xffff0102 in ?? ()
#1  0x00301e95 in select () from /boot/beos/system/lib/libroot.so
#2  0x002113c5 in process_rings ()
#3  0x002147a3 in Scheduler ()
#4  0x002148eb in telnet ()
#5  0x0020f270 in tn ()
#6  0x00210145 in main ()
(gdb)

Change History (5)

comment:1 Changed 11 years ago by bga

Description: modified (diff)

comment:2 Changed 11 years ago by jackburton

telnetd doesn't even start here:

getpeername(): socket operation on a non socket.

comment:3 Changed 11 years ago by jackburton

Ok sorry to bother. telnetd is not supposed to be started from the commanline.

comment:4 Changed 9 years ago by pulkomandy

Telnet actually works (I can connect to my router built-in configuration tool, or some other things), but apparently Ican't access my POP server either (with telnet on linux I get some error message, but nothing with ours)

comment:5 Changed 7 years ago by pulkomandy

Resolution: fixed
Status: newclosed

Fixed in hrev43049. Unlike linux one, our telnet (BSD derived) used \r\0 as end of line, instead of the more usual \r\n. While most telnet server accept that, POP/SMTP ones won't get it.

Note: See TracTickets for help on using tickets.