[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 03464) Re: telnet "Connection refused"



Thanks for your help.

I'm sure my xinetd is ipv6-enabled, because I can see other services
under xinetd
(e.g. daytime) could run in IPv6.

----
# netstat -a -A inet6
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 *:daytime               *:*                     LISTEN
tcp        0      0 *:ssh                   *:*                     LISTEN
tcp        0      0 ::1%570433576:daytime   ::1%2147473928:2086     TIME_WAIT
#
----

So exactly as you said, I think the cause is just the configuration of xinetd.
In recent xinetd, we can make a service ipv6-enable, with adding
"flags = IPv6" in the service entry
of xinetd.conf.
But I must use a little old xinetd-2.3.3 and it doesn't have IPv6 flags.

So could you tell me how can I make a service under xinetd-2.3.3 ipv6-enable,
if anyone knows?

Thanks

Tadashi



Mark Huth wrote:
>
>You may have a problem with the inetd or xinetd configurations.
Depends on the distribution how this >stuff is set up, but normally
thare are entires in the inetd.conf file in /etc that control the
>services that will be started on incoming ports. There may also be
arguments missing to enable >telnet. I'm not sure exactly, but that
might be an area to dig around in.
>
>Mark Huth
>
>
>Tadashi Abe wrote:
>
> > Hi,
> >
> >I'm a IPv6 newbie and need to use telnet in my environment, using 2.4.20 kern
> >el.
> >(Please don tell me to use latest kernel, or to use ssh ;)
> >
> > Anyway I've configured and vefified the connection with ping6,
> > traceroute6, and ssh (openssh).
> > It seems no problem at all.
> > But I can't use only telnet in IPv6.
> >
> > ----
> > # telnet 3ffe:5ff:100:aa01::2
> > Trying 3ffe:5ff:100:aa01::2...
> > telnet: Unable to connect to remote host: Connection refused
> > #
> > 
> > I suspected telnet & in.telnetd wasn't ipv6 enabled (It's from netkit-0.17),
> > so I built telnet/in.telnetd from USAGI stable-20030214 and interchanged them.
> > But it comes the same result.
> > 
> > Of cource I can use telnet in v4.
> > Am I missing any other setting?
> > 
> > Thanks.
> > 
> > Tadashi