Leandro Melo de Sales wrote:
> Hi,
>
> I setup cvsd as shown in http://gentoo-wiki.com/HOWTO_CVS_Server.
> When I test if I connect locally, in the shell everything works fine,
> as it is shown in /var/log/message:
>
> Jun 3 16:31:24 embedded cvsd[13679]: connection from 127.0.0.1 43619
> Jun 3 16:31:24 embedded cvsd[13679]: cvs command exited with exit-status 0
>
> But when I try this from a remote machine (in the same network
> range, no firewalls) I can't connect:
>
> Jun 3 16:42:01 embedded cvsd[13679]: connection from 192.168.0.228 1290
> Jun 3 16:42:01 embedded cvsd[13679]: cvs command exited with exit-status 1
>
> Here are the netstat -na output:
>
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address Foreign Address State
> tcp0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
> tcp0 0 0.0.0.0:80 0.0.0.0:* LISTEN
> tcp0 0 0.0.0.0:443 0.0.0.0:* LISTEN
> tcp0 0 :::2401 :::*LISTEN
> tcp0 0 :::22 :::*LISTEN
> tcp0 0 :::192.168.0.1:22 :::192.168.0.:1496
> ESTABLISHED
> tcp0 0 :::192.168.0.1:22 :::192.168.0.:1446
> ESTABLISHED
> tcp0128 :::192.168.0.1:22 :::192.168.0.:1153
> ESTABLISHED
>
> What I need to do? To certify that the remote machine can reach the
> cvs server and connect to 2401 port I telned to 2401 port:
>
> # telnet 192.168.0.1 2401
>
>
> cvs [pserver aborted]: bad auth protocol start:
>
> connection reset by peer.
>
> So, what is the problem?
>
> Leandro.
Did you try to put an entry in /etc/hosts.allow? Put a line like:
ALL : 192.168.0.
Replace the IP with your network setup and restart cvs.
Jim
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
You roll an 18 in Dex and see if you
don't end up with a girlfriend
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
JimD
Central FL, USA, Earth, Sol
--
gentoo-user@gentoo.org mailing list