Opened 16 years ago

Closed 13 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:
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 by bga, 16 years ago

Description: modified (diff)

comment:2 by jackburton, 16 years ago

telnetd doesn't even start here:

getpeername(): socket operation on a non socket.

comment:3 by jackburton, 16 years ago

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

comment:4 by pulkomandy, 14 years ago

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 by pulkomandy, 13 years ago

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.