Telnet does not work in IPv6 test environment

In an IPv6 test environment I have installed an openSUSE 11.2 system. I have also installed telnet and it works with IPv4 (I can open a session from a Windows console with “telnet ipv4addr”).

If I try to open a session with “telnet ipv6addr” I get the response: “Connecting To ipv6addr. Could not open connection to the host, on port 23: Connect failed”.

My question: Does the telnetserver support IPv6 or did I something wrong? (Please do not answer just “yes” to this or-question :wink:

On Fri, 2010-08-27 at 15:06 +0000, reinhard-springer wrote:
> In an IPv6 test environment I have installed an openSUSE 11.2 system. I
> have also installed telnet and it works with IPv4 (I can open a session
> from a Windows console with “telnet -ipv4add-r”).
>
> If I try to open a session with “telnet -ipv6addr-” I get the response:
> “Connecting To -ipv6addr-. Could not open connection to the host, on
> port 23: Connect failed”.
>
> My question: Does the telnetserver support IPv6 or did I something
> wrong? (Please do not answer just “yes” to this or-question :wink:
>
>

Did you put flags = IPv6 inside of your xinetd.d/telnet file and
reload/start xinetd?

I just tested on openSUSE 11.3, and it seems to work fine… I telneted
directly using an IPv6 address (to make sure).

On Fri, 2010-08-27 at 19:31 +0000, cjcox wrote:
> On Fri, 2010-08-27 at 15:06 +0000, reinhard-springer wrote:
> > In an IPv6 test environment I have installed an openSUSE 11.2 system. I
> > have also installed telnet and it works with IPv4 (I can open a session
> > from a Windows console with “telnet -ipv4add-r”).
> >
> > If I try to open a session with “telnet -ipv6addr-” I get the response:
> > “Connecting To -ipv6addr-. Could not open connection to the host, on
> > port 23: Connect failed”.
> >
> > My question: Does the telnetserver support IPv6 or did I something
> > wrong? (Please do not answer just “yes” to this or-question :wink:
> >
> >
>
> Did you put flags = IPv6 inside of your xinetd.d/telnet file and
> reload/start xinetd?
>
> I just tested on openSUSE 11.3, and it seems to work fine… I telneted
> directly using an IPv6 address (to make sure).
>
>

ccox@geeko:~> telnet fd00::2098:216:36ff:fef1:f624
Trying fd00::2098:216:36ff:fef1:f624…
Connected to fd00::2098:216:36ff:fef1:f624.
Escape character is ‘^]’.
Welcome to openSUSE 11.3 “Teal” - Kernel 2.6.34-12-xen (3).

geeko3 login:

Just saying…

Thanks for the hint.

After some fights with YaST it worked. It would be great if the “flags”-field could be added to the YaST “Edit a Service Entry” window.

I was also a little bit confusing that the entry for telnet is not /etc/xinetd.d/telnet (which is empty) but /etc/xinetd.d/ktelnet.

On Mon, 2010-08-30 at 10:36 +0000, reinhard-springer wrote:
> Thanks for the hint.
>
> After some fights with YaST it worked. It would be great if the
> “flags”-field could be added to the YaST “Edit a Service Entry” window.
>
>
> I was also a little bit confusing that the entry for telnet is not
> /etc/xinetd.d/telnet (which is empty) but /etc/xinetd.d/ktelnet.
>
>

Just for the record, there is talk in xinetd land of adding it so that
the option is recognized in the global xinetd.conf file (so you don’t
have to do this for each and every service).