Koozali.org: home of the SME Server

CVS on SME 5.6

Jaco Bongers

CVS on SME 5.6
« on: April 22, 2003, 09:27:46 AM »
Hi

I am unable to get CVS to work on SME 5.6.

The following command:
#cvs -d :pserver:jaco@e-smith:/home/e-smith/files/ibays/cvsroot/files login

returns:
Logging in to :pserver:jaco@e-smith.caw.co.za:2401/home/e-smith/files/ibays/cvsroot/files
CVS password:
cvs [login aborted]: recv() from server e-smith.caw.co.za: Connection reset by peer

/var/log/messages shows:
Apr 22 06:23:43 e-smith xinetd[18251]: libwrap refused connection to cvspserver from 192.168.1.3

I did set up a template for xinetd.conf to allow xinetd to start cvspserver. netstat shows cvs listening on port 2401.

Any idea why I cannot log into CVS?

Jaco

Michael Soulier

Re: CVS on SME 5.6
« Reply #1 on: April 22, 2003, 06:27:54 PM »
Jaco Bongers wrote:
>
> I am unable to get CVS to work on SME 5.6.
>
> The following command:
> #cvs -d
> :pserver:jaco@e-smith:/home/e-smith/files/ibays/cvsroot/files
> login
>
> returns:
> Logging in to
> :pserver:jaco@e-smith.caw.co.za:2401/home/e-smith/files/ibays/cvsroot/files
> CVS password:
> cvs [login aborted]: recv() from server e-smith.caw.co.za:
> Connection reset by peer
>
> /var/log/messages shows:
> Apr 22 06:23:43 e-smith xinetd[18251]: libwrap refused
> connection to cvspserver from 192.168.1.3
>
> I did set up a template for xinetd.conf to allow xinetd to
> start cvspserver. netstat shows cvs listening on port 2401.
>
> Any idea why I cannot log into CVS?

Not having seen your template modifications, I can only guess. However, consider it a good thing that pserver authentication isn't working, as it transmits in plain text and is very far from being secure. Use CVS over ssh. I highly recommend it. I have a small howto on adding additional security to that method.

http://www.e-smith.org/docs/howto/cvs_ssh_howto.html

Don't forget to lock-down the permissions of your CVSROOT directory
as well, to prevent users from modifying triggers to run arbitrary code.

Cheers,
Mike