public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] cvsd and Gentoo
@ 2006-06-03 20:10 Leandro Melo de Sales
  2006-06-04 17:37 ` JimD
  0 siblings, 1 reply; 2+ messages in thread
From: Leandro Melo de Sales @ 2006-06-03 20:10 UTC (permalink / raw
  To: gentoo-user

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
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN
tcp        0      0 :::2401                 :::*                    LISTEN
tcp        0      0 :::22                   :::*                    LISTEN
tcp        0      0 ::ffff:192.168.0.1:22  ::ffff:192.168.0.:1496 ESTABLISHED
tcp        0      0 ::ffff:192.168.0.1:22  ::ffff:192.168.0.:1446 ESTABLISHED
tcp        0    128 ::ffff:192.168.0.1:22  ::ffff: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
<press enter>

cvs [pserver aborted]: bad auth protocol start:

connection reset by peer.

So, what is the problem?

Leandro.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] cvsd and Gentoo
  2006-06-03 20:10 [gentoo-user] cvsd and Gentoo Leandro Melo de Sales
@ 2006-06-04 17:37 ` JimD
  0 siblings, 0 replies; 2+ messages in thread
From: JimD @ 2006-06-04 17:37 UTC (permalink / raw
  To: gentoo-user

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
> tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
> tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN
> tcp        0      0 :::2401                 :::*                    LISTEN
> tcp        0      0 :::22                   :::*                    LISTEN
> tcp        0      0 ::ffff:192.168.0.1:22  ::ffff:192.168.0.:1496
> ESTABLISHED
> tcp        0      0 ::ffff:192.168.0.1:22  ::ffff:192.168.0.:1446
> ESTABLISHED
> tcp        0    128 ::ffff:192.168.0.1:22  ::ffff: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
> <press enter>
> 
> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-04 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-03 20:10 [gentoo-user] cvsd and Gentoo Leandro Melo de Sales
2006-06-04 17:37 ` JimD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox